Commit bf847544 authored by zhoutong's avatar zhoutong

出货有异常时提示优化

parent 02e6ebc6
...@@ -105,6 +105,7 @@ export default { ...@@ -105,6 +105,7 @@ export default {
currNode: {}, currNode: {},
// 数据 // 数据
processData: this.seaBaseData, processData: this.seaBaseData,
errorMsg: this.$t('请先完成上一步')
}; };
}, },
created() {}, created() {},
...@@ -137,7 +138,7 @@ export default { ...@@ -137,7 +138,7 @@ export default {
return; return;
} }
if (currIndex > this.currIndex) { if (currIndex > this.currIndex) {
this.$message.error(this.$t("请先完成上一步")); this.$message.error(this.errorMsg);
return; return;
} }
this.currNode = node; this.currNode = node;
...@@ -247,6 +248,7 @@ export default { ...@@ -247,6 +248,7 @@ export default {
(type === "departure" && val.shippingHasAbnormal) || (type === "departure" && val.shippingHasAbnormal) ||
(type === "arrival" && val.arrivalHasAbnormal) (type === "arrival" && val.arrivalHasAbnormal)
) { ) {
this.errorMsg = this.$t('请先处理完出货异常,再进行操作')
continue; continue;
} }
// 报关 // 报关
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment