xiaodai2022 hace 2 años
padre
commit
4a5b8edce3
Se han modificado 1 ficheros con 9 adiciones y 15 borrados
  1. 9 15
      src/views/sellOut/salesOrder/components/addForm.vue

+ 9 - 15
src/views/sellOut/salesOrder/components/addForm.vue

@@ -967,7 +967,7 @@ export default {
             platform_id: "",
             arrtime: "", //要求到货时间
             new_good_price: "",
-            // proof_id: "", //凭证ID
+            proof_id: "", //凭证ID
             proof_type: "", //凭证类型
             proof_url: "", //凭证地址
             activity_stock: "0",
@@ -1044,10 +1044,10 @@ export default {
         this.ruleForm.good_code = "";
       }
       this.$refs.ruleForm.validateField("good_code");
-      // this.ruleForm.proof_id = "";
-      // this.ruleForm.proof_url = "";
-      // this.ruleForm.proof_type = "";
-      // this.$refs.ruleForm.validateField("proof_id");
+      this.ruleForm.proof_id = "";
+      this.ruleForm.proof_url = "";
+      this.ruleForm.proof_type = "";
+      this.$refs.ruleForm.validateField("proof_id");
       if (e.length === 1) {
         await this.get_goods_active();
       }
@@ -1227,25 +1227,19 @@ export default {
       const { id, code, label } = e;
       this.ruleForm.supplierNo = code || "";
       this.$refs.ruleForm.validateField("supplierNo");
-      // this.ruleForm.proof_id = "";
-      // this.ruleForm.proof_url = "";
-      // this.ruleForm.proof_type = "";
-      // this.$refs.ruleForm.validateField("proof_id");
+      this.ruleForm.proof_id = "";
+      this.ruleForm.proof_url = "";
+      this.ruleForm.proof_type = "";
+      this.$refs.ruleForm.validateField("proof_id");
       this.ruleForm.good_code = "";
       this.goods_sitem = {};
-      // this.$refs.ruleForm.validateField("proof_id");
     },
     platform_idsearchChange(e) {
       const { id, code, label } = e;
       this.ruleForm.platform_id = id || "";
       this.$refs.ruleForm.validateField("platform_id");
-      // this.ruleForm.proof_id = "";
-      // this.ruleForm.proof_url = "";
-      // this.ruleForm.proof_type = "";
-      // this.$refs.ruleForm.validateField("proof_id");
       this.ruleForm.good_code = "";
       this.goods_sitem = {};
-      // this.$refs.ruleForm.validateField("proof_id");
     },
     openHouseModal(index) {
       let findex = this.addrForm.order_addr.findIndex((v) => v.edit === true);