qymljy před 2 roky
rodič
revize
f7261cc75d

+ 6 - 6
src/Form/QuotedPrice/edit.vue

@@ -198,7 +198,7 @@
                         </el-pagination>
                       </div>
                     </el-tab-pane>
-                    <el-tab-pane label="经销商" name="经销商">
+                    <el-tab-pane label="合作伙伴" name="合作伙伴">
                       <el-input
                           style="width:300px;margin-bottom: 10px"
                           placeholder="请输入内容"
@@ -709,10 +709,10 @@ export default {
       this.customerParam.content.where.condition = this.form.enterprisename
       this.customerList()
     },
-    /*可选经销商*/
+    /*可选合作伙伴*/
     async distributorList(){
       this.customerParam.content.where.sa_projectid = 0
-      this.customerParam.content.where.type = 5
+      this.customerParam.content.where.type = 16
       const  res = await this.$api.requested(this.customerParam)
       this.distributor.distributorData = res.data
       this.distributor.total = res.total
@@ -811,7 +811,7 @@ export default {
         this.querySalesman()
       }
     },
-    /*经销商选择信息*/
+    /*合作伙伴选择信息*/
     distributorData(val){
       this.form.sys_enterpriseid = val.sys_enterpriseid
       this.form.enterprisename = val.enterprisename
@@ -847,7 +847,7 @@ export default {
       this.projectParam.content.pageNumber = val
       this.projectList()
     },
-    /*经销商翻页*/
+    /*合作伙伴翻页*/
     handleSizeChangeDistributor(val) {
       // console.log(`每页 ${val} 条`);
       this.customerParam.content.pageSize = val
@@ -922,7 +922,7 @@ export default {
     },
     handleClick(tab){
       console.log(tab.name,'tab')
-      if (tab.name === '经销商'){
+      if (tab.name === '合作伙伴'){
         this.distributorList()
       }else {
         this.customerList()

+ 26 - 0
src/HManagement/clueManage/m_activity/modules/details.vue

@@ -19,6 +19,7 @@
       <div slot="customOperation">
         <relase class="inline-16" v-if="tool.checkAuth($route.name,'relase') && mainData.status != '结束'" :data="mainData" @onSuccess="queryMainData"></relase>
         <finish class="inline-16" v-if="tool.checkAuth($route.name,'finish')  && mainData.status != '结束'" :data="mainData" @onSuccess="queryMainData"></finish>
+        <el-button size="mini" :disabled="mainData.ordercluecount > 0" class="inline-16" :type="mainData.ordercluecount === 0?'primary':''" @click="onDel" v-if="tool.checkAuth($route.name,'onDelete')  && mainData.status != '发布' && mainData.disabled">删 除</el-button>
       </div>
       <div slot="slot0" class="container normal-panel">
         <DetailTable ref="DetailTable">
@@ -241,6 +242,31 @@ export default {
       tabIndex = this.$route.query.tabIndex
       this.$router.replace({path:'/marketing_activityDetails',query:{id:id,rowindex:rowindex,tabIndex:tabIndex}})
       this.queryMainData(id)
+    },
+    /*删除市场活动*/
+    onDel() {
+      this.$confirm('此操作将永久删除该活动, 是否继续?', '提示', {
+        confirmButtonText: '确定',
+        cancelButtonText: '取消',
+        type: 'warning'
+      }).then(async() => {
+        const res = await this.$api.requested({
+          "id": 20230329163504,
+          "content": {
+            "sat_campaignid":this.$route.query.id
+          }
+        })
+        this.tool.showMessage(res,()=>{
+          console.log(res)
+          this.$store.dispatch('changeDetailDrawer',false)
+          this.$emit('onSuccess')
+        })
+      }).catch(() => {
+        this.$message({
+          type: 'info',
+          message: '已取消删除'
+        });
+      });
     }
   },
   mounted () {

+ 68 - 68
src/HManagement/personalTarget/personalTargetStatistics/index.vue

@@ -81,9 +81,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.y1l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.y1l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.y1a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.y1a,2)}}</p>
                 <p class="center" :class="scope.row.y1pl ===0?'':scope.row.y1pl < 0?'green':'red'">(<i :class="scope.row.y1pl === 0?'':scope.row.y1pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.y1pl}}%)</p>
               </template>
             </el-table-column>
@@ -92,9 +92,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.y1h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.y1h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.y1a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.y1a,2)}}</p>
                 <p class="center" :class="scope.row.y1ph ===0?'':scope.row.y1ph < 0?'green':'red'">(<i :class="scope.row.y1ph === 0?'':scope.row.y1ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.y1ph}}%)</p>
               </template>
             </el-table-column>
@@ -105,9 +105,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.s1l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.s1l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.s1a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.s1a,2)}}</p>
                 <p class="center" :class="scope.row.s1pl ===0?'':scope.row.s1pl < 0?'green':'red'">(<i :class="scope.row.s1pl === 0?'':scope.row.s1pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.s1pl}}%)</p>
               </template>
             </el-table-column>
@@ -116,9 +116,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.s1h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.s1h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.s1a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.s1a,2)}}</p>
                 <p class="center" :class="scope.row.s1ph ===0?'':scope.row.s1ph < 0?'green':'red'">(<i :class="scope.row.s1ph === 0?'':scope.row.s1ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.s1ph}}%)</p>
               </template>
             </el-table-column>
@@ -129,9 +129,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m1l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m1l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m1a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m1a,2)}}</p>
                 <p class="center" :class="scope.row.m1pl ===0?'':scope.row.m1pl < 0?'green':'red'">(<i :class="scope.row.m1pl === 0?'':scope.row.m1pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m1pl}}%)</p>
               </template>
             </el-table-column>
@@ -140,9 +140,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m1h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m1h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m1a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m1a,2)}}</p>
                 <p class="center" :class="scope.row.m1ph ===0?'':scope.row.m1ph < 0?'green':'red'">(<i :class="scope.row.m1ph === 0?'':scope.row.m1ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m1ph}}%)</p>
               </template>
             </el-table-column>
@@ -153,9 +153,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m2l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m2l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m2a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m2a,2)}}</p>
                 <p class="center" :class="scope.row.m2pl ===0?'':scope.row.m2pl < 0?'green':'red'">(<i :class="scope.row.m2pl === 0?'':scope.row.m2pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m2pl}}%)</p>
               </template>
             </el-table-column>
@@ -164,9 +164,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m2h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m2h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m2a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m2a,2)}}</p>
                 <p class="center" :class="scope.row.m2ph ===0?'':scope.row.m2ph < 0?'green':'red'">(<i :class="scope.row.m2ph === 0?'':scope.row.m2ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m2ph}}%)</p>
               </template>
             </el-table-column>
@@ -177,9 +177,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m3l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m3l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m3a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m3a,2)}}</p>
                 <p class="center" :class="scope.row.m3pl ===0?'':scope.row.m3pl < 0?'green':'red'">(<i :class="scope.row.m3pl === 0?'':scope.row.m3pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m3pl}}%)</p>
               </template>
             </el-table-column>
@@ -188,9 +188,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m3h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m3h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m3a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m3a,2)}}</p>
                 <p class="center" :class="scope.row.m3ph ===0?'':scope.row.m3ph < 0?'green':'red'">(<i :class="scope.row.m3ph === 0?'':scope.row.m3ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m3ph}}%)</p>
               </template>
             </el-table-column>
@@ -201,9 +201,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.s2l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.s2l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.s2a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.s2a,2)}}</p>
                 <p class="center" :class="scope.row.s2pl ===0?'':scope.row.s2pl < 0?'green':'red'">(<i :class="scope.row.s2pl === 0?'':scope.row.s2pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.s2pl}}%)</p>
               </template>
             </el-table-column>
@@ -212,9 +212,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.s2h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.s2h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.s2a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.s2a,2)}}</p>
                 <p class="center" :class="scope.row.s2ph ===0?'':scope.row.s2ph < 0?'green':'red'">(<i :class="scope.row.s2ph === 0?'':scope.row.s2ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.s2ph}}%)</p>
               </template>
             </el-table-column>
@@ -225,9 +225,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m4l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m4l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m4a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m4a,2)}}</p>
                 <p class="center" :class="scope.row.m4pl ===0?'':scope.row.m4pl < 0?'green':'red'">(<i :class="scope.row.m4pl === 0?'':scope.row.m4pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m4pl}}%)</p>
               </template>
             </el-table-column>
@@ -236,9 +236,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m4h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m4h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m4a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m4a,2)}}</p>
                 <p class="center" :class="scope.row.m4ph ===0?'':scope.row.m4ph < 0?'green':'red'">(<i :class="scope.row.m4ph === 0?'':scope.row.m4ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m4ph}}%)</p>
               </template>
             </el-table-column>
@@ -249,9 +249,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m5l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m5l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m5a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m5a,2)}}</p>
                 <p class="center" :class="scope.row.m5pl ===0?'':scope.row.m5pl < 0?'green':'red'">(<i :class="scope.row.m5pl === 0?'':scope.row.m5pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m5pl}}%)</p>
               </template>
             </el-table-column>
@@ -260,9 +260,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m5h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m5h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m5a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m5a,2)}}</p>
                 <p class="center" :class="scope.row.m5ph ===0?'':scope.row.m5ph < 0?'green':'red'">(<i :class="scope.row.m5ph === 0?'':scope.row.m5ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m5ph}}%)</p>
               </template>
             </el-table-column>
@@ -273,9 +273,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m6l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m6l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m6a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m6a,2)}}</p>
                 <p class="center" :class="scope.row.m6pl ===0?'':scope.row.m6pl < 0?'green':'red'">(<i :class="scope.row.m6pl === 0?'':scope.row.m6pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m6pl}}%)</p>
               </template>
             </el-table-column>
@@ -284,9 +284,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m6h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m6h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m6a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m6a,2)}}</p>
                 <p class="center" :class="scope.row.m6ph ===0?'':scope.row.m6ph < 0?'green':'red'">(<i :class="scope.row.m6ph === 0?'':scope.row.m6ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m6ph}}%)</p>
               </template>
             </el-table-column>
@@ -297,9 +297,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.s3l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.s3l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.s3a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.s3a,2)}}</p>
                 <p class="center" :class="scope.row.s3pl ===0?'':scope.row.s3pl < 0?'green':'red'">(<i :class="scope.row.s3pl === 0?'':scope.row.s3pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.s3pl}}%)</p>
               </template>
             </el-table-column>
@@ -308,9 +308,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.s3h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.s3h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.s3a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.s3a,2)}}</p>
                 <p class="center" :class="scope.row.s3ph ===0?'':scope.row.s3ph < 0?'green':'red'">(<i :class="scope.row.s3ph === 0?'':scope.row.s3ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.s3ph}}%)</p>
               </template>
             </el-table-column>
@@ -321,9 +321,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m7l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m7l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m7a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m7a,2)}}</p>
                 <p class="center" :class="scope.row.m7pl ===0?'':scope.row.m7pl < 0?'green':'red'">(<i :class="scope.row.m7pl === 0?'':scope.row.m7pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m7pl}}%)</p>
               </template>
             </el-table-column>
@@ -332,9 +332,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m7h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m7h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m7a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m7a,2)}}</p>
                 <p class="center" :class="scope.row.m7ph ===0?'':scope.row.m7ph < 0?'green':'red'">(<i :class="scope.row.m7ph === 0?'':scope.row.m7ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m7ph}}%)</p>
               </template>
             </el-table-column>
@@ -345,9 +345,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m8l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m8l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m8a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m8a,2)}}</p>
                 <p class="center" :class="scope.row.m8pl ===0?'':scope.row.m8pl < 0?'green':'red'">(<i :class="scope.row.m8pl === 0?'':scope.row.m8pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m8pl}}%)</p>
               </template>
             </el-table-column>
@@ -356,9 +356,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m8h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m8h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m8a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m8a,2)}}</p>
                 <p class="center" :class="scope.row.m8ph ===0?'':scope.row.m8ph < 0?'green':'red'">(<i :class="scope.row.m8ph === 0?'':scope.row.m8ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m8ph}}%)</p>
               </template>
             </el-table-column>
@@ -369,9 +369,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m9l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m9l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m9a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m9a,2)}}</p>
                 <p class="center" :class="scope.row.m9pl ===0?'':scope.row.m9pl < 0?'green':'red'">(<i :class="scope.row.m9pl === 0?'':scope.row.m9pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m9pl}}%)</p>
               </template>
             </el-table-column>
@@ -380,9 +380,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m9h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m9h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m9a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m9a,2)}}</p>
                 <p class="center" :class="scope.row.m9ph ===0?'':scope.row.m9ph < 0?'green':'red'">(<i :class="scope.row.m9ph === 0?'':scope.row.m9ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m9ph}}%)</p>
               </template>
             </el-table-column>
@@ -393,9 +393,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.s4l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.s4l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.s4a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.s4a,2)}}</p>
                 <p class="center" :class="scope.row.s4pl ===0?'':scope.row.s4pl < 0?'green':'red'">(<i :class="scope.row.s4pl === 0?'':scope.row.s4pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.s4pl}}%)</p>
               </template>
             </el-table-column>
@@ -404,9 +404,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.s4h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.s4h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.s4a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.s4a,2)}}</p>
                 <p class="center" :class="scope.row.s4ph ===0?'':scope.row.s4ph < 0?'green':'red'">(<i :class="scope.row.s4ph === 0?'':scope.row.s4ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.s4ph}}%)</p>
               </template>
             </el-table-column>
@@ -417,9 +417,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m10l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m10l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m10a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m10a,2)}}</p>
                 <p class="center" :class="scope.row.m10pl ===0?'':scope.row.m10pl < 0?'green':'red'">(<i :class="scope.row.m10pl === 0?'':scope.row.m10pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m10pl}}%)</p>
               </template>
             </el-table-column>
@@ -428,9 +428,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m10h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m10h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m10a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m10a,2)}}</p>
                 <p class="center" :class="scope.row.m10ph ===0?'':scope.row.m10ph < 0?'green':'red'">(<i :class="scope.row.m10ph === 0?'':scope.row.m10ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m10ph}}%)</p>
               </template>
             </el-table-column>
@@ -441,9 +441,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m11l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m11l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m11a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m11a,2)}}</p>
                 <p class="center" :class="scope.row.m11pl ===0?'':scope.row.m11pl < 0?'green':'red'">(<i :class="scope.row.m11pl === 0?'':scope.row.m11pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m11pl}}%)</p>
               </template>
             </el-table-column>
@@ -452,9 +452,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m11h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m11h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m11a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m11a,2)}}</p>
                 <p class="center" :class="scope.row.m11ph ===0?'':scope.row.m11ph < 0?'green':'red'">(<i :class="scope.row.m11ph === 0?'':scope.row.m11ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m11ph}}%)</p>
               </template>
             </el-table-column>
@@ -465,9 +465,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m12l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m12l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m12a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m12a,2)}}</p>
                 <p class="center" :class="scope.row.m12pl ===0?'':scope.row.m12pl < 0?'green':'red'">(<i :class="scope.row.m12pl === 0?'':scope.row.m12pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m12pl}}%)</p>
               </template>
             </el-table-column>
@@ -476,9 +476,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m12h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m12h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m12a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m12a,2)}}</p>
                 <p class="center" :class="scope.row.m12ph ===0?'':scope.row.m12ph < 0?'green':'red'">(<i :class="scope.row.m12ph === 0?'':scope.row.m12ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m12ph}}%)</p>
               </template>
             </el-table-column>

+ 68 - 68
src/HManagement/projectTarget/projectTargetStatistics/index.vue

@@ -96,9 +96,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.y1l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.y1l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.y1a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.y1a,2)}}</p>
                 <p class="center" :class="scope.row.y1pl ===0?'':scope.row.y1pl < 0?'green':'red'">(<i :class="scope.row.y1pl === 0?'':scope.row.y1pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.y1pl}}%)</p>
               </template>
             </el-table-column>
@@ -107,9 +107,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.y1h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.y1h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.y1a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.y1a,2)}}</p>
                 <p class="center" :class="scope.row.y1ph ===0?'':scope.row.y1ph < 0?'green':'red'">(<i :class="scope.row.y1ph === 0?'':scope.row.y1ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.y1ph}}%)</p>
               </template>
             </el-table-column>
@@ -120,9 +120,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.s1l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.s1l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.s1a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.s1a,2)}}</p>
                 <p class="center" :class="scope.row.s1pl ===0?'':scope.row.s1pl < 0?'green':'red'">(<i :class="scope.row.s1pl === 0?'':scope.row.s1pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.s1pl}}%)</p>
               </template>
             </el-table-column>
@@ -131,9 +131,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.s1h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.s1h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.s1a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.s1a,2)}}</p>
                 <p class="center" :class="scope.row.s1ph ===0?'':scope.row.s1ph < 0?'green':'red'">(<i :class="scope.row.s1ph === 0?'':scope.row.s1ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.s1ph}}%)</p>
               </template>
             </el-table-column>
@@ -144,9 +144,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m1l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m1l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m1a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m1a,2)}}</p>
                 <p class="center" :class="scope.row.m1pl ===0?'':scope.row.m1pl < 0?'green':'red'">(<i :class="scope.row.m1pl === 0?'':scope.row.m1pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m1pl}}%)</p>
               </template>
             </el-table-column>
@@ -155,9 +155,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m1h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m1h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m1a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m1a,2)}}</p>
                 <p class="center" :class="scope.row.m1ph ===0?'':scope.row.m1ph < 0?'green':'red'">(<i :class="scope.row.m1ph === 0?'':scope.row.m1ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m1ph}}%)</p>
               </template>
             </el-table-column>
@@ -168,9 +168,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m2l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m2l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m2a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m2a,2)}}</p>
                 <p class="center" :class="scope.row.m2pl ===0?'':scope.row.m2pl < 0?'green':'red'">(<i :class="scope.row.m2pl === 0?'':scope.row.m2pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m2pl}}%)</p>
               </template>
             </el-table-column>
@@ -179,9 +179,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m2h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m2h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m2a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m2a,2)}}</p>
                 <p class="center" :class="scope.row.m2ph ===0?'':scope.row.m2ph < 0?'green':'red'">(<i :class="scope.row.m2ph === 0?'':scope.row.m2ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m2ph}}%)</p>
               </template>
             </el-table-column>
@@ -192,9 +192,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m3l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m3l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m3a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m3a,2)}}</p>
                 <p class="center" :class="scope.row.m3pl ===0?'':scope.row.m3pl < 0?'green':'red'">(<i :class="scope.row.m3pl === 0?'':scope.row.m3pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m3pl}}%)</p>
               </template>
             </el-table-column>
@@ -203,9 +203,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m3h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m3h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m3a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m3a,2)}}</p>
                 <p class="center" :class="scope.row.m3ph ===0?'':scope.row.m3ph < 0?'green':'red'">(<i :class="scope.row.m3ph === 0?'':scope.row.m3ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m3ph}}%)</p>
               </template>
             </el-table-column>
@@ -216,9 +216,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.s2l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.s2l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.s2a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.s2a,2)}}</p>
                 <p class="center" :class="scope.row.s2pl ===0?'':scope.row.s2pl < 0?'green':'red'">(<i :class="scope.row.s2pl === 0?'':scope.row.s2pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.s2pl}}%)</p>
               </template>
             </el-table-column>
@@ -227,9 +227,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.s2h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.s2h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.s2a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.s2a,2)}}</p>
                 <p class="center" :class="scope.row.s2ph ===0?'':scope.row.s2ph < 0?'green':'red'">(<i :class="scope.row.s2ph === 0?'':scope.row.s2ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.s2ph}}%)</p>
               </template>
             </el-table-column>
@@ -240,9 +240,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m4l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m4l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m4a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m4a,2)}}</p>
                 <p class="center" :class="scope.row.m4pl ===0?'':scope.row.m4pl < 0?'green':'red'">(<i :class="scope.row.m4pl === 0?'':scope.row.m4pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m4pl}}%)</p>
               </template>
             </el-table-column>
@@ -251,9 +251,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m4h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m4h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m4a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m4a,2)}}</p>
                 <p class="center" :class="scope.row.m4ph ===0?'':scope.row.m4ph < 0?'green':'red'">(<i :class="scope.row.m4ph === 0?'':scope.row.m4ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m4ph}}%)</p>
               </template>
             </el-table-column>
@@ -264,9 +264,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m5l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m5l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m5a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m5a,2)}}</p>
                 <p class="center" :class="scope.row.m5pl ===0?'':scope.row.m5pl < 0?'green':'red'">(<i :class="scope.row.m5pl === 0?'':scope.row.m5pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m5pl}}%)</p>
               </template>
             </el-table-column>
@@ -275,9 +275,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m5h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m5h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m5a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m5a,2)}}</p>
                 <p class="center" :class="scope.row.m5ph ===0?'':scope.row.m5ph < 0?'green':'red'">(<i :class="scope.row.m5ph === 0?'':scope.row.m5ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m5ph}}%)</p>
               </template>
             </el-table-column>
@@ -288,9 +288,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m6l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m6l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m6a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m6a,2)}}</p>
                 <p class="center" :class="scope.row.m6pl ===0?'':scope.row.m6pl < 0?'green':'red'">(<i :class="scope.row.m6pl === 0?'':scope.row.m6pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m6pl}}%)</p>
               </template>
             </el-table-column>
@@ -299,9 +299,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m6h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m6h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m6a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m6a,2)}}</p>
                 <p class="center" :class="scope.row.m6ph ===0?'':scope.row.m6ph < 0?'green':'red'">(<i :class="scope.row.m6ph === 0?'':scope.row.m6ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m6ph}}%)</p>
               </template>
             </el-table-column>
@@ -312,9 +312,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.s3l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.s3l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.s3a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.s3a,2)}}</p>
                 <p class="center" :class="scope.row.s3pl ===0?'':scope.row.s3pl < 0?'green':'red'">(<i :class="scope.row.s3pl === 0?'':scope.row.s3pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.s3pl}}%)</p>
               </template>
             </el-table-column>
@@ -323,9 +323,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.s3h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.s3h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.s3a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.s3a,2)}}</p>
                 <p class="center" :class="scope.row.s3ph ===0?'':scope.row.s3ph < 0?'green':'red'">(<i :class="scope.row.s3ph === 0?'':scope.row.s3ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.s3ph}}%)</p>
               </template>
             </el-table-column>
@@ -336,9 +336,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m7l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m7l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m7a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m7a,2)}}</p>
                 <p class="center" :class="scope.row.m7pl ===0?'':scope.row.m7pl < 0?'green':'red'">(<i :class="scope.row.m7pl === 0?'':scope.row.m7pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m7pl}}%)</p>
               </template>
             </el-table-column>
@@ -347,9 +347,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m7h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m7h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m7a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m7a,2)}}</p>
                 <p class="center" :class="scope.row.m7ph ===0?'':scope.row.m7ph < 0?'green':'red'">(<i :class="scope.row.m7ph === 0?'':scope.row.m7ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m7ph}}%)</p>
               </template>
             </el-table-column>
@@ -360,9 +360,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m8l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m8l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m8a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m8a,2)}}</p>
                 <p class="center" :class="scope.row.m8pl ===0?'':scope.row.m8pl < 0?'green':'red'">(<i :class="scope.row.m8pl === 0?'':scope.row.m8pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m8pl}}%)</p>
               </template>
             </el-table-column>
@@ -371,9 +371,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m8h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m8h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m8a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m8a,2)}}</p>
                 <p class="center" :class="scope.row.m8ph ===0?'':scope.row.m8ph < 0?'green':'red'">(<i :class="scope.row.m8ph === 0?'':scope.row.m8ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m8ph}}%)</p>
               </template>
             </el-table-column>
@@ -384,9 +384,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m9l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m9l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m9a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m9a,2)}}</p>
                 <p class="center" :class="scope.row.m9pl ===0?'':scope.row.m9pl < 0?'green':'red'">(<i :class="scope.row.m9pl === 0?'':scope.row.m9pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m9pl}}%)</p>
               </template>
             </el-table-column>
@@ -395,9 +395,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m9h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m9h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m9a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m9a,2)}}</p>
                 <p class="center" :class="scope.row.m9ph ===0?'':scope.row.m9ph < 0?'green':'red'">(<i :class="scope.row.m9ph === 0?'':scope.row.m9ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m9ph}}%)</p>
               </template>
             </el-table-column>
@@ -408,9 +408,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.s4l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.s4l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.s4a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.s4a,2)}}</p>
                 <p class="center" :class="scope.row.s4pl ===0?'':scope.row.s4pl < 0?'green':'red'">(<i :class="scope.row.s4pl === 0?'':scope.row.s4pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.s4pl}}%)</p>
               </template>
             </el-table-column>
@@ -419,9 +419,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.s4h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.s4h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.s4a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.s4a,2)}}</p>
                 <p class="center" :class="scope.row.s4ph ===0?'':scope.row.s4ph < 0?'green':'red'">(<i :class="scope.row.s4ph === 0?'':scope.row.s4ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.s4ph}}%)</p>
               </template>
             </el-table-column>
@@ -432,9 +432,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m10l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m10l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m10a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m10a,2)}}</p>
                 <p class="center" :class="scope.row.m10pl ===0?'':scope.row.m10pl < 0?'green':'red'">(<i :class="scope.row.m10pl === 0?'':scope.row.m10pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m10pl}}%)</p>
               </template>
             </el-table-column>
@@ -443,9 +443,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m10h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m10h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m10a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m10a,2)}}</p>
                 <p class="center" :class="scope.row.m10ph ===0?'':scope.row.m10ph < 0?'green':'red'">(<i :class="scope.row.m10ph === 0?'':scope.row.m10ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m10ph}}%)</p>
               </template>
             </el-table-column>
@@ -456,9 +456,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m11l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m11l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m11a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m11a,2)}}</p>
                 <p class="center" :class="scope.row.m11pl ===0?'':scope.row.m11pl < 0?'green':'red'">(<i :class="scope.row.m11pl === 0?'':scope.row.m11pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m11pl}}%)</p>
               </template>
             </el-table-column>
@@ -467,9 +467,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m11h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m11h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m11a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m11a,2)}}</p>
                 <p class="center" :class="scope.row.m11ph ===0?'':scope.row.m11ph < 0?'green':'red'">(<i :class="scope.row.m11ph === 0?'':scope.row.m11ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m11ph}}%)</p>
               </template>
             </el-table-column>
@@ -480,9 +480,9 @@
                 label="基本"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m12l}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m12l,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m12a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m12a,2)}}</p>
                 <p class="center" :class="scope.row.m12pl ===0?'':scope.row.m12pl < 0?'green':'red'">(<i :class="scope.row.m12pl === 0?'':scope.row.m12pl < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m12pl}}%)</p>
               </template>
             </el-table-column>
@@ -491,9 +491,9 @@
                 label="挑战"
                 width="120">
               <template slot-scope="scope">
-                <p class="center d-text">{{scope.row.m12h}}</p>
+                <p class="center d-text">{{tool.formatAmount(scope.row.m12h,2)}}</p>
                 <p class="border"></p>
-                <p class="center">{{scope.row.m12a}}</p>
+                <p class="center">{{tool.formatAmount(scope.row.m12a,2)}}</p>
                 <p class="center" :class="scope.row.m12ph ===0?'':scope.row.m12ph < 0?'green':'red'">(<i :class="scope.row.m12ph === 0?'':scope.row.m12ph < 0?'el-icon-bottom':'el-icon-top'"></i>{{scope.row.m12ph}}%)</p>
               </template>
             </el-table-column>

+ 6 - 6
src/SDrpManagement/QuotedPrice/modules/ProjectQuotationAdd.vue

@@ -197,7 +197,7 @@
                         </el-pagination>
                       </div>
                     </el-tab-pane>
-                    <el-tab-pane label="经销商" name="经销商">
+                    <el-tab-pane label="合作伙伴" name="合作伙伴">
                       <el-input
                           style="width:300px;margin-bottom: 10px"
                           placeholder="请输入内容"
@@ -696,10 +696,10 @@ export default {
       this.customerParam.content.where.condition = this.form.enterprisename
       this.customerList()
     },
-    /*选择经销商*/
+    /*选择合作伙伴*/
     async distributorList(){
       this.customerParam.content.where.sa_projectid = 0
-      this.customerParam.content.where.type = 5
+      this.customerParam.content.where.type = 16
       const  res = await this.$api.requested(this.customerParam)
       this.distributor.distributorData = res.data
       this.distributor.total = res.total
@@ -753,7 +753,7 @@ export default {
         this.querySalesman()
       }
     },
-    /*经销商选择信息*/
+    /*合作伙伴选择信息*/
     distributorData(val){
       this.form.sys_enterpriseid = val.sys_enterpriseid
       this.form.enterprisename = val.enterprisename
@@ -802,7 +802,7 @@ export default {
       this.customerParam.content.pageNumber = val
       this.customerList()
     },
-    /*经销商翻页*/
+    /*合作伙伴翻页*/
     handleSizeChangeDistributor(val) {
       // console.log(`每页 ${val} 条`);
       this.customerParam.content.pageSize = val
@@ -865,7 +865,7 @@ export default {
     },
     handleClick(tab){
       console.log(tab.name,'tab')
-      if (tab.name === '经销商'){
+      if (tab.name === '合作伙伴'){
         this.distributorList()
       }else {
         this.customerList()

+ 2 - 2
vue.config.js

@@ -15,8 +15,8 @@ module.exports = {
       proxy: {
         '/apis': {
           // target: 'http://61.164.207.46:8000',  // target host*/
-          // target: 'http://192.168.3.9:8090',  // target host*!
-          target: 'https://oms.idcgroup.com.cn:8079/',  // target host
+          target: 'http://192.168.3.9:8090',  // target host*!
+          // target: 'https://oms.idcgroup.com.cn:8079/',  // target host
           // target: 'localhost:8080',  // target host
           ws: true,  // proxy websockets 
           changeOrigin: true,  // needed for virtual hosted sites