storeBelieveInLight 1 rok temu
rodzic
commit
887f6a4249
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      shop/productManagementModule/addProduct.vue

+ 3 - 1
shop/productManagementModule/addProduct.vue

@@ -594,7 +594,9 @@ export default {
594
       this.formData.extension_type = val;
594
       this.formData.extension_type = val;
595
       const _this = this;
595
       const _this = this;
596
       this.attrValue[0].modules.forEach((item) => {
596
       this.attrValue[0].modules.forEach((item) => {
597
-        _this.$set(item, "value", _this.base_commission);
597
+        if(item.props === "extension_one"){
598
+          _this.$set(item, "value", _this.base_commission);
599
+        }
598
       });
600
       });
599
     },
601
     },
600
     changeInputHandle(ev, its, item, idx) {
602
     changeInputHandle(ev, its, item, idx) {