隐藏提醒
This commit is contained in:
@@ -154,12 +154,12 @@ export default {
|
|||||||
this.val2 = ''
|
this.val2 = ''
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let arr2 = this.dataList.filter(el => { return el.material_code === res.bucket_jo.material_code && el.pcsn === res.bucket_jo.pcsn })
|
// let arr2 = this.dataList.filter(el => { return el.material_code === res.bucket_jo.material_code && el.pcsn === res.bucket_jo.pcsn })
|
||||||
if (!arr2.length) {
|
// if (!arr2.length) {
|
||||||
this.toast('物料编码和批次必须一致')
|
// this.toast('物料编码和批次必须一致')
|
||||||
this.val2 = ''
|
// this.val2 = ''
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
this.bucket_jo = res.bucket_jo
|
this.bucket_jo = res.bucket_jo
|
||||||
this.val2 = this.bucket_jo.bucketunique
|
this.val2 = this.bucket_jo.bucketunique
|
||||||
this.dataList.push(this.bucket_jo)
|
this.dataList.push(this.bucket_jo)
|
||||||
|
|||||||
@@ -156,12 +156,12 @@ export default {
|
|||||||
this.val2 = ''
|
this.val2 = ''
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let arr2 = this.dataList.filter(el => { return el.material_code === res.bucket_jo.material_code && el.pcsn === res.bucket_jo.pcsn })
|
// let arr2 = this.dataList.filter(el => { return el.material_code === res.bucket_jo.material_code && el.pcsn === res.bucket_jo.pcsn })
|
||||||
if (!arr2.length) {
|
// if (!arr2.length) {
|
||||||
this.toast('物料编码和批次必须一致')
|
// this.toast('物料编码和批次必须一致')
|
||||||
this.val2 = ''
|
// this.val2 = ''
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
this.bucket_jo = res.bucket_jo
|
this.bucket_jo = res.bucket_jo
|
||||||
this.val2 = this.bucket_jo.bucketunique
|
this.val2 = this.bucket_jo.bucketunique
|
||||||
this.dataList.push(this.bucket_jo)
|
this.dataList.push(this.bucket_jo)
|
||||||
|
|||||||
Reference in New Issue
Block a user