Commit 6cfe2f71 authored by chenzj's avatar chenzj

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

parent 407ff920
......@@ -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 = "/api";
config.baseUrl = "/api";
//config.baseUrl = "http://101.200.162.168:8080";
export default config;
......@@ -1668,9 +1668,7 @@ export default {
})
.then((res) => {
if (res.code === 200) {
if (res.msg === '操作成功') {
this.$u.toast('上报成功');
this.open = false;
this.open = false;
if(item.printTemplate) {
let params = {}
res.data.forEach(datas => {
......@@ -1701,7 +1699,9 @@ export default {
},
})
}
} else {
if (res.msg === '') {
this.$u.toast('上报成功');
} else {
this.$u.toast(res.msg);
}
this.getTaskList();
......
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