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.feedingInspectionScan(); t.$u.toast('保存成功');
let timer = setTimeout(()=> {
t.feedingInspectionScan();
},1000)
} }
}); })
}, },
feedingInspectionScan(){ feedingInspectionScan(){
const t = this; const t = this;
...@@ -1199,11 +1202,14 @@ export default { ...@@ -1199,11 +1202,14 @@ export default {
const t = this; const t = this;
const taskInfo = this.tableSelectData[0]; const taskInfo = this.tableSelectData[0];
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.recoilMaterialScan(); t.$u.toast('保存成功');
} let timer = setTimeout(()=> {
}); 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