Commit a2950df7 authored by dcy's avatar dcy

Merge remote-tracking branch 'origin/dev' into dev

parents 801a2702 9c0c5629
...@@ -469,7 +469,7 @@ export default { ...@@ -469,7 +469,7 @@ export default {
productList: [], productList: [],
showZhong: false, showZhong: false,
showZhong1: false, showZhong1: false,
showPao: false, showPao: true,
showPao1: false, showPao1: false,
warehouseList: [], // 仓库列表 warehouseList: [], // 仓库列表
importCityList: [], // 进口地址 importCityList: [], // 进口地址
...@@ -514,6 +514,8 @@ export default { ...@@ -514,6 +514,8 @@ export default {
// this.getList(); // this.getList();
const obj = { path: "/customer/customer" }; const obj = { path: "/customer/customer" };
this.$tab.closeOpenPage(obj); this.$tab.closeOpenPage(obj);
}).catch(e => {
this.$modal.msgError(e.msg || '添加客户失败,请联系管理员')
}); });
return; return;
} }
...@@ -522,6 +524,10 @@ export default { ...@@ -522,6 +524,10 @@ export default {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
// this.getList(); // this.getList();
const obj = { path: "/customer/customer" };
this.$tab.closeOpenPage(obj);
}).catch(e => {
this.$modal.msgError(e.msg || '添加客户失败,请联系管理员')
}); });
}); });
}, },
......
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