소스 검색

中心仓撤销按钮接口功能

liyuan 6 일 전
부모
커밋
593a19c288
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/api/storehouse/plan.js
  2. 1 1
      src/views/storehouse/outStockManage/outStockPlan/detailsPage.vue

+ 1 - 1
src/api/storehouse/plan.js

@@ -70,7 +70,7 @@ export const revokePlanIn = (id) => {
 
 export const revokePlanOut = (id) => {
     return request({
-        url: '/api/blade-sales-part//tire/center/warehouse/plan/revokePlanIn?id=' + id,
+        url: '/api/blade-sales-part//tire/center/warehouse/plan/revokePlanOut?id=' + id,
         method: 'POST'
     })
 }

+ 1 - 1
src/views/storehouse/outStockManage/outStockPlan/detailsPage.vue

@@ -1146,7 +1146,7 @@ export default {
                       type: 'success',
                       message: '撤销成功!'
                   });
-                  this.getDetail(res.data.data, true)
+                  this.getDetail(this.form.id, true)
               })
           })
       },