diff --git a/src/api/productionSchedulingPlan/scheduling.js b/src/api/productionSchedulingPlan/scheduling.js index 5c21aa27..d3e7ad55 100644 --- a/src/api/productionSchedulingPlan/scheduling.js +++ b/src/api/productionSchedulingPlan/scheduling.js @@ -54,8 +54,9 @@ export const selectEquip = row => { // 排产恢复 recoveryUpdate export const recoveryUpdate = row => { return request({ - url: '/blade-scheduling/workOrder/saveWorkOrderFromBak/' + row, - method: 'get', + url: '/blade-scheduling//yieldOrder/update', + method: 'post', + data: row, // data: row, }); }; diff --git a/src/views/productionSchedulingPlan/schedulingException/index.vue b/src/views/productionSchedulingPlan/schedulingException/index.vue index 1bdab738..9e4fdbb4 100644 --- a/src/views/productionSchedulingPlan/schedulingException/index.vue +++ b/src/views/productionSchedulingPlan/schedulingException/index.vue @@ -310,7 +310,7 @@ export default { }) .then(() => { this.loading = true; - return recoveryUpdate(row.id); + return recoveryUpdate({id:row.id,status:10003}); }) .then(() => { this.onLoad(this.page);