snow 2 年之前
父节点
当前提交
fa9e37ac43

文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/0.js


+ 47 - 47
src/components/search-good-online-modal/columns.js

@@ -1,73 +1,73 @@
 export default [
-  { type: "selection", fixed: "left", _noset_: true },
+  { type: 'selection', fixed: 'left', _noset_: true },
   {
-    prop: "skuCode",
-    label: "商品编码",
-    width: "160",
+    prop: 'skuCode',
+    label: '商品编码',
+    width: '160'
   },
   {
-    prop: "good_thumb_img",
-    label: "图片",
-    _slot_: "good_thumb_img", 
-    "width": "50",
+    prop: 'good_thumb_img',
+    label: '图片',
+    _slot_: 'good_thumb_img',
+    'width': '50'
   },
   {
-    prop: "good_name",
-    label: "商品名称",
+    prop: 'good_name',
+    label: '商品名称',
     // good_thumb_img
-    "min-width": "120",
+    'min-width': '120'
   },
   {
-    prop: "plat_code",
-    label: "平台商品编号",
-    "width": "160",
+    prop: 'plat_code',
+    label: '平台商品编号',
+    'width': '160'
   },
   {
-    prop: "cat_name",
-    label: "商品分类",
-    width: "120",
+    prop: 'cat_name',
+    label: '商品分类',
+    width: '120'
   },
 
   {
-    prop: "unit",
-    label: "单位",
-    width: "45",
+    prop: 'unit',
+    label: '单位',
+    width: '45'
   },
   {
-    prop: "model",
-    label: "规格",
-    _slot_: "model",
-    width: "110",
+    prop: 'model',
+    label: '规格',
+    _slot_: 'model',
+    width: '110'
   },
-  
+
   {
-    prop: "brand_name",
-    label: "品牌",
-    "width": "100",
+    prop: 'brand_name',
+    label: '品牌',
+    'width': '100'
   },
   {
-    prop: "is_stock",
-    label: "库存类型",
-    _slot_: "is_stock",
-    "width": "100",
+    prop: 'is_stock',
+    label: '库存类型',
+    _slot_: 'is_stock',
+    'width': '100'
   },
-  
+
   {
-    prop: "platform_name",
-    label: "所属平台",
-    "width": "100",
+    prop: 'platform_name',
+    label: '所属平台',
+    'width': '100'
   },
-  
+
   {
-    prop: "company",
-    label: "业务公司",
-    "min-width": "150",
+    prop: 'company',
+    label: '业务公司',
+    'min-width': '150'
   },
   {
-    prop: "purchase",
-    label: "供应商负责人",
-    fixed: "right",
-    width: "95",
-  },
-  
-]
+    prop: 'purchase',
+    label: '供应商负责人',
+    fixed: 'right',
+    width: '95'
+  }
+
+]

+ 1 - 1
src/views/businessReportQuery/businessSaleReport/index.vue

@@ -71,7 +71,7 @@
     </div>
 
     <div class="company-error" v-else-if="!currentCompany">
-      <i class="el-icon-warning"></i>
+      <i class="el-icon-warning" />
       <p>请选择一家业务公司</p>
     </div>
 

+ 7 - 4
src/views/sellOut/filing/cpns/exam-form.vue

@@ -179,7 +179,6 @@ export default {
         if (this.$refs.ruleForm) {
           this.$refs.ruleForm.resetFields();
           this.$refs.ruleForm.clearValidate();
-          console.log(this.sitem);
           const {
             id,
             status,
@@ -197,7 +196,9 @@ export default {
             platform_name,
           } = this.sitem;
 
+
           console.log(this.sitem)
+
           
           this.cgd_charge = cgd_charge;
           this.price = price;
@@ -234,8 +235,10 @@ export default {
       this.$refs.ruleForm.validateField("platform_id");
     },
     async number_change(e, key) {
+      if(Number(this.ruleForm[key]) === e) {
+        return
+      }     
       this.ruleForm[key] = e + "" || "0";
-      console.log(e)
       this.$refs.ruleForm.validateField(key);
       await this.num(key);
     },
@@ -285,9 +288,8 @@ export default {
         rate = accSub(1, accDiv(cgdAdd, qrdAdd));
         await this.set_number_change("service_proportion", rate);
       }
+
       if (!is_sale && key === "service_proportion") {
-        // qrdAdd = cgdAdd / (100 - rate);
-        // serAdd = qrdAdd - cgdAdd;
         if (rate === 100) {
           this.$message.error("服务费比例不能等于100!");
           await this.set_number_change("service_charge", "0");
@@ -296,6 +298,7 @@ export default {
         }
         qrdAdd = accDiv(cgdAdd, accSub(100, rate));
         serAdd = accSub(qrdAdd, cgdAdd);
+
         await this.set_number_change("service_charge", serAdd);
       }
     },

部分文件因为文件数量过多而无法显示