From 81769069ee4fc2681676d4f01ea6ac30c3ef88fa Mon Sep 17 00:00:00 2001
From: payne <bzrlw2012@163.com>
Date: 周四, 25 4月 2024 17:43:13 +0800
Subject: [PATCH] 编辑物料增加ID

---
 iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabForm.vue |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabForm.vue b/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabForm.vue
index 512197a..2a9f2a9 100644
--- a/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabForm.vue
+++ b/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabForm.vue
@@ -101,6 +101,7 @@
             <a-form-item label="鎻忚堪" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
               <a-input placeholder="璇疯緭鍏ユ弿杩�" v-decorator="['materialDesc']" />
             </a-form-item>
+            <a-form-item v-show="false"><a-input v-decorator="['id']" /></a-form-item>
           </a-form>
         </a-tab-pane>
         <a-tab-pane key="2" tab="鎺у埗灞炴��" force-render>
@@ -298,6 +299,10 @@
           //   values.stationNameParameter = values.stationNameParameterArr.join(',')
           // }
 
+
+          console.log("鐗╂枡淇℃伅9999999999999999")
+          console.log(values);
+
           console.log(6666666666666 + '鎺у埗灞炴��')
           var ControlRuleld = this.$refs.WmsControlRuleRef.form.getFieldValue('id') || ''
 
@@ -321,12 +326,15 @@
 
           // console.log(6666666666666 + '鍖呰鍏崇郴')
           // console.log(this.$refs.addFormContainerPackagingRef.list)
-
+          var a1 = []
+          BaseCustomerList.forEach((item)=>{
+            a1.push(item.id)
+          })
           var param = {
             MaterialInput: values,
             ControlRuleld: ControlRuleld, //鎺у埗灞炴��
             SubstituteGoodList: SubstituteGoodList, //鏇夸唬鍝�
-            BaseCustomerList: BaseCustomerList, //寰�鏉ュ叧绯婚泦鍚�
+            BaseCustomerList: a1, //寰�鏉ュ叧绯婚泦鍚�
             // ContainerPackagingList: this.$refs.addFormContainerPackagingRef.list //鍖呰鍏崇郴
           }
           this.confirmLoading = true

--
Gitblit v1.9.3