lilei преди 9 месеца
родител
ревизия
615b293e26

+ 9 - 10
src/views/numsGoodsShelves/approveStore/authPass.vue

@@ -123,7 +123,7 @@
             </a-col>
             <a-col :span="12">
               <a-form-model-item label="关联客户" prop="customerSn">
-                <custList ref="custList" :dealerFlag="0" :isEnabled="true" @change="custChange"></custList>
+                <custList ref="custList" :isEnabled="true" @change="custChange"></custList>
               </a-form-model-item>
             </a-col>
             <a-col :span="12" v-if="form.settleType == 'CREDIT'">
@@ -142,7 +142,7 @@
                 <template slot="label">
                   <a-tooltip placement="top">
                     <template slot="title">
-                     不勾选则不显示价格,结算价:即易码通进货价。
+                      不勾选则不显示价格,结算价:即易码通进货价。
                     </template>
                     价格权限设置<a-icon type="question-circle" style="color: rgba(0,0,0,.65);font-size: 16px;margin-left: 2px;vertical-align: sub;cursor: pointer;" />
                   </a-tooltip>
@@ -217,7 +217,7 @@ export default {
         applySn: undefined,
         auditStatus: 'PASS' // 通过
       },
-      showPrice:['shelf_price_show','non_shelf_price_show'], // 价格显示
+      showPrice: ['shelf_price_show', 'non_shelf_price_show'], // 价格显示
       rules: {
         storeImage: [{ required: true, message: '请上传门头照片', trigger: 'change' }],
         storeName: [{ required: true, message: '请输入门店名称', trigger: 'change' }],
@@ -306,13 +306,13 @@ export default {
           const shelfSn = res.data.shelfSn
           // 更新价格显示设置
           const priceStr = [
-            {paramCode: 'shelf_price_show',paramValue:0},
-            {paramCode: 'shelf_cost_show',paramValue:0},
-            {paramCode: 'non_shelf_price_show',paramValue:0},
-            {paramCode: 'non_shelf_cost_show',paramValue:0}
-            ]
+            { paramCode: 'shelf_price_show', paramValue: 0 },
+            { paramCode: 'shelf_cost_show', paramValue: 0 },
+            { paramCode: 'non_shelf_price_show', paramValue: 0 },
+            { paramCode: 'non_shelf_cost_show', paramValue: 0 }
+          ]
           priceStr.map(item => {
-             item.paramValue = _this.showPrice.includes(item.paramCode) ? 1 : 0
+            item.paramValue = _this.showPrice.includes(item.paramCode) ? 1 : 0
           })
           // 更新价格显示
           updateShelfPriceShow({
@@ -329,7 +329,6 @@ export default {
               _this.spinning = false
             }
           })
-          
         } else {
           _this.spinning = false
         }

+ 1 - 1
src/views/numsGoodsShelves/settlementManagement/list.vue

@@ -12,7 +12,7 @@
             </a-col>
             <a-col flex="300px">
               <a-form-item label="关联客户">
-                <custList ref="custList" :dealerFlag="0" @change="custChange" v-model="queryParam.customerName"></custList>
+                <custList ref="custList" @change="custChange" v-model="queryParam.customerName"></custList>
               </a-form-item>
             </a-col>
             <a-col flex="300px">

+ 1 - 1
src/views/numsGoodsShelves/shelfSet/basicInfoModal.vue

@@ -29,7 +29,7 @@
               关联客户<a-icon type="question-circle" style="color: rgba(0,0,0,.65);font-size: 16px;margin-left: 2px;vertical-align: sub;cursor: pointer;" />
             </a-tooltip>
           </template>
-          <custList id="shelfSet-basicInfo-modal-custList" ref="custList" :dealerFlag="0" :isEnabled="true" @change="custChange"></custList>
+          <custList id="shelfSet-basicInfo-modal-custList" ref="custList" :isEnabled="true" @change="custChange"></custList>
         </a-form-model-item>
         <a-form-model-item prop="showPrice">
           <template slot="label">