Commit 2956a4c9 authored by zhoutong's avatar zhoutong

两个关联单预装一个,选择仅当前订单,未调用接口无法预装

parent 24f2744d
...@@ -346,7 +346,7 @@ export default { ...@@ -346,7 +346,7 @@ export default {
}); });
}); });
}) })
.catch((_) => { .catch((action) => {
if(action =='cancel'){ if(action =='cancel'){
createGoods({ ...params, relationStatus: 2, singleLoad: true }).then((res) => { createGoods({ ...params, relationStatus: 2, singleLoad: true }).then((res) => {
serviceMsg(res, this).then(() => { serviceMsg(res, this).then(() => {
......
...@@ -724,7 +724,7 @@ export default { ...@@ -724,7 +724,7 @@ export default {
}); });
}); });
}) })
.catch((_) => { .catch((action) => {
if(action =='cancel'){ if(action =='cancel'){
createGoods({ ...params, relationStatus: 2, singleLoad: true }).then((res) => { createGoods({ ...params, relationStatus: 2, singleLoad: true }).then((res) => {
serviceMsg(res, this).then(() => { serviceMsg(res, this).then(() => {
......
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