|
|
@ -357,6 +357,7 @@ export default class SaleOutWH extends BasePage {
|
|
|
|
item.batchNumber = this.bimWl.value;
|
|
|
|
item.batchNumber = this.bimWl.value;
|
|
|
|
await this.model.ScanCodeWholePallet(item);
|
|
|
|
await this.model.ScanCodeWholePallet(item);
|
|
|
|
if (this.model.scanCode == '200') {
|
|
|
|
if (this.model.scanCode == '200') {
|
|
|
|
|
|
|
|
if (model.scandatalist.length != 0) {
|
|
|
|
let chongfuscan = this.list.some((item) => item.storageId === model.scandatalist[0].storageId);
|
|
|
|
let chongfuscan = this.list.some((item) => item.storageId === model.scandatalist[0].storageId);
|
|
|
|
if (chongfuscan) {
|
|
|
|
if (chongfuscan) {
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
@ -383,6 +384,13 @@ export default class SaleOutWH extends BasePage {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
|
|
|
title: model.Submitmsg,
|
|
|
|
|
|
|
|
duration: 3000,
|
|
|
|
|
|
|
|
type: 'error',
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// this.list.push()
|
|
|
|
// this.list.push()
|
|
|
|
|
|
|
|
|
|
|
|