|
@@ -229,11 +229,16 @@ export default {
|
|
.split(',')
|
|
.split(',')
|
|
.filter((item) => item)
|
|
.filter((item) => item)
|
|
.join(',')
|
|
.join(',')
|
|
- this.getBatchData(str)
|
|
|
|
|
|
+ console.log('rows', rows)
|
|
|
|
+ getAction('/materialBatch/findBatchNumbersByBarCode',{
|
|
|
|
+ barCodes: str,
|
|
|
|
+ }).then((res) => {
|
|
|
|
+ this.getBatchData(res.data)
|
|
|
|
+ })
|
|
},
|
|
},
|
|
findAllSelect() {
|
|
findAllSelect() {
|
|
- const params = { ...this.$refs.selectModal.queryParam }
|
|
|
|
- getAction('/material/findBatchNumbersBySelect', params).then((res) => {
|
|
|
|
|
|
+ // const params = { ...this.$refs.selectModal.queryParam }
|
|
|
|
+ getAction('/materialBatch/findBatchNumbersByBarCode').then((res) => {
|
|
this.$refs.selectModal.close()
|
|
this.$refs.selectModal.close()
|
|
this.getBatchData(res.data)
|
|
this.getBatchData(res.data)
|
|
})
|
|
})
|