|
|
@ -158,7 +158,7 @@ export default class finishProductOfflineDom extends BasePage {
|
|
|
|
await this.model.queryReturningTypeList();
|
|
|
|
await this.model.queryReturningTypeList();
|
|
|
|
this.form.aimWl = model.firstLocation;
|
|
|
|
this.form.aimWl = model.firstLocation;
|
|
|
|
this.areaCode = model.firstLocation.areaCode;
|
|
|
|
this.areaCode = model.firstLocation.areaCode;
|
|
|
|
console.log('this.areaCode', this.areaCode);
|
|
|
|
//console.log('this.areaCode', this.areaCode);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 处理选择行 选中一条执行一次
|
|
|
|
* 处理选择行 选中一条执行一次
|
|
|
@ -257,6 +257,7 @@ export default class finishProductOfflineDom extends BasePage {
|
|
|
|
this.customToast(this.$t('message.barcode') as string);
|
|
|
|
this.customToast(this.$t('message.barcode') as string);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
console.log('扫描标志', this.model.searchCode);
|
|
|
|
if (this.model.searchCode == '') {
|
|
|
|
if (this.model.searchCode == '') {
|
|
|
|
this.customToast(this.$t('message.barcode_PleaseScan') as string);
|
|
|
|
this.customToast(this.$t('message.barcode_PleaseScan') as string);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
@ -315,6 +316,7 @@ export default class finishProductOfflineDom extends BasePage {
|
|
|
|
this.materielList.push(this.model.materielList[0]);
|
|
|
|
this.materielList.push(this.model.materielList[0]);
|
|
|
|
this.materielList[this.materielList.length - 1].locCode = this.form.aimWl.label;
|
|
|
|
this.materielList[this.materielList.length - 1].locCode = this.form.aimWl.label;
|
|
|
|
this.materielList[this.materielList.length - 1].index = this.materielList.length;
|
|
|
|
this.materielList[this.materielList.length - 1].index = this.materielList.length;
|
|
|
|
|
|
|
|
this.model.setSearchCode();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
let flag = 0;
|
|
|
|
let flag = 0;
|
|
|
|
for (let i = 0; i < this.materielList.length; i++) {
|
|
|
|
for (let i = 0; i < this.materielList.length; i++) {
|
|
|
@ -327,7 +329,9 @@ export default class finishProductOfflineDom extends BasePage {
|
|
|
|
this.materielList.push(this.model.materielList[0]);
|
|
|
|
this.materielList.push(this.model.materielList[0]);
|
|
|
|
this.materielList[this.materielList.length - 1].locCode = this.form.aimWl.label;
|
|
|
|
this.materielList[this.materielList.length - 1].locCode = this.form.aimWl.label;
|
|
|
|
this.materielList[this.materielList.length - 1].index = this.materielList.length;
|
|
|
|
this.materielList[this.materielList.length - 1].index = this.materielList.length;
|
|
|
|
|
|
|
|
this.model.setSearchCode();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
this.model.setSearchCode();
|
|
|
|
this.customToast(this.$t('message.product_Tip7') as string);
|
|
|
|
this.customToast(this.$t('message.product_Tip7') as string);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|