|
|
|
@ -122,7 +122,10 @@ export default class ChangePalletNew extends BasePage {
|
|
|
|
|
locationStatus: any = 1;
|
|
|
|
|
async query() {
|
|
|
|
|
if (this.orderNo == '' || this.orderNo.length == 0) {
|
|
|
|
|
this.customToast('请输入nficl');
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '请输入nficl',
|
|
|
|
|
type: 'default',
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
await this.model.queryOrderNo(this.orderNo);
|
|
|
|
@ -134,6 +137,13 @@ export default class ChangePalletNew extends BasePage {
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
this.orderNoItemList = model.orderNoItemList;
|
|
|
|
|
if (this.orderNoItemList.productCode == 'EmptyPallet') {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '请绑定',
|
|
|
|
|
type: 'default',
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//console.log('this.orderNoItemList', this.orderNoItemList);
|
|
|
|
|
}
|
|
|
|
@ -276,7 +286,7 @@ export default class ChangePalletNew extends BasePage {
|
|
|
|
|
onbind() {
|
|
|
|
|
if (this.orderNo == '' || this.orderNo.length == 0) {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '请扫码正确条码',
|
|
|
|
|
title: '请输入nficl',
|
|
|
|
|
type: 'default',
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|