From 2735cf2472642e365307362de65f8d034cf78577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E7=8E=B2?= <8702040+cai-ling@user.noreply.gitee.com> Date: Wed, 4 Dec 2024 16:26:33 +0800 Subject: [PATCH] no message --- pages/outbound/bill-out-store.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/outbound/bill-out-store.vue b/pages/outbound/bill-out-store.vue index 55c5d27..ff18984 100644 --- a/pages/outbound/bill-out-store.vue +++ b/pages/outbound/bill-out-store.vue @@ -35,7 +35,7 @@ 仓库 - + 车间 @@ -105,6 +105,7 @@ dataList: [], disabled: false, options1: [{value: 'FStockPallet', text: '托盘库'}, {value: 'FStockId', text: '料箱库'}], + index1: '', options2: [{value: 'A1', text: 'A1车间'}, {value: 'A2', text: 'A2车间'}, {value: 'A3', text: 'A3车间'}], allCheck: false }; @@ -123,6 +124,7 @@ this.$set(el, 'now_assign_qty', el.qty) this.$set(el, 'checked', false) }) + this.index1 = this.currentData.stor_code this.$store.dispatch('setPublicObj', '') } }, @@ -141,7 +143,6 @@ } }, selectChange1 (e) { - this.currentData.stor_code = e if (e) { this._outStorageOrderConfirm(e) } @@ -175,6 +176,7 @@ }, toEmpty () { this.index = '' + this.index1 = '' this.currentData = {} this.dataList = [] this.allCheck = false @@ -197,7 +199,7 @@ return } let arr = this.dataList.filter(el => el.checked === true) - let obj = Object.assign(this.currentData, {children: arr}) + let obj = Object.assign(this.currentData, {children: arr, stor_code: this.index1}) try { let res = await outStorageConfirm(obj) if (res.code === '200') {