仓库送料筛选逻辑
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th @tap="toAllCheck"><uni-icons :type="allCheck ? 'checkbox' : 'circle'" size="24" color="#4e6ef2"></uni-icons></th>
|
||||
<!-- <th></uni-icons></th> -->
|
||||
<th>物料编码</th>
|
||||
<th>物料名称</th>
|
||||
<th>物料类别</th>
|
||||
@@ -83,6 +82,7 @@
|
||||
title: '',
|
||||
keyword: null,
|
||||
options1: [],
|
||||
// options1: [{text: '点位01', value: '01'}, {text: '点位02', value: '02'}, {text: '点位03', value: '03'}],
|
||||
index1: '',
|
||||
options2: [],
|
||||
index2: '',
|
||||
@@ -152,8 +152,13 @@
|
||||
},
|
||||
toSure () {
|
||||
if (this.index1 && this.checkedArr.length) {
|
||||
// let selobj = this.options1.find(item => item.value === this.index1)
|
||||
this.checkedArr.forEach(item => {
|
||||
item.point_code = this.index1
|
||||
item.pcsn = ''
|
||||
item.qty = ''
|
||||
})
|
||||
this.$store.dispatch('setPublicArr', this.checkedArr)
|
||||
this.$store.dispatch('setPublicObj', this.index1)
|
||||
uni.navigateBack()
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user