Pārlūkot izejas kodu

修复商品组件

xiaodai2022 1 gadu atpakaļ
vecāks
revīzija
b4121bcd12

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/0.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/chunk-libs.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 251 - 169
src/views/goodStore/goodsCost/components/baseForm.vue


+ 3 - 3
src/views/goodStore/goodsCost/components/baseFormNormal.vue

@@ -2158,8 +2158,8 @@ export default {
             lead_time: lead_time || "",
             sample_day: sample_day || "",
             good_thumb_img: good_thumb_img || "",
-            good_img: !isArray(good_img || "") ? good_img.split(",") : [],
-            good_info_img: !isArray(good_info_img || "") ? good_info_img.split(",") : [],
+            good_img: good_img?!isArray(good_img || "") ? good_img.split(",") : []:[],
+            good_info_img: good_info_img || [],
             //固定阶梯成本
             demo_fee: demo_fee || "",
             open_fee: open_fee || "",
@@ -2398,7 +2398,7 @@ export default {
     async noble_metalsearchChange(e) {
       const { id, code, label } = e;
       this.ruleForm.noble_metal = id || "";
-      tthis.$refs.ruleForm && his.$refs.ruleForm.validateField("noble_metal");
+      this.$refs.ruleForm && this.$refs.ruleForm.validateField("noble_metal");
       await this.get_all_fee();
     },
     async areaChange(e, key) {

+ 3 - 3
src/views/goodStore/supplierGoodsCost/components/baseForm.vue

@@ -2192,8 +2192,8 @@ export default {
             lead_time: lead_time || "",
             sample_day: sample_day || "",
             good_thumb_img: good_thumb_img || "",
-            good_img: !isArray(good_img || "") ? good_img.split(",") : [],
-            good_info_img: !isArray(good_info_img || "") ? good_info_img.split(",") : [],
+            good_img: good_img ?!isArray(good_img || "") ? good_img.split(",") : []:[],
+            good_info_img: good_info_img?!isArray(good_info_img || "") ? good_info_img.split(",") : []:[],
             //固定阶梯成本
             demo_fee: demo_fee || "",
             open_fee: open_fee || "",
@@ -2436,7 +2436,7 @@ export default {
     async noble_metalsearchChange(e) {
       const { id, code, label } = e;
       this.ruleForm.noble_metal = id || "";
-      tthis.$refs.ruleForm && his.$refs.ruleForm.validateField("noble_metal");
+      this.$refs.ruleForm && this.$refs.ruleForm.validateField("noble_metal");
       await this.get_all_fee();
     },
     async areaChange(e, key) {

+ 3 - 3
src/views/goodStore/supplierGoodsCost/components/baseFormNormal.vue

@@ -2184,8 +2184,8 @@ export default {
             lead_time: lead_time || "",
             sample_day: sample_day || "",
             good_thumb_img: good_thumb_img || "",
-            good_img: !isArray(good_img || "") ? good_img.split(",") : [],
-            good_info_img: !isArray(good_info_img || "") ? good_info_img.split(",") : [],
+            good_img: good_img ?!isArray(good_img || "") ? good_img.split(",") : []:[],
+            good_info_img: good_info_img?!isArray(good_info_img || "") ? good_info_img.split(",") : []:[],
             //固定阶梯成本
             demo_fee: demo_fee || "",
             open_fee: open_fee || "",
@@ -2427,7 +2427,7 @@ export default {
     async noble_metalsearchChange(e) {
       const { id, code, label } = e;
       this.ruleForm.noble_metal = id || "";
-      tthis.$refs.ruleForm && his.$refs.ruleForm.validateField("noble_metal");
+      this.$refs.ruleForm && this.$refs.ruleForm.validateField("noble_metal");
       await this.get_all_fee();
     },
     async areaChange(e, key) {

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels