Browse Source

入库申请 - 接口调整

unknown 1 tuần trước cách đây
mục cha
commit
49fed87328
3 tập tin đã thay đổi với 898 bổ sung760 xóa
  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";

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 891 - 759
yarn.lock


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác