|
|
@ -356,6 +356,14 @@ export default class SaleOutWH extends BasePage {
|
|
|
|
item.siteCode = session.FactoryCode;
|
|
|
|
item.siteCode = session.FactoryCode;
|
|
|
|
await this.model.ScanCodeWholePallet(item);
|
|
|
|
await this.model.ScanCodeWholePallet(item);
|
|
|
|
if (this.model.scanCode == '200') {
|
|
|
|
if (this.model.scanCode == '200') {
|
|
|
|
|
|
|
|
let chongfuscan = this.list.some((item) => item.storageId === model.scandatalist[0].storageId);
|
|
|
|
|
|
|
|
if (chongfuscan) {
|
|
|
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
|
|
|
title: '请勿重复扫描标志卡',
|
|
|
|
|
|
|
|
// url: '/pages/user/index'
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
title: '成功',
|
|
|
|
title: '成功',
|
|
|
|
type: 'success',
|
|
|
|
type: 'success',
|
|
|
@ -372,6 +380,8 @@ export default class SaleOutWH extends BasePage {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// this.list.push()
|
|
|
|
// this.list.push()
|
|
|
|
|
|
|
|
|
|
|
|
this.boxnumber = '';
|
|
|
|
this.boxnumber = '';
|
|
|
|