Commit 6cfe2f71 authored by chenzj's avatar chenzj

修复生产报工扣减刀模板寿命

parent 407ff920
...@@ -21,9 +21,9 @@ const config = { ...@@ -21,9 +21,9 @@ const config = {
} }
// 设置后台接口服务的基础地址 // 设置后台接口服务的基础地址
config.baseUrl = 'http://192.168.25.105:8080'; // config.baseUrl = 'http://192.168.25.105:8080';
//config.baseUrl = "http://101.43.244.58:8080/"; //config.baseUrl = "http://101.43.244.58:8080/";
//config.baseUrl = "/api"; config.baseUrl = "/api";
//config.baseUrl = "http://101.200.162.168:8080"; //config.baseUrl = "http://101.200.162.168:8080";
export default config; export default config;
...@@ -1668,8 +1668,6 @@ export default { ...@@ -1668,8 +1668,6 @@ export default {
}) })
.then((res) => { .then((res) => {
if (res.code === 200) { if (res.code === 200) {
if (res.msg === '操作成功') {
this.$u.toast('上报成功');
this.open = false; this.open = false;
if(item.printTemplate) { if(item.printTemplate) {
let params = {} let params = {}
...@@ -1701,6 +1699,8 @@ export default { ...@@ -1701,6 +1699,8 @@ export default {
}, },
}) })
} }
if (res.msg === '') {
this.$u.toast('上报成功');
} else { } else {
this.$u.toast(res.msg); this.$u.toast(res.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