排产异常处理接口传参修改

dev-scheduling
zhangdi 1 month ago
parent a4ec9e9127
commit 9e04baddea
  1. 5
      src/api/productionSchedulingPlan/scheduling.js
  2. 2
      src/views/productionSchedulingPlan/schedulingException/index.vue

@ -54,8 +54,9 @@ export const selectEquip = row => {
// 排产恢复 recoveryUpdate // 排产恢复 recoveryUpdate
export const recoveryUpdate = row => { export const recoveryUpdate = row => {
return request({ return request({
url: '/blade-scheduling/workOrder/saveWorkOrderFromBak/' + row, url: '/blade-scheduling//yieldOrder/update',
method: 'get', method: 'post',
data: row,
// data: row, // data: row,
}); });
}; };

@ -310,7 +310,7 @@ export default {
}) })
.then(() => { .then(() => {
this.loading = true; this.loading = true;
return recoveryUpdate(row.id); return recoveryUpdate({id:row.id,status:10003});
}) })
.then(() => { .then(() => {
this.onLoad(this.page); this.onLoad(this.page);

Loading…
Cancel
Save