rev: 盘点确认

This commit is contained in:
2023-05-31 18:30:26 +08:00
parent f862349a78
commit 4e77ef19a2
2 changed files with 20 additions and 6 deletions

View File

@@ -140,7 +140,7 @@ export default {
},
methods: {
open() {
check.getBucketrecord({ 'storagevehicle_code': this.form.storagevehicle_code, 'status': '3' }).then(res => {
check.getBucketrecord({ 'storagevehicle_code': this.form.storagevehicle_code, 'status': '3', 'checkdtl_id': this.form.checkdtl_id}).then(res => {
this.tableData = res
// 将明细变成不可编辑
for (let i = 0; i < this.tableData.length; i++) {
@@ -248,10 +248,6 @@ export default {
this.crud.notify('物料不可为空!', CRUD.NOTIFICATION_TYPE.INFO)
return false
}
if (!row.bucketunique) {
this.crud.notify('桶号不可为空!', CRUD.NOTIFICATION_TYPE.INFO)
return false
}
let qty = 0
for (let i = 0; i < this.tableData.length; i++) {
if ((this.tableData[i].bucketunique === row.bucketunique) && (index !== i)) {