no message
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
<view class="zd-row">
|
||||
<view class="zd-col-6"><span class="filter_label">仓库</span></view>
|
||||
<view class="zd-col-6 filter_select">
|
||||
<uni-data-select v-model="currentData.stor_code" :localdata="options1" @change="selectChange1"></uni-data-select>
|
||||
<uni-data-select v-model="index1" :localdata="options1" @change="selectChange1"></uni-data-select>
|
||||
</view>
|
||||
<view class="zd-col-6"><span class="filter_label">车间</span></view>
|
||||
<view class="zd-col-6 filter_select">
|
||||
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user