Browse Source

入库申请 - 接口调整

unknown 1 week ago
parent
commit
49fed87328
3 changed files with 898 additions and 760 deletions
  1. 6 0
      src/api/wms/output/inrequest.js
  2. 1 1
      src/views/rtkwms/inrequest/InRequestForm.vue
  3. 891 759
      yarn.lock

+ 6 - 0
src/api/wms/output/inrequest.js

@@ -56,6 +56,12 @@ export function getInRequest(id) {
         url: "/rtkwms/inout-request/get?id=" + id,
         method: "get",
     });
+} // 获得入库申请主
+export function getRequest(id) {
+    return request({
+        url: "/rtkwms/in-request/get?id=" + id,
+        method: "get",
+    });
 }
 // 获得入库申请主
 export function getStockPage(params) {

+ 1 - 1
src/views/rtkwms/inrequest/InRequestForm.vue

@@ -499,7 +499,7 @@ export default {
       if (id) {
         this.formLoading = true;
         try {
-          const res = await InRequestApi.getInRequest(id);
+          const res = await InRequestApi.getRequest(id);
           res.data.businessType = res.data.businessType
             ? res.data.businessType.toString()
             : "0";

File diff suppressed because it is too large
+ 891 - 759
yarn.lock


Some files were not shown because too many files changed in this diff