no message
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
<view class="zd-row">
|
<view class="zd-row">
|
||||||
<view class="zd-col-6"><span class="filter_label">仓库</span></view>
|
<view class="zd-col-6"><span class="filter_label">仓库</span></view>
|
||||||
<view class="zd-col-6 filter_select">
|
<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>
|
||||||
<view class="zd-col-6"><span class="filter_label">车间</span></view>
|
<view class="zd-col-6"><span class="filter_label">车间</span></view>
|
||||||
<view class="zd-col-6 filter_select">
|
<view class="zd-col-6 filter_select">
|
||||||
@@ -105,6 +105,7 @@
|
|||||||
dataList: [],
|
dataList: [],
|
||||||
disabled: false,
|
disabled: false,
|
||||||
options1: [{value: 'FStockPallet', text: '托盘库'}, {value: 'FStockId', text: '料箱库'}],
|
options1: [{value: 'FStockPallet', text: '托盘库'}, {value: 'FStockId', text: '料箱库'}],
|
||||||
|
index1: '',
|
||||||
options2: [{value: 'A1', text: 'A1车间'}, {value: 'A2', text: 'A2车间'}, {value: 'A3', text: 'A3车间'}],
|
options2: [{value: 'A1', text: 'A1车间'}, {value: 'A2', text: 'A2车间'}, {value: 'A3', text: 'A3车间'}],
|
||||||
allCheck: false
|
allCheck: false
|
||||||
};
|
};
|
||||||
@@ -123,6 +124,7 @@
|
|||||||
this.$set(el, 'now_assign_qty', el.qty)
|
this.$set(el, 'now_assign_qty', el.qty)
|
||||||
this.$set(el, 'checked', false)
|
this.$set(el, 'checked', false)
|
||||||
})
|
})
|
||||||
|
this.index1 = this.currentData.stor_code
|
||||||
this.$store.dispatch('setPublicObj', '')
|
this.$store.dispatch('setPublicObj', '')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -141,7 +143,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
selectChange1 (e) {
|
selectChange1 (e) {
|
||||||
this.currentData.stor_code = e
|
|
||||||
if (e) {
|
if (e) {
|
||||||
this._outStorageOrderConfirm(e)
|
this._outStorageOrderConfirm(e)
|
||||||
}
|
}
|
||||||
@@ -175,6 +176,7 @@
|
|||||||
},
|
},
|
||||||
toEmpty () {
|
toEmpty () {
|
||||||
this.index = ''
|
this.index = ''
|
||||||
|
this.index1 = ''
|
||||||
this.currentData = {}
|
this.currentData = {}
|
||||||
this.dataList = []
|
this.dataList = []
|
||||||
this.allCheck = false
|
this.allCheck = false
|
||||||
@@ -197,7 +199,7 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
let arr = this.dataList.filter(el => el.checked === true)
|
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 {
|
try {
|
||||||
let res = await outStorageConfirm(obj)
|
let res = await outStorageConfirm(obj)
|
||||||
if (res.code === '200') {
|
if (res.code === '200') {
|
||||||
|
|||||||
Reference in New Issue
Block a user