|
|
@ -230,11 +230,12 @@ export default class productCheckReceipt extends BasePage {
|
|
|
|
this.customToast('请输入nficl');
|
|
|
|
this.customToast('请输入nficl');
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let orderNoItemList = await this.model.queryOrderNo(this.orderNo);
|
|
|
|
await this.model.queryOrderNo(this.orderNo);
|
|
|
|
if (orderNoItemList == undefined) {
|
|
|
|
//console.log('???',model.orderNoItemList)
|
|
|
|
|
|
|
|
if (model.orderNoItemList == undefined) {
|
|
|
|
this.customToast('该rfid未查到数据,请使用正确的rfid!');
|
|
|
|
this.customToast('该rfid未查到数据,请使用正确的rfid!');
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.orderNoItemList = orderNoItemList;
|
|
|
|
this.orderNoItemList = model.orderNoItemList;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//console.log('this.orderNoItemList', this.orderNoItemList);
|
|
|
|
//console.log('this.orderNoItemList', this.orderNoItemList);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -257,7 +258,7 @@ export default class productCheckReceipt extends BasePage {
|
|
|
|
this.customToast('请输入nficl');
|
|
|
|
this.customToast('请输入nficl');
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (this.orderNoItemList.orderCode == undefined) {
|
|
|
|
if (Object.keys(this.orderNoItemList).length === 0) {
|
|
|
|
this.customToast('该rfid不可用,不可质检');
|
|
|
|
this.customToast('该rfid不可用,不可质检');
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -309,7 +310,7 @@ export default class productCheckReceipt extends BasePage {
|
|
|
|
checkResult: this.productCodeList.value,
|
|
|
|
checkResult: this.productCodeList.value,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
await this.model.sendDestinationStations(params);
|
|
|
|
await this.model.sendDestinationStations(params);
|
|
|
|
this.uni.showToast({ title: '质检成功' });
|
|
|
|
//this.uni.showToast({ title: '质检成功' });
|
|
|
|
this.orderNo = '';
|
|
|
|
this.orderNo = '';
|
|
|
|
this.badMeg = '';
|
|
|
|
this.badMeg = '';
|
|
|
|
this.productCodeList = {};
|
|
|
|
this.productCodeList = {};
|
|
|
|