Procházet zdrojové kódy

禁止选业务员

howie před 3 roky
rodič
revize
e404c08a7d

+ 6 - 3
src/views/supply/policy/components/retail_examine.vue

@@ -141,7 +141,6 @@
             v-if="scope.row.customerWalletName2"
               type="success"
               size="small"
-
             >
                 {{ scope.row.customerWalletName2 }}
             </el-tag>
@@ -153,7 +152,11 @@
           prop="payRebateAmount"
           min-width="100"
           show-overflow-tooltip
-        ></el-table-column>
+        >
+          <template slot-scope="scope">
+            {{ scope.row.payRebateAmount | numToFixed }}
+          </template>
+        </el-table-column>
         <el-table-column
           align="center"
           label="格力折扣"
@@ -280,7 +283,7 @@
 </template>
 
 <script>
-import { getDetail, examineData } from "@/api/supply/policy";
+import { examineData, getDetail } from '@/api/supply/policy'
 
 export default {
   name: "RetailExamine",

+ 6 - 0
src/views/supply/policy/components/retail_form.vue

@@ -68,6 +68,7 @@
             <el-select
               v-model="mainForm.k3ServiceName"
               placeholder="选择业务员"
+              disabled
               style="width: 100%"
               @change="handleUser"
             >
@@ -273,7 +274,9 @@
             <el-select
               v-model="scope.row.serviceName"
               size="small"
+              disabled
               placeholder="选择业务员"
+
               style="width: 100%"
               @change="handleUser2($event,scope.row)"
             >
@@ -950,6 +953,9 @@ export default {
       })[0]
       this.$set(row, 'serviceId', user.adminUserId)
       this.$set(row, 'serviceName', user.nickName)
+      this.$set(this.mainForm,'k3ServiceId',user.adminUserId)
+      this.$set(this.mainForm,'k3ServiceName',user.nickName)
+
     },
     // 返回列表
     goBack() {