Commit bf847544 authored by zhoutong's avatar zhoutong

出货有异常时提示优化

parent 02e6ebc6
......@@ -105,6 +105,7 @@ export default {
currNode: {},
// 数据
processData: this.seaBaseData,
errorMsg: this.$t('请先完成上一步')
};
},
created() {},
......@@ -137,7 +138,7 @@ export default {
return;
}
if (currIndex > this.currIndex) {
this.$message.error(this.$t("请先完成上一步"));
this.$message.error(this.errorMsg);
return;
}
this.currNode = node;
......@@ -247,6 +248,7 @@ export default {
(type === "departure" && val.shippingHasAbnormal) ||
(type === "arrival" && val.arrivalHasAbnormal)
) {
this.errorMsg = this.$t('请先处理完出货异常,再进行操作')
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