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') {