Commit 98dc2da8 by Joey

fix(@gms/gms-plugin-billexpand): 同意驳回提交接口报错时统一提示信息

parent 0fdcb3aa
......@@ -187,7 +187,7 @@ export default {
function (error) {
bill.setControlsSate(param["_control_name_"], "enable", true)
bill.setControlsSate(param["_control_name_"], "loading", false)
GMS.$hideContainer.$Message.error('error')
GMS.$hideContainer.$Message.error('工作流配置错误,请联系管理员')
}.bind(this)
);
},
......
......@@ -100,7 +100,7 @@ export default {
function(error) {
bill.setControlsSate(param["_control_name_"], "enable", true)
bill.setControlsSate(param["_control_name_"],"loading",false)
GMS.$hideContainer.$Message.error(error)
GMS.$hideContainer.$Message.error('工作流配置错误,请联系管理员')
}.bind(this)
);
},
......
......@@ -98,6 +98,10 @@ export default {
GMS.$hideContainer.$Spin.hide();
GMS.$hideContainer.$Message.error("暂存单据异常请联系管理员");
}
}).catch((err) => {
GMS.$hideContainer.$Message.error('工作流配置错误,请联系管理员');
bill.setControlsSate(param["_control_name_"], "enable", true)
bill.setControlsSate(param["_control_name_"],"loading",false)
})
} else {
GMS.$hideContainer.$Spin.hide();
......
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