From 087b06eb3550e65603a9fbfef9e24dbf4168a09e Mon Sep 17 00:00:00 2001 From: liuying <1427574514@qq.com> Date: 周四, 25 4月 2024 17:57:13 +0800 Subject: [PATCH] bug --- iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabForm.vue | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 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 8c7c415..2a9f2a9 100644 --- a/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabForm.vue +++ b/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabForm.vue @@ -29,7 +29,7 @@ <a-form-item label="鐗╂枡绫诲瀷" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-select style="width: 100%" placeholder="璇烽�夋嫨鐗╂枡绫诲瀷" v-decorator="['materialType']"> - <a-select-option v-for="(item, index) in materialTypeData" :key="index" :value="item.materialTypeCode">{{ + <a-select-option v-for="(item, index) in materialTypeData" :key="index" :value="item.id">{{ item.materialTypeName }}</a-select-option> </a-select> </a-form-item> @@ -61,7 +61,7 @@ <!-- <a-input placeholder="璇疯緭鍏ュ簱瀛樺崟浣�" v-decorator="['materialUnit']" /> --> <a-select style="width: 100%" placeholder="璇烽�夋嫨搴撳瓨鍗曚綅" v-decorator="['materialUnit']"> - <a-select-option v-for="(item, index) in selectTypeData1" :key="index" :value="item.unitCode">{{ + <a-select-option v-for="(item, index) in selectTypeData1" :key="index" :value="item.unitName">{{ item.unitName }}</a-select-option> </a-select> @@ -71,7 +71,7 @@ <!-- <a-input placeholder="璇疯緭鍏ラ噰璐崟浣�" v-decorator="['pOUnit']" /> --> <a-select style="width: 100%" placeholder="璇烽�夋嫨閲囪喘鍗曚綅" v-decorator="['pOUnit']"> - <a-select-option v-for="(item, index) in selectTypeData2" :key="index" :value="item.unitCode">{{ + <a-select-option v-for="(item, index) in selectTypeData2" :key="index" :value="item.unitName">{{ item.unitName }}</a-select-option> </a-select> @@ -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