Commit e29b2c6c authored by 张海景's avatar 张海景

fix:修复领料申请和反冲料登记加提示

parent 7856ddbe
...@@ -1161,9 +1161,12 @@ export default { ...@@ -1161,9 +1161,12 @@ export default {
this.$u.api.listFeedingInspection({"taskId":taskInfo.taskId}).then(res => { this.$u.api.listFeedingInspection({"taskId":taskInfo.taskId}).then(res => {
if (res.code === 200) { if (res.code === 200) {
t.feedingInspectionList = res.data; t.feedingInspectionList = res.data;
t.$u.toast('保存成功');
let timer = setTimeout(()=> {
t.feedingInspectionScan(); t.feedingInspectionScan();
},1000)
} }
}); })
}, },
feedingInspectionScan(){ feedingInspectionScan(){
const t = this; const t = this;
...@@ -1201,9 +1204,12 @@ export default { ...@@ -1201,9 +1204,12 @@ export default {
this.$u.api.recoilMaterialList({"taskId":taskInfo.taskId}).then(res => { this.$u.api.recoilMaterialList({"taskId":taskInfo.taskId}).then(res => {
if (res.code === 200) { if (res.code === 200) {
t.recoilMaterialList = res.data; t.recoilMaterialList = res.data;
t.$u.toast('保存成功');
let timer = setTimeout(()=> {
t.recoilMaterialScan(); t.recoilMaterialScan();
},1000)
} }
}); })
}, },
recoilMaterialScan(){ recoilMaterialScan(){
const t = this; const t = this;
......
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