|
|
|
@ -201,21 +201,21 @@ export default class RawReceiptDetail extends BasePage {
|
|
|
|
|
if (this.qty == "" || this.wlCode == "") {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: "none",
|
|
|
|
|
title: "请输入正确的库位和数量" as any,
|
|
|
|
|
title: this.$t("message.Commission_tips2") as any,
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (parseFloat(this.qty) <= 0) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: "none",
|
|
|
|
|
title: "请输入大于0的数量" as any,
|
|
|
|
|
title: this.$t("message.Commission_tips3") as any,
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.some == {}) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: "none",
|
|
|
|
|
title: "请先选择一个物料" as any,
|
|
|
|
|
title: this.$t("message.Commission_tips6") as any,
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -225,7 +225,7 @@ export default class RawReceiptDetail extends BasePage {
|
|
|
|
|
if (this.wlCode.sendSpot != item.Code) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: "none",
|
|
|
|
|
title: "请选择正确的库位" as any,
|
|
|
|
|
title: this.$t("message.Commission_tips7") as any,
|
|
|
|
|
});
|
|
|
|
|
return (isTrue = false);
|
|
|
|
|
}
|
|
|
|
@ -326,7 +326,7 @@ export default class RawReceiptDetail extends BasePage {
|
|
|
|
|
if (this.some == {} || this.some.prdOrder == null) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: "none",
|
|
|
|
|
title: "请先选择一条物料" as any,
|
|
|
|
|
title: this.$t("message.Commission_tips6") as any,
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|