Explorar el Código

extension_one

storeBelieveInLight hace 1 año
padre
commit
887f6a4249
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      shop/productManagementModule/addProduct.vue

+ 3 - 1
shop/productManagementModule/addProduct.vue

@@ -594,7 +594,9 @@ export default {
594 594
       this.formData.extension_type = val;
595 595
       const _this = this;
596 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 602
     changeInputHandle(ev, its, item, idx) {