rev: 盘点确认
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user