From 3f16dc09b8c886af1431c2ac5ae5b0e94c61dc51 Mon Sep 17 00:00:00 2001 From: yejiaxing <591141169@qq.com> Date: Tue, 16 Jan 2024 13:48:27 +0800 Subject: [PATCH] =?UTF-8?q?WMS=E4=BB=A3=E7=A0=81=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/accountcalendar/index.ts | 60 --------- src/api/wms/areabasic/index.ts | 63 ---------- src/api/wms/backflushRecordDetailb/index.ts | 66 ---------- src/api/wms/backflushRequestDetailb/index.ts | 60 --------- src/api/wms/balance/index.ts | 114 ----------------- src/api/wms/barbasic/index.ts | 56 --------- src/api/wms/barcode/index.ts | 59 --------- src/api/wms/bom/index.ts | 61 ---------- src/api/wms/bomDismantle/index.ts | 26 ---- src/api/wms/businesstype/index.ts | 65 ---------- src/api/wms/carrier/index.ts | 68 ----------- src/api/wms/condition/index.ts | 56 --------- src/api/wms/configuration/index.ts | 56 --------- src/api/wms/configurationsetting/index.ts | 58 --------- src/api/wms/consumeRecordDetailb/index.ts | 63 ---------- src/api/wms/consumereRequestDetailb/index.ts | 61 ---------- .../wms/containerBindRecordDetail/index.ts | 57 --------- src/api/wms/containerBindRecordMain/index.ts | 69 ----------- src/api/wms/containerDetail/index.ts | 52 -------- .../wms/containerInitRecordDetail/index.ts | 55 --------- src/api/wms/containerInitRecordMain/index.ts | 68 ----------- src/api/wms/containerMain/index.ts | 61 ---------- .../wms/containerRepairRecordDetail/index.ts | 53 -------- .../wms/containerRepairRecordMain/index.ts | 69 ----------- .../wms/containerUnbindRecordDetail/index.ts | 57 --------- .../wms/containerUnbindRecordMain/index.ts | 69 ----------- src/api/wms/countJobDetail/index.ts | 62 ---------- src/api/wms/countJobMain/index.ts | 87 ------------- src/api/wms/countPlanDetail/index.ts | 52 -------- src/api/wms/countPlanMain/index.ts | 104 ---------------- src/api/wms/countRecordDetail/index.ts | 72 ----------- src/api/wms/countRecordMain/index.ts | 70 ----------- src/api/wms/countRequestDetail/index.ts | 67 ---------- src/api/wms/countRequestMain/index.ts | 112 ----------------- src/api/wms/countadjustRecordDetail/index.ts | 69 ----------- src/api/wms/countadjustRecordMain/index.ts | 63 ---------- src/api/wms/countadjustRequestDetail/index.ts | 68 ----------- src/api/wms/countadjustRequestMain/index.ts | 93 -------------- src/api/wms/currencyexchange/index.ts | 57 --------- src/api/wms/customer/index.ts | 71 ----------- src/api/wms/customerdock/index.ts | 64 ---------- src/api/wms/customeritem/index.ts | 64 ---------- .../wms/customerreceiptRecordDetail/index.ts | 78 ------------ .../wms/customerreceiptRecordMain/index.ts | 74 ----------- .../wms/customerreceiptRequestDetail/index.ts | 68 ----------- .../wms/customerreceiptRequestMain/index.ts | 98 --------------- src/api/wms/customerreturnJobDetail/index.ts | 65 ---------- src/api/wms/customerreturnJobMain/index.ts | 115 ------------------ .../wms/customerreturnRecordDetail/index.ts | 78 ------------ src/api/wms/customerreturnRecordMain/index.ts | 76 ------------ .../wms/customerreturnRequestDetail/index.ts | 67 ---------- .../wms/customerreturnRequestMain/index.ts | 110 ----------------- .../wms/customersettleRecordDetail/index.ts | 71 ----------- src/api/wms/customersettleRecordMain/index.ts | 67 ---------- .../wms/customersettleRequestDetail/index.ts | 65 ---------- .../wms/customersettleRequestMain/index.ts | 96 --------------- src/api/wms/deliverJobDetail/index.ts | 65 ---------- src/api/wms/deliverJobMain/index.ts | 115 ------------------ src/api/wms/deliverPlanDetail/index.ts | 53 -------- src/api/wms/deliverPlanMain/index.ts | 93 -------------- src/api/wms/deliverRecordDetail/index.ts | 76 ------------ src/api/wms/deliverRecordMain/index.ts | 76 ------------ src/api/wms/deliverRequestDetail/index.ts | 67 ---------- src/api/wms/deliverRequestMain/index.ts | 103 ---------------- src/api/wms/demandforecastingDetail/index.ts | 46 ------- src/api/wms/demandforecastingMain/index.ts | 59 --------- src/api/wms/detail/index.ts | 35 ------ src/api/wms/dismantleRecordDetailb/index.ts | 66 ---------- src/api/wms/dismantleRequestDetailb/index.ts | 61 ---------- src/api/wms/dock/index.ts | 67 ---------- src/api/wms/documentsetting/index.ts | 60 --------- src/api/wms/enterprise/index.ts | 64 ---------- src/api/wms/expectin/index.ts | 55 --------- src/api/wms/expectout/index.ts | 56 --------- src/api/wms/file/index.ts | 12 -- src/api/wms/index.ts | 0 src/api/wms/inspectJobDetail/index.ts | 60 --------- src/api/wms/inspectJobMain/index.ts | 96 --------------- src/api/wms/inspectRecordDetail/index.ts | 76 ------------ src/api/wms/inspectRecordMain/index.ts | 82 ------------- src/api/wms/inspectRequestDetail/index.ts | 58 --------- src/api/wms/inspectRequestMain/index.ts | 106 ---------------- .../wms/inventorychangeRecordDetail/index.ts | 82 ------------- .../wms/inventorychangeRecordMain/index.ts | 62 ---------- .../wms/inventorychangeRequestDetail/index.ts | 81 ------------ .../wms/inventorychangeRequestMain/index.ts | 91 -------------- .../wms/inventoryinitRecordDetail/index.ts | 75 ------------ src/api/wms/inventoryinitRecordMain/index.ts | 67 ---------- .../wms/inventoryinitRequestDetail/index.ts | 72 ----------- src/api/wms/inventoryinitRequestMain/index.ts | 94 -------------- src/api/wms/inventorymoveJobDetail/index.ts | 66 ---------- src/api/wms/inventorymoveJobMain/index.ts | 103 ---------------- .../wms/inventorymoveRecordDetail/index.ts | 76 ------------ src/api/wms/inventorymoveRecordMain/index.ts | 69 ----------- .../wms/inventorymoveRequestDetail/index.ts | 70 ----------- src/api/wms/inventorymoveRequestMain/index.ts | 97 --------------- src/api/wms/issueJobDetail/index.ts | 71 ----------- src/api/wms/issueJobMain/index.ts | 110 ----------------- src/api/wms/issueRecordDetail/index.ts | 77 ------------ src/api/wms/issueRecordMain/index.ts | 75 ------------ src/api/wms/issueRequestDetail/index.ts | 67 ---------- src/api/wms/issueRequestMain/index.ts | 103 ---------------- src/api/wms/itembasic/index.ts | 80 ------------ src/api/wms/itempackaging/index.ts | 65 ---------- src/api/wms/jobsetting/index.ts | 62 ---------- src/api/wms/labeltype/index.ts | 58 --------- src/api/wms/location/index.ts | 80 ------------ src/api/wms/locationcapacity/index.ts | 51 -------- src/api/wms/locationgroup/index.ts | 63 ---------- .../offlinesettlementRecordDetail/index.ts | 64 ---------- .../wms/offlinesettlementRecordMain/index.ts | 62 ---------- .../offlinesettlementRequestDetail/index.ts | 63 ---------- .../wms/offlinesettlementRequestMain/index.ts | 62 ---------- .../wms/onlinesettlementRecordDetail/index.ts | 64 ---------- .../wms/onlinesettlementRecordMain/index.ts | 62 ---------- .../onlinesettlementRequestDetail/index.ts | 63 ---------- .../wms/onlinesettlementRequestMain/index.ts | 62 ---------- src/api/wms/owner/index.ts | 71 ----------- src/api/wms/package/index.ts | 96 --------------- src/api/wms/packagemergeDetail/index.ts | 67 ---------- src/api/wms/packagemergeMain/index.ts | 68 ----------- src/api/wms/packageoverDetail/index.ts | 67 ---------- src/api/wms/packageoverMain/index.ts | 63 ---------- src/api/wms/packagesplitDetail/index.ts | 67 ---------- src/api/wms/packagesplitMain/index.ts | 63 ---------- src/api/wms/paramsetting/index.ts | 59 --------- src/api/wms/pickJobDetail/index.ts | 64 ---------- src/api/wms/pickJobMain/index.ts | 81 ------------ src/api/wms/pickRecordDetail/index.ts | 74 ----------- src/api/wms/pickRecordMain/index.ts | 68 ----------- src/api/wms/pickRequestDetail/index.ts | 62 ---------- src/api/wms/pickRequestMain/index.ts | 66 ---------- src/api/wms/preparetoissueDetail/index.ts | 47 ------- src/api/wms/preparetoissueMain/index.ts | 109 ----------------- src/api/wms/process/index.ts | 60 --------- .../wms/productdismantleJobDetail/index.ts | 70 ----------- src/api/wms/productdismantleJobMain/index.ts | 82 ------------- .../productdismantleRecordDetaila/index.ts | 72 ----------- .../wms/productdismantleRecordMain/index.ts | 67 ---------- .../productdismantleRequestDetaila/index.ts | 71 ----------- .../wms/productdismantleRequestMain/index.ts | 101 --------------- src/api/wms/productionDetail/index.ts | 47 ------- src/api/wms/productionMain/index.ts | 111 ----------------- src/api/wms/productionline/index.ts | 61 ---------- src/api/wms/productionlineitem/index.ts | 69 ----------- .../wms/productionreceiptJobDetail/index.ts | 67 ---------- src/api/wms/productionreceiptJobMain/index.ts | 108 ---------------- .../productionreceiptRecordDetail/index.ts | 77 ------------ .../wms/productionreceiptRecordMain/index.ts | 70 ----------- .../wms/productionreturnJobDetail/index.ts | 66 ---------- src/api/wms/productionreturnJobMain/index.ts | 107 ---------------- .../wms/productionreturnRecordDetail/index.ts | 76 ------------ .../wms/productionreturnRecordMain/index.ts | 69 ----------- .../productionreturnRequestDetail/index.ts | 72 ----------- .../productionreturnRequestDetailNo/index.ts | 67 ---------- .../wms/productionreturnRequestMain/index.ts | 104 ---------------- .../productionreturnRequestMainNo/index.ts | 104 ---------------- src/api/wms/productputawayJobDetail/index.ts | 66 ---------- src/api/wms/productputawayJobMain/index.ts | 107 ---------------- .../wms/productputawayRecordDetail/index.ts | 76 ------------ src/api/wms/productputawayRecordMain/index.ts | 70 ----------- .../wms/productputawayRequestDetail/index.ts | 67 ---------- .../wms/productputawayRequestMain/index.ts | 104 ---------------- src/api/wms/productreceiptJobDetail/index.ts | 71 ----------- src/api/wms/productreceiptJobMain/index.ts | 109 ----------------- .../wms/productreceiptRecordDetail/index.ts | 76 ------------ src/api/wms/productreceiptRecordMain/index.ts | 69 ----------- .../wms/productreceiptRequestDetail/index.ts | 77 ------------ .../wms/productreceiptRequestMain/index.ts | 102 ---------------- .../wms/productrepairRecordDetail/index.ts | 72 ----------- src/api/wms/productrepairRecordMain/index.ts | 67 ---------- .../wms/productrepairRequestDetaila/index.ts | 67 ---------- src/api/wms/productrepairRequestMain/index.ts | 101 --------------- src/api/wms/productscrapJobDetail/index.ts | 63 ---------- src/api/wms/productscrapJobMain/index.ts | 79 ------------ src/api/wms/productscrapRecordDetail/index.ts | 70 ----------- src/api/wms/productscrapRecordMain/index.ts | 66 ---------- .../wms/productscrapRequestDetail/index.ts | 65 ---------- src/api/wms/productscrapRequestMain/index.ts | 98 --------------- src/api/wms/project/index.ts | 58 --------- src/api/wms/purchaseDetail/index.ts | 72 ----------- src/api/wms/purchaseMain/index.ts | 81 ------------ src/api/wms/purchasePlanDetail/index.ts | 52 -------- src/api/wms/purchasePlanMain/index.ts | 87 ------------- .../wms/purchaseclaimRecordDetail/index.ts | 66 ---------- src/api/wms/purchaseclaimRecordMain/index.ts | 64 ---------- .../wms/purchaseclaimRequestDetail/index.ts | 53 -------- src/api/wms/purchaseclaimRequestMain/index.ts | 86 ------------- src/api/wms/purchaseprice/index.ts | 58 --------- src/api/wms/purchasereceiptJobDetail/index.ts | 75 ------------ src/api/wms/purchasereceiptJobMain/index.ts | 99 --------------- .../wms/purchasereceiptRecordDetail/index.ts | 103 ---------------- .../wms/purchasereceiptRecordMain/index.ts | 80 ------------ .../wms/purchasereceiptRequestDetail/index.ts | 78 ------------ .../wms/purchasereceiptRequestMain/index.ts | 108 ---------------- src/api/wms/purchasereturnJobDetail/index.ts | 68 ----------- src/api/wms/purchasereturnJobMain/index.ts | 95 --------------- .../wms/purchasereturnRecordDetail/index.ts | 80 ------------ src/api/wms/purchasereturnRecordMain/index.ts | 76 ------------ .../wms/purchasereturnRequestDetail/index.ts | 69 ----------- .../wms/purchasereturnRequestMain/index.ts | 104 ---------------- src/api/wms/putawayJobDetail/index.ts | 66 ---------- src/api/wms/putawayJobMain/index.ts | 88 -------------- src/api/wms/putawayRecordDetail/index.ts | 76 ------------ src/api/wms/putawayRecordMain/index.ts | 69 ----------- src/api/wms/putawayRequestDetail/index.ts | 67 ---------- src/api/wms/putawayRequestMain/index.ts | 97 --------------- src/api/wms/recordsetting/index.ts | 52 -------- src/api/wms/remark/index.ts | 14 --- src/api/wms/repleinshJobDetail/index.ts | 64 ---------- src/api/wms/repleinshJobMain/index.ts | 106 ---------------- src/api/wms/repleinshRecordDetail/index.ts | 74 ----------- src/api/wms/repleinshRecordMain/index.ts | 68 ----------- src/api/wms/repleinshRequestDetail/index.ts | 62 ---------- src/api/wms/repleinshRequestMain/index.ts | 102 ---------------- src/api/wms/requestsetting/index.ts | 56 --------- src/api/wms/rule/index.ts | 58 --------- src/api/wms/saleDetail/index.ts | 56 --------- src/api/wms/saleMain/index.ts | 63 ---------- src/api/wms/saleprice/index.ts | 58 --------- src/api/wms/scrapJobDetail/index.ts | 63 ---------- src/api/wms/scrapJobMain/index.ts | 79 ------------ src/api/wms/scrapRecordDetail/index.ts | 70 ----------- src/api/wms/scrapRecordMain/index.ts | 65 ---------- src/api/wms/scrapRequestDetail/index.ts | 65 ---------- src/api/wms/scrapRequestMain/index.ts | 98 --------------- src/api/wms/shift/index.ts | 60 --------- src/api/wms/stdcostprice/index.ts | 58 --------- src/api/wms/strategy/index.ts | 41 ------- src/api/wms/supplier/index.ts | 72 ----------- src/api/wms/supplierUser/index.ts | 54 -------- .../wms/supplierdeliverRecordDetail/index.ts | 87 ------------- .../wms/supplierdeliverRecordMain/index.ts | 75 ------------ .../wms/supplierdeliverRequestDetail/index.ts | 74 ----------- .../wms/supplierdeliverRequestMain/index.ts | 103 ---------------- .../wms/supplierinvoiceRecordDeatil/index.ts | 73 ----------- .../wms/supplierinvoiceRecordMain/index.ts | 63 ---------- .../wms/supplierinvoiceRequestDetail/index.ts | 70 ----------- .../wms/supplierinvoiceRequestMain/index.ts | 86 ------------- src/api/wms/supplieritem/index.ts | 67 ---------- src/api/wms/switch/index.ts | 50 -------- src/api/wms/systemcalendar/index.ts | 57 --------- src/api/wms/team/index.ts | 58 --------- src/api/wms/transaction/index.ts | 71 ----------- src/api/wms/transactiontype/index.ts | 55 --------- src/api/wms/transferissueJobDetail/index.ts | 64 ---------- src/api/wms/transferissueJobMain/index.ts | 101 --------------- .../wms/transferissueRecordDetail/index.ts | 74 ----------- src/api/wms/transferissueRecordMain/index.ts | 72 ----------- .../wms/transferissueRequestDetail/index.ts | 66 ---------- src/api/wms/transferissueRequestMain/index.ts | 100 --------------- src/api/wms/transferlog/index.ts | 80 ------------ src/api/wms/transferreceiptJobDetail/index.ts | 64 ---------- src/api/wms/transferreceiptJobMain/index.ts | 85 ------------- .../wms/transferreceiptRecordDetail/index.ts | 74 ----------- .../wms/transferreceiptRecordMain/index.ts | 73 ----------- .../wms/transferreceiptRequestDetail/index.ts | 65 ---------- .../wms/transferreceiptRequestMain/index.ts | 100 --------------- src/api/wms/unplannedissueJobDetail/index.ts | 63 ---------- src/api/wms/unplannedissueJobMain/index.ts | 79 ------------ .../wms/unplannedissueRecordDetail/index.ts | 70 ----------- src/api/wms/unplannedissueRecordMain/index.ts | 66 ---------- .../wms/unplannedissueRequestDetail/index.ts | 65 ---------- .../wms/unplannedissueRequestMain/index.ts | 99 --------------- .../wms/unplannedreceiptJobDetail/index.ts | 67 ---------- src/api/wms/unplannedreceiptJobMain/index.ts | 79 ------------ .../wms/unplannedreceiptRecordDetail/index.ts | 74 ----------- .../wms/unplannedreceiptRecordMain/index.ts | 65 ---------- .../unplannedreceiptRequestDetail/index.ts | 74 ----------- .../wms/unplannedreceiptRequestMain/index.ts | 98 --------------- src/api/wms/warehouse/index.ts | 61 ---------- src/api/wms/workDetail/index.ts | 47 ------- src/api/wms/workMain/index.ts | 59 --------- src/api/wms/workshop/index.ts | 58 --------- src/api/wms/workstation/index.ts | 67 ---------- 275 files changed, 19844 deletions(-) delete mode 100644 src/api/wms/accountcalendar/index.ts delete mode 100644 src/api/wms/areabasic/index.ts delete mode 100644 src/api/wms/backflushRecordDetailb/index.ts delete mode 100644 src/api/wms/backflushRequestDetailb/index.ts delete mode 100644 src/api/wms/balance/index.ts delete mode 100644 src/api/wms/barbasic/index.ts delete mode 100644 src/api/wms/barcode/index.ts delete mode 100644 src/api/wms/bom/index.ts delete mode 100644 src/api/wms/bomDismantle/index.ts delete mode 100644 src/api/wms/businesstype/index.ts delete mode 100644 src/api/wms/carrier/index.ts delete mode 100644 src/api/wms/condition/index.ts delete mode 100644 src/api/wms/configuration/index.ts delete mode 100644 src/api/wms/configurationsetting/index.ts delete mode 100644 src/api/wms/consumeRecordDetailb/index.ts delete mode 100644 src/api/wms/consumereRequestDetailb/index.ts delete mode 100644 src/api/wms/containerBindRecordDetail/index.ts delete mode 100644 src/api/wms/containerBindRecordMain/index.ts delete mode 100644 src/api/wms/containerDetail/index.ts delete mode 100644 src/api/wms/containerInitRecordDetail/index.ts delete mode 100644 src/api/wms/containerInitRecordMain/index.ts delete mode 100644 src/api/wms/containerMain/index.ts delete mode 100644 src/api/wms/containerRepairRecordDetail/index.ts delete mode 100644 src/api/wms/containerRepairRecordMain/index.ts delete mode 100644 src/api/wms/containerUnbindRecordDetail/index.ts delete mode 100644 src/api/wms/containerUnbindRecordMain/index.ts delete mode 100644 src/api/wms/countJobDetail/index.ts delete mode 100644 src/api/wms/countJobMain/index.ts delete mode 100644 src/api/wms/countPlanDetail/index.ts delete mode 100644 src/api/wms/countPlanMain/index.ts delete mode 100644 src/api/wms/countRecordDetail/index.ts delete mode 100644 src/api/wms/countRecordMain/index.ts delete mode 100644 src/api/wms/countRequestDetail/index.ts delete mode 100644 src/api/wms/countRequestMain/index.ts delete mode 100644 src/api/wms/countadjustRecordDetail/index.ts delete mode 100644 src/api/wms/countadjustRecordMain/index.ts delete mode 100644 src/api/wms/countadjustRequestDetail/index.ts delete mode 100644 src/api/wms/countadjustRequestMain/index.ts delete mode 100644 src/api/wms/currencyexchange/index.ts delete mode 100644 src/api/wms/customer/index.ts delete mode 100644 src/api/wms/customerdock/index.ts delete mode 100644 src/api/wms/customeritem/index.ts delete mode 100644 src/api/wms/customerreceiptRecordDetail/index.ts delete mode 100644 src/api/wms/customerreceiptRecordMain/index.ts delete mode 100644 src/api/wms/customerreceiptRequestDetail/index.ts delete mode 100644 src/api/wms/customerreceiptRequestMain/index.ts delete mode 100644 src/api/wms/customerreturnJobDetail/index.ts delete mode 100644 src/api/wms/customerreturnJobMain/index.ts delete mode 100644 src/api/wms/customerreturnRecordDetail/index.ts delete mode 100644 src/api/wms/customerreturnRecordMain/index.ts delete mode 100644 src/api/wms/customerreturnRequestDetail/index.ts delete mode 100644 src/api/wms/customerreturnRequestMain/index.ts delete mode 100644 src/api/wms/customersettleRecordDetail/index.ts delete mode 100644 src/api/wms/customersettleRecordMain/index.ts delete mode 100644 src/api/wms/customersettleRequestDetail/index.ts delete mode 100644 src/api/wms/customersettleRequestMain/index.ts delete mode 100644 src/api/wms/deliverJobDetail/index.ts delete mode 100644 src/api/wms/deliverJobMain/index.ts delete mode 100644 src/api/wms/deliverPlanDetail/index.ts delete mode 100644 src/api/wms/deliverPlanMain/index.ts delete mode 100644 src/api/wms/deliverRecordDetail/index.ts delete mode 100644 src/api/wms/deliverRecordMain/index.ts delete mode 100644 src/api/wms/deliverRequestDetail/index.ts delete mode 100644 src/api/wms/deliverRequestMain/index.ts delete mode 100644 src/api/wms/demandforecastingDetail/index.ts delete mode 100644 src/api/wms/demandforecastingMain/index.ts delete mode 100644 src/api/wms/detail/index.ts delete mode 100644 src/api/wms/dismantleRecordDetailb/index.ts delete mode 100644 src/api/wms/dismantleRequestDetailb/index.ts delete mode 100644 src/api/wms/dock/index.ts delete mode 100644 src/api/wms/documentsetting/index.ts delete mode 100644 src/api/wms/enterprise/index.ts delete mode 100644 src/api/wms/expectin/index.ts delete mode 100644 src/api/wms/expectout/index.ts delete mode 100644 src/api/wms/file/index.ts delete mode 100644 src/api/wms/index.ts delete mode 100644 src/api/wms/inspectJobDetail/index.ts delete mode 100644 src/api/wms/inspectJobMain/index.ts delete mode 100644 src/api/wms/inspectRecordDetail/index.ts delete mode 100644 src/api/wms/inspectRecordMain/index.ts delete mode 100644 src/api/wms/inspectRequestDetail/index.ts delete mode 100644 src/api/wms/inspectRequestMain/index.ts delete mode 100644 src/api/wms/inventorychangeRecordDetail/index.ts delete mode 100644 src/api/wms/inventorychangeRecordMain/index.ts delete mode 100644 src/api/wms/inventorychangeRequestDetail/index.ts delete mode 100644 src/api/wms/inventorychangeRequestMain/index.ts delete mode 100644 src/api/wms/inventoryinitRecordDetail/index.ts delete mode 100644 src/api/wms/inventoryinitRecordMain/index.ts delete mode 100644 src/api/wms/inventoryinitRequestDetail/index.ts delete mode 100644 src/api/wms/inventoryinitRequestMain/index.ts delete mode 100644 src/api/wms/inventorymoveJobDetail/index.ts delete mode 100644 src/api/wms/inventorymoveJobMain/index.ts delete mode 100644 src/api/wms/inventorymoveRecordDetail/index.ts delete mode 100644 src/api/wms/inventorymoveRecordMain/index.ts delete mode 100644 src/api/wms/inventorymoveRequestDetail/index.ts delete mode 100644 src/api/wms/inventorymoveRequestMain/index.ts delete mode 100644 src/api/wms/issueJobDetail/index.ts delete mode 100644 src/api/wms/issueJobMain/index.ts delete mode 100644 src/api/wms/issueRecordDetail/index.ts delete mode 100644 src/api/wms/issueRecordMain/index.ts delete mode 100644 src/api/wms/issueRequestDetail/index.ts delete mode 100644 src/api/wms/issueRequestMain/index.ts delete mode 100644 src/api/wms/itembasic/index.ts delete mode 100644 src/api/wms/itempackaging/index.ts delete mode 100644 src/api/wms/jobsetting/index.ts delete mode 100644 src/api/wms/labeltype/index.ts delete mode 100644 src/api/wms/location/index.ts delete mode 100644 src/api/wms/locationcapacity/index.ts delete mode 100644 src/api/wms/locationgroup/index.ts delete mode 100644 src/api/wms/offlinesettlementRecordDetail/index.ts delete mode 100644 src/api/wms/offlinesettlementRecordMain/index.ts delete mode 100644 src/api/wms/offlinesettlementRequestDetail/index.ts delete mode 100644 src/api/wms/offlinesettlementRequestMain/index.ts delete mode 100644 src/api/wms/onlinesettlementRecordDetail/index.ts delete mode 100644 src/api/wms/onlinesettlementRecordMain/index.ts delete mode 100644 src/api/wms/onlinesettlementRequestDetail/index.ts delete mode 100644 src/api/wms/onlinesettlementRequestMain/index.ts delete mode 100644 src/api/wms/owner/index.ts delete mode 100644 src/api/wms/package/index.ts delete mode 100644 src/api/wms/packagemergeDetail/index.ts delete mode 100644 src/api/wms/packagemergeMain/index.ts delete mode 100644 src/api/wms/packageoverDetail/index.ts delete mode 100644 src/api/wms/packageoverMain/index.ts delete mode 100644 src/api/wms/packagesplitDetail/index.ts delete mode 100644 src/api/wms/packagesplitMain/index.ts delete mode 100644 src/api/wms/paramsetting/index.ts delete mode 100644 src/api/wms/pickJobDetail/index.ts delete mode 100644 src/api/wms/pickJobMain/index.ts delete mode 100644 src/api/wms/pickRecordDetail/index.ts delete mode 100644 src/api/wms/pickRecordMain/index.ts delete mode 100644 src/api/wms/pickRequestDetail/index.ts delete mode 100644 src/api/wms/pickRequestMain/index.ts delete mode 100644 src/api/wms/preparetoissueDetail/index.ts delete mode 100644 src/api/wms/preparetoissueMain/index.ts delete mode 100644 src/api/wms/process/index.ts delete mode 100644 src/api/wms/productdismantleJobDetail/index.ts delete mode 100644 src/api/wms/productdismantleJobMain/index.ts delete mode 100644 src/api/wms/productdismantleRecordDetaila/index.ts delete mode 100644 src/api/wms/productdismantleRecordMain/index.ts delete mode 100644 src/api/wms/productdismantleRequestDetaila/index.ts delete mode 100644 src/api/wms/productdismantleRequestMain/index.ts delete mode 100644 src/api/wms/productionDetail/index.ts delete mode 100644 src/api/wms/productionMain/index.ts delete mode 100644 src/api/wms/productionline/index.ts delete mode 100644 src/api/wms/productionlineitem/index.ts delete mode 100644 src/api/wms/productionreceiptJobDetail/index.ts delete mode 100644 src/api/wms/productionreceiptJobMain/index.ts delete mode 100644 src/api/wms/productionreceiptRecordDetail/index.ts delete mode 100644 src/api/wms/productionreceiptRecordMain/index.ts delete mode 100644 src/api/wms/productionreturnJobDetail/index.ts delete mode 100644 src/api/wms/productionreturnJobMain/index.ts delete mode 100644 src/api/wms/productionreturnRecordDetail/index.ts delete mode 100644 src/api/wms/productionreturnRecordMain/index.ts delete mode 100644 src/api/wms/productionreturnRequestDetail/index.ts delete mode 100644 src/api/wms/productionreturnRequestDetailNo/index.ts delete mode 100644 src/api/wms/productionreturnRequestMain/index.ts delete mode 100644 src/api/wms/productionreturnRequestMainNo/index.ts delete mode 100644 src/api/wms/productputawayJobDetail/index.ts delete mode 100644 src/api/wms/productputawayJobMain/index.ts delete mode 100644 src/api/wms/productputawayRecordDetail/index.ts delete mode 100644 src/api/wms/productputawayRecordMain/index.ts delete mode 100644 src/api/wms/productputawayRequestDetail/index.ts delete mode 100644 src/api/wms/productputawayRequestMain/index.ts delete mode 100644 src/api/wms/productreceiptJobDetail/index.ts delete mode 100644 src/api/wms/productreceiptJobMain/index.ts delete mode 100644 src/api/wms/productreceiptRecordDetail/index.ts delete mode 100644 src/api/wms/productreceiptRecordMain/index.ts delete mode 100644 src/api/wms/productreceiptRequestDetail/index.ts delete mode 100644 src/api/wms/productreceiptRequestMain/index.ts delete mode 100644 src/api/wms/productrepairRecordDetail/index.ts delete mode 100644 src/api/wms/productrepairRecordMain/index.ts delete mode 100644 src/api/wms/productrepairRequestDetaila/index.ts delete mode 100644 src/api/wms/productrepairRequestMain/index.ts delete mode 100644 src/api/wms/productscrapJobDetail/index.ts delete mode 100644 src/api/wms/productscrapJobMain/index.ts delete mode 100644 src/api/wms/productscrapRecordDetail/index.ts delete mode 100644 src/api/wms/productscrapRecordMain/index.ts delete mode 100644 src/api/wms/productscrapRequestDetail/index.ts delete mode 100644 src/api/wms/productscrapRequestMain/index.ts delete mode 100644 src/api/wms/project/index.ts delete mode 100644 src/api/wms/purchaseDetail/index.ts delete mode 100644 src/api/wms/purchaseMain/index.ts delete mode 100644 src/api/wms/purchasePlanDetail/index.ts delete mode 100644 src/api/wms/purchasePlanMain/index.ts delete mode 100644 src/api/wms/purchaseclaimRecordDetail/index.ts delete mode 100644 src/api/wms/purchaseclaimRecordMain/index.ts delete mode 100644 src/api/wms/purchaseclaimRequestDetail/index.ts delete mode 100644 src/api/wms/purchaseclaimRequestMain/index.ts delete mode 100644 src/api/wms/purchaseprice/index.ts delete mode 100644 src/api/wms/purchasereceiptJobDetail/index.ts delete mode 100644 src/api/wms/purchasereceiptJobMain/index.ts delete mode 100644 src/api/wms/purchasereceiptRecordDetail/index.ts delete mode 100644 src/api/wms/purchasereceiptRecordMain/index.ts delete mode 100644 src/api/wms/purchasereceiptRequestDetail/index.ts delete mode 100644 src/api/wms/purchasereceiptRequestMain/index.ts delete mode 100644 src/api/wms/purchasereturnJobDetail/index.ts delete mode 100644 src/api/wms/purchasereturnJobMain/index.ts delete mode 100644 src/api/wms/purchasereturnRecordDetail/index.ts delete mode 100644 src/api/wms/purchasereturnRecordMain/index.ts delete mode 100644 src/api/wms/purchasereturnRequestDetail/index.ts delete mode 100644 src/api/wms/purchasereturnRequestMain/index.ts delete mode 100644 src/api/wms/putawayJobDetail/index.ts delete mode 100644 src/api/wms/putawayJobMain/index.ts delete mode 100644 src/api/wms/putawayRecordDetail/index.ts delete mode 100644 src/api/wms/putawayRecordMain/index.ts delete mode 100644 src/api/wms/putawayRequestDetail/index.ts delete mode 100644 src/api/wms/putawayRequestMain/index.ts delete mode 100644 src/api/wms/recordsetting/index.ts delete mode 100644 src/api/wms/remark/index.ts delete mode 100644 src/api/wms/repleinshJobDetail/index.ts delete mode 100644 src/api/wms/repleinshJobMain/index.ts delete mode 100644 src/api/wms/repleinshRecordDetail/index.ts delete mode 100644 src/api/wms/repleinshRecordMain/index.ts delete mode 100644 src/api/wms/repleinshRequestDetail/index.ts delete mode 100644 src/api/wms/repleinshRequestMain/index.ts delete mode 100644 src/api/wms/requestsetting/index.ts delete mode 100644 src/api/wms/rule/index.ts delete mode 100644 src/api/wms/saleDetail/index.ts delete mode 100644 src/api/wms/saleMain/index.ts delete mode 100644 src/api/wms/saleprice/index.ts delete mode 100644 src/api/wms/scrapJobDetail/index.ts delete mode 100644 src/api/wms/scrapJobMain/index.ts delete mode 100644 src/api/wms/scrapRecordDetail/index.ts delete mode 100644 src/api/wms/scrapRecordMain/index.ts delete mode 100644 src/api/wms/scrapRequestDetail/index.ts delete mode 100644 src/api/wms/scrapRequestMain/index.ts delete mode 100644 src/api/wms/shift/index.ts delete mode 100644 src/api/wms/stdcostprice/index.ts delete mode 100644 src/api/wms/strategy/index.ts delete mode 100644 src/api/wms/supplier/index.ts delete mode 100644 src/api/wms/supplierUser/index.ts delete mode 100644 src/api/wms/supplierdeliverRecordDetail/index.ts delete mode 100644 src/api/wms/supplierdeliverRecordMain/index.ts delete mode 100644 src/api/wms/supplierdeliverRequestDetail/index.ts delete mode 100644 src/api/wms/supplierdeliverRequestMain/index.ts delete mode 100644 src/api/wms/supplierinvoiceRecordDeatil/index.ts delete mode 100644 src/api/wms/supplierinvoiceRecordMain/index.ts delete mode 100644 src/api/wms/supplierinvoiceRequestDetail/index.ts delete mode 100644 src/api/wms/supplierinvoiceRequestMain/index.ts delete mode 100644 src/api/wms/supplieritem/index.ts delete mode 100644 src/api/wms/switch/index.ts delete mode 100644 src/api/wms/systemcalendar/index.ts delete mode 100644 src/api/wms/team/index.ts delete mode 100644 src/api/wms/transaction/index.ts delete mode 100644 src/api/wms/transactiontype/index.ts delete mode 100644 src/api/wms/transferissueJobDetail/index.ts delete mode 100644 src/api/wms/transferissueJobMain/index.ts delete mode 100644 src/api/wms/transferissueRecordDetail/index.ts delete mode 100644 src/api/wms/transferissueRecordMain/index.ts delete mode 100644 src/api/wms/transferissueRequestDetail/index.ts delete mode 100644 src/api/wms/transferissueRequestMain/index.ts delete mode 100644 src/api/wms/transferlog/index.ts delete mode 100644 src/api/wms/transferreceiptJobDetail/index.ts delete mode 100644 src/api/wms/transferreceiptJobMain/index.ts delete mode 100644 src/api/wms/transferreceiptRecordDetail/index.ts delete mode 100644 src/api/wms/transferreceiptRecordMain/index.ts delete mode 100644 src/api/wms/transferreceiptRequestDetail/index.ts delete mode 100644 src/api/wms/transferreceiptRequestMain/index.ts delete mode 100644 src/api/wms/unplannedissueJobDetail/index.ts delete mode 100644 src/api/wms/unplannedissueJobMain/index.ts delete mode 100644 src/api/wms/unplannedissueRecordDetail/index.ts delete mode 100644 src/api/wms/unplannedissueRecordMain/index.ts delete mode 100644 src/api/wms/unplannedissueRequestDetail/index.ts delete mode 100644 src/api/wms/unplannedissueRequestMain/index.ts delete mode 100644 src/api/wms/unplannedreceiptJobDetail/index.ts delete mode 100644 src/api/wms/unplannedreceiptJobMain/index.ts delete mode 100644 src/api/wms/unplannedreceiptRecordDetail/index.ts delete mode 100644 src/api/wms/unplannedreceiptRecordMain/index.ts delete mode 100644 src/api/wms/unplannedreceiptRequestDetail/index.ts delete mode 100644 src/api/wms/unplannedreceiptRequestMain/index.ts delete mode 100644 src/api/wms/warehouse/index.ts delete mode 100644 src/api/wms/workDetail/index.ts delete mode 100644 src/api/wms/workMain/index.ts delete mode 100644 src/api/wms/workshop/index.ts delete mode 100644 src/api/wms/workstation/index.ts diff --git a/src/api/wms/accountcalendar/index.ts b/src/api/wms/accountcalendar/index.ts deleted file mode 100644 index 984d36b..0000000 --- a/src/api/wms/accountcalendar/index.ts +++ /dev/null @@ -1,60 +0,0 @@ -import request from '@/config/axios' - -export interface AccountcalendarVO { - year: string - month: string - descriiption: string - beginTime: Date - endTime: Date - converttotime: Date - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询账期日历列表 -export const getAccountcalendarPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/accountcalendar/senior', data }) - } else { - return await request.get({ url: `/wms/accountcalendar/page`, params }) - } -} - -// 查询账期日历详情 -export const getAccountcalendar = async (id: number) => { - return await request.get({ url: `/wms/accountcalendar/get?id=` + id }) -} - -// 新增账期日历 -export const createAccountcalendar = async (data: AccountcalendarVO) => { - return await request.post({ url: `/wms/accountcalendar/create`, data }) -} - -// 修改账期日历 -export const updateAccountcalendar = async (data: AccountcalendarVO) => { - return await request.put({ url: `/wms/accountcalendar/update`, data }) -} - -// 删除账期日历 -export const deleteAccountcalendar = async (id: number) => { - return await request.delete({ url: `/wms/accountcalendar/delete?id=` + id }) -} - -// 导出账期日历 Excel -export const exportAccountcalendar = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/accountcalendar/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/accountcalendar/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/accountcalendar/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/areabasic/index.ts b/src/api/wms/areabasic/index.ts deleted file mode 100644 index b0e97ff..0000000 --- a/src/api/wms/areabasic/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import request from '@/config/axios' - -export interface AreaVO { - code: string - name: string - description: string - warehouseCode: string - type: string - isFunctional: number - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询库区列表 -export const getAreaPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/areabasic/senior', data }) - } else { - return await request.get({ url: `/wms/areabasic/page`, params }) - } -} -// 查询库区列表 -export const getAreaList = async (params) => { - return await request.get({ url: `/wms/areabasic/list`, params }) -} -// 查询库区详情 -export const getArea = async (id: number) => { - return await request.get({ url: `/wms/areabasic/get?id=` + id }) -} - -// 新增库区 -export const createArea = async (data: AreaVO) => { - return await request.post({ url: `/wms/areabasic/create`, data }) -} - -// 修改库区 -export const updateArea = async (data: AreaVO) => { - return await request.put({ url: `/wms/areabasic/update`, data }) -} - -// 删除库区 -export const deleteArea = async (id: number) => { - return await request.delete({ url: `/wms/areabasic/delete?id=` + id }) -} - -// 导出库区 Excel -export const exportArea = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/areabasic/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/areabasic/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/areabasic/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/backflushRecordDetailb/index.ts b/src/api/wms/backflushRecordDetailb/index.ts deleted file mode 100644 index 3b770a5..0000000 --- a/src/api/wms/backflushRecordDetailb/index.ts +++ /dev/null @@ -1,66 +0,0 @@ -import request from '@/config/axios' - -export interface BackflushRecordDetailbVO { - processCode: string - bomVersion: string - packingNumber: string - batch: string - inventoryStatus: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - uom: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - code: string - interfaceType: string - jobDetailId: string -} - -// 查询制品收货记录子列表 -export const getBackflushRecordDetailbPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/backflush-record-detailb/senior', data }) - } else { - return await request.get({ url: `/wms/backflush-record-detailb/page`, params }) - } -} - -// 查询制品收货记录子详情 -export const getBackflushRecordDetailb = async (id: number) => { - return await request.get({ url: `/wms/backflush-record-detailb/get?id=` + id }) -} - -// 新增制品收货记录子 -export const createBackflushRecordDetailb = async (data: BackflushRecordDetailbVO) => { - return await request.post({ url: `/wms/backflush-record-detailb/create`, data }) -} - -// 修改制品收货记录子 -export const updateBackflushRecordDetailb = async (data: BackflushRecordDetailbVO) => { - return await request.put({ url: `/wms/backflush-record-detailb/update`, data }) -} - -// 删除制品收货记录子 -export const deleteBackflushRecordDetailb = async (id: number) => { - return await request.delete({ url: `/wms/backflush-record-detailb/delete?id=` + id }) -} - -// 导出制品收货记录子 Excel -export const exportBackflushRecordDetailb = async (params) => { - return await request.download({ url: `/wms/backflush-record-detailb/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/backflush-record-detailb/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/backflushRequestDetailb/index.ts b/src/api/wms/backflushRequestDetailb/index.ts deleted file mode 100644 index 9e4d26d..0000000 --- a/src/api/wms/backflushRequestDetailb/index.ts +++ /dev/null @@ -1,60 +0,0 @@ -import request from '@/config/axios' - -export interface BackflushRequestDetailbVO { - processCode: string - bomVersion: string - itemCode: string - number: string - remark: string - createTime: Date - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - creator: string -} - -// 查询制品收货申请子列表 -export const getBackflushRequestDetailbPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/backflush-request-detailb/senior', data }) - } else { - return await request.get({ url: `/wms/backflush-request-detailb/page`, params }) - } -} - -// 查询制品收货申请子详情 -export const getBackflushRequestDetailb = async (id: number) => { - return await request.get({ url: `/wms/backflush-request-detailb/get?id=` + id }) -} - -// 新增制品收货申请子 -export const createBackflushRequestDetailb = async (data: BackflushRequestDetailbVO) => { - return await request.post({ url: `/wms/backflush-request-detailb/create`, data }) -} - -// 修改制品收货申请子 -export const updateBackflushRequestDetailb = async (data: BackflushRequestDetailbVO) => { - return await request.put({ url: `/wms/backflush-request-detailb/update`, data }) -} - -// 删除制品收货申请子 -export const deleteBackflushRequestDetailb = async (id: number) => { - return await request.delete({ url: `/wms/backflush-request-detailb/delete?id=` + id }) -} - -// 导出制品收货申请子 Excel -export const exportBackflushRequestDetailb = async (params) => { - return await request.download({ url: `/wms/backflush-request-detailb/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/backflush-request-detailb/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/balance/index.ts b/src/api/wms/balance/index.ts deleted file mode 100644 index 9040f08..0000000 --- a/src/api/wms/balance/index.ts +++ /dev/null @@ -1,114 +0,0 @@ -import request from '@/config/axios' - -export interface BalanceVO { - packingNumber: string - containerNumber: string - itemCode: string - batch: string - altBatch: string - arriveDate: Date - produceDate: Date - expireDate: Date - inventoryStatus: string - locationCode: string - locationGroupCode: string - areaCode: string - warehouseCode: string - erpLocationCode: string - ownerCode: string - uom: string - qty: number - lockedQty: number - usableQty: number - singlePrice: number - amount: number - putInTime: Date - frozen: string - frozenReason: string - lastTransNumber: string - weight: number - area: number - volume: number -} - -// 查询库存余额列表 -export const getBalancePage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/balance/senior', data }) - } else { - return await request.get({ url: `/wms/balance/page`, params }) - } -} -// 查询库存余额列表 -export const getBalancePageReturn= async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/balance/senior', data }) - } else { - return await request.get({ url: `/wms/balance/pageReturn`, params }) - } -} -// 查询库存余额列表 -export const getBalancePagePutaway= async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/balance/senior', data }) - } else { - return await request.get({ url: `/wms/balance/pagePutaway`, params }) - } -} -// 查询库存余额列表增加物品筛选条件 -export const getBalanceItemPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/balance/seniorItems', data }) - } else { - return await request.get({ url: `/wms/balance/pageItems`, params }) - } -} - -// 查询库存余额详情 -export const getBalance = async (id: number) => { - return await request.get({ url: `/wms/balance/get?id=` + id }) -} - -// 新增库存余额 -export const createBalance = async (data: BalanceVO) => { - return await request.post({ url: `/wms/balance/create`, data }) -} - -// 修改库存余额 -export const updateBalance = async (data: BalanceVO) => { - return await request.put({ url: `/wms/balance/update`, data }) -} - -// 删除库存余额 -export const deleteBalance = async (id: number) => { - return await request.delete({ url: `/wms/balance/delete?id=` + id }) -} - -// 导出库存余额 Excel -export const exportBalance = async (params) => { - return await request.download({ url: `/wms/balance/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/balance/get-import-template' }) -} - -// 获得库位代码筛选出的库存余额分页 -export const selectLocationTypeToBalance = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/balance/pageLocationCodeToBalanceSenior', data }) - } else { - return request.get({ url: '/wms/balance/pageLocationCodeToBalance', params}) - } -} diff --git a/src/api/wms/barbasic/index.ts b/src/api/wms/barbasic/index.ts deleted file mode 100644 index e5a2379..0000000 --- a/src/api/wms/barbasic/index.ts +++ /dev/null @@ -1,56 +0,0 @@ -import request from '@/config/axios' - -export interface BarbasicVO { - id: number - number: string - type: string - template: string - status: string - relateNumber: string - barcodeString: string - printTimes: number - lastPrintTime: string - lastPrintUserId: string - lastPrintUserName: string -} - -// 查询条码实体基类列表 -export const getBarbasicPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/barbasic/senior', data }) - } else { - return await request.get({ url: `/wms/barbasic/page`, params }) - } -} - -// 查询条码实体基类详情 -export const getBarbasic = async (id: number) => { - return await request.get({ url: `/wms/barbasic/get?id=` + id }) -} - -// 新增条码实体基类 -export const createBarbasic = async (data: BarbasicVO) => { - return await request.post({ url: `/wms/barbasic/create`, data }) -} - -// 修改条码实体基类 -export const updateBarbasic = async (data: BarbasicVO) => { - return await request.put({ url: `/wms/barbasic/update`, data }) -} - -// 删除条码实体基类 -export const deleteBarbasic = async (id: number) => { - return await request.delete({ url: `/wms/barbasic/delete?id=` + id }) -} - -// 导出条码实体基类 Excel -export const exportBarbasic = async (params) => { - return await request.download({ url: `/wms/barbasic/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/barbasic/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/barcode/index.ts b/src/api/wms/barcode/index.ts deleted file mode 100644 index 8073903..0000000 --- a/src/api/wms/barcode/index.ts +++ /dev/null @@ -1,59 +0,0 @@ -import request from '@/config/axios' - -export interface BarcodeVO { - id: number - code: string - name: string - description: string - order: number - length: number - prefixLenght: number - prefixChar: string - entityProperties: string - encyptMethod: string - masterId: number - trimEnd: string - isEncypt: string, - labelType: string, -} - -// 查询条码片段列表 -export const getBarcodePage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/label/barcode/senior', data }) - } else { - return await request.get({ url: `/label/barcode/page`, params }) - } -} - -// 查询条码片段详情 -export const getBarcode = async (id: number) => { - return await request.get({ url: `/label/barcode/get?id=` + id }) -} - -// 新增条码片段 -export const createBarcode = async (data: BarcodeVO) => { - return await request.post({ url: `/label/barcode/create`, data }) -} - -// 修改条码片段 -export const updateBarcode = async (data: BarcodeVO) => { - return await request.put({ url: `/label/barcode/update`, data }) -} - -// 删除条码片段 -export const deleteBarcode = async (id: number) => { - return await request.delete({ url: `/label/barcode/delete?id=` + id }) -} - -// 导出条码片段 Excel -export const exportBarcode = async (params) => { - return await request.download({ url: `/label/barcode/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/label/barcode/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/bom/index.ts b/src/api/wms/bom/index.ts deleted file mode 100644 index 84fa225..0000000 --- a/src/api/wms/bom/index.ts +++ /dev/null @@ -1,61 +0,0 @@ -import request from '@/config/axios' - -export interface BomVO { - productItemCode: string - componentItemCode: string - componentUom: string - componentQty: number - processCode: string - version: string - layer: number - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询物料清单列表 -export const getBomPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/bom/senior', data }) - } else { - return await request.get({ url: `/wms/bom/page`, params }) - } -} - -// 查询物料清单详情 -export const getBom = async (id: number) => { - return await request.get({ url: `/wms/bom/get?id=` + id }) -} - -// 新增物料清单 -export const createBom = async (data: BomVO) => { - return await request.post({ url: `/wms/bom/create`, data }) -} - -// 修改物料清单 -export const updateBom = async (data: BomVO) => { - return await request.put({ url: `/wms/bom/update`, data }) -} - -// 删除物料清单 -export const deleteBom = async (id: number) => { - return await request.delete({ url: `/wms/bom/delete?id=` + id }) -} - -// 导出物料清单 Excel -export const exportBom = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/bom/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/bom/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/bom/get-import-template' }) -} diff --git a/src/api/wms/bomDismantle/index.ts b/src/api/wms/bomDismantle/index.ts deleted file mode 100644 index 0a7a861..0000000 --- a/src/api/wms/bomDismantle/index.ts +++ /dev/null @@ -1,26 +0,0 @@ -import request from '@/config/axios' - -// 查询制品返修申请子列表 -export const getBomDismantlePage = async (params) => { - return await request.get({ url: `/wms/productrepair-request-main/bomPage`, params }) -} - -// 查询制品返修记录子列表 -export const getBomDismantleRecordPage = async (params) => { - return await request.get({ url: `/wms/productrepair-record-main/bomPage`, params }) -} - -// 查询制品报废申请子列表 -export const getProductscrapBomDismantlePage = async (params) => { - return await request.get({ url: `/wms/productscrap-request-main/bomPage`, params }) -} - -// 查询制品报废申请子列表 -export const getProductscrapBomDismantleRecordPage = async (params) => { - return await request.get({ url: `/wms/productscrap-record-main/bomPage`, params }) -} - -// 查询制品拆解申请子列表 -export const getDetailbBomDismantlePage = async (params) => { - return await request.get({ url: `/wms/dismantle-request-detailb/bomPage`, params }) -} \ No newline at end of file diff --git a/src/api/wms/businesstype/index.ts b/src/api/wms/businesstype/index.ts deleted file mode 100644 index 58d9723..0000000 --- a/src/api/wms/businesstype/index.ts +++ /dev/null @@ -1,65 +0,0 @@ -import request from '@/config/axios' - -export interface BusinesstypeVO { - code: string - name: string - description: string - itemTypes: string - itemStatuses: string - outLocationTypes: string - inLocationTypes: string - outAreaCodes: string - inAreaCodes: string - outInventoryStatuses: string - inInventoryStatuses: string - outTransactionType: string - inTransactionType: string - onTheWayArea: string - activeTime: Date - expireTime: Date - remark: string - useOnTheWay: string - available: string - isSoftDeleted: string -} - -// 查询业务类型列表 -export const getBusinesstypePage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/businesstype/senior', data }) - } else { - return await request.get({ url: `/wms/businesstype/page`, params }) - } -} - -// 查询业务类型详情 -export const getBusinesstype = async (id: number) => { - return await request.get({ url: `/wms/businesstype/get?id=` + id }) -} - -// 新增业务类型 -export const createBusinesstype = async (data: BusinesstypeVO) => { - return await request.post({ url: `/wms/businesstype/create`, data }) -} - -// 修改业务类型 -export const updateBusinesstype = async (data: BusinesstypeVO) => { - return await request.put({ url: `/wms/businesstype/update`, data }) -} - -// 删除业务类型 -export const deleteBusinesstype = async (id: number) => { - return await request.delete({ url: `/wms/businesstype/delete?id=` + id }) -} - -// 导出业务类型 Excel -export const exportBusinesstype = async (params) => { - return await request.download({ url: `/wms/businesstype/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/businesstype/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/carrier/index.ts b/src/api/wms/carrier/index.ts deleted file mode 100644 index 18d1c88..0000000 --- a/src/api/wms/carrier/index.ts +++ /dev/null @@ -1,68 +0,0 @@ -import request from '@/config/axios' - -export interface CarrierVO { - code: string - name: string - shortName: string - address: string - country: string - city: string - phone: string - fax: string - postId: string - contacts: string - bank: string - currency: string - taxRate: number - type: string - activeTime: Date - expireTime: Date - remark: string - available: string -} - -// 查询承运商列表 -export const getCarrierPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/carrier/senior', data }) - } else { - return await request.get({ url: `/wms/carrier/page`, params }) - } -} - -// 查询承运商详情 -export const getCarrier = async (id: number) => { - return await request.get({ url: `/wms/carrier/get?id=` + id }) -} - -// 新增承运商 -export const createCarrier = async (data: CarrierVO) => { - return await request.post({ url: `/wms/carrier/create`, data }) -} - -// 修改承运商 -export const updateCarrier = async (data: CarrierVO) => { - return await request.put({ url: `/wms/carrier/update`, data }) -} - -// 删除承运商 -export const deleteCarrier = async (id: number) => { - return await request.delete({ url: `/wms/carrier/delete?id=` + id }) -} - -// 导出承运商 Excel -export const exportCarrier = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/carrier/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/carrier/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/carrier/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/condition/index.ts b/src/api/wms/condition/index.ts deleted file mode 100644 index 6e2acde..0000000 --- a/src/api/wms/condition/index.ts +++ /dev/null @@ -1,56 +0,0 @@ -import request from '@/config/axios' - -export interface ConditionVO { - strategyCode: string - ruleCode: string - paramCode: string - operator: string - value: string - groupCode: string -} - -// 查询条件列表 -export const getConditionPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/condition/senior', data }) - } else { - return await request.get({ url: `/wms/condition/page`, params }) - } -} - -// 查询条件详情 -export const getCondition = async (id: number) => { - return await request.get({ url: `/wms/condition/get?id=` + id }) -} - -// 新增条件 -export const createCondition = async (data: ConditionVO) => { - return await request.post({ url: `/wms/condition/create`, data }) -} - -// 修改条件 -export const updateCondition = async (data: ConditionVO) => { - return await request.put({ url: `/wms/condition/update`, data }) -} - -// 删除条件 -export const deleteCondition = async (id: number) => { - return await request.delete({ url: `/wms/condition/delete?id=` + id }) -} - -// 导出条件 Excel -export const exportCondition = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/condition/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/condition/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/condition/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/configuration/index.ts b/src/api/wms/configuration/index.ts deleted file mode 100644 index 65fc1ad..0000000 --- a/src/api/wms/configuration/index.ts +++ /dev/null @@ -1,56 +0,0 @@ -import request from '@/config/axios' - -export interface ConfigurationVO { - strategyCode: string - ruleCode: string - configurationCode: string - configurationValue: string - description: string - groupCode: string -} - -// 查询配置列表 -export const getConfigurationPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/configuration/senior', data }) - } else { - return await request.get({ url: `/wms/configuration/page`, params }) - } -} - -// 查询配置详情 -export const getConfiguration = async (id: number) => { - return await request.get({ url: `/wms/configuration/get?id=` + id }) -} - -// 新增配置 -export const createConfiguration = async (data: ConfigurationVO) => { - return await request.post({ url: `/wms/configuration/create`, data }) -} - -// 修改配置 -export const updateConfiguration = async (data: ConfigurationVO) => { - return await request.put({ url: `/wms/configuration/update`, data }) -} - -// 删除配置 -export const deleteConfiguration = async (id: number) => { - return await request.delete({ url: `/wms/configuration/delete?id=` + id }) -} - -// 导出配置 Excel -export const exportConfiguration = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/configuration/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/configuration/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/configuration/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/configurationsetting/index.ts b/src/api/wms/configurationsetting/index.ts deleted file mode 100644 index a1a063c..0000000 --- a/src/api/wms/configurationsetting/index.ts +++ /dev/null @@ -1,58 +0,0 @@ -import request from '@/config/axios' - -export interface ConfigurationsettingVO { - strategyType: string - configurationCode: string - configurationName: string - dataType: string - valueScope: string - relatedTo: string - description: string - isRequired: string -} - -// 查询配置设置列表 -export const getConfigurationsettingPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/configurationsetting/senior', data }) - } else { - return await request.get({ url: `/wms/configurationsetting/page`, params }) - } -} - -// 查询配置设置详情 -export const getConfigurationsetting = async (id: number) => { - return await request.get({ url: `/wms/configurationsetting/get?id=` + id }) -} - -// 新增配置设置 -export const createConfigurationsetting = async (data: ConfigurationsettingVO) => { - return await request.post({ url: `/wms/configurationsetting/create`, data }) -} - -// 修改配置设置 -export const updateConfigurationsetting = async (data: ConfigurationsettingVO) => { - return await request.put({ url: `/wms/configurationsetting/update`, data }) -} - -// 删除配置设置 -export const deleteConfigurationsetting = async (id: number) => { - return await request.delete({ url: `/wms/configurationsetting/delete?id=` + id }) -} - -// 导出配置设置 Excel -export const exportConfigurationsetting = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/configurationsetting/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/configurationsetting/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/configurationsetting/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/consumeRecordDetailb/index.ts b/src/api/wms/consumeRecordDetailb/index.ts deleted file mode 100644 index 98745df..0000000 --- a/src/api/wms/consumeRecordDetailb/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import request from '@/config/axios' - -export interface ConsumeRecordDetailbVO { - batch: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - inventoryStatus: string - packingNumber: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - uom: string - code: string - interfaceType: string -} - -// 查询制品返修记录子列表 -export const getConsumeRecordDetailbPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/consume-record-detailb/senior', data }) - } else { - return await request.get({ url: `/wms/consume-record-detailb/page`, params }) - } -} - -// 查询制品返修记录子详情 -export const getConsumeRecordDetailb = async (id: number) => { - return await request.get({ url: `/wms/consume-record-detailb/get?id=` + id }) -} - -// 新增制品返修记录子 -export const createConsumeRecordDetailb = async (data: ConsumeRecordDetailbVO) => { - return await request.post({ url: `/wms/consume-record-detailb/create`, data }) -} - -// 修改制品返修记录子 -export const updateConsumeRecordDetailb = async (data: ConsumeRecordDetailbVO) => { - return await request.put({ url: `/wms/consume-record-detailb/update`, data }) -} - -// 删除制品返修记录子 -export const deleteConsumeRecordDetailb = async (id: number) => { - return await request.delete({ url: `/wms/consume-record-detailb/delete?id=` + id }) -} - -// 导出制品返修记录子 Excel -export const exportConsumeRecordDetailb = async (params) => { - return await request.download({ url: `/wms/consume-record-detailb/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/consume-record-detailb/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/consumereRequestDetailb/index.ts b/src/api/wms/consumereRequestDetailb/index.ts deleted file mode 100644 index 9c0baa5..0000000 --- a/src/api/wms/consumereRequestDetailb/index.ts +++ /dev/null @@ -1,61 +0,0 @@ -import request from '@/config/axios' - -export interface ConsumereRequestDetailbVO { - inventoryStatus: string - packingNumber: string - batch: string - fromLocationCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - uom: string - updateTime: Date - updater: string -} - -// 查询制品返修申请子列表 -export const getConsumereRequestDetailbPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/consumere-request-detailb/senior', data }) - } else { - return await request.get({ url: `/wms/consumere-request-detailb/page`, params }) - } -} - -// 查询制品返修申请子详情 -export const getConsumereRequestDetailb = async (id: number) => { - return await request.get({ url: `/wms/consumere-request-detailb/get?id=` + id }) -} - -// 新增制品返修申请子 -export const createConsumereRequestDetailb = async (data: ConsumereRequestDetailbVO) => { - return await request.post({ url: `/wms/consumere-request-detailb/create`, data }) -} - -// 修改制品返修申请子 -export const updateConsumereRequestDetailb = async (data: ConsumereRequestDetailbVO) => { - return await request.put({ url: `/wms/consumere-request-detailb/update`, data }) -} - -// 删除制品返修申请子 -export const deleteConsumereRequestDetailb = async (id: number) => { - return await request.delete({ url: `/wms/consumere-request-detailb/delete?id=` + id }) -} - -// 导出制品返修申请子 Excel -export const exportConsumereRequestDetailb = async (params) => { - return await request.download({ url: `/wms/consumere-request-detailb/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/consumere-request-detailb/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/containerBindRecordDetail/index.ts b/src/api/wms/containerBindRecordDetail/index.ts deleted file mode 100644 index 6b70279..0000000 --- a/src/api/wms/containerBindRecordDetail/index.ts +++ /dev/null @@ -1,57 +0,0 @@ -import request from '@/config/axios' - -export interface ContainerBindRecordDetailVO { - id: number - containerContentType: string - contentNumber: string - itemCode: string - batch: string - inventoryStatus: string - uom: string - qty: number - masterId: number - number: string - siteId: string - remark: string -} - -// 查询器具绑定记录子列表 -export const getContainerBindRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/container-bind-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/container-bind-record-detail/page`, params }) - } -} - -// 查询器具绑定记录子详情 -export const getContainerBindRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/container-bind-record-detail/get?id=` + id }) -} - -// 新增器具绑定记录子 -export const createContainerBindRecordDetail = async (data: ContainerBindRecordDetailVO) => { - return await request.post({ url: `/wms/container-bind-record-detail/create`, data }) -} - -// 修改器具绑定记录子 -export const updateContainerBindRecordDetail = async (data: ContainerBindRecordDetailVO) => { - return await request.put({ url: `/wms/container-bind-record-detail/update`, data }) -} - -// 删除器具绑定记录子 -export const deleteContainerBindRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/container-bind-record-detail/delete?id=` + id }) -} - -// 导出器具绑定记录子 Excel -export const exportContainerBindRecordDetail = async (params) => { - return await request.download({ url: `/wms/container-bind-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/container-bind-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/containerBindRecordMain/index.ts b/src/api/wms/containerBindRecordMain/index.ts deleted file mode 100644 index 7fa35ac..0000000 --- a/src/api/wms/containerBindRecordMain/index.ts +++ /dev/null @@ -1,69 +0,0 @@ -import request from '@/config/axios' - -export interface ContainerBindRecordMainVO { - id: number - number: string - containerNumber: string - fromWarehouseCode: string - toWarehouseCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - available: string - requestTime: Date - dueTime: Date - departmentCode: string - userGroupCode: string - interfaceType: string - businessType: string - remark: string - extraProperties: string - siteId: string - code: string - fromLocationTypes: string - toLocationTypes: string - fromAreaCodes: string - toAreaCodes: string -} - -// 查询器具绑定记录主列表 -export const getContainerBindRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/container-bind-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/container-bind-record-main/page`, params }) - } -} - -// 查询器具绑定记录主详情 -export const getContainerBindRecordMain = async (id: number) => { - return await request.get({ url: `/wms/container-bind-record-main/get?id=` + id }) -} - -// 新增器具绑定记录主 -export const createContainerBindRecordMain = async (data: ContainerBindRecordMainVO) => { - return await request.post({ url: `/wms/container-bind-record-main/create`, data }) -} - -// 修改器具绑定记录主 -export const updateContainerBindRecordMain = async (data: ContainerBindRecordMainVO) => { - return await request.put({ url: `/wms/container-bind-record-main/update`, data }) -} - -// 删除器具绑定记录主 -export const deleteContainerBindRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/container-bind-record-main/delete?id=` + id }) -} - -// 导出器具绑定记录主 Excel -export const exportContainerBindRecordMain = async (params) => { - return await request.download({ url: `/wms/container-bind-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/container-bind-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/containerDetail/index.ts b/src/api/wms/containerDetail/index.ts deleted file mode 100644 index 1be2d08..0000000 --- a/src/api/wms/containerDetail/index.ts +++ /dev/null @@ -1,52 +0,0 @@ -import request from '@/config/axios' - -export interface ContainerDetailVO { - containerContentType: string - contentNumber: string - itemCode: string - batch: string - inventoryStatus: string - uom: string - qty: number -} - -// 查询器具子列表 -export const getContainerDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/container-detail/senior', data }) - } else { - return await request.get({ url: `/wms/container-detail/page`, params }) - } -} - -// 查询器具子详情 -export const getContainerDetail = async (id: number) => { - return await request.get({ url: `/wms/container-detail/get?id=` + id }) -} - -// 新增器具子 -export const createContainerDetail = async (data: ContainerDetailVO) => { - return await request.post({ url: `/wms/container-detail/create`, data }) -} - -// 修改器具子 -export const updateContainerDetail = async (data: ContainerDetailVO) => { - return await request.put({ url: `/wms/container-detail/update`, data }) -} - -// 删除器具子 -export const deleteContainerDetail = async (id: number) => { - return await request.delete({ url: `/wms/container-detail/delete?id=` + id }) -} - -// 导出器具子 Excel -export const exportContainerDetail = async (params) => { - return await request.download({ url: `/wms/container-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/container-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/containerInitRecordDetail/index.ts b/src/api/wms/containerInitRecordDetail/index.ts deleted file mode 100644 index f998ec3..0000000 --- a/src/api/wms/containerInitRecordDetail/index.ts +++ /dev/null @@ -1,55 +0,0 @@ -import request from '@/config/axios' - -export interface ContainerInitRecordDetailVO { - id: number - containerNumber: string - type: string - capacity: number - status: string - ownerCode: string - masterId: number - number: string - siteId: string - remark: string -} - -// 查询器具初始化记录子列表 -export const getContainerInitRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/container-init-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/container-init-record-detail/page`, params }) - } -} - -// 查询器具初始化记录子详情 -export const getContainerInitRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/container-init-record-detail/get?id=` + id }) -} - -// 新增器具初始化记录子 -export const createContainerInitRecordDetail = async (data: ContainerInitRecordDetailVO) => { - return await request.post({ url: `/wms/container-init-record-detail/create`, data }) -} - -// 修改器具初始化记录子 -export const updateContainerInitRecordDetail = async (data: ContainerInitRecordDetailVO) => { - return await request.put({ url: `/wms/container-init-record-detail/update`, data }) -} - -// 删除器具初始化记录子 -export const deleteContainerInitRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/container-init-record-detail/delete?id=` + id }) -} - -// 导出器具初始化记录子 Excel -export const exportContainerInitRecordDetail = async (params) => { - return await request.download({ url: `/wms/container-init-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/container-init-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/containerInitRecordMain/index.ts b/src/api/wms/containerInitRecordMain/index.ts deleted file mode 100644 index 0c9c565..0000000 --- a/src/api/wms/containerInitRecordMain/index.ts +++ /dev/null @@ -1,68 +0,0 @@ -import request from '@/config/axios' - -export interface ContainerInitRecordMainVO { - id: number - number: string - fromWarehouseCode: string - toWarehouseCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - available: string - requestTime: Date - dueTime: Date - departmentCode: string - userGroupCode: string - interfaceType: string - businessType: string - remark: string - extraProperties: string - siteId: string - code: string - fromLocationTypes: string - toLocationTypes: string - fromAreaCodes: string - toAreaCodes: string -} - -// 查询器具初始化记录主列表 -export const getContainerInitRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/container-init-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/container-init-record-main/page`, params }) - } -} - -// 查询器具初始化记录主详情 -export const getContainerInitRecordMain = async (id: number) => { - return await request.get({ url: `/wms/container-init-record-main/get?id=` + id }) -} - -// 新增器具初始化记录主 -export const createContainerInitRecordMain = async (data: ContainerInitRecordMainVO) => { - return await request.post({ url: `/wms/container-init-record-main/create`, data }) -} - -// 修改器具初始化记录主 -export const updateContainerInitRecordMain = async (data: ContainerInitRecordMainVO) => { - return await request.put({ url: `/wms/container-init-record-main/update`, data }) -} - -// 删除器具初始化记录主 -export const deleteContainerInitRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/container-init-record-main/delete?id=` + id }) -} - -// 导出器具初始化记录主 Excel -export const exportContainerInitRecordMain = async (params) => { - return await request.download({ url: `/wms/container-init-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/container-init-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/containerMain/index.ts b/src/api/wms/containerMain/index.ts deleted file mode 100644 index 7e10ebf..0000000 --- a/src/api/wms/containerMain/index.ts +++ /dev/null @@ -1,61 +0,0 @@ -import request from '@/config/axios' - -export interface ContainerMainVO { - id: string - number: string - type: string - capacity: number - status: string - ownerCode: string -} - -// 查询器具主列表 -export const getContainerMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/container-main/senior', data }) - } else { - return await request.get({ url: `/wms/container-main/page`, params }) - } -} - -// 查询器具主详情 -export const getContainerMain = async (id: number) => { - return await request.get({ url: `/wms/container-main/get?id=` + id }) -} - -// 新增器具主 -export const createContainerMain = async (data: ContainerMainVO) => { - return await request.post({ url: `/wms/container-main/create`, data }) -} - -// 修改器具主 -export const updateContainerMain = async (data: ContainerMainVO) => { - return await request.put({ url: `/wms/container-main/update`, data }) -} - -// 删除器具主 -export const deleteContainerMain = async (id: number) => { - return await request.delete({ url: `/wms/container-main/delete?id=` + id }) -} - -// 导出器具主 Excel -export const exportContainerMain = async (params) => { - return await request.download({ url: `/wms/container-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/container-main/get-import-template' }) -} - -// 器具维修 -export const repairSubmitContainerRequestMain = async (id) => { - return await request.put({ url: `/wms/container-main/repair?id=` + id }) -} - -// 器具报废 -export const scrapSubmitContainerRequestMain = async (id) => { - return await request.put({ url: `/wms/container-main/scrap?id=` + id }) -} diff --git a/src/api/wms/containerRepairRecordDetail/index.ts b/src/api/wms/containerRepairRecordDetail/index.ts deleted file mode 100644 index 379757f..0000000 --- a/src/api/wms/containerRepairRecordDetail/index.ts +++ /dev/null @@ -1,53 +0,0 @@ -import request from '@/config/axios' - -export interface ContainerRepairRecordDetailVO { - id: number - containerNumber: string - fromContainerStatus: string - toContainerStatus: string - masterId: number - number: string - siteId: string - remark: string -} - -// 查询器具维修记录子列表 -export const getContainerRepairRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/container-repair-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/container-repair-record-detail/page`, params }) - } -} - -// 查询器具维修记录子详情 -export const getContainerRepairRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/container-repair-record-detail/get?id=` + id }) -} - -// 新增器具维修记录子 -export const createContainerRepairRecordDetail = async (data: ContainerRepairRecordDetailVO) => { - return await request.post({ url: `/wms/container-repair-record-detail/create`, data }) -} - -// 修改器具维修记录子 -export const updateContainerRepairRecordDetail = async (data: ContainerRepairRecordDetailVO) => { - return await request.put({ url: `/wms/container-repair-record-detail/update`, data }) -} - -// 删除器具维修记录子 -export const deleteContainerRepairRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/container-repair-record-detail/delete?id=` + id }) -} - -// 导出器具维修记录子 Excel -export const exportContainerRepairRecordDetail = async (params) => { - return await request.download({ url: `/wms/container-repair-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/container-repair-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/containerRepairRecordMain/index.ts b/src/api/wms/containerRepairRecordMain/index.ts deleted file mode 100644 index 82fbc55..0000000 --- a/src/api/wms/containerRepairRecordMain/index.ts +++ /dev/null @@ -1,69 +0,0 @@ -import request from '@/config/axios' - -export interface ContainerRepairRecordMainVO { - id: number - number: string - containerNumber: string - fromWarehouseCode: string - toWarehouseCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - available: string - requestTime: Date - dueTime: Date - departmentCode: string - userGroupCode: string - interfaceType: string - businessType: string - remark: string - extraProperties: string - siteId: string - code: string - fromLocationTypes: string - toLocationTypes: string - fromAreaCodes: string - toAreaCodes: string -} - -// 查询器具维修记录主列表 -export const getContainerRepairRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/container-repair-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/container-repair-record-main/page`, params }) - } -} - -// 查询器具维修记录主详情 -export const getContainerRepairRecordMain = async (id: number) => { - return await request.get({ url: `/wms/container-repair-record-main/get?id=` + id }) -} - -// 新增器具维修记录主 -export const createContainerRepairRecordMain = async (data: ContainerRepairRecordMainVO) => { - return await request.post({ url: `/wms/container-repair-record-main/create`, data }) -} - -// 修改器具维修记录主 -export const updateContainerRepairRecordMain = async (data: ContainerRepairRecordMainVO) => { - return await request.put({ url: `/wms/container-repair-record-main/update`, data }) -} - -// 删除器具维修记录主 -export const deleteContainerRepairRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/container-repair-record-main/delete?id=` + id }) -} - -// 导出器具维修记录主 Excel -export const exportContainerRepairRecordMain = async (params) => { - return await request.download({ url: `/wms/container-repair-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/container-repair-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/containerUnbindRecordDetail/index.ts b/src/api/wms/containerUnbindRecordDetail/index.ts deleted file mode 100644 index 737f9f0..0000000 --- a/src/api/wms/containerUnbindRecordDetail/index.ts +++ /dev/null @@ -1,57 +0,0 @@ -import request from '@/config/axios' - -export interface ContainerUnbindRecordDetailVO { - id: number - containerContentType: string - contentNumber: string - itemCode: string - batch: string - inventoryStatus: string - uom: string - qty: number - masterId: number - number: string - siteId: string - remark: string -} - -// 查询器具解绑记录子列表 -export const getContainerUnbindRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/container-unbind-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/container-unbind-record-detail/page`, params }) - } -} - -// 查询器具解绑记录子详情 -export const getContainerUnbindRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/container-unbind-record-detail/get?id=` + id }) -} - -// 新增器具解绑记录子 -export const createContainerUnbindRecordDetail = async (data: ContainerUnbindRecordDetailVO) => { - return await request.post({ url: `/wms/container-unbind-record-detail/create`, data }) -} - -// 修改器具解绑记录子 -export const updateContainerUnbindRecordDetail = async (data: ContainerUnbindRecordDetailVO) => { - return await request.put({ url: `/wms/container-unbind-record-detail/update`, data }) -} - -// 删除器具解绑记录子 -export const deleteContainerUnbindRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/container-unbind-record-detail/delete?id=` + id }) -} - -// 导出器具解绑记录子 Excel -export const exportContainerUnbindRecordDetail = async (params) => { - return await request.download({ url: `/wms/container-unbind-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/container-unbind-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/containerUnbindRecordMain/index.ts b/src/api/wms/containerUnbindRecordMain/index.ts deleted file mode 100644 index 4e6849c..0000000 --- a/src/api/wms/containerUnbindRecordMain/index.ts +++ /dev/null @@ -1,69 +0,0 @@ -import request from '@/config/axios' - -export interface ContainerUnbindRecordMainVO { - id: number - number: string - containerNumber: string - fromWarehouseCode: string - toWarehouseCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - available: string - requestTime: Date - dueTime: Date - departmentCode: string - userGroupCode: string - interfaceType: string - businessType: string - remark: string - extraProperties: string - siteId: string - code: string - fromLocationTypes: string - toLocationTypes: string - fromAreaCodes: string - toAreaCodes: string -} - -// 查询器具解绑记录主列表 -export const getContainerUnbindRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/container-unbind-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/container-unbind-record-main/page`, params }) - } -} - -// 查询器具解绑记录主详情 -export const getContainerUnbindRecordMain = async (id: number) => { - return await request.get({ url: `/wms/container-unbind-record-main/get?id=` + id }) -} - -// 新增器具解绑记录主 -export const createContainerUnbindRecordMain = async (data: ContainerUnbindRecordMainVO) => { - return await request.post({ url: `/wms/container-unbind-record-main/create`, data }) -} - -// 修改器具解绑记录主 -export const updateContainerUnbindRecordMain = async (data: ContainerUnbindRecordMainVO) => { - return await request.put({ url: `/wms/container-unbind-record-main/update`, data }) -} - -// 删除器具解绑记录主 -export const deleteContainerUnbindRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/container-unbind-record-main/delete?id=` + id }) -} - -// 导出器具解绑记录主 Excel -export const exportContainerUnbindRecordMain = async (params) => { - return await request.download({ url: `/wms/container-unbind-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/container-unbind-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/countJobDetail/index.ts b/src/api/wms/countJobDetail/index.ts deleted file mode 100644 index 6b7e132..0000000 --- a/src/api/wms/countJobDetail/index.ts +++ /dev/null @@ -1,62 +0,0 @@ -import request from '@/config/axios' - -export interface CountJobDetailVO { - countDetailNumber: string - ownerCode: string - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string -} - -// 查询盘点任务子列表 -export const getCountJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/count-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/count-job-detail/page`, params }) - } -} - -// 查询盘点任务子详情 -export const getCountJobDetail = async (id: number) => { - return await request.get({ url: `/wms/count-job-detail/get?id=` + id }) -} - -// 新增盘点任务子 -export const createCountJobDetail = async (data: CountJobDetailVO) => { - return await request.post({ url: `/wms/count-job-detail/create`, data }) -} - -// 修改盘点任务子 -export const updateCountJobDetail = async (data: CountJobDetailVO) => { - return await request.put({ url: `/wms/count-job-detail/update`, data }) -} - -// 删除盘点任务子 -export const deleteCountJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/count-job-detail/delete?id=` + id }) -} - -// 导出盘点任务子 Excel -export const exportCountJobDetail = async (params) => { - return await request.download({ url: `/wms/count-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/count-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/countJobMain/index.ts b/src/api/wms/countJobMain/index.ts deleted file mode 100644 index 48ce991..0000000 --- a/src/api/wms/countJobMain/index.ts +++ /dev/null @@ -1,87 +0,0 @@ -import request from '@/config/axios' - -export interface CountJobMainVO { - requestNumber: string - planNumber: string - stage: string - warehouseCode: string - locationCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - siteId: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询盘点任务主列表 -export const getCountJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/count-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/count-job-main/page`, params }) - } -} - -// 查询盘点任务主详情 -export const getCountJobMain = async (id: number) => { - return await request.get({ url: `/wms/count-job-main/get?id=` + id }) -} - -// 新增盘点任务主 -export const createCountJobMain = async (data: CountJobMainVO) => { - return await request.post({ url: `/wms/count-job-main/create`, data }) -} - -// 修改盘点任务主 -export const updateCountJobMain = async (data: CountJobMainVO) => { - return await request.put({ url: `/wms/count-job-main/update`, data }) -} - -// 删除盘点任务主 -export const deleteCountJobMain = async (id: number) => { - return await request.delete({ url: `/wms/count-job-main/delete?id=` + id }) -} - -// 导出盘点任务主 Excel -export const exportCountJobMain = async (params) => { - return await request.download({ url: `/wms/count-job-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/count-job-main/get-import-template' }) -} - -// 关闭盘点任务主 -export const closeCountJobMain = (id: number) => { - return request.download({ url: '/wms/count-job-main/close?id=' + id }) -} diff --git a/src/api/wms/countPlanDetail/index.ts b/src/api/wms/countPlanDetail/index.ts deleted file mode 100644 index 5c4300b..0000000 --- a/src/api/wms/countPlanDetail/index.ts +++ /dev/null @@ -1,52 +0,0 @@ -import request from '@/config/axios' - -export interface CountPlanDetailVO { - type: string - value: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - planQty: number - uom: string - updateTime: Date - updater: string - available: string -} - -// 查询盘点计划子列表 -export const getCountPlanDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/count-plan-detail/senior', data }) - } else { - return await request.get({ url: `/wms/count-plan-detail/page`, params }) - } -} - -// 查询盘点计划子详情 -export const getCountPlanDetail = async (id: number) => { - return await request.get({ url: `/wms/count-plan-detail/get?id=` + id }) -} - -// 新增盘点计划子 -export const createCountPlanDetail = async (data: CountPlanDetailVO) => { - return await request.post({ url: `/wms/count-plan-detail/create`, data }) -} - -// 修改盘点计划子 -export const updateCountPlanDetail = async (data: CountPlanDetailVO) => { - return await request.put({ url: `/wms/count-plan-detail/update`, data }) -} - -// 删除盘点计划子 -export const deleteCountPlanDetail = async (id: number) => { - return await request.delete({ url: `/wms/count-plan-detail/delete?id=` + id }) -} - -// 导出盘点计划子 Excel -export const exportCountPlanDetail = async (params) => { - return await request.download({ url: `/wms/count-plan-detail/export-excel`, params }) -} diff --git a/src/api/wms/countPlanMain/index.ts b/src/api/wms/countPlanMain/index.ts deleted file mode 100644 index b62d130..0000000 --- a/src/api/wms/countPlanMain/index.ts +++ /dev/null @@ -1,104 +0,0 @@ -import request from '@/config/axios' - -export interface CountPlanMainVO { - type: string - crontab: string - dimension: string - limitedValue: number - ignoreListOfItem: string - ignoreListOfLocation: string - scopeList: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - beginTime: Date - endTime: Date - status: string - updateTime: Date - updater: string - isSnapshot: string - isFreeze: string - isCountEmptyLocation: string - isCountZeroInventory: string - isCountNegativeInventory: string - isOpenCount: string - available: string -} - -// 查询盘点计划主列表 -export const getCountPlanMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/count-plan-main/senior', data }) - } else { - return await request.get({ url: `/wms/count-plan-main/page`, params }) - } -} - -// 查询盘点计划主详情 -export const getCountPlanMain = async (id: number) => { - return await request.get({ url: `/wms/count-plan-main/get?id=` + id }) -} - -// 新增盘点计划主 -export const createCountPlanMain = async (data: CountPlanMainVO) => { - return await request.post({ url: `/wms/count-plan-main/create`, data }) -} - -// 修改盘点计划主 -export const updateCountPlanMain = async (data: CountPlanMainVO) => { - return await request.put({ url: `/wms/count-plan-main/update`, data }) -} - -// 删除盘点计划主 -export const deleteCountPlanMain = async (id: number) => { - return await request.delete({ url: `/wms/count-plan-main/delete?id=` + id }) -} - -// 导出盘点计划主 Excel -export const exportCountPlanMain = async (params) => { - return await request.download({ url: `/wms/count-plan-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/count-plan-main/get-import-template' }) -} - -// 关闭 -export const close = (id) => { - return request.put({ url: '/wms/count-plan-main/close?id=' + id }) -} - -// 提交审批 -export const submit = (id) => { - return request.put({ url: '/wms/count-plan-main/submit?id=' + id }) -} - -// 打开 -export const open = (id) => { - return request.put({ url: '/wms/count-plan-main/open?id=' + id }) -} - -// 驳回 -export const reject = (id) => { - return request.put({ url: '/wms/count-plan-main/reject?id=' + id }) -} - -// 通过 -export const agree = (id) => { - return request.put({ url: '/wms/count-plan-main/agree?id=' + id }) -} - -// 发布 -export const publish = (id) => { - return request.put({ url: '/wms/count-plan-main/publish?id=' + id }) -} - -// 重置 -export const resetting = (id) => { - return request.put({ url: '/wms/count-plan-main/resetting?id=' + id }) -} \ No newline at end of file diff --git a/src/api/wms/countRecordDetail/index.ts b/src/api/wms/countRecordDetail/index.ts deleted file mode 100644 index 3a35068..0000000 --- a/src/api/wms/countRecordDetail/index.ts +++ /dev/null @@ -1,72 +0,0 @@ -import request from '@/config/axios' - -export interface CountRecordDetailVO { - countDetailNumber: string - ownerCode: string - packingNumber: string - containerNumber: string - batch: string - locationCode: string - locationGroupCode: string - areaCode: string - inventoryStatus: string - countQty: number - countTime: Date - countUser: string - countDescription: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - number: string - itemCode: string - remark: string - createTime: Date - creatorId: string - jobDetailId: string -} - -// 查询盘点记录子列表 -export const getCountRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/count-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/count-record-detail/page`, params }) - } -} - -// 查询盘点记录子详情 -export const getCountRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/count-record-detail/get?id=` + id }) -} - -// 新增盘点记录子 -export const createCountRecordDetail = async (data: CountRecordDetailVO) => { - return await request.post({ url: `/wms/count-record-detail/create`, data }) -} - -// 修改盘点记录子 -export const updateCountRecordDetail = async (data: CountRecordDetailVO) => { - return await request.put({ url: `/wms/count-record-detail/update`, data }) -} - -// 删除盘点记录子 -export const deleteCountRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/count-record-detail/delete?id=` + id }) -} - -// 导出盘点记录子 Excel -export const exportCountRecordDetail = async (params) => { - return await request.download({ url: `/wms/count-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/count-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/countRecordMain/index.ts b/src/api/wms/countRecordMain/index.ts deleted file mode 100644 index e4b43a0..0000000 --- a/src/api/wms/countRecordMain/index.ts +++ /dev/null @@ -1,70 +0,0 @@ -import request from '@/config/axios' - -export interface CountRecordMainVO { - requestNumber: string - jobNumber: string - planNumber: string - stage: string - warehouseCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - code: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - available: string -} - -// 查询盘点记录主列表 -export const getCountRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/count-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/count-record-main/page`, params }) - } -} - -// 查询盘点记录主详情 -export const getCountRecordMain = async (id: number) => { - return await request.get({ url: `/wms/count-record-main/get?id=` + id }) -} - -// 新增盘点记录主 -export const createCountRecordMain = async (data: CountRecordMainVO) => { - return await request.post({ url: `/wms/count-record-main/create`, data }) -} - -// 修改盘点记录主 -export const updateCountRecordMain = async (data: CountRecordMainVO) => { - return await request.put({ url: `/wms/count-record-main/update`, data }) -} - -// 删除盘点记录主 -export const deleteCountRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/count-record-main/delete?id=` + id }) -} - -// 导出盘点记录主 Excel -export const exportCountRecordMain = async (params) => { - return await request.download({ url: `/wms/count-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/count-record-main/get-import-template' }) -} - -// 生成盘点调整 -export const generateCountRecordMain = async (id) => { - return await request.put({ url: `/wms/count-record-main/generate?id=` + id}) -} \ No newline at end of file diff --git a/src/api/wms/countRequestDetail/index.ts b/src/api/wms/countRequestDetail/index.ts deleted file mode 100644 index 96ed644..0000000 --- a/src/api/wms/countRequestDetail/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface CountRequestDetailVO { - countDetailNumber: string - ownerCode: string - batch: string - locationCode: string - inventoryStatus: string - number: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - itemCode: string - fromPackingNumber: string - toPackingNumber: string - fromContainerNumber: string - toContainerNumber: string -} - -// 查询盘点申请子列表 -export const getCountRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/count-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/count-request-detail/page`, params }) - } -} - -// 查询盘点申请子详情 -export const getCountRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/count-request-detail/get?id=` + id }) -} - -// 新增盘点申请子 -export const createCountRequestDetail = async (data: CountRequestDetailVO) => { - return await request.post({ url: `/wms/count-request-detail/create`, data }) -} - -// 修改盘点申请子 -export const updateCountRequestDetail = async (data: CountRequestDetailVO) => { - return await request.put({ url: `/wms/count-request-detail/update`, data }) -} - -// 删除盘点申请子 -export const deleteCountRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/count-request-detail/delete?id=` + id }) -} - -// 导出盘点申请子 Excel -export const exportCountRequestDetail = async (params) => { - return await request.download({ url: `/wms/count-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/count-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/countRequestMain/index.ts b/src/api/wms/countRequestMain/index.ts deleted file mode 100644 index cf6c522..0000000 --- a/src/api/wms/countRequestMain/index.ts +++ /dev/null @@ -1,112 +0,0 @@ -import request from '@/config/axios' - -export interface CountRequestMainVO { - requestNumber: string - planNumber: string - stage: string - warehouseCode: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询盘点申请主列表 -export const getCountRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/count-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/count-request-main/page`, params }) - } -} - -// 查询盘点申请主详情 -export const getCountRequestMain = async (id: number) => { - return await request.get({ url: `/wms/count-request-main/get?id=` + id }) -} - -// 新增盘点申请主 -export const createCountRequestMain = async (data: CountRequestMainVO) => { - return await request.post({ url: `/wms/count-request-main/create`, data }) -} - -// 修改盘点申请主 -export const updateCountRequestMain = async (data: CountRequestMainVO) => { - return await request.put({ url: `/wms/count-request-main/update`, data }) -} - -// 删除盘点申请主 -export const deleteCountRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/count-request-main/delete?id=` + id }) -} - -// 导出盘点申请主 Excel -export const exportCountRequestMain = async (params) => { - return await request.download({ url: `/wms/count-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/count-request-main/get-import-template' }) -} - -// 关闭盘点申请主 Excel -export const close = async (id) => { - return await request.put({ url: `/wms/count-request-main/close?id=` + id }) -} - -// 重新添加盘点申请主 Excel -export const reAdd = async (id) => { - return await request.put({ url: `/wms/count-request-main/reAdd?id=` + id }) -} - -// 提交盘点申请主 Excel -export const submit = async (id) => { - return await request.put({ url: `/wms/count-request-main/submit?id=` + id }) -} - -// 审批通过盘点申请主 Excel -export const agree = async (id) => { - return await request.put({ url: `/wms/count-request-main/agree?id=` + id }) -} - -// 审批驳回盘点申请主 Excel -export const refused = async (id) => { - return await request.put({ url: `/wms/count-request-main/refused?id=` + id }) -} - -// 处理盘点申请主 Excel -export const handle = async (id) => { - return await request.put({ url: `/wms/count-request-main/handle?id=` + id }) -} - -//重盘 -export const reCount = async (data) => { - return await request.put({ url: `/wms/count-request-main/reCount`,data}) -} - -//监盘 -export const superviseCount = async (data) => { - return await request.put({ url: `/wms/count-request-main/supervise`,data}) -} -//生成盘点调整申请 -export const generateCountadjustRequest = async (id) => { - return await request.put({ url: `/wms/count-request-main/generateCountadjustRequest?id=` + id }) -} -//解冻 -export const thaw = async (id) => { - return await request.put({ url: `/wms/count-request-main/thaw?id=` + id }) -} \ No newline at end of file diff --git a/src/api/wms/countadjustRecordDetail/index.ts b/src/api/wms/countadjustRecordDetail/index.ts deleted file mode 100644 index ab86020..0000000 --- a/src/api/wms/countadjustRecordDetail/index.ts +++ /dev/null @@ -1,69 +0,0 @@ -import request from '@/config/axios' - -export interface CountadjustRecordDetailVO { - countDetailNumber: string - ownerCode: string - packingNumber: string - containerNumber: string - batch: string - locationCode: string - inventoryStatus: string - inventoryQty: number - countQty: number - adjustQty: number - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - jobDetailId: string -} - -// 查询盘点调整记录子列表 -export const getCountadjustRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/countadjust-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/countadjust-record-detail/page`, params }) - } -} - -// 查询盘点调整记录子详情 -export const getCountadjustRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/countadjust-record-detail/get?id=` + id }) -} - -// 新增盘点调整记录子 -export const createCountadjustRecordDetail = async (data: CountadjustRecordDetailVO) => { - return await request.post({ url: `/wms/countadjust-record-detail/create`, data }) -} - -// 修改盘点调整记录子 -export const updateCountadjustRecordDetail = async (data: CountadjustRecordDetailVO) => { - return await request.put({ url: `/wms/countadjust-record-detail/update`, data }) -} - -// 删除盘点调整记录子 -export const deleteCountadjustRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/countadjust-record-detail/delete?id=` + id }) -} - -// 导出盘点调整记录子 Excel -export const exportCountadjustRecordDetail = async (params) => { - return await request.download({ url: `/wms/countadjust-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/countadjust-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/countadjustRecordMain/index.ts b/src/api/wms/countadjustRecordMain/index.ts deleted file mode 100644 index c07af7f..0000000 --- a/src/api/wms/countadjustRecordMain/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import request from '@/config/axios' - -export interface CountadjustRecordMainVO { - requestNumber: string - countRecordNumber: string - warehouseCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - code: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - available: string -} - -// 查询盘点调整记录主列表 -export const getCountadjustRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/countadjust-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/countadjust-record-main/page`, params }) - } -} - -// 查询盘点调整记录主详情 -export const getCountadjustRecordMain = async (id: number) => { - return await request.get({ url: `/wms/countadjust-record-main/get?id=` + id }) -} - -// 新增盘点调整记录主 -export const createCountadjustRecordMain = async (data: CountadjustRecordMainVO) => { - return await request.post({ url: `/wms/countadjust-record-main/create`, data }) -} - -// 修改盘点调整记录主 -export const updateCountadjustRecordMain = async (data: CountadjustRecordMainVO) => { - return await request.put({ url: `/wms/countadjust-record-main/update`, data }) -} - -// 删除盘点调整记录主 -export const deleteCountadjustRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/countadjust-record-main/delete?id=` + id }) -} - -// 导出盘点调整记录主 Excel -export const exportCountadjustRecordMain = async (params) => { - return await request.download({ url: `/wms/countadjust-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/countadjust-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/countadjustRequestDetail/index.ts b/src/api/wms/countadjustRequestDetail/index.ts deleted file mode 100644 index 1bb9805..0000000 --- a/src/api/wms/countadjustRequestDetail/index.ts +++ /dev/null @@ -1,68 +0,0 @@ -import request from '@/config/axios' - -export interface CountadjustRequestDetailVO { - countDetailNumber: string - ownerlCode: string - packinglNumber: string - containerlNumber: string - batch: string - locationlCode: string - inventorylStatus: string - inventorylQty: number - countlQty: number - adjustlQty: number - number: string - remark: string - createTime: Date - creator: string - itemlName: string - itemlDesc1: string - itemlDesc2: string - projectlCode: string - qty: number - uom: string - updateTime: Date - updater: string - itemlCode: string -} - -// 查询盘点调整申请子列表 -export const getCountadjustRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/countadjust-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/countadjust-request-detail/page`, params }) - } -} - -// 查询盘点调整申请子详情 -export const getCountadjustRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/countadjust-request-detail/get?id=` + id }) -} - -// 新增盘点调整申请子 -export const createCountadjustRequestDetail = async (data: CountadjustRequestDetailVO) => { - return await request.post({ url: `/wms/countadjust-request-detail/create`, data }) -} - -// 修改盘点调整申请子 -export const updateCountadjustRequestDetail = async (data: CountadjustRequestDetailVO) => { - return await request.put({ url: `/wms/countadjust-request-detail/update`, data }) -} - -// 删除盘点调整申请子 -export const deleteCountadjustRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/countadjust-request-detail/delete?id=` + id }) -} - -// 导出盘点调整申请子 Excel -export const exportCountadjustRequestDetail = async (params) => { - return await request.download({ url: `/wms/countadjust-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/countadjust-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/countadjustRequestMain/index.ts b/src/api/wms/countadjustRequestMain/index.ts deleted file mode 100644 index 57ae5ee..0000000 --- a/src/api/wms/countadjustRequestMain/index.ts +++ /dev/null @@ -1,93 +0,0 @@ -import request from '@/config/axios' - -export interface CountadjustRequestMainVO { - requestNumber: string - countRecordNumber: string - warehouseCode: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询盘点调整申请主列表 -export const getCountadjustRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/countadjust-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/countadjust-request-main/page`, params }) - } -} - -// 查询盘点调整申请主详情 -export const getCountadjustRequestMain = async (id: number) => { - return await request.get({ url: `/wms/countadjust-request-main/get?id=` + id }) -} - -// 新增盘点调整申请主 -export const createCountadjustRequestMain = async (data: CountadjustRequestMainVO) => { - return await request.post({ url: `/wms/countadjust-request-main/create`, data }) -} - -// 修改盘点调整申请主 -export const updateCountadjustRequestMain = async (data: CountadjustRequestMainVO) => { - return await request.put({ url: `/wms/countadjust-request-main/update`, data }) -} - -// 删除盘点调整申请主 -export const deleteCountadjustRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/countadjust-request-main/delete?id=` + id }) -} - -// 导出盘点调整申请主 Excel -export const exportCountadjustRequestMain = async (params) => { - return await request.download({ url: `/wms/countadjust-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/countadjust-request-main/get-import-template' }) -} - -// 关闭盘点申请主 Excel -export const close = async (id) => { - return await request.put({ url: `/wms/countadjust-request-main/close?id=` + id }) -} - -// 重新添加盘点申请主 Excel -export const reAdd = async (id) => { - return await request.put({ url: `/wms/countadjust-request-main/reAdd?id=` + id }) -} - -// 提交盘点申请主 Excel -export const submit = async (id) => { - return await request.put({ url: `/wms/countadjust-request-main/submit?id=` + id }) -} - -// 审批通过盘点申请主 Excel -export const agree = async (id) => { - return await request.put({ url: `/wms/countadjust-request-main/agree?id=` + id }) -} - -// 审批驳回盘点申请主 Excel -export const refused = async (id) => { - return await request.put({ url: `/wms/countadjust-request-main/refused?id=` + id }) -} - -// 处理盘点申请主 Excel -export const handle = async (id) => { - return await request.put({ url: `/wms/countadjust-request-main/handle?id=` + id }) -} diff --git a/src/api/wms/currencyexchange/index.ts b/src/api/wms/currencyexchange/index.ts deleted file mode 100644 index 6e07777..0000000 --- a/src/api/wms/currencyexchange/index.ts +++ /dev/null @@ -1,57 +0,0 @@ -import request from '@/config/axios' - -export interface CurrencyexchangeVO { - currency: string - basiccurrency: string - rate: number - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询货币转换列表 -export const getCurrencyexchangePage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/currencyexchange/senior', data }) - } else { - return await request.get({ url: `/wms/currencyexchange/page`, params }) - } -} - -// 查询货币转换详情 -export const getCurrencyexchange = async (id: number) => { - return await request.get({ url: `/wms/currencyexchange/get?id=` + id }) -} - -// 新增货币转换 -export const createCurrencyexchange = async (data: CurrencyexchangeVO) => { - return await request.post({ url: `/wms/currencyexchange/create`, data }) -} - -// 修改货币转换 -export const updateCurrencyexchange = async (data: CurrencyexchangeVO) => { - return await request.put({ url: `/wms/currencyexchange/update`, data }) -} - -// 删除货币转换 -export const deleteCurrencyexchange = async (id: number) => { - return await request.delete({ url: `/wms/currencyexchange/delete?id=` + id }) -} - -// 导出货币转换 Excel -export const exportCurrencyexchange = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/currencyexchange/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/currencyexchange/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/currencyexchange/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/customer/index.ts b/src/api/wms/customer/index.ts deleted file mode 100644 index 7cc1830..0000000 --- a/src/api/wms/customer/index.ts +++ /dev/null @@ -1,71 +0,0 @@ -import request from '@/config/axios' - -export interface CustomerVO { - code: string - name: string - shortName: string - address: string - country: string - city: string - phone: string - fax: string - postId: string - contacts: string - bank: string - currency: string - taxRate: number - type: string - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询客户列表 -export const getCustomerPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/customer/senior', data }) - } else { - return await request.get({ url: `/wms/customer/page`, params }) - } -} -// 查询客户列表 -export const getCustomerList = async (params) => { - return await request.get({ url: `/wms/customer/list`, params }) -} -// 查询客户详情 -export const getCustomer = async (id: number) => { - return await request.get({ url: `/wms/customer/get?id=` + id }) -} - -// 新增客户 -export const createCustomer = async (data: CustomerVO) => { - return await request.post({ url: `/wms/customer/create`, data }) -} - -// 修改客户 -export const updateCustomer = async (data: CustomerVO) => { - return await request.put({ url: `/wms/customer/update`, data }) -} - -// 删除客户 -export const deleteCustomer = async (id: number) => { - return await request.delete({ url: `/wms/customer/delete?id=` + id }) -} - -// 导出客户 Excel -export const exportCustomer = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/customer/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/customer/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/customer/get-import-template' }) -} diff --git a/src/api/wms/customerdock/index.ts b/src/api/wms/customerdock/index.ts deleted file mode 100644 index 5a5d1db..0000000 --- a/src/api/wms/customerdock/index.ts +++ /dev/null @@ -1,64 +0,0 @@ -import request from '@/config/axios' - -export interface CustomerdockVO { - code: string - name: string - description: string - city: string - address: string - contactPerson: string - contactPhone: string - customerCode: string - warehouseCode: string - defaultLocationCode: string - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询客户月台列表 -export const getCustomerdockPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/customerdock/senior', data }) - } else { - return await request.get({ url: `/wms/customerdock/page`, params }) - } -} - -// 查询客户月台详情 -export const getCustomerdock = async (id: number) => { - return await request.get({ url: `/wms/customerdock/get?id=` + id }) -} - -// 新增客户月台 -export const createCustomerdock = async (data: CustomerdockVO) => { - return await request.post({ url: `/wms/customerdock/create`, data }) -} - -// 修改客户月台 -export const updateCustomerdock = async (data: CustomerdockVO) => { - return await request.put({ url: `/wms/customerdock/update`, data }) -} - -// 删除客户月台 -export const deleteCustomerdock = async (id: number) => { - return await request.delete({ url: `/wms/customerdock/delete?id=` + id }) -} - -// 导出客户月台 Excel -export const exportCustomerdock = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/customerdock/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/customerdock/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/customerdock/get-import-template' }) -} diff --git a/src/api/wms/customeritem/index.ts b/src/api/wms/customeritem/index.ts deleted file mode 100644 index b906a86..0000000 --- a/src/api/wms/customeritem/index.ts +++ /dev/null @@ -1,64 +0,0 @@ -import request from '@/config/axios' - -export interface CustomeritemVO { - customerCode: string - itemCode: string - customerItemCode: string - cusotmerUom: string - convertRate: number - packUnit: string - packQty: number - altPackUnit: string - altPackQty: number - packQtyOfContainer: number - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询客户物品列表 -export const getCustomeritemPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/customeritem/senior', data }) - } else { - return await request.get({ url: `/wms/customeritem/page`, params }) - } -} - -// 查询客户物品详情 -export const getCustomeritem = async (id: number) => { - return await request.get({ url: `/wms/customeritem/get?id=` + id }) -} - -// 新增客户物品 -export const createCustomeritem = async (data: CustomeritemVO) => { - return await request.post({ url: `/wms/customeritem/create`, data }) -} - -// 修改客户物品 -export const updateCustomeritem = async (data: CustomeritemVO) => { - return await request.put({ url: `/wms/customeritem/update`, data }) -} - -// 删除客户物品 -export const deleteCustomeritem = async (id: number) => { - return await request.delete({ url: `/wms/customeritem/delete?id=` + id }) -} - -// 导出客户物品 Excel -export const exportCustomeritem = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/customeritem/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/customeritem/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/customeritem/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/customerreceiptRecordDetail/index.ts b/src/api/wms/customerreceiptRecordDetail/index.ts deleted file mode 100644 index 037bf8e..0000000 --- a/src/api/wms/customerreceiptRecordDetail/index.ts +++ /dev/null @@ -1,78 +0,0 @@ -import request from '@/config/axios' - -export interface CustomerreceiptRecordDetailVO { - soNumber: string - soLine: string - fromBatch: string - inventoryStatus: string - fromOwnerCode: string - fromContainerNumber: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - toOwnerCode: string - toContainerNumber: string - toLocationCode: string - toLocationGroupCode: string - toAreaCode: string - singlePrice: number - amount: number - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - jobDetailId: string - fromPackingNumber: string - toPackingNumber: string - toBatch: string -} - -// 查询客户收货记录子列表 -export const getCustomerreceiptRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/customerreceipt-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/customerreceipt-record-detail/page`, params }) - } -} - -// 查询客户收货记录子详情 -export const getCustomerreceiptRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/customerreceipt-record-detail/get?id=` + id }) -} - -// 新增客户收货记录子 -export const createCustomerreceiptRecordDetail = async (data: CustomerreceiptRecordDetailVO) => { - return await request.post({ url: `/wms/customerreceipt-record-detail/create`, data }) -} - -// 修改客户收货记录子 -export const updateCustomerreceiptRecordDetail = async (data: CustomerreceiptRecordDetailVO) => { - return await request.put({ url: `/wms/customerreceipt-record-detail/update`, data }) -} - -// 删除客户收货记录子 -export const deleteCustomerreceiptRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/customerreceipt-record-detail/delete?id=` + id }) -} - -// 导出客户收货记录子 Excel -export const exportCustomerreceiptRecordDetail = async (params) => { - return await request.download({ url: `/wms/customerreceipt-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/customerreceipt-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/customerreceiptRecordMain/index.ts b/src/api/wms/customerreceiptRecordMain/index.ts deleted file mode 100644 index f759818..0000000 --- a/src/api/wms/customerreceiptRecordMain/index.ts +++ /dev/null @@ -1,74 +0,0 @@ -import request from '@/config/axios' - -export interface CustomerreceiptRecordMainVO { - requestNumber: string - deliverRecordNumber: string - deliverPlanNumber: string - customerCode: string - customerDockCode: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - fromWarehouseCode: string - toWarehouseCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - fromLocationTypes: string - toLocationTypes: string - fromAreaCodes: string - toAreaCodes: string - available: string -} - -// 查询客户收货记录主列表 -export const getCustomerreceiptRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/customerreceipt-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/customerreceipt-record-main/page`, params }) - } -} - -// 查询客户收货记录主详情 -export const getCustomerreceiptRecordMain = async (id: number) => { - return await request.get({ url: `/wms/customerreceipt-record-main/get?id=` + id }) -} - -// 新增客户收货记录主 -export const createCustomerreceiptRecordMain = async (data: CustomerreceiptRecordMainVO) => { - return await request.post({ url: `/wms/customerreceipt-record-main/create`, data }) -} - -// 修改客户收货记录主 -export const updateCustomerreceiptRecordMain = async (data: CustomerreceiptRecordMainVO) => { - return await request.put({ url: `/wms/customerreceipt-record-main/update`, data }) -} - -// 删除客户收货记录主 -export const deleteCustomerreceiptRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/customerreceipt-record-main/delete?id=` + id }) -} - -// 导出客户收货记录主 Excel -export const exportCustomerreceiptRecordMain = async (params) => { - return await request.download({ url: `/wms/customerreceipt-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/customerreceipt-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/customerreceiptRequestDetail/index.ts b/src/api/wms/customerreceiptRequestDetail/index.ts deleted file mode 100644 index f370f62..0000000 --- a/src/api/wms/customerreceiptRequestDetail/index.ts +++ /dev/null @@ -1,68 +0,0 @@ -import request from '@/config/axios' - -export interface CustomerreceiptRequestDetailVO { - soNumber: string - soLine: string - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - fromLocationCode: string - toLocationCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询客户收货申请子列表 -export const getCustomerreceiptRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/customerreceipt-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/customerreceipt-request-detail/page`, params }) - } -} - -// 查询客户收货申请子详情 -export const getCustomerreceiptRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/customerreceipt-request-detail/get?id=` + id }) -} - -// 新增客户收货申请子 -export const createCustomerreceiptRequestDetail = async (data: CustomerreceiptRequestDetailVO) => { - return await request.post({ url: `/wms/customerreceipt-request-detail/create`, data }) -} - -// 修改客户收货申请子 -export const updateCustomerreceiptRequestDetail = async (data: CustomerreceiptRequestDetailVO) => { - return await request.put({ url: `/wms/customerreceipt-request-detail/update`, data }) -} - -// 删除客户收货申请子 -export const deleteCustomerreceiptRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/customerreceipt-request-detail/delete?id=` + id }) -} - -// 导出客户收货申请子 Excel -export const exportCustomerreceiptRequestDetail = async (params) => { - return await request.download({ url: `/wms/customerreceipt-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/customerreceipt-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/customerreceiptRequestMain/index.ts b/src/api/wms/customerreceiptRequestMain/index.ts deleted file mode 100644 index 0704cd0..0000000 --- a/src/api/wms/customerreceiptRequestMain/index.ts +++ /dev/null @@ -1,98 +0,0 @@ -import request from '@/config/axios' - -export interface CustomerreceiptRequestMainVO { - customerreceiptRequestNumber: string - customerreceiptPlanNumber: string - customerCode: string - customerDockCode: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - fromWarehouseCode: string - toWarehouseCode: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - fromLocationTypes: string - toLocationTypes: string - fromAreaCodes: string - toAreaCodes: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询客户收货申请主列表 -export const getCustomerreceiptRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/customerreceipt-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/customerreceipt-request-main/page`, params }) - } -} - -// 查询客户收货申请主详情 -export const getCustomerreceiptRequestMain = async (id: number) => { - return await request.get({ url: `/wms/customerreceipt-request-main/get?id=` + id }) -} - -// 新增客户收货申请主 -export const createCustomerreceiptRequestMain = async (data: CustomerreceiptRequestMainVO) => { - return await request.post({ url: `/wms/customerreceipt-request-main/create`, data }) -} - -// 修改客户收货申请主 -export const updateCustomerreceiptRequestMain = async (data: CustomerreceiptRequestMainVO) => { - return await request.put({ url: `/wms/customerreceipt-request-main/update`, data }) -} - -// 删除客户收货申请主 -export const deleteCustomerreceiptRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/customerreceipt-request-main/delete?id=` + id }) -} - -// 导出客户收货申请主 Excel -export const exportCustomerreceiptRequestMain = async (params) => { - return await request.download({ url: `/wms/customerreceipt-request-main/export-excel`, params }) -} - -// 关闭 -export const close = (id) => { - return request.put({ url: '/wms/customerreceipt-request-main/close?id=' + id }) -} - -// 重新添加 -export const reAdd = (id) => { - return request.put({ url: '/wms/customerreceipt-request-main/reAdd?id=' + id }) -} - -// 提交审批 -export const submit = (id) => { - return request.put({ url: '/wms/customerreceipt-request-main/submit?id=' + id }) -} - -// 驳回 -export const refused = (id) => { - return request.put({ url: '/wms/customerreceipt-request-main/refused?id=' + id }) -} - -// 审批通过 -export const agree = (id) => { - return request.put({ url: '/wms/customerreceipt-request-main/agree?id=' + id }) -} - -// 处理 -export const handle = (id) => { - return request.put({ url: '/wms/customerreceipt-request-main/handle?id=' + id }) -} \ No newline at end of file diff --git a/src/api/wms/customerreturnJobDetail/index.ts b/src/api/wms/customerreturnJobDetail/index.ts deleted file mode 100644 index 526c63a..0000000 --- a/src/api/wms/customerreturnJobDetail/index.ts +++ /dev/null @@ -1,65 +0,0 @@ -import request from '@/config/axios' - -export interface CustomerreturnJobDetailVO { - soNumber: string - soLine: string - packingNumber: string - batch: string - inventoryStatus: string - ownerCode: string - containerNumber: string - fromLocationCode: string - toLocationCode: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createtime: Date - creator: string -} - -// 查询客户退货任务子列表 -export const getCustomerreturnJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/customerreturn-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/customerreturn-job-detail/page`, params }) - } -} - -// 查询客户退货任务子详情 -export const getCustomerreturnJobDetail = async (id: number) => { - return await request.get({ url: `/wms/customerreturn-job-detail/get?id=` + id }) -} - -// 新增客户退货任务子 -export const createCustomerreturnJobDetail = async (data: CustomerreturnJobDetailVO) => { - return await request.post({ url: `/wms/customerreturn-job-detail/create`, data }) -} - -// 修改客户退货任务子 -export const updateCustomerreturnJobDetail = async (data: CustomerreturnJobDetailVO) => { - return await request.put({ url: `/wms/customerreturn-job-detail/update`, data }) -} - -// 删除客户退货任务子 -export const deleteCustomerreturnJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/customerreturn-job-detail/delete?id=` + id }) -} - -// 导出客户退货任务子 Excel -export const exportCustomerreturnJobDetail = async (params) => { - return await request.download({ url: `/wms/customerreturn-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/customerreturn-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/customerreturnJobMain/index.ts b/src/api/wms/customerreturnJobMain/index.ts deleted file mode 100644 index ae00479..0000000 --- a/src/api/wms/customerreturnJobMain/index.ts +++ /dev/null @@ -1,115 +0,0 @@ -import request from '@/config/axios' - -export interface CustomerreturnJobMainVO { - requestNumber: string - deliverRecordNumber: string - deliverPlanNumber: string - customerCode: string - customerDockCode: string - receiptDock: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - fromWarehouseCode: string - toWarehouseCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromAreaCodes: string - toAreaCodes: string - toDockCode: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询客户退货任务主列表 -export const getCustomerreturnJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/customerreturn-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/customerreturn-job-main/page`, params }) - } -} - -// 查询客户退货任务主详情 -export const getCustomerreturnJobMain = async (id: number) => { - return await request.get({ url: `/wms/customerreturn-job-main/get?id=` + id }) -} - -// 新增客户退货任务主 -export const createCustomerreturnJobMain = async (data: CustomerreturnJobMainVO) => { - return await request.post({ url: `/wms/customerreturn-job-main/create`, data }) -} - -// 修改客户退货任务主 -export const updateCustomerreturnJobMain = async (data: CustomerreturnJobMainVO) => { - return await request.put({ url: `/wms/customerreturn-job-main/update`, data }) -} - -// 删除客户退货任务主 -export const deleteCustomerreturnJobMain = async (id: number) => { - return await request.delete({ url: `/wms/customerreturn-job-main/delete?id=` + id }) -} - -// 导出客户退货任务主 Excel -export const exportCustomerreturnJobMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/customerreturn-job-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/customerreturn-job-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/customerreturn-job-main/get-import-template' }) -} - -// 承接客户退货任务主 Excel -export const acceptCustomerreturnJobMain = async (id) => { - return await request.put({ url: `/wms/customerreturn-job-main/accept?id=` + id }) -} - -// 取消承接客户退货任务主 Excel -export const abandonCustomerreturnJobMain = async (id) => { - return await request.put({ url: `/wms/customerreturn-job-main/abandon?id=` + id }) -} - -// 关闭客户退货任务主 Excel -export const closeCustomerreturnJobMain = async (id) => { - return await request.put({ url: `/wms/customerreturn-job-main/close?id=` + id }) -} - -// 执行客户退货任务主 -export const executeCustomerreturnJobMain = async (data: CustomerreturnJobMainVO) => { - return await request.put({ url: `/wms/customerreturn-job-main/execute`, data }) -} \ No newline at end of file diff --git a/src/api/wms/customerreturnRecordDetail/index.ts b/src/api/wms/customerreturnRecordDetail/index.ts deleted file mode 100644 index e139bd6..0000000 --- a/src/api/wms/customerreturnRecordDetail/index.ts +++ /dev/null @@ -1,78 +0,0 @@ -import request from '@/config/axios' - -export interface CustomerreturnRecordDetailVO { - soNumber: string - soLine: string - fromBatch: string - inventoryStatus: string - fromOwnerCode: string - fromContainerNumber: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - toOwnerCode: string - toContainerNumber: string - toLocationCode: string - toLocationGroupCode: string - toAreaCode: string - singlePrice: number - amount: number - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - jobDetailId: string - fromPackingNumber: string - toPackingNumber: string - toBatch: string -} - -// 查询客户退货记录子列表 -export const getCustomerreturnRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/customerreturn-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/customerreturn-record-detail/page`, params }) - } -} - -// 查询客户退货记录子详情 -export const getCustomerreturnRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/customerreturn-record-detail/get?id=` + id }) -} - -// 新增客户退货记录子 -export const createCustomerreturnRecordDetail = async (data: CustomerreturnRecordDetailVO) => { - return await request.post({ url: `/wms/customerreturn-record-detail/create`, data }) -} - -// 修改客户退货记录子 -export const updateCustomerreturnRecordDetail = async (data: CustomerreturnRecordDetailVO) => { - return await request.put({ url: `/wms/customerreturn-record-detail/update`, data }) -} - -// 删除客户退货记录子 -export const deleteCustomerreturnRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/customerreturn-record-detail/delete?id=` + id }) -} - -// 导出客户退货记录子 Excel -export const exportCustomerreturnRecordDetail = async (params) => { - return await request.download({ url: `/wms/customerreturn-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/customerreturn-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/customerreturnRecordMain/index.ts b/src/api/wms/customerreturnRecordMain/index.ts deleted file mode 100644 index d714111..0000000 --- a/src/api/wms/customerreturnRecordMain/index.ts +++ /dev/null @@ -1,76 +0,0 @@ -import request from '@/config/axios' - -export interface CustomerreturnRecordMainVO { - requestNumber: string - jobNumber: string - deliverRecordNumber: string - deliverPlanNumber: string - customerCode: string - customerDockCode: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - fromWarehouseCode: string - toWarehouseCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creatorId: string - code: string - fromLocationTypes: string - toLocationTypes: string - toAreaCodes: string - toDockCode: string - available: string - fromAreaCodes: string -} - -// 查询客户退货记录主列表 -export const getCustomerreturnRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/customerreturn-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/customerreturn-record-main/page`, params }) - } -} - -// 查询客户退货记录主详情 -export const getCustomerreturnRecordMain = async (id: number) => { - return await request.get({ url: `/wms/customerreturn-record-main/get?id=` + id }) -} - -// 新增客户退货记录主 -export const createCustomerreturnRecordMain = async (data: CustomerreturnRecordMainVO) => { - return await request.post({ url: `/wms/customerreturn-record-main/create`, data }) -} - -// 修改客户退货记录主 -export const updateCustomerreturnRecordMain = async (data: CustomerreturnRecordMainVO) => { - return await request.put({ url: `/wms/customerreturn-record-main/update`, data }) -} - -// 删除客户退货记录主 -export const deleteCustomerreturnRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/customerreturn-record-main/delete?id=` + id }) -} - -// 导出客户退货记录主 Excel -export const exportCustomerreturnRecordMain = async (params) => { - return await request.download({ url: `/wms/customerreturn-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/customerreturn-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/customerreturnRequestDetail/index.ts b/src/api/wms/customerreturnRequestDetail/index.ts deleted file mode 100644 index 28f2b02..0000000 --- a/src/api/wms/customerreturnRequestDetail/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface CustomerreturnRequestDetailVO { - soNumber: string - soLine: string - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - fromOwnerCode: string - fromLocationCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - toOwnerCode: string -} - -// 查询客户退货申请子列表 -export const getCustomerreturnRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/customerreturn-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/customerreturn-request-detail/page`, params }) - } -} - -// 查询客户退货申请子详情 -export const getCustomerreturnRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/customerreturn-request-detail/get?id=` + id }) -} - -// 新增客户退货申请子 -export const createCustomerreturnRequestDetail = async (data: CustomerreturnRequestDetailVO) => { - return await request.post({ url: `/wms/customerreturn-request-detail/create`, data }) -} - -// 修改客户退货申请子 -export const updateCustomerreturnRequestDetail = async (data: CustomerreturnRequestDetailVO) => { - return await request.put({ url: `/wms/customerreturn-request-detail/update`, data }) -} - -// 删除客户退货申请子 -export const deleteCustomerreturnRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/customerreturn-request-detail/delete?id=` + id }) -} - -// 导出客户退货申请子 Excel -export const exportCustomerreturnRequestDetail = async (params) => { - return await request.download({ url: `/wms/customerreturn-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/customerreturn-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/customerreturnRequestMain/index.ts b/src/api/wms/customerreturnRequestMain/index.ts deleted file mode 100644 index 6f42a56..0000000 --- a/src/api/wms/customerreturnRequestMain/index.ts +++ /dev/null @@ -1,110 +0,0 @@ -import request from '@/config/axios' - -export interface CustomerreturnRequestMainVO { - requestNumber: string - deliverRecordNumber: string - deliverPlanNumber: string - customerCode: string - customerDockCode: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - toDockCode: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询客户退货申请主列表 -export const getCustomerreturnRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/customerreturn-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/customerreturn-request-main/page`, params }) - } -} - -// 查询客户退货申请主详情 -export const getCustomerreturnRequestMain = async (id: number) => { - return await request.get({ url: `/wms/customerreturn-request-main/get?id=` + id }) -} - -// 新增客户退货申请主 -export const createCustomerreturnRequestMain = async (data: CustomerreturnRequestMainVO) => { - return await request.post({ url: `/wms/customerreturn-request-main/create`, data }) -} - -// 修改客户退货申请主 -export const updateCustomerreturnRequestMain = async (data: CustomerreturnRequestMainVO) => { - return await request.put({ url: `/wms/customerreturn-request-main/update`, data }) -} - -// 删除客户退货申请主 -export const deleteCustomerreturnRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/customerreturn-request-main/delete?id=` + id }) -} - -// 导出客户退货申请主 Excel -export const exportCustomerreturnRequestMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/customerreturn-request-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/customerreturn-request-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/customerreturn-request-main/get-import-template' }) -} - -// 关闭客户退货申请主 Excel -export const close = async (id) => { - return await request.put({ url: `/wms/customerreturn-request-main/close?id=` + id }) -} - -// 重新添加客户退货申请主 Excel -export const reAdd = async (id) => { - return await request.put({ url: `/wms/customerreturn-request-main/reAdd?id=` + id }) -} - -// 提交客户退货申请主 Excel -export const submit = async (id) => { - return await request.put({ url: `/wms/customerreturn-request-main/submit?id=` + id }) -} - -// 审批通过客户退货申请主 Excel -export const agree = async (id) => { - return await request.put({ url: `/wms/customerreturn-request-main/agree?id=` + id }) -} - -// 审批驳回客户退货申请主 Excel -export const refused = async (id) => { - return await request.put({ url: `/wms/customerreturn-request-main/refused?id=` + id }) -} - -// 处理驳回客户退货申请主 Excel -export const handle = async (id) => { - return await request.put({ url: `/wms/customerreturn-request-main/handle?id=` + id }) -} \ No newline at end of file diff --git a/src/api/wms/customersettleRecordDetail/index.ts b/src/api/wms/customersettleRecordDetail/index.ts deleted file mode 100644 index 3932fed..0000000 --- a/src/api/wms/customersettleRecordDetail/index.ts +++ /dev/null @@ -1,71 +0,0 @@ -import request from '@/config/axios' - -export interface CustomersettleRecordDetailVO { - soNumber: string - soLine: string - ownerCode: string - packingNumber: string - batch: string - inventoryStatus: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - singlePrice: number - amount: number - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - interfaceType: string - code: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - siteId: string - jobDetailId: string -} - -// 查询客户结算记录子列表 -export const getCustomersettleRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/customersettle-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/customersettle-record-detail/page`, params }) - } -} - -// 查询客户结算记录子详情 -export const getCustomersettleRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/customersettle-record-detail/get?id=` + id }) -} - -// 新增客户结算记录子 -export const createCustomersettleRecordDetail = async (data: CustomersettleRecordDetailVO) => { - return await request.post({ url: `/wms/customersettle-record-detail/create`, data }) -} - -// 修改客户结算记录子 -export const updateCustomersettleRecordDetail = async (data: CustomersettleRecordDetailVO) => { - return await request.put({ url: `/wms/customersettle-record-detail/update`, data }) -} - -// 删除客户结算记录子 -export const deleteCustomersettleRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/customersettle-record-detail/delete?id=` + id }) -} - -// 导出客户结算记录子 Excel -export const exportCustomersettleRecordDetail = async (params) => { - return await request.download({ url: `/wms/customersettle-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/customersettle-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/customersettleRecordMain/index.ts b/src/api/wms/customersettleRecordMain/index.ts deleted file mode 100644 index 34fcd2e..0000000 --- a/src/api/wms/customersettleRecordMain/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface CustomersettleRecordMainVO { - requestNumber: string - deliverRecordNumber: string - deliverPlanNumber: string - customerCode: string - outTransactionType: string - inTransactionYpe: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - code: string - number: string - businessType: string - createTime: Date - creator: string - remark: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - available: string -} - -// 查询客户结算记录主列表 -export const getCustomersettleRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/customersettle-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/customersettle-record-main/page`, params }) - } -} - -// 查询客户结算记录主详情 -export const getCustomersettleRecordMain = async (id: number) => { - return await request.get({ url: `/wms/customersettle-record-main/get?id=` + id }) -} - -// 新增客户结算记录主 -export const createCustomersettleRecordMain = async (data: CustomersettleRecordMainVO) => { - return await request.post({ url: `/wms/customersettle-record-main/create`, data }) -} - -// 修改客户结算记录主 -export const updateCustomersettleRecordMain = async (data: CustomersettleRecordMainVO) => { - return await request.put({ url: `/wms/customersettle-record-main/update`, data }) -} - -// 删除客户结算记录主 -export const deleteCustomersettleRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/customersettle-record-main/delete?id=` + id }) -} - -// 导出客户结算记录主 Excel -export const exportCustomersettleRecordMain = async (params) => { - return await request.download({ url: `/wms/customersettle-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/customersettle-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/customersettleRequestDetail/index.ts b/src/api/wms/customersettleRequestDetail/index.ts deleted file mode 100644 index 9877bd9..0000000 --- a/src/api/wms/customersettleRequestDetail/index.ts +++ /dev/null @@ -1,65 +0,0 @@ -import request from '@/config/axios' - -export interface CustomersettleRequestDetailVO { - soNumber: string - soLine: string - fromOwnerCode: string - packingNumber: string - batch: string - inventoryStatus: string - fromLocationCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string -} - -// 查询客户结算申请子列表 -export const getCustomersettleRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/customersettle-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/customersettle-request-detail/page`, params }) - } -} - -// 查询客户结算申请子详情 -export const getCustomersettleRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/customersettle-request-detail/get?id=` + id }) -} - -// 新增客户结算申请子 -export const createCustomersettleRequestDetail = async (data: CustomersettleRequestDetailVO) => { - return await request.post({ url: `/wms/customersettle-request-detail/create`, data }) -} - -// 修改客户结算申请子 -export const updateCustomersettleRequestDetail = async (data: CustomersettleRequestDetailVO) => { - return await request.put({ url: `/wms/customersettle-request-detail/update`, data }) -} - -// 删除客户结算申请子 -export const deleteCustomersettleRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/customersettle-request-detail/delete?id=` + id }) -} - -// 导出客户结算申请子 Excel -export const exportCustomersettleRequestDetail = async (params) => { - return await request.download({ url: `/wms/customersettle-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/customersettle-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/customersettleRequestMain/index.ts b/src/api/wms/customersettleRequestMain/index.ts deleted file mode 100644 index 5b9a042..0000000 --- a/src/api/wms/customersettleRequestMain/index.ts +++ /dev/null @@ -1,96 +0,0 @@ -import request from '@/config/axios' - -export interface CustomersettleRequestMainVO { - deliverRecordNumber: string - deliverPlanNumber: string - customerCode: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询客户结算申请主列表 -export const getCustomersettleRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/customersettle-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/customersettle-request-main/page`, params }) - } -} - -// 查询客户结算申请主详情 -export const getCustomersettleRequestMain = async (id: number) => { - return await request.get({ url: `/wms/customersettle-request-main/get?id=` + id }) -} - -// 新增客户结算申请主 -export const createCustomersettleRequestMain = async (data: CustomersettleRequestMainVO) => { - return await request.post({ url: `/wms/customersettle-request-main/create`, data }) -} - -// 修改客户结算申请主 -export const updateCustomersettleRequestMain = async (data: CustomersettleRequestMainVO) => { - return await request.put({ url: `/wms/customersettle-request-main/update`, data }) -} - -// 删除客户结算申请主 -export const deleteCustomersettleRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/customersettle-request-main/delete?id=` + id }) -} - -// 导出客户结算申请主 Excel -export const exportCustomersettleRequestMain = async (params) => { - return await request.download({ url: `/wms/customersettle-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/customersettle-request-main/get-import-template' }) -} - -// 关闭 -export const close = (id) => { - return request.put({ url: '/wms/customersettle-request-main/close?id=' + id }) -} - -// 重新添加 -export const reAdd = (id) => { - return request.put({ url: '/wms/customersettle-request-main/reAdd?id=' + id }) -} - -// 提交审批 -export const submit = (id) => { - return request.put({ url: '/wms/customersettle-request-main/submit?id=' + id }) -} - -// 驳回 -export const refused = (id) => { - return request.put({ url: '/wms/customersettle-request-main/refused?id=' + id }) -} - -// 审批通过 -export const agree = (id) => { - return request.put({ url: '/wms/customersettle-request-main/agree?id=' + id }) -} - -// 处理 -export const handle = (id) => { - return request.put({ url: '/wms/customersettle-request-main/handle?id=' + id }) -} \ No newline at end of file diff --git a/src/api/wms/deliverJobDetail/index.ts b/src/api/wms/deliverJobDetail/index.ts deleted file mode 100644 index 9e54e57..0000000 --- a/src/api/wms/deliverJobDetail/index.ts +++ /dev/null @@ -1,65 +0,0 @@ -import request from '@/config/axios' - -export interface DeliverJobDetailVO { - soNumber: string - soLine: string - packingNumber: string - batch: string - inventoryStatus: string - ownerCode: string - containerNumber: string - fromLocationCode: string - toLocationCode: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string -} - -// 查询发货任务子列表 -export const getDeliverJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/deliver-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/deliver-job-detail/page`, params }) - } -} - -// 查询发货任务子详情 -export const getDeliverJobDetail = async (id: number) => { - return await request.get({ url: `/wms/deliver-job-detail/get?id=` + id }) -} - -// 新增发货任务子 -export const createDeliverJobDetail = async (data: DeliverJobDetailVO) => { - return await request.post({ url: `/wms/deliver-job-detail/create`, data }) -} - -// 修改发货任务子 -export const updateDeliverJobDetail = async (data: DeliverJobDetailVO) => { - return await request.put({ url: `/wms/deliver-job-detail/update`, data }) -} - -// 删除发货任务子 -export const deleteDeliverJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/deliver-job-detail/delete?id=` + id }) -} - -// 导出发货任务子 Excel -export const exportDeliverJobDetail = async (params) => { - return await request.download({ url: `/wms/deliver-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/deliver-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/deliverJobMain/index.ts b/src/api/wms/deliverJobMain/index.ts deleted file mode 100644 index a539279..0000000 --- a/src/api/wms/deliverJobMain/index.ts +++ /dev/null @@ -1,115 +0,0 @@ -import request from '@/config/axios' - -export interface DeliverJobMainVO { - requestNumber: string - deliverPlanNumber: string - customerDeliverNumber: string - customerCode: string - customerDockCode: string - deliverDock: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - fromWarehouseCode: string - toWarehouseCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityincrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - ruleUserId: number - fromAreaCodes: string - toAreaCodes: string - fromDockCode: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询发货任务主列表 -export const getDeliverJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/deliver-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/deliver-job-main/page`, params }) - } -} - -// 查询发货任务主详情 -export const getDeliverJobMain = async (id: number) => { - return await request.get({ url: `/wms/deliver-job-main/get?id=` + id }) -} - -// 新增发货任务主 -export const createDeliverJobMain = async (data: DeliverJobMainVO) => { - return await request.post({ url: `/wms/deliver-job-main/create`, data }) -} - -// 修改发货任务主 -export const updateDeliverJobMain = async (data: DeliverJobMainVO) => { - return await request.put({ url: `/wms/deliver-job-main/update`, data }) -} - -// 删除发货任务主 -export const deleteDeliverJobMain = async (id: number) => { - return await request.delete({ url: `/wms/deliver-job-main/delete?id=` + id }) -} - -// 导出发货任务主 Excel -export const exportDeliverJobMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/deliver-job-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/deliver-job-main/export-excel`, params }) } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/deliver-job-main/get-import-template' }) -} - -// 承接发货任务 Excel -export const acceptDeliverJobMain = async (id) => { - return await request.put({ url: `/wms/deliver-job-main/accept?id=` + id }) -} - -// 取消承接发货任务 Excel -export const abandonDeliverJobMain = async (id) => { - return await request.put({ url: `/wms/deliver-job-main/abandon?id=` + id }) -} - -// 关闭发货任务主 Excel -export const closeDeliverJobMain = async (id) => { - return await request.put({ url: `/wms/deliver-job-main/close?id=` + id }) -} - -// 执行发货任务主 -export const executeDeliverJobMain = async (data: DeliverJobMainVO) => { - return await request.put({ url: `/wms/deliver-job-main/execute`, data }) -} \ No newline at end of file diff --git a/src/api/wms/deliverPlanDetail/index.ts b/src/api/wms/deliverPlanDetail/index.ts deleted file mode 100644 index 33aeffd..0000000 --- a/src/api/wms/deliverPlanDetail/index.ts +++ /dev/null @@ -1,53 +0,0 @@ -import request from '@/config/axios' - -export interface DeliverPlanDetailVO { - soNumber: string - soLine: string - customerDockCode: string - project: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - planQty: number - uom: string - updateTime: Date - updater: string - available: string -} - -// 查询发货计划子列表 -export const selectDetailByMasterID = async (id: number) => { - return await request.get({ url: `/wms/deliver-plan-detail/detailList?id=` + id }) -} - -// 查询发货计划子列表 -export const getDeliverPlanDetailPage = async (params) => { - return await request.get({ url: `/wms/deliver-plan-detail/page`, params }) -} - -// 查询发货计划子详情 -export const getDeliverPlanDetail = async (id: number) => { - return await request.get({ url: `/wms/deliver-plan-detail/get?id=` + id }) -} - -// 新增发货计划子 -export const createDeliverPlanDetail = async (data: DeliverPlanDetailVO) => { - return await request.post({ url: `/wms/deliver-plan-detail/create`, data }) -} - -// 修改发货计划子 -export const updateDeliverPlanDetail = async (data: DeliverPlanDetailVO) => { - return await request.put({ url: `/wms/deliver-plan-detail/update`, data }) -} - -// 删除发货计划子 -export const deleteDeliverPlanDetail = async (id: number) => { - return await request.delete({ url: `/wms/deliver-plan-detail/delete?id=` + id }) -} - -// 导出发货计划子 Excel -export const exportDeliverPlanDetail = async (params) => { - return await request.download({ url: `/wms/deliver-plan-detail/export-excel`, params }) -} diff --git a/src/api/wms/deliverPlanMain/index.ts b/src/api/wms/deliverPlanMain/index.ts deleted file mode 100644 index ea2a799..0000000 --- a/src/api/wms/deliverPlanMain/index.ts +++ /dev/null @@ -1,93 +0,0 @@ -import request from '@/config/axios' - -export interface DeliverPlanMainVO { - customerCode: string - planDate: Date - number: string - businessType: string - remark: string - createTime: Date - creator: string - beginTime: Date - endTime: Date - status: string - updateTime: Date - updater: string - available: string -} - -// 查询发货计划主列表 -export const getDeliverPlanMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/deliver-plan-main/senior', data }) - } else { - return await request.get({ url: `/wms/deliver-plan-main/page`, params }) - } -} - -// 查询发货计划主详情 -export const getDeliverPlanMain = async (id: number) => { - return await request.get({ url: `/wms/deliver-plan-main/get?id=` + id }) -} - -// 新增发货计划主 -export const createDeliverPlanMain = async (data: DeliverPlanMainVO) => { - return await request.post({ url: `/wms/deliver-plan-main/create`, data }) -} - -// 修改发货计划主 -export const updateDeliverPlanMain = async (data: DeliverPlanMainVO) => { - return await request.put({ url: `/wms/deliver-plan-main/update`, data }) -} - -// 删除发货计划主 -export const deleteDeliverPlanMain = async (id: number) => { - return await request.delete({ url: `/wms/deliver-plan-main/delete?id=` + id }) -} - -// 导出发货计划主 Excel -export const exportDeliverPlanMain = async (params) => { - return await request.download({ url: `/wms/deliver-plan-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/deliver-plan-main/get-import-template' }) -} - -// 关闭 -export const close = (id) => { - return request.put({ url: '/wms/deliver-plan-main/close?id=' + id }) -} - -// 提交审批 -export const submit = (id) => { - return request.put({ url: '/wms/deliver-plan-main/submit?id=' + id }) -} - -// 打开 -export const open = (id) => { - return request.put({ url: '/wms/deliver-plan-main/open?id=' + id }) -} - -// 驳回 -export const reject = (id) => { - return request.put({ url: '/wms/deliver-plan-main/reject?id=' + id }) -} - -// 通过 -export const agree = (id) => { - return request.put({ url: '/wms/deliver-plan-main/agree?id=' + id }) -} - -// 发布 -export const publish = (id) => { - return request.put({ url: '/wms/deliver-plan-main/publish?id=' + id }) -} - -// 重置 -export const resetting = (id) => { - return request.put({ url: '/wms/deliver-plan-main/resetting?id=' + id }) -} \ No newline at end of file diff --git a/src/api/wms/deliverRecordDetail/index.ts b/src/api/wms/deliverRecordDetail/index.ts deleted file mode 100644 index 2c6eaa2..0000000 --- a/src/api/wms/deliverRecordDetail/index.ts +++ /dev/null @@ -1,76 +0,0 @@ -import request from '@/config/axios' - -export interface DeliverRecordDetailVO { - soNumber: string - soLine: string - packingNumber: string - batch: string - inventoryStatus: string - fromOwnerCode: string - fromContainerNumber: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - toOwnerCode: string - toContainerNumber: string - toLocationCode: string - toLocationGroupCode: string - toAreaCode: string - singlePrice: number - amount: number - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - jobDetailId: string -} - -// 查询发货记录子列表 -export const getDeliverRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/deliver-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/deliver-record-detail/page`, params }) - } -} - -// 查询发货记录子详情 -export const getDeliverRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/deliver-record-detail/get?id=` + id }) -} - -// 新增发货记录子 -export const createDeliverRecordDetail = async (data: DeliverRecordDetailVO) => { - return await request.post({ url: `/wms/deliver-record-detail/create`, data }) -} - -// 修改发货记录子 -export const updateDeliverRecordDetail = async (data: DeliverRecordDetailVO) => { - return await request.put({ url: `/wms/deliver-record-detail/update`, data }) -} - -// 删除发货记录子 -export const deleteDeliverRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/deliver-record-detail/delete?id=` + id }) -} - -// 导出发货记录子 Excel -export const exportDeliverRecordDetail = async (params) => { - return await request.download({ url: `/wms/deliver-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/deliver-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/deliverRecordMain/index.ts b/src/api/wms/deliverRecordMain/index.ts deleted file mode 100644 index 52c36d0..0000000 --- a/src/api/wms/deliverRecordMain/index.ts +++ /dev/null @@ -1,76 +0,0 @@ -import request from '@/config/axios' - -export interface DeliverRecordMainVO { - requestNumber: string - jobNumber: string - deliverPlanNumber: string - customerDeliverNumber: string - customerCode: string - customerDockCode: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - fromWarehouseCode: string - toWarehouseCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - fromLocationTypes: string - fromAreaCodes: string - toLocationTypes: string - toAreaCodes: string - fromDockCode: string - available: string -} - -// 查询发货记录主列表 -export const getDeliverRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/deliver-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/deliver-record-main/page`, params }) - } -} - -// 查询发货记录主详情 -export const getDeliverRecordMain = async (id: number) => { - return await request.get({ url: `/wms/deliver-record-main/get?id=` + id }) -} - -// 新增发货记录主 -export const createDeliverRecordMain = async (data: DeliverRecordMainVO) => { - return await request.post({ url: `/wms/deliver-record-main/create`, data }) -} - -// 修改发货记录主 -export const updateDeliverRecordMain = async (data: DeliverRecordMainVO) => { - return await request.put({ url: `/wms/deliver-record-main/update`, data }) -} - -// 删除发货记录主 -export const deleteDeliverRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/deliver-record-main/delete?id=` + id }) -} - -// 导出发货记录主 Excel -export const exportDeliverRecordMain = async (params) => { - return await request.download({ url: `/wms/deliver-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/deliver-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/deliverRequestDetail/index.ts b/src/api/wms/deliverRequestDetail/index.ts deleted file mode 100644 index 2022ede..0000000 --- a/src/api/wms/deliverRequestDetail/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface DeliverRequestDetailVO { - soNumber: string - soLine: string - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - toOwnerCode: string - toLocationCode: string - number: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - itemCode: string - fromOwnerCode: string -} - -// 查询发货申请子列表 -export const getDeliverRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/deliver-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/deliver-request-detail/page`, params }) - } -} - -// 查询发货申请子详情 -export const getDeliverRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/deliver-request-detail/get?id=` + id }) -} - -// 新增发货申请子 -export const createDeliverRequestDetail = async (data: DeliverRequestDetailVO) => { - return await request.post({ url: `/wms/deliver-request-detail/create`, data }) -} - -// 修改发货申请子 -export const updateDeliverRequestDetail = async (data: DeliverRequestDetailVO) => { - return await request.put({ url: `/wms/deliver-request-detail/update`, data }) -} - -// 删除发货申请子 -export const deleteDeliverRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/deliver-request-detail/delete?id=` + id }) -} - -// 导出发货申请子 Excel -export const exportDeliverRequestDetail = async (params) => { - return await request.download({ url: `/wms/deliver-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/deliver-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/deliverRequestMain/index.ts b/src/api/wms/deliverRequestMain/index.ts deleted file mode 100644 index 47ae568..0000000 --- a/src/api/wms/deliverRequestMain/index.ts +++ /dev/null @@ -1,103 +0,0 @@ -import request from '@/config/axios' - -export interface DeliverRequestMainVO { - deliverPlanNumber: string - customerDeliverNumber: string - customerCode: string - customerDockCode: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - fromWarehouseCode: string - toWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - toLocationTypes: string - toAreaCodes: string - fromDockCode: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询发货申请主列表 -export const getDeliverRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/deliver-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/deliver-request-main/page`, params }) - } -} - -// 查询发货申请主详情 -export const getDeliverRequestMain = async (id: number) => { - return await request.get({ url: `/wms/deliver-request-main/get?id=` + id }) -} - -// 新增发货申请主 -export const createDeliverRequestMain = async (data: DeliverRequestMainVO) => { - return await request.post({ url: `/wms/deliver-request-main/create`, data }) -} - -// 修改发货申请主 -export const updateDeliverRequestMain = async (data: DeliverRequestMainVO) => { - return await request.put({ url: `/wms/deliver-request-main/update`, data }) -} - -// 删除发货申请主 -export const deleteDeliverRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/deliver-request-main/delete?id=` + id }) -} - -// 导出发货申请主 Excel -export const exportDeliverRequestMain = async (params) => { - return await request.download({ url: `/wms/deliver-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/deliver-request-main/get-import-template' }) -} -// 关闭 -export const close = (id) => { - return request.put({ url: '/wms/deliver-request-main/close?id=' + id }) -} - -// 重新添加 -export const reAdd = (id) => { - return request.put({ url: '/wms/deliver-request-main/reAdd?id=' + id }) -} - -// 提交审批 -export const submit = (id) => { - return request.put({ url: '/wms/deliver-request-main/submit?id=' + id }) -} - -// 驳回 -export const refused = (id) => { - return request.put({ url: '/wms/deliver-request-main/refused?id=' + id }) -} - -// 审批通过 -export const agree = (id) => { - return request.put({ url: '/wms/deliver-request-main/agree?id=' + id }) -} - -// 处理 -export const handle = (id) => { - return request.put({ url: '/wms/deliver-request-main/handle?id=' + id }) -} \ No newline at end of file diff --git a/src/api/wms/demandforecastingDetail/index.ts b/src/api/wms/demandforecastingDetail/index.ts deleted file mode 100644 index bfed743..0000000 --- a/src/api/wms/demandforecastingDetail/index.ts +++ /dev/null @@ -1,46 +0,0 @@ -import request from '@/config/axios' - -export interface DemandforecastingDetailVO { - predictTimeType: string - predictTime: Date - number: string - itemCode: string - remark: string - createTime: Date - creator: string - planQty: number - uom: string - updateTime: Date - updater: string - available: string -} - -// 查询要货预测子列表 -export const getDemandforecastingDetailPage = async (params) => { - return await request.get({ url: `/wms/demandforecasting-detail/page`, params }) -} - -// 查询要货预测子详情 -export const getDemandforecastingDetail = async (id: number) => { - return await request.get({ url: `/wms/demandforecasting-detail/get?id=` + id }) -} - -// 新增要货预测子 -export const createDemandforecastingDetail = async (data: DemandforecastingDetailVO) => { - return await request.post({ url: `/wms/demandforecasting-detail/create`, data }) -} - -// 修改要货预测子 -export const updateDemandforecastingDetail = async (data: DemandforecastingDetailVO) => { - return await request.put({ url: `/wms/demandforecasting-detail/update`, data }) -} - -// 删除要货预测子 -export const deleteDemandforecastingDetail = async (id: number) => { - return await request.delete({ url: `/wms/demandforecasting-detail/delete?id=` + id }) -} - -// 导出要货预测子 Excel -export const exportDemandforecastingDetail = async (params) => { - return await request.download({ url: `/wms/demandforecasting-detail/export-excel`, params }) -} diff --git a/src/api/wms/demandforecastingMain/index.ts b/src/api/wms/demandforecastingMain/index.ts deleted file mode 100644 index 16cda3e..0000000 --- a/src/api/wms/demandforecastingMain/index.ts +++ /dev/null @@ -1,59 +0,0 @@ -import request from '@/config/axios' - -export interface DemandforecastingMainVO { - supplierCode: string - version: string - publishTime: Date - number: string - businessType: string - remark: string - createTime: Date - creator: string - beginTime: Date - endTime: Date - status: string - updateTime: Date - updater: string - available: string -} - -// 查询要货预测主列表 -export const getDemandforecastingMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/demandforecasting-main/senior', data }) - } else { - return await request.get({ url: `/wms/demandforecasting-main/page`, params }) - } -} - -// 查询要货预测主详情 -export const getDemandforecastingMain = async (id: number) => { - return await request.get({ url: `/wms/demandforecasting-main/get?id=` + id }) -} - -// 新增要货预测主 -export const createDemandforecastingMain = async (data: DemandforecastingMainVO) => { - return await request.post({ url: `/wms/demandforecasting-main/create`, data }) -} - -// 修改要货预测主 -export const updateDemandforecastingMain = async (data: DemandforecastingMainVO) => { - return await request.put({ url: `/wms/demandforecasting-main/update`, data }) -} - -// 删除要货预测主 -export const deleteDemandforecastingMain = async (id: number) => { - return await request.delete({ url: `/wms/demandforecasting-main/delete?id=` + id }) -} - -// 导出要货预测主 Excel -export const exportDemandforecastingMain = async (params) => { - return await request.download({ url: `/wms/demandforecasting-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/demandforecasting-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/detail/index.ts b/src/api/wms/detail/index.ts deleted file mode 100644 index 9bf57f6..0000000 --- a/src/api/wms/detail/index.ts +++ /dev/null @@ -1,35 +0,0 @@ -import request from '@/config/axios' - - -// 查询备注列表 -export const getRemarkPage = async (params) => { - return await request.get({ url: `/infra/remark/list`, params }) -} - -// // 查询库区详情 -// export const getArea = async (id: number) => { -// return await request.get({ url: `/wms/areabasic/get?id=` + id }) -// } - -// 新增备注 -export const createRemark= async (data) => { - return await request.post({ url: `/infra/remark/create`, data }) -} -// 查询变更记录列表 -export const getChangeRecordPage = async (params) => { - return await request.get({ url: `/infra/trends/list`, params }) -} -// // 修改库区 -// export const updateArea = async (data: AreaVO) => { -// return await request.put({ url: `/wms/areabasic/update`, data }) -// } - -// // 删除库区 -// export const deleteArea = async (id: number) => { -// return await request.delete({ url: `/wms/areabasic/delete?id=` + id }) -// } - -// // 导出库区 Excel -// export const exportArea = async (params) => { -// return await request.download({ url: `/wms/areabasic/export-excel`, params }) -// } diff --git a/src/api/wms/dismantleRecordDetailb/index.ts b/src/api/wms/dismantleRecordDetailb/index.ts deleted file mode 100644 index e1aaa04..0000000 --- a/src/api/wms/dismantleRecordDetailb/index.ts +++ /dev/null @@ -1,66 +0,0 @@ -import request from '@/config/axios' - -export interface DismantleRecordDetailbVO { - processCode: string - bomVersion: string - batch: string - toLocationCode: string - toLocationGroupCode: string - toAreaCode: string - inventoryStatus: string - packingNumber: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - uom: string - code: string - interfaceType: string - jobDetailId: string -} - -// 查询制品拆解记录子列表 -export const getDismantleRecordDetailbPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/dismantle-record-detailb/senior', data }) - } else { - return await request.get({ url: `/wms/dismantle-record-detailb/page`, params }) - } -} - -// 查询制品拆解记录子详情 -export const getDismantleRecordDetailb = async (id: number) => { - return await request.get({ url: `/wms/dismantle-record-detailb/get?id=` + id }) -} - -// 新增制品拆解记录子 -export const createDismantleRecordDetailb = async (data: DismantleRecordDetailbVO) => { - return await request.post({ url: `/wms/dismantle-record-detailb/create`, data }) -} - -// 修改制品拆解记录子 -export const updateDismantleRecordDetailb = async (data: DismantleRecordDetailbVO) => { - return await request.put({ url: `/wms/dismantle-record-detailb/update`, data }) -} - -// 删除制品拆解记录子 -export const deleteDismantleRecordDetailb = async (id: number) => { - return await request.delete({ url: `/wms/dismantle-record-detailb/delete?id=` + id }) -} - -// 导出制品拆解记录子 Excel -export const exportDismantleRecordDetailb = async (params) => { - return await request.download({ url: `/wms/dismantle-record-detailb/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/dismantle-record-detailb/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/dismantleRequestDetailb/index.ts b/src/api/wms/dismantleRequestDetailb/index.ts deleted file mode 100644 index 4603fb3..0000000 --- a/src/api/wms/dismantleRequestDetailb/index.ts +++ /dev/null @@ -1,61 +0,0 @@ -import request from '@/config/axios' - -export interface DismantleRequestDetailbVO { - processCode: string - bomVersion: string - itemCode: string - number: string - remark: string - createTime: Date - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - creator: string - siteId: string -} - -// 查询制品拆解申请子列表 -export const getDismantleRequestDetailbPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/dismantle-request-detailb/senior', data }) - } else { - return await request.get({ url: `/wms/dismantle-request-detailb/page`, params }) - } -} - -// 查询制品拆解申请子详情 -export const getDismantleRequestDetailb = async (id: number) => { - return await request.get({ url: `/wms/dismantle-request-detailb/get?id=` + id }) -} - -// 新增制品拆解申请子 -export const createDismantleRequestDetailb = async (data: DismantleRequestDetailbVO) => { - return await request.post({ url: `/wms/dismantle-request-detailb/create`, data }) -} - -// 修改制品拆解申请子 -export const updateDismantleRequestDetailb = async (id, data) => { - return await request.post({ url: `/wms/dismantle-request-detailb/update?id=`+id, data }) -} - -// 删除制品拆解申请子 -export const deleteDismantleRequestDetailb = async (id: number) => { - return await request.delete({ url: `/wms/dismantle-request-detailb/delete?id=` + id }) -} - -// 导出制品拆解申请子 Excel -export const exportDismantleRequestDetailb = async (params) => { - return await request.download({ url: `/wms/dismantle-request-detailb/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/dismantle-request-detailb/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/dock/index.ts b/src/api/wms/dock/index.ts deleted file mode 100644 index ece07e8..0000000 --- a/src/api/wms/dock/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface DockVO { - code: string - name: string - description: string - city: string - address: string - type: string - warehouseCode: string - defaultLocationCode: string - contactPerson: string - contactPhone: string - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询月台列表 -export const getDockPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/dock/senior', data }) - } else { - return await request.get({ url: `/wms/dock/page`, params }) - } -} -// 查询月台列表 -export const getDockList = async (params) => { - return await request.get({ url: `/wms/dock/list`, params }) -} -// 查询月台详情 -export const getDock = async (id: number) => { - return await request.get({ url: `/wms/dock/get?id=` + id }) -} - -// 新增月台 -export const createDock = async (data: DockVO) => { - return await request.post({ url: `/wms/dock/create`, data }) -} - -// 修改月台 -export const updateDock = async (data: DockVO) => { - return await request.put({ url: `/wms/dock/update`, data }) -} - -// 删除月台 -export const deleteDock = async (id: number) => { - return await request.delete({ url: `/wms/dock/delete?id=` + id }) -} - -// 导出月台 Excel -export const exportDock = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/dock/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/dock/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/dock/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/documentsetting/index.ts b/src/api/wms/documentsetting/index.ts deleted file mode 100644 index 6d9dc6b..0000000 --- a/src/api/wms/documentsetting/index.ts +++ /dev/null @@ -1,60 +0,0 @@ -import request from '@/config/axios' - -export interface DocumentsettingVO { - code: string - name: string - description: string - type: string - businessType: string - numberPrefix: string - dateFormat: string - serialLength: number - separatorStr: string - resetPeriod: string - activeTime: Date - expireTime: Date - remark: string - available: string - isSoftDeleted: string -} - -// 查询单据设置列表 -export const getDocumentsettingPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/documentsetting/senior', data }) - } else { - return await request.get({ url: `/wms/documentsetting/page`, params }) - } -} - -// 查询单据设置详情 -export const getDocumentsetting = async (id: number) => { - return await request.get({ url: `/wms/documentsetting/get?id=` + id }) -} - -// 新增单据设置 -export const createDocumentsetting = async (data: DocumentsettingVO) => { - return await request.post({ url: `/wms/documentsetting/create`, data }) -} - -// 修改单据设置 -export const updateDocumentsetting = async (data: DocumentsettingVO) => { - return await request.put({ url: `/wms/documentsetting/update`, data }) -} - -// 删除单据设置 -export const deleteDocumentsetting = async (id: number) => { - return await request.delete({ url: `/wms/documentsetting/delete?id=` + id }) -} - -// 导出单据设置 Excel -export const exportDocumentsetting = async (params) => { - return await request.download({ url: `/wms/documentsetting/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/documentsetting/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/enterprise/index.ts b/src/api/wms/enterprise/index.ts deleted file mode 100644 index 87cf0ff..0000000 --- a/src/api/wms/enterprise/index.ts +++ /dev/null @@ -1,64 +0,0 @@ -import request from '@/config/axios' - -export interface EnterpriseVO { - id: number - code: string - name: string - shortName: string - address: string - available: string - activeTime: Date - expireTime: Date - remark: string - deletionTime: Date - deleterId: string - extraProperties: string - concurrencyStamp: string - siteId: string -} - -// 查询企业列表 -export const getEnterprisePage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/enterprise/senior', data }) - } else { - return await request.get({ url: `/wms/enterprise/page`, params }) - } -} - -// 查询企业详情 -export const getEnterprise = async (id: number) => { - return await request.get({ url: `/wms/enterprise/get?id=` + id }) -} - -// 新增企业 -export const createEnterprise = async (data: EnterpriseVO) => { - return await request.post({ url: `/wms/enterprise/create`, data }) -} - -// 修改企业 -export const updateEnterprise = async (data: EnterpriseVO) => { - return await request.put({ url: `/wms/enterprise/update`, data }) -} - -// 删除企业 -export const deleteEnterprise = async (id: number) => { - return await request.delete({ url: `/wms/enterprise/delete?id=` + id }) -} - -// 导出企业 Excel -export const exportEnterprise = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/enterprise/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/enterprise/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/enterprise/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/expectin/index.ts b/src/api/wms/expectin/index.ts deleted file mode 100644 index 2c4d729..0000000 --- a/src/api/wms/expectin/index.ts +++ /dev/null @@ -1,55 +0,0 @@ -import request from '@/config/axios' - -export interface ExpectinVO { - jobNumber: string - businessType: string - itemCode: string - batch: string - inventoryStatus: string - uom: string - qty: number - locationCode: string - warehouseCode: string - ownerCode: string -} - -// 查询预计入库存列表 -export const getExpectinPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/expectin/senior', data }) - } else { - return await request.get({ url: `/wms/expectin/page`, params }) - } -} - -// 查询预计入库存详情 -export const getExpectin = async (id: number) => { - return await request.get({ url: `/wms/expectin/get?id=` + id }) -} - -// 新增预计入库存 -export const createExpectin = async (data: ExpectinVO) => { - return await request.post({ url: `/wms/expectin/create`, data }) -} - -// 修改预计入库存 -export const updateExpectin = async (data: ExpectinVO) => { - return await request.put({ url: `/wms/expectin/update`, data }) -} - -// 删除预计入库存 -export const deleteExpectin = async (id: number) => { - return await request.delete({ url: `/wms/expectin/delete?id=` + id }) -} - -// 导出预计入库存 Excel -export const exportExpectin = async (params) => { - return await request.download({ url: `/wms/expectin/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/expectin/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/expectout/index.ts b/src/api/wms/expectout/index.ts deleted file mode 100644 index 0ebab0b..0000000 --- a/src/api/wms/expectout/index.ts +++ /dev/null @@ -1,56 +0,0 @@ -import request from '@/config/axios' - -export interface ExpectoutVO { - jobNumber: string - businessType: string - packingNumber: string - itemCode: string - batch: string - inventoryStatus: string - uom: string - qty: number - locationCode: string - warehouseCode: string - ownerCode: string -} - -// 查询预计出库存列表 -export const getExpectoutPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/expectout/senior', data }) - } else { - return await request.get({ url: `/wms/expectout/page`, params }) - } -} - -// 查询预计出库存详情 -export const getExpectout = async (id: number) => { - return await request.get({ url: `/wms/expectout/get?id=` + id }) -} - -// 新增预计出库存 -export const createExpectout = async (data: ExpectoutVO) => { - return await request.post({ url: `/wms/expectout/create`, data }) -} - -// 修改预计出库存 -export const updateExpectout = async (data: ExpectoutVO) => { - return await request.put({ url: `/wms/expectout/update`, data }) -} - -// 删除预计出库存 -export const deleteExpectout = async (id: number) => { - return await request.delete({ url: `/wms/expectout/delete?id=` + id }) -} - -// 导出预计出库存 Excel -export const exportExpectout = async (params) => { - return await request.download({ url: `/wms/expectout/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/expectout/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/file/index.ts b/src/api/wms/file/index.ts deleted file mode 100644 index f817181..0000000 --- a/src/api/wms/file/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -import request from '@/config/axios' - -// 查询变更记录列表 -export const getFileList = async (params) => { - return await request.get({ url: `/infra/file/list`, params }) -} - -// 删除库区 -export const deleteFile = async (id: number) => { - return await request.delete({ url: `/infra/file/delete?id=` + id }) -} - diff --git a/src/api/wms/index.ts b/src/api/wms/index.ts deleted file mode 100644 index e69de29..0000000 diff --git a/src/api/wms/inspectJobDetail/index.ts b/src/api/wms/inspectJobDetail/index.ts deleted file mode 100644 index 64fcb32..0000000 --- a/src/api/wms/inspectJobDetail/index.ts +++ /dev/null @@ -1,60 +0,0 @@ -import request from '@/config/axios' - -export interface InspectJobDetailVO { - packingNumber: string - containerNumber: string - inventoryStatus: string - fromLocationCode: string - number: string - remark: string - createTime: Date - creator: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string -} - -// 查询检验任务子列表 -export const getInspectJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inspect-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/inspect-job-detail/page`, params }) - } -} - -// 查询检验任务子详情 -export const getInspectJobDetail = async (id: number) => { - return await request.get({ url: `/wms/inspect-job-detail/get?id=` + id }) -} - -// 新增检验任务子 -export const createInspectJobDetail = async (data: InspectJobDetailVO) => { - return await request.post({ url: `/wms/inspect-job-detail/create`, data }) -} - -// 修改检验任务子 -export const updateInspectJobDetail = async (data: InspectJobDetailVO) => { - return await request.put({ url: `/wms/inspect-job-detail/update`, data }) -} - -// 删除检验任务子 -export const deleteInspectJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/inspect-job-detail/delete?id=` + id }) -} - -// 导出检验任务子 Excel -export const exportInspectJobDetail = async (params) => { - return await request.download({ url: `/wms/inspect-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inspect-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/inspectJobMain/index.ts b/src/api/wms/inspectJobMain/index.ts deleted file mode 100644 index 03bf0b7..0000000 --- a/src/api/wms/inspectJobMain/index.ts +++ /dev/null @@ -1,96 +0,0 @@ -import request from '@/config/axios' - -export interface InspectJobMainVO { - requestNumber: string - purchaseReceiptRecordNumber: string - supplierCode: string - warehouseCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - poUmber: string - poLine: string - batch: string - itemCode: string - inspectType: string - nextAction: string - sampleMethod: string - uom: string - receiveQty: number - sampleQty: number - owner: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询检验任务主列表 -export const getInspectJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inspect-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/inspect-job-main/page`, params }) - } -} - -// 查询检验任务主详情 -export const getInspectJobMain = async (id: number) => { - return await request.get({ url: `/wms/inspect-job-main/get?id=` + id }) -} - -// 新增检验任务主 -export const createInspectJobMain = async (data: InspectJobMainVO) => { - return await request.post({ url: `/wms/inspect-job-main/create`, data }) -} - -// 修改检验任务主 -export const updateInspectJobMain = async (data: InspectJobMainVO) => { - return await request.put({ url: `/wms/inspect-job-main/update`, data }) -} - -// 删除检验任务主 -export const deleteInspectJobMain = async (id: number) => { - return await request.delete({ url: `/wms/inspect-job-main/delete?id=` + id }) -} - -// 导出检验任务主 Excel -export const exportInspectJobMain = async (params) => { - return await request.download({ url: `/wms/inspect-job-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inspect-job-main/get-import-template' }) -} - -// 关闭检验任务主 -export const closeInspectJobMain = (id: number) => { - return request.put({ url: '/wms/inspect-job-main/close?id=' + id }) -} diff --git a/src/api/wms/inspectRecordDetail/index.ts b/src/api/wms/inspectRecordDetail/index.ts deleted file mode 100644 index 5bda866..0000000 --- a/src/api/wms/inspectRecordDetail/index.ts +++ /dev/null @@ -1,76 +0,0 @@ -import request from '@/config/axios' - -export interface InspectRecordDetailVO { - packingNumber: string - containerNumber: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - sampleQty: number - goodQty: number - failedQty: number - crackQty: number - notPassedQty: number - failedReason: string - photos: string - inspectUser: string - inspectResult: string - appearance: string - volume: string - weight: string - otherProperties: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - uom: string - code: string - interfaceType: string - jobDetailId: string -} - -// 查询检验记录子列表 -export const getInspectRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inspect-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/inspect-record-detail/page`, params }) - } -} - -// 查询检验记录子详情 -export const getInspectRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/inspect-record-detail/get?id=` + id }) -} - -// 新增检验记录子 -export const createInspectRecordDetail = async (data: InspectRecordDetailVO) => { - return await request.post({ url: `/wms/inspect-record-detail/create`, data }) -} - -// 修改检验记录子 -export const updateInspectRecordDetail = async (data: InspectRecordDetailVO) => { - return await request.put({ url: `/wms/inspect-record-detail/update`, data }) -} - -// 删除检验记录子 -export const deleteInspectRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/inspect-record-detail/delete?id=` + id }) -} - -// 导出检验记录子 Excel -export const exportInspectRecordDetail = async (params) => { - return await request.download({ url: `/wms/inspect-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inspect-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/inspectRecordMain/index.ts b/src/api/wms/inspectRecordMain/index.ts deleted file mode 100644 index 2e1d233..0000000 --- a/src/api/wms/inspectRecordMain/index.ts +++ /dev/null @@ -1,82 +0,0 @@ -import request from '@/config/axios' - -export interface InspectRecordMainVO { - requestNumber: string - jobNumber: string - purchaseReceiptRecordNumber: string - supplierCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - poNumber: string - poLine: string - batch: string - inspectType: string - nextAction: string - sampleMethod: string - uom: string - receiveQty: number - batchGoodQty: number - batchFaildQty: number - batchCrackQty: number - batchNotPassedQty: number - itemCode: string - fromWarehouseCode: string - fromAreaCodes: string - ownerCode: string - available: string - sampleQty: number - fromLocationTypes: string -} - -// 查询检验记录主列表 -export const getInspectRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inspect-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/inspect-record-main/page`, params }) - } -} - -// 查询检验记录主详情 -export const getInspectRecordMain = async (id: number) => { - return await request.get({ url: `/wms/inspect-record-main/get?id=` + id }) -} - -// 新增检验记录主 -export const createInspectRecordMain = async (data: InspectRecordMainVO) => { - return await request.post({ url: `/wms/inspect-record-main/create`, data }) -} - -// 修改检验记录主 -export const updateInspectRecordMain = async (data: InspectRecordMainVO) => { - return await request.put({ url: `/wms/inspect-record-main/update`, data }) -} - -// 删除检验记录主 -export const deleteInspectRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/inspect-record-main/delete?id=` + id }) -} - -// 导出检验记录主 Excel -export const exportInspectRecordMain = async (params) => { - return await request.download({ url: `/wms/inspect-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inspect-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/inspectRequestDetail/index.ts b/src/api/wms/inspectRequestDetail/index.ts deleted file mode 100644 index d3a1a0f..0000000 --- a/src/api/wms/inspectRequestDetail/index.ts +++ /dev/null @@ -1,58 +0,0 @@ -import request from '@/config/axios' - -export interface InspectRequestDetailVO { - packingNumber: string - containerNumber: string - inventoryStatus: string - fromLocationCode: string - updateTime: Date - updater: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string -} - -// 查询检验申请子列表 -export const getInspectRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inspect-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/inspect-request-detail/page`, params }) - } -} - -// 查询检验申请子详情 -export const getInspectRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/inspect-request-detail/get?id=` + id }) -} - -// 新增检验申请子 -export const createInspectRequestDetail = async (data: InspectRequestDetailVO) => { - return await request.post({ url: `/wms/inspect-request-detail/create`, data }) -} - -// 修改检验申请子 -export const updateInspectRequestDetail = async (data: InspectRequestDetailVO) => { - return await request.put({ url: `/wms/inspect-request-detail/update`, data }) -} - -// 删除检验申请子 -export const deleteInspectRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/inspect-request-detail/delete?id=` + id }) -} - -// 导出检验申请子 Excel -export const exportInspectRequestDetail = async (params) => { - return await request.download({ url: `/wms/inspect-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inspect-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/inspectRequestMain/index.ts b/src/api/wms/inspectRequestMain/index.ts deleted file mode 100644 index d9b833a..0000000 --- a/src/api/wms/inspectRequestMain/index.ts +++ /dev/null @@ -1,106 +0,0 @@ -import request from '@/config/axios' - -export interface InspectRequestMainVO { - purchaseReceiptRecordNumber: string - supplierCode: string - number: string - businessType: string - fromWarehouseCode: string - fromAreaCodes: string - fromLocationTypes: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - poNumber: string - poLine: string - batch: string - itemCode: string - inspectType: string - nextAction: string - sampleMethod: string - uom: string - receiveQty: number - sampleQty: number - ownerCode: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询检验申请主列表 -export const getInspectRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inspect-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/inspect-request-main/page`, params }) - } -} - -// 查询检验申请主详情 -export const getInspectRequestMain = async (id: number) => { - return await request.get({ url: `/wms/inspect-request-main/get?id=` + id }) -} - -// 新增检验申请主 -export const createInspectRequestMain = async (data: InspectRequestMainVO) => { - return await request.post({ url: `/wms/inspect-request-main/create`, data }) -} - -// 修改检验申请主 -export const updateInspectRequestMain = async (data: InspectRequestMainVO) => { - return await request.put({ url: `/wms/inspect-request-main/update`, data }) -} - -// 删除检验申请主 -export const deleteInspectRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/inspect-request-main/delete?id=` + id }) -} - -// 导出检验申请主 Excel -export const exportInspectRequestMain = async (params) => { - return await request.download({ url: `/wms/inspect-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inspect-request-main/get-import-template' }) -} - -// 关闭检验申请主 Excel -export const closeInspectRequestMain = async (id) => { - return await request.put({ url: `/wms/inspect-request-main/close?id=` + id }) -} - -// 重新添加检验申请主 Excel -export const reAddInspectRequestMain = async (id) => { - return await request.put({ url: `/wms/inspect-request-main/reAdd?id=` + id }) -} - -// 提交检验申请主 Excel -export const submitInspectRequestMain = async (id) => { - return await request.put({ url: `/wms/inspect-request-main/submit?id=` + id }) -} - -// 审批通过检验申请主 Excel -export const agreeInspectRequestMain = async (id) => { - return await request.put({ url: `/wms/inspect-request-main/agree?id=` + id }) -} - -// 审批驳回检验申请主 Excel -export const refusedInspectRequestMain = async (id) => { - return await request.put({ url: `/wms/inspect-request-main/refused?id=` + id }) -} - -// 处理检验申请主 Excel -export const handleInspectRequestMain = async (id) => { - return await request.put({ url: `/wms/inspect-request-main/handle?id=` + id }) -} diff --git a/src/api/wms/inventorychangeRecordDetail/index.ts b/src/api/wms/inventorychangeRecordDetail/index.ts deleted file mode 100644 index 3c68f04..0000000 --- a/src/api/wms/inventorychangeRecordDetail/index.ts +++ /dev/null @@ -1,82 +0,0 @@ -import request from '@/config/axios' - -export interface InventorychangeRecordDetailVO { - locationCode: string - locationGroupCode: string - areaCode: string - fromQty: number - fromOwnerCode: string - fromPackingNumber: string - fromContainerNumber: string - fromBatch: string - fromAltBatch: string - fromArriveDate: Date - fromProduceDate: Date - fromExpireDate: Date - fromInventoryStatus: string - toQty: number - toOwnerCode: string - toPackingNumber: string - toContainerNumber: string - toBatch: string - toAltBatch: string - toArriveDate: Date - toProduceDate: Date - toExpireDate: Date - toInventoryStatus: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - jobDetailId: string -} - -// 查询库存修改记录子列表 -export const getInventorychangeRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inventorychange-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/inventorychange-record-detail/page`, params }) - } -} - -// 查询库存修改记录子详情 -export const getInventorychangeRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/inventorychange-record-detail/get?id=` + id }) -} - -// 新增库存修改记录子 -export const createInventorychangeRecordDetail = async (data: InventorychangeRecordDetailVO) => { - return await request.post({ url: `/wms/inventorychange-record-detail/create`, data }) -} - -// 修改库存修改记录子 -export const updateInventorychangeRecordDetail = async (data: InventorychangeRecordDetailVO) => { - return await request.put({ url: `/wms/inventorychange-record-detail/update`, data }) -} - -// 删除库存修改记录子 -export const deleteInventorychangeRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/inventorychange-record-detail/delete?id=` + id }) -} - -// 导出库存修改记录子 Excel -export const exportInventorychangeRecordDetail = async (params) => { - return await request.download({ url: `/wms/inventorychange-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inventorychange-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/inventorychangeRecordMain/index.ts b/src/api/wms/inventorychangeRecordMain/index.ts deleted file mode 100644 index 407132f..0000000 --- a/src/api/wms/inventorychangeRecordMain/index.ts +++ /dev/null @@ -1,62 +0,0 @@ -import request from '@/config/axios' - -export interface InventorychangeRecordMainVO { - requestNumber: string - warehouseCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - code: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - available: string -} - -// 查询库存修改记录主列表 -export const getInventorychangeRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inventorychange-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/inventorychange-record-main/page`, params }) - } -} - -// 查询库存修改记录主详情 -export const getInventorychangeRecordMain = async (id: number) => { - return await request.get({ url: `/wms/inventorychange-record-main/get?id=` + id }) -} - -// 新增库存修改记录主 -export const createInventorychangeRecordMain = async (data: InventorychangeRecordMainVO) => { - return await request.post({ url: `/wms/inventorychange-record-main/create`, data }) -} - -// 修改库存修改记录主 -export const updateInventorychangeRecordMain = async (data: InventorychangeRecordMainVO) => { - return await request.put({ url: `/wms/inventorychange-record-main/update`, data }) -} - -// 删除库存修改记录主 -export const deleteInventorychangeRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/inventorychange-record-main/delete?id=` + id }) -} - -// 导出库存修改记录主 Excel -export const exportInventorychangeRecordMain = async (params) => { - return await request.download({ url: `/wms/inventorychange-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inventorychange-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/inventorychangeRequestDetail/index.ts b/src/api/wms/inventorychangeRequestDetail/index.ts deleted file mode 100644 index 3a36cad..0000000 --- a/src/api/wms/inventorychangeRequestDetail/index.ts +++ /dev/null @@ -1,81 +0,0 @@ -import request from '@/config/axios' - -export interface InventorychangeRequestDetailVO { - locationGroupCode: string - locationCode: string - areaCode: string - fromQty: number - fromOwnerCode: string - fromPackingNumber: string - fromContainerNumber: string - fromBatch: string - fromAltbatch: string - fromArriveDate: Date - fromProduceDate: Date - fromExpireDate: Date - frominventoryStatus: string - toQty: number - toOwnerCode: string - toPackingNumber: string - toContainerNumber: string - toBatch: string - toAltBatch: string - toArrivdAte: Date - toProduceDate: Date - toExpireDate: Date - toInventoryStatus: string - number: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - itemCode: string -} - -// 查询库存修改申请子列表 -export const getInventorychangeRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inventorychange-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/inventorychange-request-detail/page`, params }) - } -} - -// 查询库存修改申请子详情 -export const getInventorychangeRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/inventorychange-request-detail/get?id=` + id }) -} - -// 新增库存修改申请子 -export const createInventorychangeRequestDetail = async (data: InventorychangeRequestDetailVO) => { - return await request.post({ url: `/wms/inventorychange-request-detail/create`, data }) -} - -// 修改库存修改申请子 -export const updateInventorychangeRequestDetail = async (data: InventorychangeRequestDetailVO) => { - return await request.put({ url: `/wms/inventorychange-request-detail/update`, data }) -} - -// 删除库存修改申请子 -export const deleteInventorychangeRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/inventorychange-request-detail/delete?id=` + id }) -} - -// 导出库存修改申请子 Excel -export const exportInventorychangeRequestDetail = async (params) => { - return await request.download({ url: `/wms/inventorychange-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inventorychange-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/inventorychangeRequestMain/index.ts b/src/api/wms/inventorychangeRequestMain/index.ts deleted file mode 100644 index a046201..0000000 --- a/src/api/wms/inventorychangeRequestMain/index.ts +++ /dev/null @@ -1,91 +0,0 @@ -import request from '@/config/axios' - -export interface InventorychangeRequestMainVO { - warehouseCode: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询库存修改申请主列表 -export const getInventorychangeRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inventorychange-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/inventorychange-request-main/page`, params }) - } -} - -// 查询库存修改申请主详情 -export const getInventorychangeRequestMain = async (id: number) => { - return await request.get({ url: `/wms/inventorychange-request-main/get?id=` + id }) -} - -// 新增库存修改申请主 -export const createInventorychangeRequestMain = async (data: InventorychangeRequestMainVO) => { - return await request.post({ url: `/wms/inventorychange-request-main/create`, data }) -} - -// 修改库存修改申请主 -export const updateInventorychangeRequestMain = async (data: InventorychangeRequestMainVO) => { - return await request.put({ url: `/wms/inventorychange-request-main/update`, data }) -} - -// 删除库存修改申请主 -export const deleteInventorychangeRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/inventorychange-request-main/delete?id=` + id }) -} - -// 导出库存修改申请主 Excel -export const exportInventorychangeRequestMain = async (params) => { - return await request.download({ url: `/wms/inventorychange-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inventorychange-request-main/get-import-template' }) -} - -// 关闭 -export const close = (id) => { - return request.put({ url: '/wms/inventorychange-request-main/close?id=' + id }) -} - -// 重新添加 -export const reAdd = (id) => { - return request.put({ url: '/wms/inventorychange-request-main/reAdd?id=' + id }) -} - -// 提交审批 -export const submit = (id) => { - return request.put({ url: '/wms/inventorychange-request-main/submit?id=' + id }) -} - -// 驳回 -export const refused = (id) => { - return request.put({ url: '/wms/inventorychange-request-main/refused?id=' + id }) -} - -// 审批通过 -export const agree = (id) => { - return request.put({ url: '/wms/inventorychange-request-main/agree?id=' + id }) -} - -// 处理 -export const handle = (id) => { - return request.put({ url: '/wms/inventorychange-request-main/handle?id=' + id }) -} \ No newline at end of file diff --git a/src/api/wms/inventoryinitRecordDetail/index.ts b/src/api/wms/inventoryinitRecordDetail/index.ts deleted file mode 100644 index 5d16c26..0000000 --- a/src/api/wms/inventoryinitRecordDetail/index.ts +++ /dev/null @@ -1,75 +0,0 @@ -import request from '@/config/axios' - -export interface InventoryinitRecordDetailVO { - ownerCode: string - packingNumber: string - containerNumber: string - batch: string - altBatch: string - arriveDate: Date - produceDate: Date - expireDate: Date - inventoryStatus: string - locationCode: string - locationGroupCode: string - areaCode: string - stdPackQty: number - stdPackUnit: string - qty: number - singlePrice: number - amount: number - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - uom: string - code: string - interfaceType: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - jobDetailId: string -} - -// 查询库存初始化记录子列表 -export const getInventoryinitRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inventoryinit-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/inventoryinit-record-detail/page`, params }) - } -} - -// 查询库存初始化记录子详情 -export const getInventoryinitRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/inventoryinit-record-detail/get?id=` + id }) -} - -// 新增库存初始化记录子 -export const createInventoryinitRecordDetail = async (data: InventoryinitRecordDetailVO) => { - return await request.post({ url: `/wms/inventoryinit-record-detail/create`, data }) -} - -// 修改库存初始化记录子 -export const updateInventoryinitRecordDetail = async (data: InventoryinitRecordDetailVO) => { - return await request.put({ url: `/wms/inventoryinit-record-detail/update`, data }) -} - -// 删除库存初始化记录子 -export const deleteInventoryinitRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/inventoryinit-record-detail/delete?id=` + id }) -} - -// 导出库存初始化记录子 Excel -export const exportInventoryinitRecordDetail = async (params) => { - return await request.download({ url: `/wms/inventoryinit-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inventoryinit-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/inventoryinitRecordMain/index.ts b/src/api/wms/inventoryinitRecordMain/index.ts deleted file mode 100644 index 173941d..0000000 --- a/src/api/wms/inventoryinitRecordMain/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface InventoryinitRecordMainVO { - requestNumber: string - warehouseCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - code: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - available: string -} - -// 查询库存初始化记录主列表 -export const getInventoryinitRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inventoryinit-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/inventoryinit-record-main/page`, params }) - } -} - -// 查询库存初始化记录主详情 -export const getInventoryinitRecordMain = async (id: number) => { - return await request.get({ url: `/wms/inventoryinit-record-main/get?id=` + id }) -} - -// 新增库存初始化记录主 -export const createInventoryinitRecordMain = async (data: InventoryinitRecordMainVO) => { - return await request.post({ url: `/wms/inventoryinit-record-main/create`, data }) -} - -// 修改库存初始化记录主 -export const updateInventoryinitRecordMain = async (data: InventoryinitRecordMainVO) => { - return await request.put({ url: `/wms/inventoryinit-record-main/update`, data }) -} - -// 删除库存初始化记录主 -export const deleteInventoryinitRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/inventoryinit-record-main/delete?id=` + id }) -} - -// 导出库存初始化记录主 Excel -export const exportInventoryinitRecordMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/inventoryinit-record-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/inventoryinit-record-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inventoryinit-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/inventoryinitRequestDetail/index.ts b/src/api/wms/inventoryinitRequestDetail/index.ts deleted file mode 100644 index 70a7d11..0000000 --- a/src/api/wms/inventoryinitRequestDetail/index.ts +++ /dev/null @@ -1,72 +0,0 @@ -import request from '@/config/axios' - -export interface InventoryinitRequestDetailVO { - ownerCode: string - packingNumber: string - containerNumber: string - batch: string - altBatch: string - arriveDate: Date - produceDate: Date - expireDate: Date - inventoryStatus: string - locationCode: string - locationGroupCode: string - areaCode: string - stdPackQty: number - stdPackUnit: string - qty: number - number: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - uom: string - updateTime: Date - updater: string - itemCode: string -} - -// 查询库存初始化申请子列表 -export const getInventoryinitRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inventoryinit-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/inventoryinit-request-detail/page`, params }) - } -} - -// 查询库存初始化申请子详情 -export const getInventoryinitRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/inventoryinit-request-detail/get?id=` + id }) -} - -// 新增库存初始化申请子 -export const createInventoryinitRequestDetail = async (data: InventoryinitRequestDetailVO) => { - return await request.post({ url: `/wms/inventoryinit-request-detail/create`, data }) -} - -// 修改库存初始化申请子 -export const updateInventoryinitRequestDetail = async (data: InventoryinitRequestDetailVO) => { - return await request.put({ url: `/wms/inventoryinit-request-detail/update`, data }) -} - -// 删除库存初始化申请子 -export const deleteInventoryinitRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/inventoryinit-request-detail/delete?id=` + id }) -} - -// 导出库存初始化申请子 Excel -export const exportInventoryinitRequestDetail = async (params) => { - return await request.download({ url: `/wms/inventoryinit-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inventoryinit-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/inventoryinitRequestMain/index.ts b/src/api/wms/inventoryinitRequestMain/index.ts deleted file mode 100644 index 1cab338..0000000 --- a/src/api/wms/inventoryinitRequestMain/index.ts +++ /dev/null @@ -1,94 +0,0 @@ -import request from '@/config/axios' - -export interface InventoryinitRequestMainVO { - warehouseCode: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询库存初始化申请主列表 -export const getInventoryinitRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inventoryinit-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/inventoryinit-request-main/page`, params }) - } -} - -// 查询库存初始化申请主详情 -export const getInventoryinitRequestMain = async (id: number) => { - return await request.get({ url: `/wms/inventoryinit-request-main/get?id=` + id }) -} - -// 新增库存初始化申请主 -export const createInventoryinitRequestMain = async (data: InventoryinitRequestMainVO) => { - return await request.post({ url: `/wms/inventoryinit-request-main/create`, data }) -} - -// 修改库存初始化申请主 -export const updateInventoryinitRequestMain = async (data: InventoryinitRequestMainVO) => { - return await request.put({ url: `/wms/inventoryinit-request-main/update`, data }) -} -// 关闭库存初始化申请主 Excel -export const closeInventoryinitRequestMain = async (id) => { - return await request.put({ url: `/wms/inventoryinit-request-main/close?id=` + id }) -} -// 重新添加库存初始化申请主 Excel -export const reAddInventoryinitRequestMain = async (id) => { - return await request.put({ url: `/wms/inventoryinit-request-main/reAdd?id=` + id }) -} - -// 审批驳回库存初始化申请主 Excel -export const refusedInventoryinitRequestMain = async (id) => { - return await request.put({ url: `/wms/inventoryinit-request-main/refused?id=` + id }) -} - -// 审批通过库存初始化申请主 Excel -export const agreeInventoryinitRequestMain = async (id) => { - return await request.put({ url: `/wms/inventoryinit-request-main/agree?id=` + id }) -} - -// 提交库存初始化申请主 Excel -export const submitInventoryinitRequestMain = async (id) => { - return await request.put({ url: `/wms/inventoryinit-request-main/submit?id=` + id }) -} - -// 删除库存初始化申请主 -export const deleteInventoryinitRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/inventoryinit-request-main/delete?id=` + id }) -} - -// 导出库存初始化申请主 Excel -export const exportInventoryinitRequestMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/inventoryinit-request-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/inventoryinit-request-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inventoryinit-request-main/get-import-template' }) -} - -// 处理采购收货申请主 Excel -export const handleInventoryinitRequestMain = async (id) => { - return await request.put({ url: `/wms/inventoryinit-request-main/handle?id=` + id }) -} diff --git a/src/api/wms/inventorymoveJobDetail/index.ts b/src/api/wms/inventorymoveJobDetail/index.ts deleted file mode 100644 index f3821de..0000000 --- a/src/api/wms/inventorymoveJobDetail/index.ts +++ /dev/null @@ -1,66 +0,0 @@ -import request from '@/config/axios' - -export interface InventorymoveJobDetailVO { - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createtime: Date - creator: string - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - poNumber: string - poLine: string - fromLocationCode: string - toLocationCode: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询库存转移任务子列表 -export const getInventorymoveJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inventorymove-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/inventorymove-job-detail/page`, params }) - } -} - -// 查询库存转移任务子详情 -export const getInventorymoveJobDetail = async (id: number) => { - return await request.get({ url: `/wms/inventorymove-job-detail/get?id=` + id }) -} - -// 新增库存转移任务子 -export const createInventorymoveJobDetail = async (data: InventorymoveJobDetailVO) => { - return await request.post({ url: `/wms/inventorymove-job-detail/create`, data }) -} - -// 修改库存转移任务子 -export const updateInventorymoveJobDetail = async (data: InventorymoveJobDetailVO) => { - return await request.put({ url: `/wms/inventorymove-job-detail/update`, data }) -} - -// 删除库存转移任务子 -export const deleteInventorymoveJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/inventorymove-job-detail/delete?id=` + id }) -} - -// 导出库存转移任务子 Excel -export const exportInventorymoveJobDetail = async (params) => { - return await request.download({ url: `/wms/inventorymove-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inventorymove-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/inventorymoveJobMain/index.ts b/src/api/wms/inventorymoveJobMain/index.ts deleted file mode 100644 index c683800..0000000 --- a/src/api/wms/inventorymoveJobMain/index.ts +++ /dev/null @@ -1,103 +0,0 @@ -import request from '@/config/axios' - -export interface InventorymoveJobMainVO { - requestNumber: string - useOnTheWayLocation: string - fromWarehouseCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - creatorName: string - toWarehouseCode: string - fromAreaCodes: string - toAreaCodes: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询库存转移任务主列表 -export const getInventorymoveJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inventorymove-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/inventorymove-job-main/page`, params }) - } -} - -// 查询库存转移任务主详情 -export const getInventorymoveJobMain = async (id: number) => { - return await request.get({ url: `/wms/inventorymove-job-main/get?id=` + id }) -} - -// 新增库存转移任务主 -export const createInventorymoveJobMain = async (data: InventorymoveJobMainVO) => { - return await request.post({ url: `/wms/inventorymove-job-main/create`, data }) -} - -// 修改库存转移任务主 -export const updateInventorymoveJobMain = async (data: InventorymoveJobMainVO) => { - return await request.put({ url: `/wms/inventorymove-job-main/update`, data }) -} - -// 删除库存转移任务主 -export const deleteInventorymoveJobMain = async (id: number) => { - return await request.delete({ url: `/wms/inventorymove-job-main/delete?id=` + id }) -} - -// 导出库存转移任务主 Excel -export const exportInventorymoveJobMain = async (params) => { - return await request.download({ url: `/wms/inventorymove-job-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inventorymove-job-main/get-import-template' }) -} - -// 承接库存转移任务 -export const acceptInventorymoveMain = async (id) => { - return await request.put({ url: `/wms/inventorymove-job-main/accept?id=` + id }) -} - -// 放弃库存转移任务 -export const abandonInventorymoveMain = async (id) => { - return await request.put({ url: `/wms/inventorymove-job-main/abandon?id=` + id }) -} - -// 关闭库存转移任务 -export const closeInventorymoveMain = async (id) => { - return await request.put({ url: `/wms/inventorymove-job-main/close?id=` + id }) -} - -// 执行库存转移任务 -export const executeInventorymoveMain = async (data) => { - return await request.put({ url: `/wms/inventorymove-job-main/execute`, data}) -} \ No newline at end of file diff --git a/src/api/wms/inventorymoveRecordDetail/index.ts b/src/api/wms/inventorymoveRecordDetail/index.ts deleted file mode 100644 index 4a3928c..0000000 --- a/src/api/wms/inventorymoveRecordDetail/index.ts +++ /dev/null @@ -1,76 +0,0 @@ -import request from '@/config/axios' - -export interface InventorymoveRecordDetailVO { - onTheWayLocationCode: string - fromOwnerCode: string - fromPackingNumber: string - fromContainerNumber: string - fromBatch: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - fromInventoryStatus: string - toOwnerCode: string - toPackingNumber: string - toContainerNumber: string - toBatch: string - toLocationCode: string - toLocationGroupCode: string - toAreaCode: string - toInventoryStatus: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - jobDetailId: string -} - -// 查询库存转移记录子列表 -export const getInventorymoveRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inventorymove-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/inventorymove-record-detail/page`, params }) - } -} - -// 查询库存转移记录子详情 -export const getInventorymoveRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/inventorymove-record-detail/get?id=` + id }) -} - -// 新增库存转移记录子 -export const createInventorymoveRecordDetail = async (data: InventorymoveRecordDetailVO) => { - return await request.post({ url: `/wms/inventorymove-record-detail/create`, data }) -} - -// 修改库存转移记录子 -export const updateInventorymoveRecordDetail = async (data: InventorymoveRecordDetailVO) => { - return await request.put({ url: `/wms/inventorymove-record-detail/update`, data }) -} - -// 删除库存转移记录子 -export const deleteInventorymoveRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/inventorymove-record-detail/delete?id=` + id }) -} - -// 导出库存转移记录子 Excel -export const exportInventorymoveRecordDetail = async (params) => { - return await request.download({ url: `/wms/inventorymove-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inventorymove-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/inventorymoveRecordMain/index.ts b/src/api/wms/inventorymoveRecordMain/index.ts deleted file mode 100644 index e6c017f..0000000 --- a/src/api/wms/inventorymoveRecordMain/index.ts +++ /dev/null @@ -1,69 +0,0 @@ -import request from '@/config/axios' - -export interface InventorymoveRecordMainVO { - requestNumber: string - jobNumber: string - useOnTheWayLocation: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - code: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - available: string -} - -// 查询库存转移记录主列表 -export const getInventorymoveRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inventorymove-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/inventorymove-record-main/page`, params }) - } -} - -// 查询库存转移记录主详情 -export const getInventorymoveRecordMain = async (id: number) => { - return await request.get({ url: `/wms/inventorymove-record-main/get?id=` + id }) -} - -// 新增库存转移记录主 -export const createInventorymoveRecordMain = async (data: InventorymoveRecordMainVO) => { - return await request.post({ url: `/wms/inventorymove-record-main/create`, data }) -} - -// 修改库存转移记录主 -export const updateInventorymoveRecordMain = async (data: InventorymoveRecordMainVO) => { - return await request.put({ url: `/wms/inventorymove-record-main/update`, data }) -} - -// 删除库存转移记录主 -export const deleteInventorymoveRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/inventorymove-record-main/delete?id=` + id }) -} - -// 导出库存转移记录主 Excel -export const exportInventorymoveRecordMain = async (params) => { - return await request.download({ url: `/wms/inventorymove-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inventorymove-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/inventorymoveRequestDetail/index.ts b/src/api/wms/inventorymoveRequestDetail/index.ts deleted file mode 100644 index ad896ce..0000000 --- a/src/api/wms/inventorymoveRequestDetail/index.ts +++ /dev/null @@ -1,70 +0,0 @@ -import request from '@/config/axios' - -export interface InventorymoveRequestDetailVO { - fromOwnerCode: string - fromPackingNumber: string - fromContainerNumber: string - fromBatch: string - fromLocationCode: string - fromInventoryStatus: string - toOwnerCode: string - toPackingNumber: string - toContainerNumber: string - toBatch: string - toLocationCode: string - toInventoryStatus: string - number: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - itemCode: string -} - -// 查询库存转移申请子列表 -export const getInventorymoveRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inventorymove-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/inventorymove-request-detail/page`, params }) - } -} - -// 查询库存转移申请子详情 -export const getInventorymoveRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/inventorymove-request-detail/get?id=` + id }) -} - -// 新增库存转移申请子 -export const createInventorymoveRequestDetail = async (data: InventorymoveRequestDetailVO) => { - return await request.post({ url: `/wms/inventorymove-request-detail/create`, data }) -} - -// 修改库存转移申请子 -export const updateInventorymoveRequestDetail = async (data: InventorymoveRequestDetailVO) => { - return await request.put({ url: `/wms/inventorymove-request-detail/update`, data }) -} - -// 删除库存转移申请子 -export const deleteInventorymoveRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/inventorymove-request-detail/delete?id=` + id }) -} - -// 导出库存转移申请子 Excel -export const exportInventorymoveRequestDetail = async (params) => { - return await request.download({ url: `/wms/inventorymove-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inventorymove-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/inventorymoveRequestMain/index.ts b/src/api/wms/inventorymoveRequestMain/index.ts deleted file mode 100644 index e2dde21..0000000 --- a/src/api/wms/inventorymoveRequestMain/index.ts +++ /dev/null @@ -1,97 +0,0 @@ -import request from '@/config/axios' - -export interface InventorymoveRequestMainVO { - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - fromWarehouseOde: string - fromLocationTypes: string - fromAreaCodes: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - useOnTheWayLocation: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询库存转移申请主列表 -export const getInventorymoveRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/inventorymove-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/inventorymove-request-main/page`, params }) - } -} - -// 查询库存转移申请主详情 -export const getInventorymoveRequestMain = async (id: number) => { - return await request.get({ url: `/wms/inventorymove-request-main/get?id=` + id }) -} - -// 新增库存转移申请主 -export const createInventorymoveRequestMain = async (data: InventorymoveRequestMainVO) => { - return await request.post({ url: `/wms/inventorymove-request-main/create`, data }) -} - -// 修改库存转移申请主 -export const updateInventorymoveRequestMain = async (data: InventorymoveRequestMainVO) => { - return await request.put({ url: `/wms/inventorymove-request-main/update`, data }) -} - -// 删除库存转移申请主 -export const deleteInventorymoveRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/inventorymove-request-main/delete?id=` + id }) -} - -// 导出库存转移申请主 Excel -export const exportInventorymoveRequestMain = async (params) => { - return await request.download({ url: `/wms/inventorymove-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/inventorymove-request-main/get-import-template' }) -} - -// 关闭 -export const close = (id) => { - return request.put({ url: '/wms/inventorymove-request-main/close?id=' + id }) -} - -// 重新添加 -export const reAdd = (id) => { - return request.put({ url: '/wms/inventorymove-request-main/reAdd?id=' + id }) -} - -// 提交审批 -export const submit = (id) => { - return request.put({ url: '/wms/inventorymove-request-main/submit?id=' + id }) -} - -// 驳回 -export const refused = (id) => { - return request.put({ url: '/wms/inventorymove-request-main/refused?id=' + id }) -} - -// 审批通过 -export const agree = (id) => { - return request.put({ url: '/wms/inventorymove-request-main/agree?id=' + id }) -} - -// 处理 -export const handle = (id) => { - return request.put({ url: '/wms/inventorymove-request-main/handle?id=' + id }) -} \ No newline at end of file diff --git a/src/api/wms/issueJobDetail/index.ts b/src/api/wms/issueJobDetail/index.ts deleted file mode 100644 index 1d9974a..0000000 --- a/src/api/wms/issueJobDetail/index.ts +++ /dev/null @@ -1,71 +0,0 @@ -import request from '@/config/axios' - -export interface IssueJobDetailVO { - productionLineCode: string - workStationCode: string - inventoryStatus: string - onTheWayLocationCode: string - packingNumber: string - containerNumber: string - batch: string - fromLocationCode: string - toLocationCode: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - stdPackQty: number - stdPackUnit: string - supplierQty: number - supplierUom: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询发料任务子列表 -export const getIssueJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/issue-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/issue-job-detail/page`, params }) - } -} - -// 查询发料任务子详情 -export const getIssueJobDetail = async (id: number) => { - return await request.get({ url: `/wms/issue-job-detail/get?id=` + id }) -} - -// 新增发料任务子 -export const createIssueJobDetail = async (data: IssueJobDetailVO) => { - return await request.post({ url: `/wms/issue-job-detail/create`, data }) -} - -// 修改发料任务子 -export const updateIssueJobDetail = async (data: IssueJobDetailVO) => { - return await request.put({ url: `/wms/issue-job-detail/update`, data }) -} - -// 删除发料任务子 -export const deleteIssueJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/issue-job-detail/delete?id=` + id }) -} - -// 导出发料任务子 Excel -export const exportIssueJobDetail = async (params) => { - return await request.download({ url: `/wms/issue-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/issue-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/issueJobMain/index.ts b/src/api/wms/issueJobMain/index.ts deleted file mode 100644 index 0c4f542..0000000 --- a/src/api/wms/issueJobMain/index.ts +++ /dev/null @@ -1,110 +0,0 @@ -import request from '@/config/axios' - -export interface IssueJobMainVO { - requestNumber: string - workShopCode: string - fromWarehouseCode: string - toWarehouseCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserName: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromAreaCodes: string - toAreaCodes: string - useOnTheWayLocation: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyPackingNumber: string - allowModifyBatch: string -} - -// 查询发料任务主列表 -export const getIssueJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/issue-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/issue-job-main/page`, params }) - } -} - -// 查询发料任务主详情 -export const getIssueJobMain = async (id: number) => { - return await request.get({ url: `/wms/issue-job-main/get?id=` + id }) -} - -// 新增发料任务主 -export const createIssueJobMain = async (data: IssueJobMainVO) => { - return await request.post({ url: `/wms/issue-job-main/create`, data }) -} - -// 修改发料任务主 -export const updateIssueJobMain = async (data: IssueJobMainVO) => { - return await request.put({ url: `/wms/issue-job-main/update`, data }) -} - -// 删除发料任务主 -export const deleteIssueJobMain = async (id: number) => { - return await request.delete({ url: `/wms/issue-job-main/delete?id=` + id }) -} - -// 导出发料任务主 Excel -export const exportIssueJobMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/issue-job-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/issue-job-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/issue-job-main/get-import-template' }) -} - -// 承接发料任务 -export const acceptIssueMain = async (id) => { - return await request.get({ url: `/wms/issue-job-main/accept?id=` + id }) -} - -// 放弃发料任务 -export const abandonIssueMain = async (id) => { - return await request.get({ url: `/wms/issue-job-main/abandon?id=` + id }) -} - -// 关闭发料任务 -export const closeIssueMain = async (id) => { - return await request.get({ url: `/wms/issue-job-main/close?id=` + id }) -} - -// 执行发料任务 -export const executeIssueMain = async (data) => { - return await request.put({ url: `/wms/issue-job-main/execute`, data}) -} - - diff --git a/src/api/wms/issueRecordDetail/index.ts b/src/api/wms/issueRecordDetail/index.ts deleted file mode 100644 index ba5498b..0000000 --- a/src/api/wms/issueRecordDetail/index.ts +++ /dev/null @@ -1,77 +0,0 @@ -import request from '@/config/axios' - -export interface IssueRecordDetailVO { - productionLineCode: string - workStationCode: string - onTheWayLocationCode: string - inventoryStatus: string - fromOwnerCode: string - toOwnerCode: string - fromPackingNumber: string - toPackingNumber: string - fromContainerNumber: string - toContainerNumber: string - fromBatch: string - toBatch: string - fromLocationCode: string - toLocationCode: string - fromLocationGroupCode: string - toLocationGroupCode: string - fromAreaCode: string - toAreaCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - jobDetailId: string -} - -// 查询发料记录子列表 -export const getIssueRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/issue-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/issue-record-detail/page`, params }) - } -} - -// 查询发料记录子详情 -export const getIssueRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/issue-record-detail/get?id=` + id }) -} - -// 新增发料记录子 -export const createIssueRecordDetail = async (data: IssueRecordDetailVO) => { - return await request.post({ url: `/wms/issue-record-detail/create`, data }) -} - -// 修改发料记录子 -export const updateIssueRecordDetail = async (data: IssueRecordDetailVO) => { - return await request.put({ url: `/wms/issue-record-detail/update`, data }) -} - -// 删除发料记录子 -export const deleteIssueRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/issue-record-detail/delete?id=` + id }) -} - -// 导出发料记录子 Excel -export const exportIssueRecordDetail = async (params) => { - return await request.download({ url: `/wms/issue-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/issue-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/issueRecordMain/index.ts b/src/api/wms/issueRecordMain/index.ts deleted file mode 100644 index 3d5a553..0000000 --- a/src/api/wms/issueRecordMain/index.ts +++ /dev/null @@ -1,75 +0,0 @@ -import request from '@/config/axios' - -export interface IssueRecordMainVO { - requestNumber: string - jobNumber: string - workshopCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - useOnTheWayLocation: string - available: string -} - -// 查询发料记录主列表 -export const getIssueRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/issue-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/issue-record-main/page`, params }) - } -} - -// 查询发料记录主详情 -export const getIssueRecordMain = async (id: number) => { - return await request.get({ url: `/wms/issue-record-main/get?id=` + id }) -} - -// 新增发料记录主 -export const createIssueRecordMain = async (data: IssueRecordMainVO) => { - return await request.post({ url: `/wms/issue-record-main/create`, data }) -} - -// 修改发料记录主 -export const updateIssueRecordMain = async (data: IssueRecordMainVO) => { - return await request.put({ url: `/wms/issue-record-main/update`, data }) -} - -// 删除发料记录主 -export const deleteIssueRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/issue-record-main/delete?id=` + id }) -} - -// 导出发料记录主 Excel -export const exportIssueRecordMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/issue-record-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/issue-record-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/issue-record-main/get-import-template' }) -} diff --git a/src/api/wms/issueRequestDetail/index.ts b/src/api/wms/issueRequestDetail/index.ts deleted file mode 100644 index 19ce656..0000000 --- a/src/api/wms/issueRequestDetail/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface IssueRequestDetailVO { - productionLineCode: string - workStationCode: string - inventoryStatus: string - packingNumber: string - containerNumber: string - batch: string - toLocationCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询发料申请子列表 -export const getIssueRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/issue-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/issue-request-detail/page`, params }) - } -} - -// 查询发料申请子详情 -export const getIssueRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/issue-request-detail/get?id=` + id }) -} - -// 新增发料申请子 -export const createIssueRequestDetail = async (data: IssueRequestDetailVO) => { - return await request.post({ url: `/wms/issue-request-detail/create`, data }) -} - -// 修改发料申请子 -export const updateIssueRequestDetail = async (data: IssueRequestDetailVO) => { - return await request.put({ url: `/wms/issue-request-detail/update`, data }) -} - -// 删除发料申请子 -export const deleteIssueRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/issue-request-detail/delete?id=` + id }) -} - -// 导出发料申请子 Excel -export const exportIssueRequestDetail = async (params) => { - return await request.download({ url: `/wms/issue-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/issue-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/issueRequestMain/index.ts b/src/api/wms/issueRequestMain/index.ts deleted file mode 100644 index 11bec6a..0000000 --- a/src/api/wms/issueRequestMain/index.ts +++ /dev/null @@ -1,103 +0,0 @@ -import request from '@/config/axios' - -export interface IssueRequestMainVO { - workshopCode: string - fromWarehouseCode: string - toWarehouseCode: string - fromLocationTypes: string - toLocationTypes: string - fromAreaCodes: string - toAreaCodes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - useOnTheWayLocation: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询发料申请主列表 -export const getIssueRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/issue-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/issue-request-main/page`, params }) - } -} - -// 查询发料申请主详情 -export const getIssueRequestMain = async (id: number) => { - return await request.get({ url: `/wms/issue-request-main/get?id=` + id }) -} - -// 新增发料申请主 -export const createIssueRequestMain = async (data: IssueRequestMainVO) => { - return await request.post({ url: `/wms/issue-request-main/create`, data }) -} - -// 修改发料申请主 -export const updateIssueRequestMain = async (data: IssueRequestMainVO) => { - return await request.put({ url: `/wms/issue-request-main/update`, data }) -} - -// 删除发料申请主 -export const deleteIssueRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/issue-request-main/delete?id=` + id }) -} - -// 导出发料申请主 Excel -export const exportIssueRequestMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/issue-request-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/issue-request-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/issue-request-main/get-import-template' }) -} - -// 关闭 -export const close = (id) => { - return request.put({ url: '/wms/issue-request-main/close?id=' + id }) -} - -// 重新添加 -export const reAdd = (id) => { - return request.put({ url: '/wms/issue-request-main/reAdd?id=' + id }) -} - -// 提交审批 -export const submit = (id) => { - return request.put({ url: '/wms/issue-request-main/submit?id=' + id }) -} - -// 驳回 -export const refused = (id) => { - return request.put({ url: '/wms/issue-request-main/refused?id=' + id }) -} - -// 审批通过 -export const agree = (id) => { - return request.put({ url: '/wms/issue-request-main/agree?id=' + id }) -} - -// 处理 -export const handle = (id) => { - return request.put({ url: '/wms/issue-request-main/handle?id=' + id }) -} diff --git a/src/api/wms/itembasic/index.ts b/src/api/wms/itembasic/index.ts deleted file mode 100644 index 1575fd5..0000000 --- a/src/api/wms/itembasic/index.ts +++ /dev/null @@ -1,80 +0,0 @@ -import request from '@/config/axios' - -export interface ItembasicVO { - code: string - name: string - desc1: string - desc2: string - status: string - uom: string - altUom: string - isStdPack: number - enableBuy: number - enableMake: number - enableOutsourcing: number - isRecycled: number - isPhantom: number - abcClass: string - type: string - category: string - itemGroup: string - color: string - configuration: string - project: string - eqLevel: string - validityDays: number - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询物品基本信息列表 -export const getItembasicPage = async (params) => { - if (params.isSearch) { - const data = {...params} - return request.post({ url: '/wms/itembasic/senior', data }) - } else { - return await request.get({ url: `/wms/itembasic/page`, params }) - } -} -// 查询物品基本信息列表 -export const getItembasicList = async (params) => { - return await request.get({ url: `/wms/itembasic/list`, params }) -} -// 查询物品基本信息详情 -export const getItembasic = async (id: number) => { - return await request.get({ url: `/wms/itembasic/get?id=` + id }) -} - -// 新增物品基本信息 -export const createItembasic = async (data: ItembasicVO) => { - return await request.post({ url: `/wms/itembasic/create`, data }) -} - -// 修改物品基本信息 -export const updateItembasic = async (data: ItembasicVO) => { - return await request.put({ url: `/wms/itembasic/update`, data }) -} - -// 删除物品基本信息 -export const deleteItembasic = async (id: number) => { - return await request.delete({ url: `/wms/itembasic/delete?id=` + id }) -} - -// 导出物品基本信息 Excel -export const exportItembasic = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/itembasic/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/itembasic/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/itembasic/get-import-template' }) -} -// 导入地址 -export const importUrl = '/wms/itembasic/import' diff --git a/src/api/wms/itempackaging/index.ts b/src/api/wms/itempackaging/index.ts deleted file mode 100644 index d7ab494..0000000 --- a/src/api/wms/itempackaging/index.ts +++ /dev/null @@ -1,65 +0,0 @@ -import request from '@/config/axios' - -export interface ItempackagingVO { - itemCode: string - uom: string - stdPackUnit: string - stdPackQty: number - altPackUnit1: string - altPackQty1: number - altPackUnit2: string - altPackQty2: number - altPackUnit3: string - altPackQty3: number - altPackUnit4: string - altPackQty4: number - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询物品包装信息 列表 -export const getItempackagingPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/itempackaging/senior', data }) - } else { - return await request.get({ url: `/wms/itempackaging/page`, params }) - } -} - -// 查询物品包装信息 详情 -export const getItempackaging = async (id: number) => { - return await request.get({ url: `/wms/itempackaging/get?id=` + id }) -} - -// 新增物品包装信息 -export const createItempackaging = async (data: ItempackagingVO) => { - return await request.post({ url: `/wms/itempackaging/create`, data }) -} - -// 修改物品包装信息 -export const updateItempackaging = async (data: ItempackagingVO) => { - return await request.put({ url: `/wms/itempackaging/update`, data }) -} - -// 删除物品包装信息 -export const deleteItempackaging = async (id: number) => { - return await request.delete({ url: `/wms/itempackaging/delete?id=` + id }) -} - -// 导出物品包装信息 Excel -export const exportItempackaging = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/itempackaging/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/itempackaging/export-excel`, params }) - } -} -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/itempackaging/get-import-template' }) -} diff --git a/src/api/wms/jobsetting/index.ts b/src/api/wms/jobsetting/index.ts deleted file mode 100644 index c7807e0..0000000 --- a/src/api/wms/jobsetting/index.ts +++ /dev/null @@ -1,62 +0,0 @@ -import request from '@/config/axios' - -export interface JobsettingVO { - code: string - validMinutes: number - activeTime: Date - remark: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBach: string - allowModifyPackingNumber: string - available: string - isSoftDeleted: string - expireTime: Date -} - -// 查询任务设置列表 -export const getJobsettingPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/jobsetting/senior', data }) - } else { - return await request.get({ url: `/wms/jobsetting/page`, params }) - } -} - -// 查询任务设置详情 -export const getJobsetting = async (id: number) => { - return await request.get({ url: `/wms/jobsetting/get?id=` + id }) -} - -// 新增任务设置 -export const createJobsetting = async (data: JobsettingVO) => { - return await request.post({ url: `/wms/jobsetting/create`, data }) -} - -// 修改任务设置 -export const updateJobsetting = async (data: JobsettingVO) => { - return await request.put({ url: `/wms/jobsetting/update`, data }) -} - -// 删除任务设置 -export const deleteJobsetting = async (id: number) => { - return await request.delete({ url: `/wms/jobsetting/delete?id=` + id }) -} - -// 导出任务设置 Excel -export const exportJobsetting = async (params) => { - return await request.download({ url: `/wms/jobsetting/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/jobsetting/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/labeltype/index.ts b/src/api/wms/labeltype/index.ts deleted file mode 100644 index 148a1b9..0000000 --- a/src/api/wms/labeltype/index.ts +++ /dev/null @@ -1,58 +0,0 @@ -import request from '@/config/axios' - -export interface LabeltypeVO { - id: number - labelType: string - description: string - dataProtocol: string - splitMehod: string - header: string - version: string - separators: string - validateMethod: string - validateNumber: number - encyptEthod: string - compressMethod: string - templateName: string - templateFile: string - barcodeSegments: string - labelCode: string - isEncypt: string - isCompress: string -} - -// 查询标签定义列表 -export const getLabeltypePage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/labeltype/senior', data }) - } else { - return await request.get({ url: `/wms/labeltype/page`, params }) - } -} - -// 查询标签定义详情 -export const getLabeltype = async (id: number) => { - return await request.get({ url: `/wms/labeltype/get?id=` + id }) -} - -// 新增标签定义 -export const createLabeltype = async (data: LabeltypeVO) => { - return await request.post({ url: `/wms/labeltype/create`, data }) -} - -// 修改标签定义 -export const updateLabeltype = async (data: LabeltypeVO) => { - return await request.put({ url: `/wms/labeltype/update`, data }) -} - -// 删除标签定义 -export const deleteLabeltype = async (id: number) => { - return await request.delete({ url: `/wms/labeltype/delete?id=` + id }) -} - -// 导出标签定义 Excel -export const exportLabeltype = async (params) => { - return await request.download({ url: `/wms/labeltype/export-excel`, params }) -} diff --git a/src/api/wms/location/index.ts b/src/api/wms/location/index.ts deleted file mode 100644 index 2165af0..0000000 --- a/src/api/wms/location/index.ts +++ /dev/null @@ -1,80 +0,0 @@ -import request from '@/config/axios' - -export interface LocationVO { - code: string - name: string - description: string - warehouseCode: string - areaCode: string - locationGroupCode: string - erpLocationCode: string - type: string - aisle: string - shelf: string - locationRow: number - locationColum: number - pickPriority: number - maxWeight: number - maxArea: number - maxVolume: number - userGroupCode: string - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询库位列表 -export const getLocationPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/location/senior', data }) - } else { - return await request.get({ url: `/wms/location/page`, params }) - } -} -// 查询库位所有列表 -export const getLocationList = async (params) => { - return await request.get({ url: `/wms/location/list`, params }) -} - -// 查询库位详情 -export const getLocation = async (id: number) => { - return await request.get({ url: `/wms/location/get?id=` + id }) -} - -// 新增库位 -export const createLocation = async (data: LocationVO) => { - return await request.post({ url: `/wms/location/create`, data }) -} - -// 修改库位 -export const updateLocation = async (data: LocationVO) => { - return await request.put({ url: `/wms/location/update`, data }) -} - -// 删除库位 -export const deleteLocation = async (id: number) => { - return await request.delete({ url: `/wms/location/delete?id=` + id }) -} - -// 导出库位 Excel -export const exportLocation = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/location/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/location/export-excel`, params }) - } - -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/location/get-import-template' }) -} - -export const selectBusinessTypeToLocation = async (params) => { - return request.get({ url: `/wms/location/pageBusinessTypeToLocation`, params }) -} \ No newline at end of file diff --git a/src/api/wms/locationcapacity/index.ts b/src/api/wms/locationcapacity/index.ts deleted file mode 100644 index 40df8ca..0000000 --- a/src/api/wms/locationcapacity/index.ts +++ /dev/null @@ -1,51 +0,0 @@ -import request from '@/config/axios' - -export interface LocationcapacityVO { - locationCode: string - warehouseCode: string - usedCapacity: number - availableCapacity: number - bearableOverloadCapacity: number - isInfinity: string -} - -// 查询库位容量列表 -export const getLocationcapacityPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/locationcapacity/senior', data }) - } else { - return await request.get({ url: `/wms/locationcapacity/page`, params }) - } -} - -// 查询库位容量详情 -export const getLocationcapacity = async (id: number) => { - return await request.get({ url: `/wms/locationcapacity/get?id=` + id }) -} - -// 新增库位容量 -export const createLocationcapacity = async (data: LocationcapacityVO) => { - return await request.post({ url: `/wms/locationcapacity/create`, data }) -} - -// 修改库位容量 -export const updateLocationcapacity = async (data: LocationcapacityVO) => { - return await request.put({ url: `/wms/locationcapacity/update`, data }) -} - -// 删除库位容量 -export const deleteLocationcapacity = async (id: number) => { - return await request.delete({ url: `/wms/locationcapacity/delete?id=` + id }) -} - -// 导出库位容量 Excel -export const exportLocationcapacity = async (params) => { - return await request.download({ url: `/wms/locationcapacity/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/locationcapacity/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/locationgroup/index.ts b/src/api/wms/locationgroup/index.ts deleted file mode 100644 index 3aa976b..0000000 --- a/src/api/wms/locationgroup/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import request from '@/config/axios' - -export interface LocationgroupVO { - code: string - name: string - description: string - warehouseCode: string - areaCode: string - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询库位组列表 -export const getLocationgroupPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/locationgroup/senior', data }) - } else { - return await request.get({ url: `/wms/locationgroup/page`, params }) - } -} -// 查询库位组列表 -export const getLocationgroupList = async (params) => { - return await request.get({ url: `/wms/locationgroup/list`, params }) -} - -// 查询库位组详情 -export const getLocationgroup = async (id: number) => { - return await request.get({ url: `/wms/locationgroup/get?id=` + id }) -} - -// 新增库位组 -export const createLocationgroup = async (data: LocationgroupVO) => { - return await request.post({ url: `/wms/locationgroup/create`, data }) -} - -// 修改库位组 -export const updateLocationgroup = async (data: LocationgroupVO) => { - return await request.put({ url: `/wms/locationgroup/update`, data }) -} - -// 删除库位组 -export const deleteLocationgroup = async (id: number) => { - return await request.delete({ url: `/wms/locationgroup/delete?id=` + id }) -} - -// 导出库位组 Excel -export const exportLocationgroup = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/locationgroup/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/locationgroup/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/locationgroup/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/offlinesettlementRecordDetail/index.ts b/src/api/wms/offlinesettlementRecordDetail/index.ts deleted file mode 100644 index b19d564..0000000 --- a/src/api/wms/offlinesettlementRecordDetail/index.ts +++ /dev/null @@ -1,64 +0,0 @@ -import request from '@/config/axios' - -export interface OfflinesettlementRecordDetailVO { - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - locationCode: string - locationGroupCode: string - areaCode: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string - jobDetailId: string -} - -// 查询下线结算记录子列表 -export const getOfflinesettlementRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/offlinesettlement-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/offlinesettlement-record-detail/page`, params }) - } -} - -// 查询下线结算记录子详情 -export const getOfflinesettlementRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/offlinesettlement-record-detail/get?id=` + id }) -} - -// 新增下线结算记录子 -export const createOfflinesettlementRecordDetail = async (data: OfflinesettlementRecordDetailVO) => { - return await request.post({ url: `/wms/offlinesettlement-record-detail/create`, data }) -} - -// 修改下线结算记录子 -export const updateOfflinesettlementRecordDetail = async (data: OfflinesettlementRecordDetailVO) => { - return await request.put({ url: `/wms/offlinesettlement-record-detail/update`, data }) -} - -// 删除下线结算记录子 -export const deleteOfflinesettlementRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/offlinesettlement-record-detail/delete?id=` + id }) -} - -// 导出下线结算记录子 Excel -export const exportOfflinesettlementRecordDetail = async (params) => { - return await request.download({ url: `/wms/offlinesettlement-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/offlinesettlement-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/offlinesettlementRecordMain/index.ts b/src/api/wms/offlinesettlementRecordMain/index.ts deleted file mode 100644 index f93eabe..0000000 --- a/src/api/wms/offlinesettlementRecordMain/index.ts +++ /dev/null @@ -1,62 +0,0 @@ -import request from '@/config/axios' - -export interface OfflinesettlementRecordMainVO { - requestNumber: string - productReceiptRecordNumber: string - warehouseCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - available: string -} - -// 查询下线结算记录主列表 -export const getOfflinesettlementRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/offlinesettlement-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/offlinesettlement-record-main/page`, params }) - } -} - -// 查询下线结算记录主详情 -export const getOfflinesettlementRecordMain = async (id: number) => { - return await request.get({ url: `/wms/offlinesettlement-record-main/get?id=` + id }) -} - -// 新增下线结算记录主 -export const createOfflinesettlementRecordMain = async (data: OfflinesettlementRecordMainVO) => { - return await request.post({ url: `/wms/offlinesettlement-record-main/create`, data }) -} - -// 修改下线结算记录主 -export const updateOfflinesettlementRecordMain = async (data: OfflinesettlementRecordMainVO) => { - return await request.put({ url: `/wms/offlinesettlement-record-main/update`, data }) -} - -// 删除下线结算记录主 -export const deleteOfflinesettlementRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/offlinesettlement-record-main/delete?id=` + id }) -} - -// 导出下线结算记录主 Excel -export const exportOfflinesettlementRecordMain = async (params) => { - return await request.download({ url: `/wms/offlinesettlement-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/offlinesettlement-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/offlinesettlementRequestDetail/index.ts b/src/api/wms/offlinesettlementRequestDetail/index.ts deleted file mode 100644 index c4561b4..0000000 --- a/src/api/wms/offlinesettlementRequestDetail/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import request from '@/config/axios' - -export interface OfflinesettlementRequestDetailVO { - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - locationCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string -} - -// 查询下线结算申请子列表 -export const getOfflinesettlementRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/offlinesettlement-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/offlinesettlement-request-detail/page`, params }) - } -} - -// 查询下线结算申请子详情 -export const getOfflinesettlementRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/offlinesettlement-request-detail/get?id=` + id }) -} - -// 新增下线结算申请子 -export const createOfflinesettlementRequestDetail = async (data: OfflinesettlementRequestDetailVO) => { - return await request.post({ url: `/wms/offlinesettlement-request-detail/create`, data }) -} - -// 修改下线结算申请子 -export const updateOfflinesettlementRequestDetail = async (data: OfflinesettlementRequestDetailVO) => { - return await request.put({ url: `/wms/offlinesettlement-request-detail/update`, data }) -} - -// 删除下线结算申请子 -export const deleteOfflinesettlementRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/offlinesettlement-request-detail/delete?id=` + id }) -} - -// 导出下线结算申请子 Excel -export const exportOfflinesettlementRequestDetail = async (params) => { - return await request.download({ url: `/wms/offlinesettlement-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/offlinesettlement-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/offlinesettlementRequestMain/index.ts b/src/api/wms/offlinesettlementRequestMain/index.ts deleted file mode 100644 index ccdeb8d..0000000 --- a/src/api/wms/offlinesettlementRequestMain/index.ts +++ /dev/null @@ -1,62 +0,0 @@ -import request from '@/config/axios' - -export interface OfflinesettlementRequestMainVO { - productReceiptRecordNumber: string - warehouseCode: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询下线结算申请主列表 -export const getOfflinesettlementRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/offlinesettlement-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/offlinesettlement-request-main/page`, params }) - } -} - -// 查询下线结算申请主详情 -export const getOfflinesettlementRequestMain = async (id: number) => { - return await request.get({ url: `/wms/offlinesettlement-request-main/get?id=` + id }) -} - -// 新增下线结算申请主 -export const createOfflinesettlementRequestMain = async (data: OfflinesettlementRequestMainVO) => { - return await request.post({ url: `/wms/offlinesettlement-request-main/create`, data }) -} - -// 修改下线结算申请主 -export const updateOfflinesettlementRequestMain = async (data: OfflinesettlementRequestMainVO) => { - return await request.put({ url: `/wms/offlinesettlement-request-main/update`, data }) -} - -// 删除下线结算申请主 -export const deleteOfflinesettlementRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/offlinesettlement-request-main/delete?id=` + id }) -} - -// 导出下线结算申请主 Excel -export const exportOfflinesettlementRequestMain = async (params) => { - return await request.download({ url: `/wms/offlinesettlement-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/offlinesettlement-request-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/onlinesettlementRecordDetail/index.ts b/src/api/wms/onlinesettlementRecordDetail/index.ts deleted file mode 100644 index 08eb9d6..0000000 --- a/src/api/wms/onlinesettlementRecordDetail/index.ts +++ /dev/null @@ -1,64 +0,0 @@ -import request from '@/config/axios' - -export interface OnlinesettlementRecordDetailVO { - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - locationCode: string - locationGroupCode: string - areaCode: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string - jobDetailId: string -} - -// 查询上线结算记录子列表 -export const getOnlinesettlementRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/onlinesettlement-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/onlinesettlement-record-detail/page`, params }) - } -} - -// 查询上线结算记录子详情 -export const getOnlinesettlementRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/onlinesettlement-record-detail/get?id=` + id }) -} - -// 新增上线结算记录子 -export const createOnlinesettlementRecordDetail = async (data: OnlinesettlementRecordDetailVO) => { - return await request.post({ url: `/wms/onlinesettlement-record-detail/create`, data }) -} - -// 修改上线结算记录子 -export const updateOnlinesettlementRecordDetail = async (data: OnlinesettlementRecordDetailVO) => { - return await request.put({ url: `/wms/onlinesettlement-record-detail/update`, data }) -} - -// 删除上线结算记录子 -export const deleteOnlinesettlementRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/onlinesettlement-record-detail/delete?id=` + id }) -} - -// 导出上线结算记录子 Excel -export const exportOnlinesettlementRecordDetail = async (params) => { - return await request.download({ url: `/wms/onlinesettlement-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/onlinesettlement-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/onlinesettlementRecordMain/index.ts b/src/api/wms/onlinesettlementRecordMain/index.ts deleted file mode 100644 index bacbd72..0000000 --- a/src/api/wms/onlinesettlementRecordMain/index.ts +++ /dev/null @@ -1,62 +0,0 @@ -import request from '@/config/axios' - -export interface OnlinesettlementRecordMainVO { - requestNumber: string - issueRecordNumber: string - warehouseCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - available: string -} - -// 查询上线结算记录主列表 -export const getOnlinesettlementRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/onlinesettlement-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/onlinesettlement-record-main/page`, params }) - } -} - -// 查询上线结算记录主详情 -export const getOnlinesettlementRecordMain = async (id: number) => { - return await request.get({ url: `/wms/onlinesettlement-record-main/get?id=` + id }) -} - -// 新增上线结算记录主 -export const createOnlinesettlementRecordMain = async (data: OnlinesettlementRecordMainVO) => { - return await request.post({ url: `/wms/onlinesettlement-record-main/create`, data }) -} - -// 修改上线结算记录主 -export const updateOnlinesettlementRecordMain = async (data: OnlinesettlementRecordMainVO) => { - return await request.put({ url: `/wms/onlinesettlement-record-main/update`, data }) -} - -// 删除上线结算记录主 -export const deleteOnlinesettlementRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/onlinesettlement-record-main/delete?id=` + id }) -} - -// 导出上线结算记录主 Excel -export const exportOnlinesettlementRecordMain = async (params) => { - return await request.download({ url: `/wms/onlinesettlement-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/onlinesettlement-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/onlinesettlementRequestDetail/index.ts b/src/api/wms/onlinesettlementRequestDetail/index.ts deleted file mode 100644 index b6ccf22..0000000 --- a/src/api/wms/onlinesettlementRequestDetail/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import request from '@/config/axios' - -export interface OnlinesettlementRequestDetailVO { - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - locationCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string -} - -// 查询上线结算申请子列表 -export const getOnlinesettlementRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/onlinesettlement-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/onlinesettlement-request-detail/page`, params }) - } -} - -// 查询上线结算申请子详情 -export const getOnlinesettlementRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/onlinesettlement-request-detail/get?id=` + id }) -} - -// 新增上线结算申请子 -export const createOnlinesettlementRequestDetail = async (data: OnlinesettlementRequestDetailVO) => { - return await request.post({ url: `/wms/onlinesettlement-request-detail/create`, data }) -} - -// 修改上线结算申请子 -export const updateOnlinesettlementRequestDetail = async (data: OnlinesettlementRequestDetailVO) => { - return await request.put({ url: `/wms/onlinesettlement-request-detail/update`, data }) -} - -// 删除上线结算申请子 -export const deleteOnlinesettlementRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/onlinesettlement-request-detail/delete?id=` + id }) -} - -// 导出上线结算申请子 Excel -export const exportOnlinesettlementRequestDetail = async (params) => { - return await request.download({ url: `/wms/onlinesettlement-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/onlinesettlement-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/onlinesettlementRequestMain/index.ts b/src/api/wms/onlinesettlementRequestMain/index.ts deleted file mode 100644 index 1190787..0000000 --- a/src/api/wms/onlinesettlementRequestMain/index.ts +++ /dev/null @@ -1,62 +0,0 @@ -import request from '@/config/axios' - -export interface OnlinesettlementRequestMainVO { - issueRecordNumber: string - warehouseCode: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询上线结算申请主列表 -export const getOnlinesettlementRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/onlinesettlement-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/onlinesettlement-request-main/page`, params }) - } -} - -// 查询上线结算申请主详情 -export const getOnlinesettlementRequestMain = async (id: number) => { - return await request.get({ url: `/wms/onlinesettlement-request-main/get?id=` + id }) -} - -// 新增上线结算申请主 -export const createOnlinesettlementRequestMain = async (data: OnlinesettlementRequestMainVO) => { - return await request.post({ url: `/wms/onlinesettlement-request-main/create`, data }) -} - -// 修改上线结算申请主 -export const updateOnlinesettlementRequestMain = async (data: OnlinesettlementRequestMainVO) => { - return await request.put({ url: `/wms/onlinesettlement-request-main/update`, data }) -} - -// 删除上线结算申请主 -export const deleteOnlinesettlementRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/onlinesettlement-request-main/delete?id=` + id }) -} - -// 导出上线结算申请主 Excel -export const exportOnlinesettlementRequestMain = async (params) => { - return await request.download({ url: `/wms/onlinesettlement-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/onlinesettlement-request-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/owner/index.ts b/src/api/wms/owner/index.ts deleted file mode 100644 index 64ccb44..0000000 --- a/src/api/wms/owner/index.ts +++ /dev/null @@ -1,71 +0,0 @@ -import request from '@/config/axios' - -export interface OwnerVO { - code: string - name: string - shortName: string - address: string - country: string - city: string - phone: string - fax: string - postId: string - contacts: string - bank: string - currency: string - taxRate: number - type: string - activeTime: Date - expireTime: Date - remark: string - available: string -} - -// 查询货主列表 -export const getOwnerPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/owner/senior', data }) - } else { - return await request.get({ url: `/wms/owner/page`, params }) - } -} -// 查询所有货主列表 -export const getOwnerList = async (params) => { - return await request.get({ url: `/wms/owner/list`, params }) -} -// 查询货主详情 -export const getOwner = async (id: number) => { - return await request.get({ url: `/wms/owner/get?id=` + id }) -} - -// 新增货主 -export const createOwner = async (data: OwnerVO) => { - return await request.post({ url: `/wms/owner/create`, data }) -} - -// 修改货主 -export const updateOwner = async (data: OwnerVO) => { - return await request.put({ url: `/wms/owner/update`, data }) -} - -// 删除货主 -export const deleteOwner = async (id: number) => { - return await request.delete({ url: `/wms/owner/delete?id=` + id }) -} - -// 导出货主 Excel -export const exportOwner = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/owner/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/owner/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/owner/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/package/index.ts b/src/api/wms/package/index.ts deleted file mode 100644 index 9de36a2..0000000 --- a/src/api/wms/package/index.ts +++ /dev/null @@ -1,96 +0,0 @@ -import request from '@/config/axios' - -export interface PackageVO { - number: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - batch: string - altBatch: string - produceDate: Date - validityDays: number - expireDate: Date - uom: string - qty: number - altUom: string - altQty: number - convertRate: number - stdPackQty: number - stdPackUnit: string - toWarehouseCode: string - toDockCode: string - toLocationCode: string - supplierCode: string - supplierItemCode: string - poNumber: string - poLine: string - rpNumber: string - asnNumber: string - woNumber: string - woLine: string - productionLineCode: string - teamCode: string - shiftCode: string - customerCode: string - customerDockCode: string - customerItemCode: string - soNumber: string - soLine: string - eqLevel: string - ownerCode: string - weight: string - area: string - volume: string -} - -// 查询包装列表 -export const getPackagePage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/package/senior', data }) - } else { - return await request.get({ url: `/wms/package/page`, params }) - } -} - -// 查询包装详情 -export const getPackage = async (id: number) => { - return await request.get({ url: `/wms/package/get?id=` + id }) -} - -// 新增包装 -export const createPackage = async (data: PackageVO) => { - return await request.post({ url: `/wms/package/create`, data }) -} - -// 修改包装 -export const updatePackage = async (data: PackageVO) => { - return await request.put({ url: `/wms/package/update`, data }) -} - -// 删除包装 -export const deletePackage = async (id: number) => { - return await request.delete({ url: `/wms/package/delete?id=` + id }) -} - -// 导出包装 Excel -export const exportPackage = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.download({ url: `/wms/package/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/package/export-excel`, params }) - } - } - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/package/get-import-template' }) -} - -// 创建标签 -export const createPackageLabel = async (data: PackageVO) => { - return await request.post({ url: `/wms/package/createLabel`, data }) -} diff --git a/src/api/wms/packagemergeDetail/index.ts b/src/api/wms/packagemergeDetail/index.ts deleted file mode 100644 index 3322cfe..0000000 --- a/src/api/wms/packagemergeDetail/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface PackagemergeDetailVO { - id: number - locationCode: string - locationGroupCode: string - areaCode: string - fromPackingNumber: string - toPackingNumber: string - fromBatch: string - toBatch: string - fromInventoryStatus: string - toInventoryStatus: string - fromContainerNumber: string - toContainerNumber: string - fromOwnerCode: string - toOwnerCode: string - masterId: number - number: string - itemCode: string - remark: string - siteId: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - toQty: number - fromQty: number - uom: string - interfaceType: string -} - -// 查询合包记录子列表 -export const getPackagemergeDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/packagemerge-detail/senior', data }) - } else { - return await request.get({ url: `/wms/packagemerge-detail/page`, params }) - } -} - -// 查询合包记录子详情 -export const getPackagemergeDetail = async (id: number) => { - return await request.get({ url: '/wms/packagemerge-detail/get?id=' + id }) -} - -// 新增合包记录子 -export const createPackagemergeDetail = async (data: PackagemergeDetailVO) => { - return await request.post({ url: '/wms/packagemerge-detail/create', data }) -} - -// 修改合包记录子 -export const updatePackagemergeDetail = async (data: PackagemergeDetailVO) => { - return await request.put({ url: '/wms/packagemerge-detail/update', data }) -} - -// 删除合包记录子 -export const deletePackagemergeDetail = async (id: number) => { - return await request.delete({ url: '/wms/packagemerge-detail/delete?id=' + id }) -} - -// 导出合包记录子 Excel -export const exportPackagemergeDetailApi = async (params) => { - return await request.download({ url: '/wms/packagemerge-detail/export-excel', params }) -} diff --git a/src/api/wms/packagemergeMain/index.ts b/src/api/wms/packagemergeMain/index.ts deleted file mode 100644 index 2638292..0000000 --- a/src/api/wms/packagemergeMain/index.ts +++ /dev/null @@ -1,68 +0,0 @@ -import request from '@/config/axios' - -export interface PackagemergeMainVO { - id: number - warehouseCode: string - details: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - available: string - requestTime: Date - dueTime: Date - departmentCode: string - userGroupCode: string - interfaceType: string - number: string - businessType: string - remark: string - extraProperties: string - siteId: string -} - -// 查询合包记录主列表 -export const getPackagemergeMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/packagemerge-main/senior', data }) - } else { - return await request.get({ url: `/wms/packagemerge-main/page`, params }) - } -} - -// 查询合包记录主详情 -export const getPackagemergeMain = async (id: number) => { - return await request.get({ url: `/wms/packagemerge-main/get?id=` + id }) -} - -// 新增合包记录主 -export const createPackagemergeMain = async (data: PackagemergeMainVO) => { - return await request.post({ url: `/wms/packagemerge-main/create`, data }) -} - -// 修改合包记录主 -export const updatePackagemergeMain = async (data: PackagemergeMainVO) => { - return await request.put({ url: `/wms/packagemerge-main/update`, data }) -} - -// 删除合包记录主 -export const deletePackagemergeMain = async (id: number) => { - return await request.delete({ url: `/wms/packagemerge-main/delete?id=` + id }) -} - -// 导出合包记录主 Excel -export const exportPackagemergeMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/packagemerge-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/packagemerge-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/packagemerge-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/packageoverDetail/index.ts b/src/api/wms/packageoverDetail/index.ts deleted file mode 100644 index 52a9f97..0000000 --- a/src/api/wms/packageoverDetail/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface PackageoverDetailVO { - id: number - locationCode: string - locationGroupCode: string - areaCode: string - fromPackingNumber: string - toPackingNumber: string - fromBatch: string - toBatch: string - fromInventoryStatus: string - toInventoryStatus: string - fromContainerNumber: string - toContainerNumber: string - fromOwnerCode: string - toOwnerCode: string - masterId: number - number: string - itemCode: string - remark: string - siteId: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - toQty: number - fromQty: number - uom: string - interfaceType: string -} - -// 查询翻包记录子列表 -export const getPackageoverDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/packageover-detail/senior', data }) - } else { - return await request.get({ url: `/wms/packageover-detail/page`, params }) - } -} - -// 查询翻包记录子详情 -export const getPackageoverDetail = async (id: number) => { - return await request.get({ url: '/wms/packageover-detail/get?id=' + id }) -} - -// 新增翻包记录子 -export const createPackageoverDetail = async (data: PackageoverDetailVO) => { - return await request.post({ url: '/wms/packageover-detail/create', data }) -} - -// 修改翻包记录子 -export const updatePackageoverDetail = async (data: PackageoverDetailVO) => { - return await request.put({ url: '/wms/packageover-detail/update', data }) -} - -// 删除翻包记录子 -export const deletePackageoverDetail = async (id: number) => { - return await request.delete({ url: '/wms/packageover-detail/delete?id=' + id }) -} - -// 导出翻包记录子 Excel -export const exportPackageoverDetailApi = async (params) => { - return await request.download({ url: '/wms/packageover-detail/export-excel', params }) -} diff --git a/src/api/wms/packageoverMain/index.ts b/src/api/wms/packageoverMain/index.ts deleted file mode 100644 index 2950c3b..0000000 --- a/src/api/wms/packageoverMain/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import request from '@/config/axios' - -export interface PackageoverMainVO { - id: number - warehouseCode: string - details: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - available: string - requestTime: Date - dueTime: Date - departmentCode: string - userGroupCode: string - interfaceType: string - number: string - businessType: string - remark: string - extraProperties: string - siteId: string -} - -// 查询翻包记录主列表 -export const getPackageoverMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/packageover-main/senior', data }) - } else { - return await request.get({ url: `/wms/packageover-main/page`, params }) - } -} - -// 查询翻包记录主详情 -export const getPackageoverMain = async (id: number) => { - return await request.get({ url: '/wms/packageover-main/get?id=' + id }) -} - -// 新增翻包记录主 -export const createPackageoverMain = async (data: PackageoverMainVO) => { - return await request.post({ url: '/wms/packageover-main/create', data }) -} - -// 修改翻包记录主 -export const updatePackageoverMain = async (data: PackageoverMainVO) => { - return await request.put({ url: '/wms/packageover-main/update', data }) -} - -// 删除翻包记录主 -export const deletePackageoverMain = async (id: number) => { - return await request.delete({ url: '/wms/packageover-main/delete?id=' + id }) -} - -// 导出翻包记录主 Excel -export const exportPackageoverMainApi = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/packageover-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/packageover-main/export-excel`, params }) - } -} diff --git a/src/api/wms/packagesplitDetail/index.ts b/src/api/wms/packagesplitDetail/index.ts deleted file mode 100644 index 23f7876..0000000 --- a/src/api/wms/packagesplitDetail/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface PackagesplitDetailVO { - id: number - locationCode: string - locationGroupCode: string - areaCode: string - fromPackingNumber: string - toPackingNumber: string - fromBatch: string - toBatch: string - fromInventoryStatus: string - toInventoryStatus: string - fromContainerNumber: string - toContainerNumber: string - fromOwnerCode: string - toOwnerCode: string - masterId: number - number: string - itemCode: string - remark: string - siteId: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - toQty: number - fromQty: number - uom: string - interfaceType: string -} - -// 查询拆包记录子列表 -export const getPackagesplitDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/packagesplit-detail/senior', data }) - } else { - return await request.get({ url: `/wms/packagesplit-detail/page`, params }) - } -} - -// 查询拆包记录子详情 -export const getPackagesplitDetail = async (id: number) => { - return await request.get({ url: '/wms/packagesplit-detail/get?id=' + id }) -} - -// 新增拆包记录子 -export const createPackagesplitDetail = async (data: PackagesplitDetailVO) => { - return await request.post({ url: '/wms/packagesplit-detail/create', data }) -} - -// 修改拆包记录子 -export const updatePackagesplitDetail = async (data: PackagesplitDetailVO) => { - return await request.put({ url: '/wms/packagesplit-detail/update', data }) -} - -// 删除拆包记录子 -export const deletePackagesplitDetail = async (id: number) => { - return await request.delete({ url: '/wms/packagesplit-detail/delete?id=' + id }) -} - -// 导出拆包记录子 Excel -export const exportPackagesplitDetailApi = async (params) => { - return await request.download({ url: '/wms/packagesplit-detail/export-excel', params }) -} diff --git a/src/api/wms/packagesplitMain/index.ts b/src/api/wms/packagesplitMain/index.ts deleted file mode 100644 index 37fbedd..0000000 --- a/src/api/wms/packagesplitMain/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import request from '@/config/axios' - -export interface PackagesplitMainVO { - id: number - warehouseCode: string - details: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - available: string - requestTime: Date - dueTime: Date - departmentCode: string - userGroupCode: string - interfaceType: string - number: string - businessType: string - remark: string - extraProperties: string - siteId: string -} - -// 查询拆包记录主列表 -export const getPackagesplitMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/packagesplit-main/senior', data }) - } else { - return await request.get({ url: `/wms/packagesplit-main/page`, params }) - } -} - -// 查询拆包记录主详情 -export const getPackagesplitMain = async (id: number) => { - return await request.get({ url: '/wms/packagesplit-main/get?id=' + id }) -} - -// 新增拆包记录主 -export const createPackagesplitMain = async (data: PackagesplitMainVO) => { - return await request.post({ url: '/wms/packagesplit-main/create', data }) -} - -// 修改拆包记录主 -export const updatePackagesplitMain = async (data: PackagesplitMainVO) => { - return await request.put({ url: '/wms/packagesplit-main/update', data }) -} - -// 删除拆包记录主 -export const deletePackagesplitMain = async (id: number) => { - return await request.delete({ url: '/wms/packagesplit-main/delete?id=' + id }) -} - -// 导出拆包记录主 Excel -export const exportPackagesplitMainApi = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/packagesplit-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/packagesplit-main/export-excel`, params }) - } -} diff --git a/src/api/wms/paramsetting/index.ts b/src/api/wms/paramsetting/index.ts deleted file mode 100644 index c4549f2..0000000 --- a/src/api/wms/paramsetting/index.ts +++ /dev/null @@ -1,59 +0,0 @@ -import request from '@/config/axios' - -export interface ParamsettingVO { - strategyType: string - paramCode: string - paramName: string - usableOpeartors: string - dataType: string - valueScope: string - relatedTo: string - description: string - isRequired: string -} - -// 查询参数设置列表 -export const getParamsettingPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/paramsetting/senior', data }) - } else { - return await request.get({ url: `/wms/paramsetting/page`, params }) - } -} - -// 查询参数设置详情 -export const getParamsetting = async (id: number) => { - return await request.get({ url: `/wms/paramsetting/get?id=` + id }) -} - -// 新增参数设置 -export const createParamsetting = async (data: ParamsettingVO) => { - return await request.post({ url: `/wms/paramsetting/create`, data }) -} - -// 修改参数设置 -export const updateParamsetting = async (data: ParamsettingVO) => { - return await request.put({ url: `/wms/paramsetting/update`, data }) -} - -// 删除参数设置 -export const deleteParamsetting = async (id: number) => { - return await request.delete({ url: `/wms/paramsetting/delete?id=` + id }) -} - -// 导出参数设置 Excel -export const exportParamsetting = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/paramsetting/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/paramsetting/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/paramsetting/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/pickJobDetail/index.ts b/src/api/wms/pickJobDetail/index.ts deleted file mode 100644 index 1528337..0000000 --- a/src/api/wms/pickJobDetail/index.ts +++ /dev/null @@ -1,64 +0,0 @@ -import request from '@/config/axios' - -export interface PickJobDetailVO { - packingNumber: string - batch: string - inventoryStatus: string - containerNumber: string - fromLocationCode: string - toLocationCode: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creatorId: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询拣料任务子列表 -export const getPickJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/pick-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/pick-job-detail/page`, params }) - } -} - -// 查询拣料任务子详情 -export const getPickJobDetail = async (id: number) => { - return await request.get({ url: `/wms/pick-job-detail/get?id=` + id }) -} - -// 新增拣料任务子 -export const createPickJobDetail = async (data: PickJobDetailVO) => { - return await request.post({ url: `/wms/pick-job-detail/create`, data }) -} - -// 修改拣料任务子 -export const updatePickJobDetail = async (data: PickJobDetailVO) => { - return await request.put({ url: `/wms/pick-job-detail/update`, data }) -} - -// 删除拣料任务子 -export const deletePickJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/pick-job-detail/delete?id=` + id }) -} - -// 导出拣料任务子 Excel -export const exportPickJobDetail = async (params) => { - return await request.download({ url: `/wms/pick-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/pick-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/pickJobMain/index.ts b/src/api/wms/pickJobMain/index.ts deleted file mode 100644 index 3f52ed8..0000000 --- a/src/api/wms/pickJobMain/index.ts +++ /dev/null @@ -1,81 +0,0 @@ -import request from '@/config/axios' - -export interface PickJobMainVO { - requestNumber: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromWarehouseCode: string - fromAreaCodes: string - toWarehouseCode: string - toAreaCodes: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询拣料任务主列表 -export const getPickJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/pick-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/pick-job-main/page`, params }) - } -} - -// 查询拣料任务主详情 -export const getPickJobMain = async (id: number) => { - return await request.get({ url: `/wms/pick-job-main/get?id=` + id }) -} - -// 新增拣料任务主 -export const createPickJobMain = async (data: PickJobMainVO) => { - return await request.post({ url: `/wms/pick-job-main/create`, data }) -} - -// 修改拣料任务主 -export const updatePickJobMain = async (data: PickJobMainVO) => { - return await request.put({ url: `/wms/pick-job-main/update`, data }) -} - -// 删除拣料任务主 -export const deletePickJobMain = async (id: number) => { - return await request.delete({ url: `/wms/pick-job-main/delete?id=` + id }) -} - -// 导出拣料任务主 Excel -export const exportPickJobMain = async (params) => { - return await request.download({ url: `/wms/pick-job-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/pick-job-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/pickRecordDetail/index.ts b/src/api/wms/pickRecordDetail/index.ts deleted file mode 100644 index f18fb3f..0000000 --- a/src/api/wms/pickRecordDetail/index.ts +++ /dev/null @@ -1,74 +0,0 @@ -import request from '@/config/axios' - -export interface PickRecordDetailVO { - fromPackingNumber: string - fromBatch: string - inventoryStatus: string - fromOwnerCode: string - fromContainerNumber: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - toOwnerCode: string - toContainerNumber: string - toLocationCode: string - toLocationGroupCode: string - toAreaCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - jobDetailId: string - toPackingNumber: string - toBatch: string -} - -// 查询拣料记录子列表 -export const getPickRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/pick-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/pick-record-detail/page`, params }) - } -} - -// 查询拣料记录子详情 -export const getPickRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/pick-record-detail/get?id=` + id }) -} - -// 新增拣料记录子 -export const createPickRecordDetail = async (data: PickRecordDetailVO) => { - return await request.post({ url: `/wms/pick-record-detail/create`, data }) -} - -// 修改拣料记录子 -export const updatePickRecordDetail = async (data: PickRecordDetailVO) => { - return await request.put({ url: `/wms/pick-record-detail/update`, data }) -} - -// 删除拣料记录子 -export const deletePickRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/pick-record-detail/delete?id=` + id }) -} - -// 导出拣料记录子 Excel -export const exportPickRecordDetail = async (params) => { - return await request.download({ url: `/wms/pick-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/pick-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/pickRecordMain/index.ts b/src/api/wms/pickRecordMain/index.ts deleted file mode 100644 index 97ea9ce..0000000 --- a/src/api/wms/pickRecordMain/index.ts +++ /dev/null @@ -1,68 +0,0 @@ -import request from '@/config/axios' - -export interface PickRecordMainVO { - requestNumber: string - jobNumber: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - available: string -} - -// 查询拣料记录主列表 -export const getPickRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/pick-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/pick-record-main/page`, params }) - } -} - -// 查询拣料记录主详情 -export const getPickRecordMain = async (id: number) => { - return await request.get({ url: `/wms/pick-record-main/get?id=` + id }) -} - -// 新增拣料记录主 -export const createPickRecordMain = async (data: PickRecordMainVO) => { - return await request.post({ url: `/wms/pick-record-main/create`, data }) -} - -// 修改拣料记录主 -export const updatePickRecordMain = async (data: PickRecordMainVO) => { - return await request.put({ url: `/wms/pick-record-main/update`, data }) -} - -// 删除拣料记录主 -export const deletePickRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/pick-record-main/delete?id=` + id }) -} - -// 导出拣料记录主 Excel -export const exportPickRecordMain = async (params) => { - return await request.download({ url: `/wms/pick-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/pick-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/pickRequestDetail/index.ts b/src/api/wms/pickRequestDetail/index.ts deleted file mode 100644 index 143edf1..0000000 --- a/src/api/wms/pickRequestDetail/index.ts +++ /dev/null @@ -1,62 +0,0 @@ -import request from '@/config/axios' - -export interface PickRequestDetailVO { - inventoryStatus: string - toLocationCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询拣料申请子列表 -export const getPickRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/pick-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/pick-request-detail/page`, params }) - } -} - -// 查询拣料申请子详情 -export const getPickRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/pick-request-detail/get?id=` + id }) -} - -// 新增拣料申请子 -export const createPickRequestDetail = async (data: PickRequestDetailVO) => { - return await request.post({ url: `/wms/pick-request-detail/create`, data }) -} - -// 修改拣料申请子 -export const updatePickRequestDetail = async (data: PickRequestDetailVO) => { - return await request.put({ url: `/wms/pick-request-detail/update`, data }) -} - -// 删除拣料申请子 -export const deletePickRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/pick-request-detail/delete?id=` + id }) -} - -// 导出拣料申请子 Excel -export const exportPickRequestDetail = async (params) => { - return await request.download({ url: `/wms/pick-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/pick-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/pickRequestMain/index.ts b/src/api/wms/pickRequestMain/index.ts deleted file mode 100644 index 5344d4d..0000000 --- a/src/api/wms/pickRequestMain/index.ts +++ /dev/null @@ -1,66 +0,0 @@ -import request from '@/config/axios' - -export interface PickRequestMainVO { - fromWarehouseCode: string - fromLocationTypes: string - fromAreas: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询拣料申请主列表 -export const getPickRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/pick-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/pick-request-main/page`, params }) - } -} - -// 查询拣料申请主详情 -export const getPickRequestMain = async (id: number) => { - return await request.get({ url: `/wms/pick-request-main/get?id=` + id }) -} - -// 新增拣料申请主 -export const createPickRequestMain = async (data: PickRequestMainVO) => { - return await request.post({ url: `/wms/pick-request-main/create`, data }) -} - -// 修改拣料申请主 -export const updatePickRequestMain = async (data: PickRequestMainVO) => { - return await request.put({ url: `/wms/pick-request-main/update`, data }) -} - -// 删除拣料申请主 -export const deletePickRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/pick-request-main/delete?id=` + id }) -} - -// 导出拣料申请主 Excel -export const exportPickRequestMain = async (params) => { - return await request.download({ url: `/wms/pick-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/pick-request-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/preparetoissueDetail/index.ts b/src/api/wms/preparetoissueDetail/index.ts deleted file mode 100644 index 44655ff..0000000 --- a/src/api/wms/preparetoissueDetail/index.ts +++ /dev/null @@ -1,47 +0,0 @@ -import request from '@/config/axios' - -export interface PreparetoissueDetailVO { - toLocationCode: string - workStation: string - dueTime: Date - number: string - itemCode: string - remark: string - createTime: Date - creator: string - planQty: number - uom: string - updateTime: Date - updater: string - available: string -} - -// 查询备料计划子列表 -export const getPreparetoissueDetailPage = async (params) => { - return await request.get({ url: `/wms/preparetoissue-detail/page`, params }) -} - -// 查询备料计划子详情 -export const getPreparetoissueDetail = async (id: number) => { - return await request.get({ url: `/wms/preparetoissue-detail/get?id=` + id }) -} - -// 新增备料计划子 -export const createPreparetoissueDetail = async (data: PreparetoissueDetailVO) => { - return await request.post({ url: `/wms/preparetoissue-detail/create`, data }) -} - -// 修改备料计划子 -export const updatePreparetoissueDetail = async (data: PreparetoissueDetailVO) => { - return await request.put({ url: `/wms/preparetoissue-detail/update`, data }) -} - -// 删除备料计划子 -export const deletePreparetoissueDetail = async (id: number) => { - return await request.delete({ url: `/wms/preparetoissue-detail/delete?id=` + id }) -} - -// 导出备料计划子 Excel -export const exportPreparetoissueDetail = async (params) => { - return await request.download({ url: `/wms/preparetoissue-detail/export-excel`, params }) -} diff --git a/src/api/wms/preparetoissueMain/index.ts b/src/api/wms/preparetoissueMain/index.ts deleted file mode 100644 index b86b6fc..0000000 --- a/src/api/wms/preparetoissueMain/index.ts +++ /dev/null @@ -1,109 +0,0 @@ -import request from '@/config/axios' - -export interface PreparetoissueMainVO { - productionPlanNumber: string - workshop: string - prodLine: string - shift: string - team: string - planDate: Date - number: string - businessType: string - remark: string - createTime: Date - creator: string - beginTime: Date - endTime: Date - status: string - updateTime: Date - updater: string - available: string -} - -// 查询备料计划主列表 -export const getPreparetoissueMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/preparetoissue-main/senior', data }) - } else { - return await request.get({ url: `/wms/preparetoissue-main/page`, params }) - } -} - -// 查询备料计划主详情 -export const getPreparetoissueMain = async (id: number) => { - return await request.get({ url: `/wms/preparetoissue-main/get?id=` + id }) -} - -// 新增备料计划主 -export const createPreparetoissueMain = async (data: PreparetoissueMainVO) => { - return await request.post({ url: `/wms/preparetoissue-main/create`, data }) -} - -// 修改备料计划主 -export const updatePreparetoissueMain = async (data: PreparetoissueMainVO) => { - return await request.put({ url: `/wms/preparetoissue-main/update`, data }) -} - -// 删除备料计划主 -export const deletePreparetoissueMain = async (id: number) => { - return await request.delete({ url: `/wms/preparetoissue-main/delete?id=` + id }) -} - -// 导出备料计划主 Excel -export const exportPreparetoissueMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/preparetoissue-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/preparetoissue-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/preparetoissue-main/get-import-template' }) -} - -// bom拆解 -export const getBomDisassemble = async (id: number) => { - return await request.get({ url: `/wms/preparetoissue-main/getBomDisassemble?id=` + id }) -} - - - -// 关闭 -export const close = (id) => { - return request.put({ url: '/wms/preparetoissue-main/close?id=' + id }) -} - -// 提交审批 -export const submit = (id) => { - return request.put({ url: '/wms/preparetoissue-main/submit?id=' + id }) -} - -// 打开 -export const open = (id) => { - return request.put({ url: '/wms/preparetoissue-main/open?id=' + id }) -} - -// 驳回 -export const reject = (id) => { - return request.put({ url: '/wms/preparetoissue-main/reject?id=' + id }) -} - -// 驳回 -export const agree = (id) => { - return request.put({ url: '/wms/preparetoissue-main/agree?id=' + id }) -} - -// 发布 -export const publish = (id) => { - return request.put({ url: '/wms/preparetoissue-main/publish?id=' + id }) -} - -// 重置 -export const resetting = (id) => { - return request.put({ url: '/wms/preparetoissue-main/resetting?id=' + id }) -} diff --git a/src/api/wms/process/index.ts b/src/api/wms/process/index.ts deleted file mode 100644 index c89f7e1..0000000 --- a/src/api/wms/process/index.ts +++ /dev/null @@ -1,60 +0,0 @@ -import request from '@/config/axios' - -export interface ProcessVO { - code: string - name: string - description: string - type: string - workshopCode: string - productionLineCode: string - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询工序列表 -export const getProcessPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/process/senior', data }) - } else { - return await request.get({ url: `/wms/process/page`, params }) - } -} - -// 查询工序详情 -export const getProcess = async (id: number) => { - return await request.get({ url: `/wms/process/get?id=` + id }) -} - -// 新增工序 -export const createProcess = async (data: ProcessVO) => { - return await request.post({ url: `/wms/process/create`, data }) -} - -// 修改工序 -export const updateProcess = async (data: ProcessVO) => { - return await request.put({ url: `/wms/process/update`, data }) -} - -// 删除工序 -export const deleteProcess = async (id: number) => { - return await request.delete({ url: `/wms/process/delete?id=` + id }) -} - -// 导出工序 Excel -export const exportProcess = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/process/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/process/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/process/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productdismantleJobDetail/index.ts b/src/api/wms/productdismantleJobDetail/index.ts deleted file mode 100644 index 8f9289f..0000000 --- a/src/api/wms/productdismantleJobDetail/index.ts +++ /dev/null @@ -1,70 +0,0 @@ -import request from '@/config/axios' - -export interface ProductdismantleJobDetailVO { - productionLineCode: string - workStationCode: string - processCode: string - packingNumber: string - containerNumber: string - batch: string - produceDate: Date - expireDate: Date - inventoryStatus: string - stdPackQty: number - stdPackUnit: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string - fromLocationCode: string - ownerCode: string - fromOwnerCode: string -} - -// 查询制品拆解任务子列表 -export const getProductdismantleJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productdismantle-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productdismantle-job-detail/page`, params }) - } -} - -// 查询制品拆解任务子详情 -export const getProductdismantleJobDetail = async (id: number) => { - return await request.get({ url: `/wms/productdismantle-job-detail/get?id=` + id }) -} - -// 新增制品拆解任务子 -export const createProductdismantleJobDetail = async (data: ProductdismantleJobDetailVO) => { - return await request.post({ url: `/wms/productdismantle-job-detail/create`, data }) -} - -// 修改制品拆解任务子 -export const updateProductdismantleJobDetail = async (data: ProductdismantleJobDetailVO) => { - return await request.put({ url: `/wms/productdismantle-job-detail/update`, data }) -} - -// 删除制品拆解任务子 -export const deleteProductdismantleJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/productdismantle-job-detail/delete?id=` + id }) -} - -// 导出制品拆解任务子 Excel -export const exportProductdismantleJobDetail = async (params) => { - return await request.download({ url: `/wms/productdismantle-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productdismantle-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productdismantleJobMain/index.ts b/src/api/wms/productdismantleJobMain/index.ts deleted file mode 100644 index 353653c..0000000 --- a/src/api/wms/productdismantleJobMain/index.ts +++ /dev/null @@ -1,82 +0,0 @@ -import request from '@/config/axios' - -export interface ProductdismantleJobMainVO { - requestNumber: string - workshopCode: string - team: string - shift: string - fromWarehouseCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromAreaCodes: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询制品拆解任务主列表 -export const getProductdismantleJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productdismantle-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/productdismantle-job-main/page`, params }) - } -} - -// 查询制品拆解任务主详情 -export const getProductdismantleJobMain = async (id: number) => { - return await request.get({ url: `/wms/productdismantle-job-main/get?id=` + id }) -} - -// 新增制品拆解任务主 -export const createProductdismantleJobMain = async (data: ProductdismantleJobMainVO) => { - return await request.post({ url: `/wms/productdismantle-job-main/create`, data }) -} - -// 修改制品拆解任务主 -export const updateProductdismantleJobMain = async (data: ProductdismantleJobMainVO) => { - return await request.put({ url: `/wms/productdismantle-job-main/update`, data }) -} - -// 删除制品拆解任务主 -export const deleteProductdismantleJobMain = async (id: number) => { - return await request.delete({ url: `/wms/productdismantle-job-main/delete?id=` + id }) -} - -// 导出制品拆解任务主 Excel -export const exportProductdismantleJobMain = async (params) => { - return await request.download({ url: `/wms/productdismantle-job-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productdismantle-job-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productdismantleRecordDetaila/index.ts b/src/api/wms/productdismantleRecordDetaila/index.ts deleted file mode 100644 index da0a502..0000000 --- a/src/api/wms/productdismantleRecordDetaila/index.ts +++ /dev/null @@ -1,72 +0,0 @@ -import request from '@/config/axios' - -export interface ProductdismantleRecordDetailaVO { - fromOwnerCode: string - productionLineCode: string - workStationCode: string - processCode: string - packingNumber: string - containerNumber: string - batch: string - produceDate: Date - expireDate: Date - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - inventoryStatus: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - jobDetailId: string -} - -// 查询制品拆解记录子列表 -export const getProductdismantleRecordDetailaPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productdismantle-record-detaila/senior', data }) - } else { - return await request.get({ url: `/wms/productdismantle-record-detaila/page`, params }) - } -} - -// 查询制品拆解记录子详情 -export const getProductdismantleRecordDetaila = async (id: number) => { - return await request.get({ url: `/wms/productdismantle-record-detaila/get?id=` + id }) -} - -// 新增制品拆解记录子 -export const createProductdismantleRecordDetaila = async (data: ProductdismantleRecordDetailaVO) => { - return await request.post({ url: `/wms/productdismantle-record-detaila/create`, data }) -} - -// 修改制品拆解记录子 -export const updateProductdismantleRecordDetaila = async (data: ProductdismantleRecordDetailaVO) => { - return await request.put({ url: `/wms/productdismantle-record-detaila/update`, data }) -} - -// 删除制品拆解记录子 -export const deleteProductdismantleRecordDetaila = async (id: number) => { - return await request.delete({ url: `/wms/productdismantle-record-detaila/delete?id=` + id }) -} - -// 导出制品拆解记录子 Excel -export const exportProductdismantleRecordDetaila = async (params) => { - return await request.download({ url: `/wms/productdismantle-record-detaila/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productdismantle-record-detaila/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productdismantleRecordMain/index.ts b/src/api/wms/productdismantleRecordMain/index.ts deleted file mode 100644 index b5de742..0000000 --- a/src/api/wms/productdismantleRecordMain/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface ProductdismantleRecordMainVO { - requestNumber: string - workshopCode: string - team: string - shift: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - available: string -} - -// 查询制品拆解记录主列表 -export const getProductdismantleRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productdismantle-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/productdismantle-record-main/page`, params }) - } -} - -// 查询制品拆解记录主详情 -export const getProductdismantleRecordMain = async (id: number) => { - return await request.get({ url: `/wms/productdismantle-record-main/get?id=` + id }) -} - -// 新增制品拆解记录主 -export const createProductdismantleRecordMain = async (data: ProductdismantleRecordMainVO) => { - return await request.post({ url: `/wms/productdismantle-record-main/create`, data }) -} - -// 修改制品拆解记录主 -export const updateProductdismantleRecordMain = async (data: ProductdismantleRecordMainVO) => { - return await request.put({ url: `/wms/productdismantle-record-main/update`, data }) -} - -// 删除制品拆解记录主 -export const deleteProductdismantleRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/productdismantle-record-main/delete?id=` + id }) -} - -// 导出制品拆解记录主 Excel -export const exportProductdismantleRecordMain = async (params) => { - return await request.download({ url: `/wms/productdismantle-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productdismantle-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productdismantleRequestDetaila/index.ts b/src/api/wms/productdismantleRequestDetaila/index.ts deleted file mode 100644 index 6e079cd..0000000 --- a/src/api/wms/productdismantleRequestDetaila/index.ts +++ /dev/null @@ -1,71 +0,0 @@ -import request from '@/config/axios' - -export interface ProductdismantleRequestDetailaVO { - productionLineCode: string - workStationCode: string - processCode: string - packingNumber: string - containerNumber: string - batch: string - produceDate: Date - expireDate: Date - inventoryStatus: string - stdPackQty: number - stdPackUnit: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectOde: string - qty: number - uom: string - updateTime: Date - updater: string - fromLocationCode: string - fromOwnerCode: string -} - -// 查询制品拆解申请子列表 -export const getProductdismantleRequestDetailaPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productdismantle-request-detaila/senior', data }) - } else { - return await request.get({ url: `/wms/productdismantle-request-detaila/page`, params }) - } -} - -// 查询制品拆解申请子详情 -export const getProductdismantleRequestDetaila = async (id: number) => { - return await request.get({ url: `/wms/productdismantle-request-detaila/get?id=` + id }) -} - -// 新增制品拆解申请子 -export const createProductdismantleRequestDetaila = async (data: ProductdismantleRequestDetailaVO) => { - return await request.post({ url: `/wms/productdismantle-request-detaila/create`, data }) -} - -// 修改制品拆解申请子 -export const updateProductdismantleRequestDetaila = async (data: ProductdismantleRequestDetailaVO) => { - return await request.put({ url: `/wms/productdismantle-request-detaila/update`, data }) -} - -// 删除制品拆解申请子 -export const deleteProductdismantleRequestDetaila = async (id: number) => { - return await request.delete({ url: `/wms/productdismantle-request-detaila/delete?id=` + id }) -} - -// 导出制品拆解申请子 Excel -export const exportProductdismantleRequestDetaila = async (params) => { - return await request.download({ url: `/wms/productdismantle-request-detaila/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productdismantle-request-detaila/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productdismantleRequestMain/index.ts b/src/api/wms/productdismantleRequestMain/index.ts deleted file mode 100644 index 1319d18..0000000 --- a/src/api/wms/productdismantleRequestMain/index.ts +++ /dev/null @@ -1,101 +0,0 @@ -import request from '@/config/axios' - -export interface ProductdismantleRequestMainVO { - workshopCode: string - team: string - shift: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询制品拆解申请主列表 -export const getProductdismantleRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productdismantle-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/productdismantle-request-main/page`, params }) - } -} - -// 查询制品拆解申请主详情 -export const getProductdismantleRequestMain = async (id: number) => { - return await request.get({ url: `/wms/productdismantle-request-main/get?id=` + id }) -} - -// 新增制品拆解申请主 -export const createProductdismantleRequestMain = async (data: ProductdismantleRequestMainVO) => { - return await request.post({ url: `/wms/productdismantle-request-main/create`, data }) -} - -// 修改制品拆解申请主 -export const updateProductdismantleRequestMain = async (data: ProductdismantleRequestMainVO) => { - return await request.put({ url: `/wms/productdismantle-request-main/update`, data }) -} - -// 删除制品拆解申请主 -export const deleteProductdismantleRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/productdismantle-request-main/delete?id=` + id }) -} - -// 导出制品拆解申请主 Excel -export const exportProductdismantleRequestMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/productdismantle-request-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/productdismantle-request-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productdismantle-request-main/get-import-template' }) -} - -// 关闭 -export const close = (id) => { - return request.put({ url: '/wms/productdismantle-request-main/close?id=' + id }) -} - -// 重新添加 -export const reAdd = (id) => { - return request.put({ url: '/wms/productdismantle-request-main/reAdd?id=' + id }) -} - -// 提交审批 -export const submit = (id) => { - return request.put({ url: '/wms/productdismantle-request-main/submit?id=' + id }) -} - -// 驳回 -export const refused = (id) => { - return request.put({ url: '/wms/productdismantle-request-main/refused?id=' + id }) -} - -// 审批通过 -export const agree = (id) => { - return request.put({ url: '/wms/productdismantle-request-main/agree?id=' + id }) -} - -// 处理 -export const handle = (id) => { - return request.put({ url: '/wms/productdismantle-request-main/handle?id=' + id }) -} \ No newline at end of file diff --git a/src/api/wms/productionDetail/index.ts b/src/api/wms/productionDetail/index.ts deleted file mode 100644 index 313ecbb..0000000 --- a/src/api/wms/productionDetail/index.ts +++ /dev/null @@ -1,47 +0,0 @@ -import request from '@/config/axios' - -export interface ProductionDetailVO { - bomVersion: string - goodQty: number - notGoodQty: number - number: string - itemCode: string - remark: string - createTime: Date - creator: string - planQty: number - uom: string - updateTime: Date - updater: string - available: string -} - -// 查询生产计划子列表 -export const getProductionDetailPage = async (params) => { - return await request.get({ url: `/wms/production-detail/page`, params }) -} - -// 查询生产计划子详情 -export const getProductionDetail = async (id: number) => { - return await request.get({ url: `/wms/production-detail/get?id=` + id }) -} - -// 新增生产计划子 -export const createProductionDetail = async (data: ProductionDetailVO) => { - return await request.post({ url: `/wms/production-detail/create`, data }) -} - -// 修改生产计划子 -export const updateProductionDetail = async (data: ProductionDetailVO) => { - return await request.put({ url: `/wms/production-detail/update`, data }) -} - -// 删除生产计划子 -export const deleteProductionDetail = async (id: number) => { - return await request.delete({ url: `/wms/production-detail/delete?id=` + id }) -} - -// 导出生产计划子 Excel -export const exportProductionDetail = async (params) => { - return await request.download({ url: `/wms/production-detail/export-excel`, params }) -} diff --git a/src/api/wms/productionMain/index.ts b/src/api/wms/productionMain/index.ts deleted file mode 100644 index 9b134c1..0000000 --- a/src/api/wms/productionMain/index.ts +++ /dev/null @@ -1,111 +0,0 @@ -import request from '@/config/axios' - -export interface ProductionMainVO { - displayOrder: number - workshop: string - productionLine: string - shift: string - team: string - planDate: Date - number: string - businessType: string - remark: string - createTime: Date - creator: string - beginTime: Date - endTime: Date - status: string - updateTime: Date - updater: string - available: string - woNumber: string - woLine: string -} - -// 查询生产计划主列表 -export const getProductionMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/production-main/senior', data }) - } else { - return await request.get({ url: `/wms/production-main/page`, params }) - } -} - -// 查询生产计划主详情 -export const getProductionMain = async (id: number) => { - return await request.get({ url: `/wms/production-main/get?id=` + id }) -} - -// 新增生产计划主 -export const createProductionMain = async (data: ProductionMainVO) => { - return await request.post({ url: `/wms/production-main/create`, data }) -} - -// 修改生产计划主 -export const updateProductionMain = async (data: ProductionMainVO) => { - return await request.put({ url: `/wms/production-main/update`, data }) -} - -// 删除生产计划主 -export const deleteProductionMain = async (id: number) => { - return await request.delete({ url: `/wms/production-main/delete?id=` + id }) -} - -// 导出生产计划主 Excel -export const exportProductionMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/production-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/production-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/production-main/get-import-template' }) -} - -// 关闭 -export const close = (id) => { - return request.put({ url: '/wms/production-main/close?id=' + id }) -} - -// 提交审批 -export const submit = (id) => { - return request.put({ url: '/wms/production-main/submit?id=' + id }) -} - -// 打开 -export const open = (id) => { - return request.put({ url: '/wms/production-main/open?id=' + id }) -} - -// 驳回 -export const reject = (id) => { - return request.put({ url: '/wms/production-main/reject?id=' + id }) -} - -// 驳回 -export const agree = (id) => { - return request.put({ url: '/wms/production-main/agree?id=' + id }) -} - -// 发布 -export const publish = (id) => { - return request.put({ url: '/wms/production-main/publish?id=' + id }) -} - -// 重置 -export const resetting = (id) => { - return request.put({ url: '/wms/production-main/resetting?id=' + id }) -} - - - - - - - diff --git a/src/api/wms/productionline/index.ts b/src/api/wms/productionline/index.ts deleted file mode 100644 index 050c8a0..0000000 --- a/src/api/wms/productionline/index.ts +++ /dev/null @@ -1,61 +0,0 @@ -import request from '@/config/axios' - -export interface ProductionlineVO { - code: string - name: string - description: string - type: string - workshopCode: string - rawLocationCode: string - fgLocationCode: string - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询生产线列表 -export const getProductionlinePage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/productionline/senior', data }) - } else { - return await request.get({ url: `/wms/productionline/page`, params }) - } -} - -// 查询生产线详情 -export const getProductionline = async (id: number) => { - return await request.get({ url: `/wms/productionline/get?id=` + id }) -} - -// 新增生产线 -export const createProductionline = async (data: ProductionlineVO) => { - return await request.post({ url: `/wms/productionline/create`, data }) -} - -// 修改生产线 -export const updateProductionline = async (data: ProductionlineVO) => { - return await request.put({ url: `/wms/productionline/update`, data }) -} - -// 删除生产线 -export const deleteProductionline = async (id: number) => { - return await request.delete({ url: `/wms/productionline/delete?id=` + id }) -} - -// 导出生产线 Excel -export const exportProductionline = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/productionline/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/productionline/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productionline/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productionlineitem/index.ts b/src/api/wms/productionlineitem/index.ts deleted file mode 100644 index 6b109f4..0000000 --- a/src/api/wms/productionlineitem/index.ts +++ /dev/null @@ -1,69 +0,0 @@ -import request from '@/config/axios' - -export interface ProductionlineitemVO { - fgLocationCode: string - productionLineCode: string - itemCode: string - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询生产线物料关系列表 -export const getProductionlineitemPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/productionlineitem/senior', data }) - } else { - return await request.get({ url: `/wms/productionlineitem/page`, params }) - } -} - -// 查询生产线物料关系列表——根据 生产线 物品类型为原料和半成品 -export const getProductionlineitemPageByItemtype = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productionlineitem/pageByItemtypeSenior', data }) - } else { - return await request.get({ url: `/wms/productionlineitem/pageByItemtype`, params }) - } - -} - -// 查询生产线物料关系详情 -export const getProductionlineitem = async (id: number) => { - return await request.get({ url: `/wms/productionlineitem/get?id=` + id }) -} - -// 新增生产线物料关系 -export const createProductionlineitem = async (data: ProductionlineitemVO) => { - return await request.post({ url: `/wms/productionlineitem/create`, data }) -} - -// 修改生产线物料关系 -export const updateProductionlineitem = async (data: ProductionlineitemVO) => { - return await request.put({ url: `/wms/productionlineitem/update`, data }) -} - -// 删除生产线物料关系 -export const deleteProductionlineitem = async (id: number) => { - return await request.delete({ url: `/wms/productionlineitem/delete?id=` + id }) -} - -// 导出生产线物料关系 Excel -export const exportProductionlineitem = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/productionlineitem/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/productionlineitem/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productionlineitem/get-import-template' }) -} diff --git a/src/api/wms/productionreceiptJobDetail/index.ts b/src/api/wms/productionreceiptJobDetail/index.ts deleted file mode 100644 index 9300b16..0000000 --- a/src/api/wms/productionreceiptJobDetail/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface ProductionreceiptJobDetailVO { - productionLineCode: string - workStationCode: string - onTheWayLocationCode: string - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - fromLocationCode: string - toLocationCode: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询生产收料任务子列表 -export const getProductionreceiptJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productionreceipt-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productionreceipt-job-detail/page`, params }) - } -} - -// 查询生产收料任务子详情 -export const getProductionreceiptJobDetail = async (id: number) => { - return await request.get({ url: `/wms/productionreceipt-job-detail/get?id=` + id }) -} - -// 新增生产收料任务子 -export const createProductionreceiptJobDetail = async (data: ProductionreceiptJobDetailVO) => { - return await request.post({ url: `/wms/productionreceipt-job-detail/create`, data }) -} - -// 修改生产收料任务子 -export const updateProductionreceiptJobDetail = async (data: ProductionreceiptJobDetailVO) => { - return await request.put({ url: `/wms/productionreceipt-job-detail/update`, data }) -} - -// 删除生产收料任务子 -export const deleteProductionreceiptJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/productionreceipt-job-detail/delete?id=` + id }) -} - -// 导出生产收料任务子 Excel -export const exportProductionreceiptJobDetail = async (params) => { - return await request.download({ url: `/wms/productionreceipt-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productionreceipt-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productionreceiptJobMain/index.ts b/src/api/wms/productionreceiptJobMain/index.ts deleted file mode 100644 index 471ddba..0000000 --- a/src/api/wms/productionreceiptJobMain/index.ts +++ /dev/null @@ -1,108 +0,0 @@ -import request from '@/config/axios' - -export interface ProductionreceiptJobMainVO { - issueJobNumber: string - workshopCode: string - fromWarehouseCode: string - toWarehouseCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - update: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromAreaCodes: string - toAreaCodes: string - useOnTheWayLocation: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询生产收料任务主列表 -export const getProductionreceiptJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productionreceipt-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/productionreceipt-job-main/page`, params }) - } -} - -// 查询生产收料任务主详情 -export const getProductionreceiptJobMain = async (id: number) => { - return await request.get({ url: `/wms/productionreceipt-job-main/get?id=` + id }) -} - -// 新增生产收料任务主 -export const createProductionreceiptJobMain = async (data: ProductionreceiptJobMainVO) => { - return await request.post({ url: `/wms/productionreceipt-job-main/create`, data }) -} - -// 修改生产收料任务主 -export const updateProductionreceiptJobMain = async (data: ProductionreceiptJobMainVO) => { - return await request.put({ url: `/wms/productionreceipt-job-main/update`, data }) -} - -// 删除生产收料任务主 -export const deleteProductionreceiptJobMain = async (id: number) => { - return await request.delete({ url: `/wms/productionreceipt-job-main/delete?id=` + id }) -} - -// 导出生产收料任务主 Excel -export const exportProductionreceiptJobMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/productionreceipt-job-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/productionreceipt-job-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productionreceipt-job-main/get-import-template' }) -} - -// 承接发料任务 -export const acceptIssueMain = async (id) => { - return await request.get({ url: `/wms/productionreceipt-job-main/accept?id=` + id }) -} - -// 放弃发料任务 -export const abandonIssueMain = async (id) => { - return await request.get({ url: `/wms/productionreceipt-job-main/abandon?id=` + id }) -} - -// 关闭发料任务 -export const closeIssueMain = async (id) => { - return await request.get({ url: `/wms/productionreceipt-job-main/close?id=` + id }) -} - -// 执行发料任务 -export const executeIssueMain = async (data) => { - return await request.put({ url: `/wms/productionreceipt-job-main/execute`, data}) -} \ No newline at end of file diff --git a/src/api/wms/productionreceiptRecordDetail/index.ts b/src/api/wms/productionreceiptRecordDetail/index.ts deleted file mode 100644 index 1afb5f5..0000000 --- a/src/api/wms/productionreceiptRecordDetail/index.ts +++ /dev/null @@ -1,77 +0,0 @@ -import request from '@/config/axios' - -export interface ProductionreceiptRecordDetailVO { - productionLineCode: string - workStationCode: string - onTheWayLocationCode: string - fromPackingNumber: string - toPackingNumber: string - fromBatch: string - toBatch: string - inventoryStatus: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - toLocationCode: string - toLocationGroupCode: string - toAreaCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - jobDetailId: string - fromContainerNumber: string - toContainerNumber: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询生产收料记录子列表 -export const getProductionreceiptRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productionreceipt-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productionreceipt-record-detail/page`, params }) - } -} - -// 查询生产收料记录子详情 -export const getProductionreceiptRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/productionreceipt-record-detail/get?id=` + id }) -} - -// 新增生产收料记录子 -export const createProductionreceiptRecordDetail = async (data: ProductionreceiptRecordDetailVO) => { - return await request.post({ url: `/wms/productionreceipt-record-detail/create`, data }) -} - -// 修改生产收料记录子 -export const updateProductionreceiptRecordDetail = async (data: ProductionreceiptRecordDetailVO) => { - return await request.put({ url: `/wms/productionreceipt-record-detail/update`, data }) -} - -// 删除生产收料记录子 -export const deleteProductionreceiptRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/productionreceipt-record-detail/delete?id=` + id }) -} - -// 导出生产收料记录子 Excel -export const exportProductionreceiptRecordDetail = async (params) => { - return await request.download({ url: `/wms/productionreceipt-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productionreceipt-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productionreceiptRecordMain/index.ts b/src/api/wms/productionreceiptRecordMain/index.ts deleted file mode 100644 index ebc176e..0000000 --- a/src/api/wms/productionreceiptRecordMain/index.ts +++ /dev/null @@ -1,70 +0,0 @@ -import request from '@/config/axios' - -export interface ProductionreceiptRecordMainVO { - issueJobNumber: string - jobNumber: string - workshopCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - useOnTheWayLocation: string - available: string -} - -// 查询生产收料记录主列表 -export const getProductionreceiptRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productionreceipt-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/productionreceipt-record-main/page`, params }) - } -} - -// 查询生产收料记录主详情 -export const getProductionreceiptRecordMain = async (id: number) => { - return await request.get({ url: `/wms/productionreceipt-record-main/get?id=` + id }) -} - -// 新增生产收料记录主 -export const createProductionreceiptRecordMain = async (data: ProductionreceiptRecordMainVO) => { - return await request.post({ url: `/wms/productionreceipt-record-main/create`, data }) -} - -// 修改生产收料记录主 -export const updateProductionreceiptRecordMain = async (data: ProductionreceiptRecordMainVO) => { - return await request.put({ url: `/wms/productionreceipt-record-main/update`, data }) -} - -// 删除生产收料记录主 -export const deleteProductionreceiptRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/productionreceipt-record-main/delete?id=` + id }) -} - -// 导出生产收料记录主 Excel -export const exportProductionreceiptRecordMain = async (params) => { - return await request.download({ url: `/wms/productionreceipt-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productionreceipt-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productionreturnJobDetail/index.ts b/src/api/wms/productionreturnJobDetail/index.ts deleted file mode 100644 index f2bd6d5..0000000 --- a/src/api/wms/productionreturnJobDetail/index.ts +++ /dev/null @@ -1,66 +0,0 @@ -import request from '@/config/axios' - -export interface ProductionreturnJobDetailVO { - productionLineCode: string - workStationCode: string - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - fromLocationCode: string - toLocationCode: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询生产退料任务子列表 -export const getProductionreturnJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productionreturn-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productionreturn-job-detail/page`, params }) - } -} - -// 查询生产退料任务子详情 -export const getProductionreturnJobDetail = async (id: number) => { - return await request.get({ url: `/wms/productionreturn-job-detail/get?id=` + id }) -} - -// 新增生产退料任务子 -export const createProductionreturnJobDetail = async (data: ProductionreturnJobDetailVO) => { - return await request.post({ url: `/wms/productionreturn-job-detail/create`, data }) -} - -// 修改生产退料任务子 -export const updateProductionreturnJobDetail = async (data: ProductionreturnJobDetailVO) => { - return await request.put({ url: `/wms/productionreturn-job-detail/update`, data }) -} - -// 删除生产退料任务子 -export const deleteProductionreturnJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/productionreturn-job-detail/delete?id=` + id }) -} - -// 导出生产退料任务子 Excel -export const exportProductionreturnJobDetail = async (params) => { - return await request.download({ url: `/wms/productionreturn-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productionreturn-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productionreturnJobMain/index.ts b/src/api/wms/productionreturnJobMain/index.ts deleted file mode 100644 index 79c2f96..0000000 --- a/src/api/wms/productionreturnJobMain/index.ts +++ /dev/null @@ -1,107 +0,0 @@ -import request from '@/config/axios' - -export interface ProductionreturnJobMainVO { - requestNumber: string - workshopCode: string - fromWarehouseCode: string - toWarehouseCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromAreaCodes: string - toAreaCodes: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询生产退料任务主列表 -export const getProductionreturnJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productionreturn-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/productionreturn-job-main/page`, params }) - } -} - -// 查询生产退料任务主详情 -export const getProductionreturnJobMain = async (id: number) => { - return await request.get({ url: `/wms/productionreturn-job-main/get?id=` + id }) -} - -// 新增生产退料任务主 -export const createProductionreturnJobMain = async (data: ProductionreturnJobMainVO) => { - return await request.post({ url: `/wms/productionreturn-job-main/create`, data }) -} - -// 修改生产退料任务主 -export const updateProductionreturnJobMain = async (data: ProductionreturnJobMainVO) => { - return await request.put({ url: `/wms/productionreturn-job-main/update`, data }) -} - -// 删除生产退料任务主 -export const deleteProductionreturnJobMain = async (id: number) => { - return await request.delete({ url: `/wms/productionreturn-job-main/delete?id=` + id }) -} - -// 导出生产退料任务主 Excel -export const exportProductionreturnJobMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/productionreturn-job-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/productionreturn-job-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productionreturn-job-main/get-import-template' }) -} - -// 承接发料任务 -export const acceptProductionreturnMain = async (id) => { - return await request.put({ url: `/wms/productionreturn-job-main/accept?id=` + id }) -} - -// 放弃发料任务 -export const abandonProductionreturnMain = async (id) => { - return await request.put({ url: `/wms/productionreturn-job-main/abandon?id=` + id }) -} - -// 关闭发料任务 -export const closeProductionreturnMain = async (id) => { - return await request.put({ url: `/wms/productionreturn-job-main/close?id=` + id }) -} - -// 执行发料任务 -export const executeProductionreturnMain = async (data) => { - return await request.put({ url: `/wms/productionreturn-job-main/execute`, data}) -} \ No newline at end of file diff --git a/src/api/wms/productionreturnRecordDetail/index.ts b/src/api/wms/productionreturnRecordDetail/index.ts deleted file mode 100644 index f9ffcd4..0000000 --- a/src/api/wms/productionreturnRecordDetail/index.ts +++ /dev/null @@ -1,76 +0,0 @@ -import request from '@/config/axios' - -export interface ProductionreturnRecordDetailVO { - productionLineCode: string - workStationCode: string - inventoryStatus: string - fromOwnerCode: string - fromPackingNumber: string - fromContainerNumber: string - fromBatch: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - toOwnerCode: string - toPackingNumber: string - toContainerNumber: string - toBatch: string - toLocationCode: string - toLocationGroupCode: string - toAreaCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - jobDetailId: string -} - -// 查询生产退料记录子列表 -export const getProductionreturnRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productionreturn-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productionreturn-record-detail/page`, params }) - } -} - -// 查询生产退料记录子详情 -export const getProductionreturnRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/productionreturn-record-detail/get?id=` + id }) -} - -// 新增生产退料记录子 -export const createProductionreturnRecordDetail = async (data: ProductionreturnRecordDetailVO) => { - return await request.post({ url: `/wms/productionreturn-record-detail/create`, data }) -} - -// 修改生产退料记录子 -export const updateProductionreturnRecordDetail = async (data: ProductionreturnRecordDetailVO) => { - return await request.put({ url: `/wms/productionreturn-record-detail/update`, data }) -} - -// 删除生产退料记录子 -export const deleteProductionreturnRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/productionreturn-record-detail/delete?id=` + id }) -} - -// 导出生产退料记录子 Excel -export const exportProductionreturnRecordDetail = async (params) => { - return await request.download({ url: `/wms/productionreturn-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productionreturn-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productionreturnRecordMain/index.ts b/src/api/wms/productionreturnRecordMain/index.ts deleted file mode 100644 index 2615d1a..0000000 --- a/src/api/wms/productionreturnRecordMain/index.ts +++ /dev/null @@ -1,69 +0,0 @@ -import request from '@/config/axios' - -export interface ProductionreturnRecordMainVO { - requestNumber: string - jobNumber: string - workshopCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - available: string -} - -// 查询生产退料记录主列表 -export const getProductionreturnRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productionreturn-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/productionreturn-record-main/page`, params }) - } -} - -// 查询生产退料记录主详情 -export const getProductionreturnRecordMain = async (id: number) => { - return await request.get({ url: `/wms/productionreturn-record-main/get?id=` + id }) -} - -// 新增生产退料记录主 -export const createProductionreturnRecordMain = async (data: ProductionreturnRecordMainVO) => { - return await request.post({ url: `/wms/productionreturn-record-main/create`, data }) -} - -// 修改生产退料记录主 -export const updateProductionreturnRecordMain = async (data: ProductionreturnRecordMainVO) => { - return await request.put({ url: `/wms/productionreturn-record-main/update`, data }) -} - -// 删除生产退料记录主 -export const deleteProductionreturnRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/productionreturn-record-main/delete?id=` + id }) -} - -// 导出生产退料记录主 Excel -export const exportProductionreturnRecordMain = async (params) => { - return await request.download({ url: `/wms/productionreturn-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productionreturn-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productionreturnRequestDetail/index.ts b/src/api/wms/productionreturnRequestDetail/index.ts deleted file mode 100644 index 0b7bdd7..0000000 --- a/src/api/wms/productionreturnRequestDetail/index.ts +++ /dev/null @@ -1,72 +0,0 @@ -import request from '@/config/axios' - -export interface ProductionreturnRequestDetailVO { - productionLineCode: string - workStationCode: string - inventoryStatus: string - fromOwnerCode: string - packingNumber: string - containerNumber: string - batch: string - fromLocationCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - toOwnerCode: string -} - -// 查询生产退料申请子列表 -export const getProductionreturnRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productionreturn-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productionreturn-request-detail/page`, params }) - } -} - -// 查询生产退料申请子详情 -export const getProductionreturnRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/productionreturn-request-detail/get?id=` + id }) -} - -// 新增生产退料申请子 -export const createProductionreturnRequestDetail = async (data: ProductionreturnRequestDetailVO) => { - return await request.post({ url: `/wms/productionreturn-request-detail/create`, data }) -} - -// 修改生产退料申请子 -export const updateProductionreturnRequestDetail = async (data: ProductionreturnRequestDetailVO) => { - return await request.put({ url: `/wms/productionreturn-request-detail/update`, data }) -} - -// 删除生产退料申请子 -export const deleteProductionreturnRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/productionreturn-request-detail/delete?id=` + id }) -} - -// 导出生产退料申请子 Excel -export const exportProductionreturnRequestDetail = async (params) => { - return await request.download({ url: `/wms/productionreturn-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productionreturn-request-detail/get-import-template' }) -} - -// 创建包装信息后更新子表数据packingNumber -export const updateDetailPackingNumber = async (id: number, number) => { - return await request.put({ url: '/wms/productionreturn-request-detail/updateDetailPackingNumber?id=' + id + '&number=' + number }) -} \ No newline at end of file diff --git a/src/api/wms/productionreturnRequestDetailNo/index.ts b/src/api/wms/productionreturnRequestDetailNo/index.ts deleted file mode 100644 index 66dd592..0000000 --- a/src/api/wms/productionreturnRequestDetailNo/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface ProductionreturnRequestDetailVO { - productionLineCode: string - workStationCode: string - inventoryStatus: string - fromOwnerCode: string - packingNumber: string - containerNumber: string - batch: string - fromLocationCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - toOwnerCode: string -} - -// 查询生产退料申请子列表 -export const getProductionreturnRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productionreturn-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productionreturn-request-detail/page`, params }) - } -} - -// 查询生产退料申请子详情 -export const getProductionreturnRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/productionreturn-request-detail/get?id=` + id }) -} - -// 新增生产退料申请子 -export const createProductionreturnRequestDetail = async (data: ProductionreturnRequestDetailVO) => { - return await request.post({ url: `/wms/productionreturn-request-detail/create`, data }) -} - -// 修改生产退料申请子 -export const updateProductionreturnRequestDetail = async (data: ProductionreturnRequestDetailVO) => { - return await request.put({ url: `/wms/productionreturn-request-detail/update`, data }) -} - -// 删除生产退料申请子 -export const deleteProductionreturnRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/productionreturn-request-detail/delete?id=` + id }) -} - -// 导出生产退料申请子 Excel -export const exportProductionreturnRequestDetail = async (params) => { - return await request.download({ url: `/wms/productionreturn-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productionreturn-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productionreturnRequestMain/index.ts b/src/api/wms/productionreturnRequestMain/index.ts deleted file mode 100644 index e6e47d9..0000000 --- a/src/api/wms/productionreturnRequestMain/index.ts +++ /dev/null @@ -1,104 +0,0 @@ -import request from '@/config/axios' - -export interface ProductionreturnRequestMainVO { - workshopCode: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询生产退料申请主列表 -export const getProductionreturnRequestMainPage = async (params) => { - params.businessType = 'ReturnToStore' - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productionreturn-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/productionreturn-request-main/page`, params }) - } -} - -// 查询生产退料申请主详情 -export const getProductionreturnRequestMain = async (id: number) => { - return await request.get({ url: `/wms/productionreturn-request-main/get?id=` + id }) -} - -// 新增生产退料申请主 -export const createProductionreturnRequestMain = async (data: ProductionreturnRequestMainVO) => { - return await request.post({ url: `/wms/productionreturn-request-main/create`, data }) -} - -// 修改生产退料申请主 -export const updateProductionreturnRequestMain = async (data: ProductionreturnRequestMainVO) => { - return await request.put({ url: `/wms/productionreturn-request-main/update`, data }) -} - -// 删除生产退料申请主 -export const deleteProductionreturnRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/productionreturn-request-main/delete?id=` + id }) -} - -// 导出生产退料申请主 Excel -export const exportProductionreturnRequestMain = async (params) => { - params.businessType = 'ReturnToStore' - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/productionreturn-request-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/productionreturn-request-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productionreturn-request-main/get-import-template' }) -} - -// 关闭 -export const close = (id) => { - return request.put({ url: '/wms/productionreturn-request-main/close?id=' + id }) -} - -// 重新添加 -export const reAdd = (id) => { - return request.put({ url: '/wms/productionreturn-request-main/reAdd?id=' + id }) -} - -// 提交审批 -export const submit = (id) => { - return request.put({ url: '/wms/productionreturn-request-main/submit?id=' + id }) -} - -// 驳回 -export const refused = (id) => { - return request.put({ url: '/wms/productionreturn-request-main/refused?id=' + id }) -} - -// 审批通过 -export const agree = (id) => { - return request.put({ url: '/wms/productionreturn-request-main/agree?id=' + id }) -} - -// 处理 -export const handle = (id) => { - return request.put({ url: '/wms/productionreturn-request-main/handle?id=' + id }) -} \ No newline at end of file diff --git a/src/api/wms/productionreturnRequestMainNo/index.ts b/src/api/wms/productionreturnRequestMainNo/index.ts deleted file mode 100644 index 8f369cd..0000000 --- a/src/api/wms/productionreturnRequestMainNo/index.ts +++ /dev/null @@ -1,104 +0,0 @@ -import request from '@/config/axios' - -export interface ProductionreturnRequestMainVO { - workshopCode: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询不合格生产退料申请主列表 -export const getProductionreturnRequestMainPage = async (params) => { - params.businessType = 'ReturnToHold' - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productionreturn-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/productionreturn-request-main/page`, params }) - } -} - -// 查询不合格生产退料申请主详情 -export const getProductionreturnRequestMain = async (id: number) => { - return await request.get({ url: `/wms/productionreturn-request-main/get?id=` + id }) -} - -// 新增不合格生产退料申请主 -export const createProductionreturnRequestMain = async (data: ProductionreturnRequestMainVO) => { - return await request.post({ url: `/wms/productionreturn-request-main/create`, data }) -} - -// 修改不合格生产退料申请主 -export const updateProductionreturnRequestMain = async (data: ProductionreturnRequestMainVO) => { - return await request.put({ url: `/wms/productionreturn-request-main/update`, data }) -} - -// 删除不合格生产退料申请主 -export const deleteProductionreturnRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/productionreturn-request-main/delete?id=` + id }) -} - -// 导出不合格生产退料申请主 Excel -export const exportProductionreturnRequestMain = async (params) => { - params.businessType = 'ReturnToHold' - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/productionreturn-request-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/productionreturn-request-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productionreturn-request-main/get-import-template' }) -} - -// 关闭 -export const close = (id) => { - return request.put({ url: '/wms/productionreturn-request-main/close?id=' + id }) -} - -// 重新添加 -export const reAdd = (id) => { - return request.put({ url: '/wms/productionreturn-request-main/reAdd?id=' + id }) -} - -// 提交审批 -export const submit = (id) => { - return request.put({ url: '/wms/productionreturn-request-main/submit?id=' + id }) -} - -// 驳回 -export const refused = (id) => { - return request.put({ url: '/wms/productionreturn-request-main/refused?id=' + id }) -} - -// 审批通过 -export const agree = (id) => { - return request.put({ url: '/wms/productionreturn-request-main/agree?id=' + id }) -} - -// 处理 -export const handle = (id) => { - return request.put({ url: '/wms/productionreturn-request-main/handle?id=' + id }) -} \ No newline at end of file diff --git a/src/api/wms/productputawayJobDetail/index.ts b/src/api/wms/productputawayJobDetail/index.ts deleted file mode 100644 index 0265d3f..0000000 --- a/src/api/wms/productputawayJobDetail/index.ts +++ /dev/null @@ -1,66 +0,0 @@ -import request from '@/config/axios' - -export interface ProductputawayJobDetailVO { - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - poNumber: string - poLine: string - fromLocationCode: string - toLocationCode: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询制品上架任务子列表 -export const getProductputawayJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productputaway-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productputaway-job-detail/page`, params }) - } -} - -// 查询制品上架任务子详情 -export const getProductputawayJobDetail = async (id: number) => { - return await request.get({ url: `/wms/productputaway-job-detail/get?id=` + id }) -} - -// 新增制品上架任务子 -export const createProductputawayJobDetail = async (data: ProductputawayJobDetailVO) => { - return await request.post({ url: `/wms/productputaway-job-detail/create`, data }) -} - -// 修改制品上架任务子 -export const updateProductputawayJobDetail = async (data: ProductputawayJobDetailVO) => { - return await request.put({ url: `/wms/productputaway-job-detail/update`, data }) -} - -// 删除制品上架任务子 -export const deleteProductputawayJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/productputaway-job-detail/delete?id=` + id }) -} - -// 导出制品上架任务子 Excel -export const exportProductputawayJobDetail = async (params) => { - return await request.download({ url: `/wms/productputaway-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productputaway-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productputawayJobMain/index.ts b/src/api/wms/productputawayJobMain/index.ts deleted file mode 100644 index c70270a..0000000 --- a/src/api/wms/productputawayJobMain/index.ts +++ /dev/null @@ -1,107 +0,0 @@ -import request from '@/config/axios' - -export interface ProductputawayJobMainVO { - requestNumber: string - supplierCode: string - fromWarehouseCode: string - toWarehouseCode: string - fromAreaCodes: string - toAreaCodes: string - fromLocationTypes: string - toLocationTypes: string - completetime: Date - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询制品上架任务主列表 -export const getProductputawayJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productputaway-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/productputaway-job-main/page`, params }) - } -} - -// 查询制品上架任务主详情 -export const getProductputawayJobMain = async (id: number) => { - return await request.get({ url: `/wms/productputaway-job-main/get?id=` + id }) -} - -// 新增制品上架任务主 -export const createProductputawayJobMain = async (data: ProductputawayJobMainVO) => { - return await request.post({ url: `/wms/productputaway-job-main/create`, data }) -} - -// 修改制品上架任务主 -export const updateProductputawayJobMain = async (data: ProductputawayJobMainVO) => { - return await request.put({ url: `/wms/productputaway-job-main/update`, data }) -} - -// 删除制品上架任务主 -export const deleteProductputawayJobMain = async (id: number) => { - return await request.delete({ url: `/wms/productputaway-job-main/delete?id=` + id }) -} - -// 导出制品上架任务主 Excel -export const exportProductputawayJobMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/productputaway-job-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/productputaway-job-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productputaway-job-main/get-import-template' }) -} - -// 承接发料任务 -export const acceptProductputawayMain = async (id) => { - return await request.put({ url: `/wms/productputaway-job-main/accept?id=` + id }) -} - -// 放弃发料任务 -export const abandonProductputawayMain = async (id) => { - return await request.put({ url: `/wms/productputaway-job-main/abandon?id=` + id }) -} - -// 关闭发料任务 -export const closeProductputawayMain = async (id) => { - return await request.put({ url: `/wms/productputaway-job-main/close?id=` + id }) -} - -// 执行发料任务 -export const executeProductputawayMain = async (data) => { - return await request.put({ url: `/wms/productputaway-job-main/execute`, data}) -} \ No newline at end of file diff --git a/src/api/wms/productputawayRecordDetail/index.ts b/src/api/wms/productputawayRecordDetail/index.ts deleted file mode 100644 index 2ab8e2d..0000000 --- a/src/api/wms/productputawayRecordDetail/index.ts +++ /dev/null @@ -1,76 +0,0 @@ -import request from '@/config/axios' - -export interface ProductputawayRecordDetailVO { - fromPackingNumber: string - toPackingNumber: string - fromBatch: string - toBatch: string - fromContainerNumber: string - toContainerNumber: string - inventoryStatus: string - poNumber: string - poLine: string - fromOwnerCode: string - toOwnerCode: string - fromLocationCode: string - toLocationCode: string - fromLocationGroupCode: string - toLocationGroupCode: string - fromAreaCode: string - toAreaCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - jobDetailId: string -} - -// 查询制品上架记录子列表 -export const getProductputawayRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productputaway-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productputaway-record-detail/page`, params }) - } -} - -// 查询制品上架记录子详情 -export const getProductputawayRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/productputaway-record-detail/get?id=` + id }) -} - -// 新增制品上架记录子 -export const createProductputawayRecordDetail = async (data: ProductputawayRecordDetailVO) => { - return await request.post({ url: `/wms/productputaway-record-detail/create`, data }) -} - -// 修改制品上架记录子 -export const updateProductputawayRecordDetail = async (data: ProductputawayRecordDetailVO) => { - return await request.put({ url: `/wms/productputaway-record-detail/update`, data }) -} - -// 删除制品上架记录子 -export const deleteProductputawayRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/productputaway-record-detail/delete?id=` + id }) -} - -// 导出制品上架记录子 Excel -export const exportProductputawayRecordDetail = async (params) => { - return await request.download({ url: `/wms/productputaway-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productputaway-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productputawayRecordMain/index.ts b/src/api/wms/productputawayRecordMain/index.ts deleted file mode 100644 index ea3fcb6..0000000 --- a/src/api/wms/productputawayRecordMain/index.ts +++ /dev/null @@ -1,70 +0,0 @@ -import request from '@/config/axios' - -export interface ProductputawayRecordMainVO { - requestNumber: string - jobNumber: string - supplierCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - ruleUserId: number - available: string -} - -// 查询制品上架记录主列表 -export const getProductputawayRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productputaway-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/productputaway-record-main/page`, params }) - } -} - -// 查询制品上架记录主详情 -export const getProductputawayRecordMain = async (id: number) => { - return await request.get({ url: `/wms/productputaway-record-main/get?id=` + id }) -} - -// 新增制品上架记录主 -export const createProductputawayRecordMain = async (data: ProductputawayRecordMainVO) => { - return await request.post({ url: `/wms/productputaway-record-main/create`, data }) -} - -// 修改制品上架记录主 -export const updateProductputawayRecordMain = async (data: ProductputawayRecordMainVO) => { - return await request.put({ url: `/wms/productputaway-record-main/update`, data }) -} - -// 删除制品上架记录主 -export const deleteProductputawayRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/productputaway-record-main/delete?id=` + id }) -} - -// 导出制品上架记录主 Excel -export const exportProductputawayRecordMain = async (params) => { - return await request.download({ url: `/wms/productputaway-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productputaway-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productputawayRequestDetail/index.ts b/src/api/wms/productputawayRequestDetail/index.ts deleted file mode 100644 index 0f3a061..0000000 --- a/src/api/wms/productputawayRequestDetail/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface ProductputawayRequestDetailVO { - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - poNumber: string - poLine: string - fromLocationCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询制品上架申请子列表 -export const getProductputawayRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productputaway-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productputaway-request-detail/page`, params }) - } -} - -// 查询制品上架申请子详情 -export const getProductputawayRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/productputaway-request-detail/get?id=` + id }) -} - -// 新增制品上架申请子 -export const createProductputawayRequestDetail = async (data: ProductputawayRequestDetailVO) => { - return await request.post({ url: `/wms/productputaway-request-detail/create`, data }) -} - -// 修改制品上架申请子 -export const updateProductputawayRequestDetail = async (data: ProductputawayRequestDetailVO) => { - return await request.put({ url: `/wms/productputaway-request-detail/update`, data }) -} - -// 删除制品上架申请子 -export const deleteProductputawayRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/productputaway-request-detail/delete?id=` + id }) -} - -// 导出制品上架申请子 Excel -export const exportProductputawayRequestDetail = async (params) => { - return await request.download({ url: `/wms/productputaway-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productputaway-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productputawayRequestMain/index.ts b/src/api/wms/productputawayRequestMain/index.ts deleted file mode 100644 index 72640c6..0000000 --- a/src/api/wms/productputawayRequestMain/index.ts +++ /dev/null @@ -1,104 +0,0 @@ -import request from '@/config/axios' - -export interface ProductputawayRequestMainVO { - id: number - supplierCode: string - fromWarehouseCode: string - toWarehouseCode: string - fromLocationTypes: string - toLocationTypes: string - fromAreaCodes: string - toAreaCodes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询制品上架申请主列表 -export const getProductputawayRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productputaway-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/productputaway-request-main/page`, params }) - } -} - -// 查询制品上架申请主详情 -export const getProductputawayRequestMain = async (id: number) => { - return await request.get({ url: `/wms/productputaway-request-main/get?id=` + id }) -} - -// 新增制品上架申请主 -export const createProductputawayRequestMain = async (data: ProductputawayRequestMainVO) => { - return await request.post({ url: `/wms/productputaway-request-main/create`, data }) -} - -// 修改制品上架申请主 -export const updateProductputawayRequestMain = async (data: ProductputawayRequestMainVO) => { - return await request.put({ url: `/wms/productputaway-request-main/update`, data }) -} - -// 删除制品上架申请主 -export const deleteProductputawayRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/productputaway-request-main/delete?id=` + id }) -} - -// 导出制品上架申请主 Excel -export const exportProductputawayRequestMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/productputaway-request-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/productputaway-request-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productputaway-request-main/get-import-template' }) -} - - -// 关闭 -export const close = (id) => { - return request.put({ url: '/wms/productputaway-request-main/close?id=' + id }) -} - -// 重新添加 -export const reAdd = (id) => { - return request.put({ url: '/wms/productputaway-request-main/reAdd?id=' + id }) -} - -// 提交审批 -export const submit = (id) => { - return request.put({ url: '/wms/productputaway-request-main/submit?id=' + id }) -} - -// 驳回 -export const refused = (id) => { - return request.put({ url: '/wms/productputaway-request-main/refused?id=' + id }) -} - -// 审批通过 -export const agree = (id) => { - return request.put({ url: '/wms/productputaway-request-main/agree?id=' + id }) -} - -// 处理 -export const handle = (id) => { - return request.put({ url: '/wms/productputaway-request-main/handle?id=' + id }) -} \ No newline at end of file diff --git a/src/api/wms/productreceiptJobDetail/index.ts b/src/api/wms/productreceiptJobDetail/index.ts deleted file mode 100644 index 5b864f7..0000000 --- a/src/api/wms/productreceiptJobDetail/index.ts +++ /dev/null @@ -1,71 +0,0 @@ -import request from '@/config/axios' - -export interface ProductreceiptJobDetailVO { - productionLineCode: string - workStationCode: string - processCode: string - packingNumber: string - containerNumber: string - batch: string - produceDate: Date - expireDate: Date - inventoryStatus: string - toLocationCode: string - woNumber: string - woLine: string - stdPackQty: number - stdPackUnit: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string - toOwnerCode: string -} - -// 查询制品收货任务子列表 -export const getProductreceiptJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productreceipt-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productreceipt-job-detail/page`, params }) - } -} - -// 查询制品收货任务子详情 -export const getProductreceiptJobDetail = async (id: number) => { - return await request.get({ url: `/wms/productreceipt-job-detail/get?id=` + id }) -} - -// 新增制品收货任务子 -export const createProductreceiptJobDetail = async (data: ProductreceiptJobDetailVO) => { - return await request.post({ url: `/wms/productreceipt-job-detail/create`, data }) -} - -// 修改制品收货任务子 -export const updateProductreceiptJobDetail = async (data: ProductreceiptJobDetailVO) => { - return await request.put({ url: `/wms/productreceipt-job-detail/update`, data }) -} - -// 删除制品收货任务子 -export const deleteProductreceiptJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/productreceipt-job-detail/delete?id=` + id }) -} - -// 导出制品收货任务子 Excel -export const exportProductreceiptJobDetail = async (params) => { - return await request.download({ url: `/wms/productreceipt-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productreceipt-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productreceiptJobMain/index.ts b/src/api/wms/productreceiptJobMain/index.ts deleted file mode 100644 index b22dae6..0000000 --- a/src/api/wms/productreceiptJobMain/index.ts +++ /dev/null @@ -1,109 +0,0 @@ -import request from '@/config/axios' - -export interface ProductreceiptJobMainVO { - requestNumber: string - productionPlanNumber: string - workShopCode: string - team: string - shift: string - details: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - toWarehouseCode: string - toAreaCodes: string - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询制品收货任务主列表 -export const getProductreceiptJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productreceipt-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/productreceipt-job-main/page`, params }) - } -} - -// 查询制品收货任务主详情 -export const getProductreceiptJobMain = async (id: number) => { - return await request.get({ url: `/wms/productreceipt-job-main/get?id=` + id }) -} - -// 新增制品收货任务主 -export const createProductreceiptJobMain = async (data: ProductreceiptJobMainVO) => { - return await request.post({ url: `/wms/productreceipt-job-main/create`, data }) -} - -// 修改制品收货任务主 -export const updateProductreceiptJobMain = async (data: ProductreceiptJobMainVO) => { - return await request.put({ url: `/wms/productreceipt-job-main/update`, data }) -} - -// 删除制品收货任务主 -export const deleteProductreceiptJobMain = async (id: number) => { - return await request.delete({ url: `/wms/productreceipt-job-main/delete?id=` + id }) -} - -// 导出制品收货任务主 Excel -export const exportProductreceiptJobMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/productreceipt-job-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/productreceipt-job-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productreceipt-job-main/get-import-template' }) -} - -// 承接发料任务 -export const acceptProductreceiptMain = async (id) => { - return await request.put({ url: `/wms/productreceipt-job-main/accept?id=` + id }) -} - -// 放弃发料任务 -export const abandonProductreceiptMain = async (id) => { - return await request.put({ url: `/wms/productreceipt-job-main/abandon?id=` + id }) -} - -// 关闭发料任务 -export const closeProductreceiptMain = async (id) => { - return await request.put({ url: `/wms/productreceipt-job-main/close?id=` + id }) -} - -// 执行发料任务 -export const executeProductreceiptMain = async (data) => { - return await request.put({ url: `/wms/productreceipt-job-main/execute`, data}) -} \ No newline at end of file diff --git a/src/api/wms/productreceiptRecordDetail/index.ts b/src/api/wms/productreceiptRecordDetail/index.ts deleted file mode 100644 index 766ae08..0000000 --- a/src/api/wms/productreceiptRecordDetail/index.ts +++ /dev/null @@ -1,76 +0,0 @@ -import request from '@/config/axios' - -export interface ProductreceiptRecordDetailVO { - productionlineCode: string - workStationCode: string - processCode: string - packingNumber: string - containerNumber: string - batch: string - produceDate: Date - expireDate: Date - inventoryStatus: string - toLocationCode: string - toLocationGroupCode: string - toAreaCode: string - toOwnerCode: string - woNumber: string - woLine: string - stdPackQty: number - stdPackUnit: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - jobDetailId: string -} - -// 查询制品收货记录子列表 -export const getProductreceiptRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productreceipt-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productreceipt-record-detail/page`, params }) - } -} - -// 查询制品收货记录子详情 -export const getProductreceiptRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/productreceipt-record-detail/get?id=` + id }) -} - -// 新增制品收货记录子 -export const createProductreceiptRecordDetail = async (data: ProductreceiptRecordDetailVO) => { - return await request.post({ url: `/wms/productreceipt-record-detail/create`, data }) -} - -// 修改制品收货记录子 -export const updateProductreceiptRecordDetail = async (data: ProductreceiptRecordDetailVO) => { - return await request.put({ url: `/wms/productreceipt-record-detail/update`, data }) -} - -// 删除制品收货记录子 -export const deleteProductreceiptRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/productreceipt-record-detail/delete?id=` + id }) -} - -// 导出制品收货记录子 Excel -export const exportProductreceiptRecordDetail = async (params) => { - return await request.download({ url: `/wms/productreceipt-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productreceipt-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productreceiptRecordMain/index.ts b/src/api/wms/productreceiptRecordMain/index.ts deleted file mode 100644 index acd8667..0000000 --- a/src/api/wms/productreceiptRecordMain/index.ts +++ /dev/null @@ -1,69 +0,0 @@ -import request from '@/config/axios' - -export interface ProductreceiptRecordMainVO { - requestNumber: string - jobNumber: string - productionPlanNumber: string - workshopCode: string - team: string - shift: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - available: string -} - -// 查询制品收货记录主列表 -export const getProductreceiptRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productreceipt-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/productreceipt-record-main/page`, params }) - } -} - -// 查询制品收货记录主详情 -export const getProductreceiptRecordMain = async (id: number) => { - return await request.get({ url: `/wms/productreceipt-record-main/get?id=` + id }) -} - -// 新增制品收货记录主 -export const createProductreceiptRecordMain = async (data: ProductreceiptRecordMainVO) => { - return await request.post({ url: `/wms/productreceipt-record-main/create`, data }) -} - -// 修改制品收货记录主 -export const updateProductreceiptRecordMain = async (data: ProductreceiptRecordMainVO) => { - return await request.put({ url: `/wms/productreceipt-record-main/update`, data }) -} - -// 删除制品收货记录主 -export const deleteProductreceiptRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/productreceipt-record-main/delete?id=` + id }) -} - -// 导出制品收货记录主 Excel -export const exportProductreceiptRecordMain = async (params) => { - return await request.download({ url: `/wms/productreceipt-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productreceipt-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productreceiptRequestDetail/index.ts b/src/api/wms/productreceiptRequestDetail/index.ts deleted file mode 100644 index 6f11ce7..0000000 --- a/src/api/wms/productreceiptRequestDetail/index.ts +++ /dev/null @@ -1,77 +0,0 @@ -import request from '@/config/axios' - -export interface ProductreceiptRequestDetailVO { - productionLineCode: string - workStationCode: string - processCode: string - packingNumber: string - containerNumber: string - batch: string - produceDate: Date - expireDate: Date - inventoryStatus: string - woNumber: string - woLine: string - stdPackQty: number - stdPackUnit: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - toOwnerCode: string -} - -// 查询制品收货申请子列表 -export const getProductreceiptRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productreceipt-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productreceipt-request-detail/page`, params }) - } -} - -// 查询制品收货申请子详情 -export const getProductreceiptRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/productreceipt-request-detail/get?id=` + id }) -} - -// 新增制品收货申请子 -export const createProductreceiptRequestDetail = async (data: ProductreceiptRequestDetailVO) => { - return await request.post({ url: `/wms/productreceipt-request-detail/create`, data }) -} - -// 修改制品收货申请子 -export const updateProductreceiptRequestDetail = async (data: ProductreceiptRequestDetailVO) => { - return await request.put({ url: `/wms/productreceipt-request-detail/update`, data }) -} - -// 删除制品收货申请子 -export const deleteProductreceiptRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/productreceipt-request-detail/delete?id=` + id }) -} - -// 导出制品收货申请子 Excel -export const exportProductreceiptRequestDetail = async (params) => { - return await request.download({ url: `/wms/productreceipt-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productreceipt-request-detail/get-import-template' }) -} - -// 创建包装信息后更新子表数据packingNumber -export const updateDetailPackingNumber = async (id: number, number) => { - return await request.put({ url: '/wms/productreceipt-request-detail/updateDetailPackingNumber?id=' + id + '&number=' + number }) -} diff --git a/src/api/wms/productreceiptRequestMain/index.ts b/src/api/wms/productreceiptRequestMain/index.ts deleted file mode 100644 index 3934a81..0000000 --- a/src/api/wms/productreceiptRequestMain/index.ts +++ /dev/null @@ -1,102 +0,0 @@ -import request from '@/config/axios' - -export interface ProductreceiptRequestMainVO { - productionPlanNumber: string - workshopCode: string - team: string - shift: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询制品收货申请主列表 -export const getProductreceiptRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productreceipt-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/productreceipt-request-main/page`, params }) - } -} - -// 查询制品收货申请主详情 -export const getProductreceiptRequestMain = async (id: number) => { - return await request.get({ url: `/wms/productreceipt-request-main/get?id=` + id }) -} - -// 新增制品收货申请主 -export const createProductreceiptRequestMain = async (data: ProductreceiptRequestMainVO) => { - return await request.post({ url: `/wms/productreceipt-request-main/create`, data }) -} - -// 修改制品收货申请主 -export const updateProductreceiptRequestMain = async (data: ProductreceiptRequestMainVO) => { - return await request.put({ url: `/wms/productreceipt-request-main/update`, data }) -} - -// 删除制品收货申请主 -export const deleteProductreceiptRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/productreceipt-request-main/delete?id=` + id }) -} - -// 导出制品收货申请主 Excel -export const exportProductreceiptRequestMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/productreceipt-request-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/productreceipt-request-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productreceipt-request-main/get-import-template' }) -} - -// 关闭 -export const close = (id) => { - return request.put({ url: '/wms/productreceipt-request-main/close?id=' + id }) -} - -// 重新添加 -export const reAdd = (id) => { - return request.put({ url: '/wms/productreceipt-request-main/reAdd?id=' + id }) -} - -// 提交审批 -export const submit = (id) => { - return request.put({ url: '/wms/productreceipt-request-main/submit?id=' + id }) -} - -// 驳回 -export const refused = (id) => { - return request.put({ url: '/wms/productreceipt-request-main/refused?id=' + id }) -} - -// 审批通过 -export const agree = (id) => { - return request.put({ url: '/wms/productreceipt-request-main/agree?id=' + id }) -} - -// 处理 -export const handle = (id) => { - return request.put({ url: '/wms/productreceipt-request-main/handle?id=' + id }) -} \ No newline at end of file diff --git a/src/api/wms/productrepairRecordDetail/index.ts b/src/api/wms/productrepairRecordDetail/index.ts deleted file mode 100644 index 20faa97..0000000 --- a/src/api/wms/productrepairRecordDetail/index.ts +++ /dev/null @@ -1,72 +0,0 @@ -import request from '@/config/axios' - -export interface ProductrepairRecordDetailVO { - fromOwnerCode: string - productionLineCode: string - workStationCode: string - processCode: string - packingNumber: string - containerNumber: string - batch: string - produceDate: Date - expireDate: Date - toLocationCode: string - toLocationGroupCode: string - toAreaCode: string - inventoryStatus: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - jobDetailId: string -} - -// 查询制品返修记录子列表 -export const getProductrepairRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productrepair-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productrepair-record-detail/page`, params }) - } -} - -// 查询制品返修记录子详情 -export const getProductrepairRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/productrepair-record-detail/get?id=` + id }) -} - -// 新增制品返修记录子 -export const createProductrepairRecordDetail = async (data: ProductrepairRecordDetailVO) => { - return await request.post({ url: `/wms/productrepair-record-detail/create`, data }) -} - -// 修改制品返修记录子 -export const updateProductrepairRecordDetail = async (data: ProductrepairRecordDetailVO) => { - return await request.put({ url: `/wms/productrepair-record-detail/update`, data }) -} - -// 删除制品返修记录子 -export const deleteProductrepairRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/productrepair-record-detail/delete?id=` + id }) -} - -// 导出制品返修记录子 Excel -export const exportProductrepairRecordDetail = async (params) => { - return await request.download({ url: `/wms/productrepair-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productrepair-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productrepairRecordMain/index.ts b/src/api/wms/productrepairRecordMain/index.ts deleted file mode 100644 index 6f3e66a..0000000 --- a/src/api/wms/productrepairRecordMain/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface ProductrepairRecordMainVO { - requestNumber: string - workshopCode: string - team: string - shift: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - available: string -} - -// 查询制品返修记录主列表 -export const getProductrepairRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productrepair-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/productrepair-record-main/page`, params }) - } -} - -// 查询制品返修记录主详情 -export const getProductrepairRecordMain = async (id: number) => { - return await request.get({ url: `/wms/productrepair-record-main/get?id=` + id }) -} - -// 新增制品返修记录主 -export const createProductrepairRecordMain = async (data: ProductrepairRecordMainVO) => { - return await request.post({ url: `/wms/productrepair-record-main/create`, data }) -} - -// 修改制品返修记录主 -export const updateProductrepairRecordMain = async (data: ProductrepairRecordMainVO) => { - return await request.put({ url: `/wms/productrepair-record-main/update`, data }) -} - -// 删除制品返修记录主 -export const deleteProductrepairRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/productrepair-record-main/delete?id=` + id }) -} - -// 导出制品返修记录主 Excel -export const exportProductrepairRecordMain = async (params) => { - return await request.download({ url: `/wms/productrepair-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productrepair-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productrepairRequestDetaila/index.ts b/src/api/wms/productrepairRequestDetaila/index.ts deleted file mode 100644 index 5b5adee..0000000 --- a/src/api/wms/productrepairRequestDetaila/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface ProductrepairRequestDetailaVO { - fromOwnerCode: string - productionlineCode: string - workStationCode: string - processCode: string - packingNumber: string - containerNumber: string - batch: string - fromLocationCode: string - inventoryStatus: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string -} - -// 查询制品返修申请子列表 -export const getProductrepairRequestDetailaPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productrepair-request-detaila/senior', data }) - } else { - return await request.get({ url: `/wms/productrepair-request-detaila/page`, params }) - } -} - -// 查询制品返修申请子详情 -export const getProductrepairRequestDetaila = async (id: number) => { - return await request.get({ url: `/wms/productrepair-request-detaila/get?id=` + id }) -} - -// 新增制品返修申请子 -export const createProductrepairRequestDetaila = async (data: ProductrepairRequestDetailaVO) => { - return await request.post({ url: `/wms/productrepair-request-detaila/create`, data }) -} - -// 修改制品返修申请子 -export const updateProductrepairRequestDetaila = async (data: ProductrepairRequestDetailaVO) => { - return await request.put({ url: `/wms/productrepair-request-detaila/update`, data }) -} - -// 删除制品返修申请子 -export const deleteProductrepairRequestDetaila = async (id: number) => { - return await request.delete({ url: `/wms/productrepair-request-detaila/delete?id=` + id }) -} - -// 导出制品返修申请子 Excel -export const exportProductrepairRequestDetaila = async (params) => { - return await request.download({ url: `/wms/productrepair-request-detaila/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productrepair-request-detaila/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productrepairRequestMain/index.ts b/src/api/wms/productrepairRequestMain/index.ts deleted file mode 100644 index 17eb6d6..0000000 --- a/src/api/wms/productrepairRequestMain/index.ts +++ /dev/null @@ -1,101 +0,0 @@ -import request from '@/config/axios' - -export interface ProductrepairRequestMainVO { - workshopCode: string - team: string - shift: string - fromWarehouseCode: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - fromLocationTypes: string - fromAreaCodes: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询制品返修申请主列表 -export const getProductrepairRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productrepair-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/productrepair-request-main/page`, params }) - } -} - -// 查询制品返修申请主详情 -export const getProductrepairRequestMain = async (id: number) => { - return await request.get({ url: `/wms/productrepair-request-main/get?id=` + id }) -} - -// 新增制品返修申请主 -export const createProductrepairRequestMain = async (data: ProductrepairRequestMainVO) => { - return await request.post({ url: `/wms/productrepair-request-main/create`, data }) -} - -// 修改制品返修申请主 -export const updateProductrepairRequestMain = async (data: ProductrepairRequestMainVO) => { - return await request.put({ url: `/wms/productrepair-request-main/update`, data }) -} - -// 删除制品返修申请主 -export const deleteProductrepairRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/productrepair-request-main/delete?id=` + id }) -} - -// 导出制品返修申请主 Excel -export const exportProductrepairRequestMain = async (params) => { - return await request.download({ url: `/wms/productrepair-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productrepair-request-main/get-import-template' }) -} - -// 关闭-制品返修申请 -export const closeProductrepairRequestMain = async (id) => { - return await request.put({ url: `/wms/productrepair-request-main/close?id=` + id }) -} - -// 重新添加-制品返修申请 -export const reAddProductrepairRequestMain = async (id) => { - return await request.put({ url: `/wms/productrepair-request-main/reAdd?id=` + id }) -} - -// 提交审批-制品返修申请 -export const submitProductrepairRequestMain = async (id) => { - return await request.put({ url: `/wms/productrepair-request-main/submit?id=` + id }) -} - -// 审批驳回-制品返修申请 -export const refusedProductrepairRequestMain = async (id) => { - return await request.put({ url: `/wms/productrepair-request-main/refused?id=` + id }) -} - -// 审批通过-制品返修申请 -export const agreeProductrepairRequestMain = async (id) => { - return await request.put({ url: `/wms/productrepair-request-main/agree?id=` + id }) -} - -// 处理-制品返修申请 -export const handleProductrepairRequestMain = async (id) => { - return await request.put({ url: `/wms/productrepair-request-main/handle?id=` + id }) -} - -// 修改制品返修BOM数据 -export const updateProductscrapDetailRequestBom = async (id, data) => { - return await request.post({ url: `/wms/productrepair-request-main/updateBom?id=`+id, data }) -} diff --git a/src/api/wms/productscrapJobDetail/index.ts b/src/api/wms/productscrapJobDetail/index.ts deleted file mode 100644 index 226fd56..0000000 --- a/src/api/wms/productscrapJobDetail/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import request from '@/config/axios' - -export interface ProductscrapJobDetailVO { - ownerCode: string - packingNumber: string - containerNumber: string - batch: string - fromLocationCode: string - inventoryStatus: string - reason: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string -} - -// 查询制品报废任务子列表 -export const getProductscrapJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productscrap-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productscrap-job-detail/page`, params }) - } -} - -// 查询制品报废任务子详情 -export const getProductscrapJobDetail = async (id: number) => { - return await request.get({ url: `/wms/productscrap-job-detail/get?id=` + id }) -} - -// 新增制品报废任务子 -export const createProductscrapJobDetail = async (data: ProductscrapJobDetailVO) => { - return await request.post({ url: `/wms/productscrap-job-detail/create`, data }) -} - -// 修改制品报废任务子 -export const updateProductscrapJobDetail = async (data: ProductscrapJobDetailVO) => { - return await request.put({ url: `/wms/productscrap-job-detail/update`, data }) -} - -// 删除制品报废任务子 -export const deleteProductscrapJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/productscrap-job-detail/delete?id=` + id }) -} - -// 导出制品报废任务子 Excel -export const exportProductscrapJobDetail = async (params) => { - return await request.download({ url: `/wms/productscrap-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productscrap-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productscrapJobMain/index.ts b/src/api/wms/productscrapJobMain/index.ts deleted file mode 100644 index 49f7758..0000000 --- a/src/api/wms/productscrapJobMain/index.ts +++ /dev/null @@ -1,79 +0,0 @@ -import request from '@/config/axios' - -export interface ProductscrapJobMainVO { - requestNumber: string - fromWarehouseCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromAreaCodes: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询制品报废任务主列表 -export const getProductscrapJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productscrap-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/productscrap-job-main/page`, params }) - } -} - -// 查询制品报废任务主详情 -export const getProductscrapJobMain = async (id: number) => { - return await request.get({ url: `/wms/productscrap-job-main/get?id=` + id }) -} - -// 新增制品报废任务主 -export const createProductscrapJobMain = async (data: ProductscrapJobMainVO) => { - return await request.post({ url: `/wms/productscrap-job-main/create`, data }) -} - -// 修改制品报废任务主 -export const updateProductscrapJobMain = async (data: ProductscrapJobMainVO) => { - return await request.put({ url: `/wms/productscrap-job-main/update`, data }) -} - -// 删除制品报废任务主 -export const deleteProductscrapJobMain = async (id: number) => { - return await request.delete({ url: `/wms/productscrap-job-main/delete?id=` + id }) -} - -// 导出制品报废任务主 Excel -export const exportProductscrapJobMain = async (params) => { - return await request.download({ url: `/wms/productscrap-job-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productscrap-job-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productscrapRecordDetail/index.ts b/src/api/wms/productscrapRecordDetail/index.ts deleted file mode 100644 index ae2aae8..0000000 --- a/src/api/wms/productscrapRecordDetail/index.ts +++ /dev/null @@ -1,70 +0,0 @@ -import request from '@/config/axios' - -export interface ProductscrapRecordDetailVO { - fromOwnerCode: string - packingNumber: string - containerNumber: string - batch: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - inventoryStatus: string - reason: string - singlePrice: number - amount: number - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - jobDetailId: string -} - -// 查询制品报废记录子列表 -export const getProductscrapRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productscrap-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productscrap-record-detail/page`, params }) - } -} - -// 查询制品报废记录子详情 -export const getProductscrapRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/productscrap-record-detail/get?id=` + id }) -} - -// 新增制品报废记录子 -export const createProductscrapRecordDetail = async (data: ProductscrapRecordDetailVO) => { - return await request.post({ url: `/wms/productscrap-record-detail/create`, data }) -} - -// 修改制品报废记录子 -export const updateProductscrapRecordDetail = async (data: ProductscrapRecordDetailVO) => { - return await request.put({ url: `/wms/productscrap-record-detail/update`, data }) -} - -// 删除制品报废记录子 -export const deleteProductscrapRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/productscrap-record-detail/delete?id=` + id }) -} - -// 导出制品报废记录子 Excel -export const exportProductscrapRecordDetail = async (params) => { - return await request.download({ url: `/wms/productscrap-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productscrap-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productscrapRecordMain/index.ts b/src/api/wms/productscrapRecordMain/index.ts deleted file mode 100644 index 7d415ea..0000000 --- a/src/api/wms/productscrapRecordMain/index.ts +++ /dev/null @@ -1,66 +0,0 @@ -import request from '@/config/axios' - -export interface ProductscrapRecordMainVO { - requestNumber: string - jobNumber: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - code: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - ruleUserId: number - available: string -} - -// 查询制品报废记录主列表 -export const getProductscrapRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productscrap-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/productscrap-record-main/page`, params }) - } -} - -// 查询制品报废记录主详情 -export const getProductscrapRecordMain = async (id: number) => { - return await request.get({ url: `/wms/productscrap-record-main/get?id=` + id }) -} - -// 新增制品报废记录主 -export const createProductscrapRecordMain = async (data: ProductscrapRecordMainVO) => { - return await request.post({ url: `/wms/productscrap-record-main/create`, data }) -} - -// 修改制品报废记录主 -export const updateProductscrapRecordMain = async (data: ProductscrapRecordMainVO) => { - return await request.put({ url: `/wms/productscrap-record-main/update`, data }) -} - -// 删除制品报废记录主 -export const deleteProductscrapRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/productscrap-record-main/delete?id=` + id }) -} - -// 导出制品报废记录主 Excel -export const exportProductscrapRecordMain = async (params) => { - return await request.download({ url: `/wms/productscrap-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productscrap-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productscrapRequestDetail/index.ts b/src/api/wms/productscrapRequestDetail/index.ts deleted file mode 100644 index ffb2671..0000000 --- a/src/api/wms/productscrapRequestDetail/index.ts +++ /dev/null @@ -1,65 +0,0 @@ -import request from '@/config/axios' - -export interface ProductscrapRequestDetailVO { - fromOwnerCode: string - packingNumber: string - containerNumber: string - batch: string - fromLocationCode: string - inventoryStatus: string - reason: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string -} - -// 查询制品报废申请子列表 -export const getProductscrapRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productscrap-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/productscrap-request-detail/page`, params }) - } -} - -// 查询制品报废申请子详情 -export const getProductscrapRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/productscrap-request-detail/get?id=` + id }) -} - -// 新增制品报废申请子 -export const createProductscrapRequestDetail = async (data: ProductscrapRequestDetailVO) => { - return await request.post({ url: `/wms/productscrap-request-detail/create`, data }) -} - -// 修改制品报废申请子 -export const updateProductscrapRequestDetail = async (data: ProductscrapRequestDetailVO) => { - return await request.put({ url: `/wms/productscrap-request-detail/update`, data }) -} - -// 删除制品报废申请子 -export const deleteProductscrapRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/productscrap-request-detail/delete?id=` + id }) -} - -// 导出制品报废申请子 Excel -export const exportProductscrapRequestDetail = async (params) => { - return await request.download({ url: `/wms/productscrap-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productscrap-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/productscrapRequestMain/index.ts b/src/api/wms/productscrapRequestMain/index.ts deleted file mode 100644 index 3a468e4..0000000 --- a/src/api/wms/productscrapRequestMain/index.ts +++ /dev/null @@ -1,98 +0,0 @@ -import request from '@/config/axios' - -export interface ProductscrapRequestMainVO { - fromWarehouseCode: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - fromLocationTypes: string - fromAreaCodes: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询制品报废申请主列表 -export const getProductscrapRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/productscrap-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/productscrap-request-main/page`, params }) - } -} - -// 查询制品报废申请主详情 -export const getProductscrapRequestMain = async (id: number) => { - return await request.get({ url: `/wms/productscrap-request-main/get?id=` + id }) -} - -// 新增制品报废申请主 -export const createProductscrapRequestMain = async (data: ProductscrapRequestMainVO) => { - return await request.post({ url: `/wms/productscrap-request-main/create`, data }) -} - -// 修改制品报废申请主 -export const updateProductscrapRequestMain = async (data: ProductscrapRequestMainVO) => { - return await request.put({ url: `/wms/productscrap-request-main/update`, data }) -} - -// 删除制品报废申请主 -export const deleteProductscrapRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/productscrap-request-main/delete?id=` + id }) -} - -// 导出制品报废申请主 Excel -export const exportProductscrapRequestMain = async (params) => { - return await request.download({ url: `/wms/productscrap-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/productscrap-request-main/get-import-template' }) -} - -// 关闭-制品报废申请 -export const closeProductscrapRequestMain = async (id) => { - return await request.put({ url: `/wms/productscrap-request-main/close?id=` + id }) -} - -// 重新添加-制品报废申请 -export const reAddProductscrapRequestMain = async (id) => { - return await request.put({ url: `/wms/productscrap-request-main/reAdd?id=` + id }) -} - -// 提交审批-制品报废申请 -export const submitProductscrapRequestMain = async (id) => { - return await request.put({ url: `/wms/productscrap-request-main/submit?id=` + id }) -} - -// 审批驳回-制品报废申请 -export const refusedProductscrapRequestMain = async (id) => { - return await request.put({ url: `/wms/productscrap-request-main/refused?id=` + id }) -} - -// 审批通过-制品报废申请 -export const agreeProductscrapRequestMain = async (id) => { - return await request.put({ url: `/wms/productscrap-request-main/agree?id=` + id }) -} - -// 处理-制品报废申请 -export const handleProductscrapRequestMain = async (id) => { - return await request.put({ url: `/wms/productscrap-request-main/handle?id=` + id }) -} - -// 修改制品报废BOM数据 -export const updateProductscrapDetailRequestBom = async (id, data) => { - return await request.post({ url: `/wms/productscrap-request-main/updateBom?id=`+id, data }) -} diff --git a/src/api/wms/project/index.ts b/src/api/wms/project/index.ts deleted file mode 100644 index 2689abd..0000000 --- a/src/api/wms/project/index.ts +++ /dev/null @@ -1,58 +0,0 @@ -import request from '@/config/axios' - -export interface ProjectVO { - code: string - name: string - description: string - customerCode: string - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询项目列表 -export const getProjectPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/project/senior', data }) - } else { - return await request.get({ url: `/wms/project/page`, params }) - } -} - -// 查询项目详情 -export const getProject = async (id: number) => { - return await request.get({ url: `/wms/project/get?id=` + id }) -} - -// 新增项目 -export const createProject = async (data: ProjectVO) => { - return await request.post({ url: `/wms/project/create`, data }) -} - -// 修改项目 -export const updateProject = async (data: ProjectVO) => { - return await request.put({ url: `/wms/project/update`, data }) -} - -// 删除项目 -export const deleteProject = async (id: number) => { - return await request.delete({ url: `/wms/project/delete?id=` + id }) -} - -// 导出项目 Excel -export const exportProject = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/project/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/project/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/project/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/purchaseDetail/index.ts b/src/api/wms/purchaseDetail/index.ts deleted file mode 100644 index bf16cec..0000000 --- a/src/api/wms/purchaseDetail/index.ts +++ /dev/null @@ -1,72 +0,0 @@ -import request from '@/config/axios' - -export interface PurchaseDetailVO { - lineNumber: string - erpLocationCode: string - projectCode: string - stdPackQty: number - stdPackUnit: string - supplierQty: number - supplierUom: string - convertRate: number - shippedQty: number - receivedQty: number - returnedQty: number - putawayQty: number - overReceivingPercent: number - singlePrice: number - amount: number - number: string - itemCode: string - remark: string - createTime: Date - creator: string - orderQty: number - uom: string - updateTime: Date - updater: string - concurrencyStamp: string - status: string - available: string -} - -// 查询采购订单子列表 -export const getPurchaseDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchase-detail/senior', data }) - } else { - return await request.get({ url: `/wms/purchase-detail/page`, params }) - } -} - -// 查询采购订单子详情 -export const getPurchaseDetail = async (id: number) => { - return await request.get({ url: `/wms/purchase-detail/get?id=` + id }) -} - -// 新增采购订单子 -export const createPurchaseDetail = async (data: PurchaseDetailVO) => { - return await request.post({ url: `/wms/purchase-detail/create`, data }) -} - -// 修改采购订单子 -export const updatePurchaseDetail = async (data: PurchaseDetailVO) => { - return await request.put({ url: `/wms/purchase-detail/update`, data }) -} - -// 删除采购订单子 -export const deletePurchaseDetail = async (id: number) => { - return await request.delete({ url: `/wms/purchase-detail/delete?id=` + id }) -} - -// 导出采购订单子 Excel -export const exportPurchaseDetail = async (params) => { - return await request.download({ url: `/wms/purchase-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchase-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/purchaseMain/index.ts b/src/api/wms/purchaseMain/index.ts deleted file mode 100644 index a833a54..0000000 --- a/src/api/wms/purchaseMain/index.ts +++ /dev/null @@ -1,81 +0,0 @@ -import request from '@/config/axios' - -export interface PurchaseMainVO { - supplierCode: string - number: string - type: string - status: string - orderDate: Date - dueDate: Date - version: string - taxRate: number - contactName: string - contactPhone: string - contactEmail: string - isConsignment: string - businessType: string - remark: string - createTime: Date - creator: string - updateTime: Date - updater: string - currentStage: number - available: string -} - -// 查询采购订单主列表 -export const getPurchaseMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchase-main/senior', data }) - } else { - return await request.get({ url: `/wms/purchase-main/page`, params }) - } -} - -// 查询采购订单主详情 -export const getPurchaseMain = async (id: number) => { - return await request.get({ url: `/wms/purchase-main/get?id=` + id }) -} - -// 新增采购订单主 -export const createPurchaseMain = async (data: PurchaseMainVO) => { - return await request.post({ url: `/wms/purchase-main/create`, data }) -} - -// 修改采购订单主 -export const updatePurchaseMain = async (data: PurchaseMainVO) => { - return await request.put({ url: `/wms/purchase-main/update`, data }) -} - -// 删除采购订单主 -export const deletePurchaseMain = async (id: number) => { - return await request.delete({ url: `/wms/purchase-main/delete?id=` + id }) -} - -// 关闭采购订单主 -export const closePurchaseMain = async (id: number) => { - return await request.post({ url: `/wms/purchase-main/close?id=` + id }) -} -// 打开采购订单主 -export const openPurchaseMain = async (id: number) => { - return await request.post({ url: `/wms/purchase-main/open?id=` + id }) -} -// 发布采购订单主 -export const publishPurchaseMain = async (id: number) => { - return await request.post({ url: `/wms/purchase-main/publish?id=` + id }) -} -// 下架采购订单主 -export const witPurchaseMain = async (id: number) => { - return await request.post({ url: `/wms/purchase-main/wit?id=` + id }) -} -// 导出采购订单主 Excel -export const exportPurchaseMain = async (params) => { - return await request.download({ url: `/wms/purchase-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchase-main/get-import-template' }) -} diff --git a/src/api/wms/purchasePlanDetail/index.ts b/src/api/wms/purchasePlanDetail/index.ts deleted file mode 100644 index 3c1cb27..0000000 --- a/src/api/wms/purchasePlanDetail/index.ts +++ /dev/null @@ -1,52 +0,0 @@ -import request from '@/config/axios' - -export interface PurchasePlanDetailVO { - poNumber: string - poLine: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - shippedQty: number - planQty: number - uom: string - updateTime: Date - updater: string - available: string -} - -// 查询要货计划子列表 -export const getPurchasePlanDetailPage = async (params) => { - return await request.get({ url: `/wms/purchase-plan-detail/page`, params }) -} - -// 查询采购收货记录子列表 -export const getPurchasePlanDetailList = async (params) => { - return await request.get({ url: `/wms/purchase-plan-detail/allList`, params }) -} - -// 查询要货计划子详情 -export const getPurchasePlanDetail = async (id: number) => { - return await request.get({ url: `/wms/purchase-plan-detail/get?id=` + id }) -} - -// 新增要货计划子 -export const createPurchasePlanDetail = async (data: PurchasePlanDetailVO) => { - return await request.post({ url: `/wms/purchase-plan-detail/create`, data }) -} - -// 修改要货计划子 -export const updatePurchasePlanDetail = async (data: PurchasePlanDetailVO) => { - return await request.put({ url: `/wms/purchase-plan-detail/update`, data }) -} - -// 删除要货计划子 -export const deletePurchasePlanDetail = async (id: number) => { - return await request.delete({ url: `/wms/purchase-plan-detail/delete?id=` + id }) -} - -// 导出要货计划子 Excel -export const exportPurchasePlanDetail = async (params) => { - return await request.download({ url: `/wms/purchase-plan-detail/export-excel`, params }) -} diff --git a/src/api/wms/purchasePlanMain/index.ts b/src/api/wms/purchasePlanMain/index.ts deleted file mode 100644 index df18a82..0000000 --- a/src/api/wms/purchasePlanMain/index.ts +++ /dev/null @@ -1,87 +0,0 @@ -import request from '@/config/axios' - -export interface PurchasePlanMainVO { - supplierCode: string - timeWindow: string - warehouseCode: string - dockCode: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - beginTime: Date - endTime: Date - status: string - updateTime: Date - updater: string - available: string -} - -// 查询要货计划主列表 -export const getPurchasePlanMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchase-plan-main/senior', data }) - } else { - return await request.get({ url: `/wms/purchase-plan-main/page`, params }) - } -} - -// 查询要货计划主详情 -export const getPurchasePlanMain = async (id: number) => { - return await request.get({ url: `/wms/purchase-plan-main/get?id=` + id }) -} - -// 新增要货计划主 -export const createPurchasePlanMain = async (data: PurchasePlanMainVO) => { - return await request.post({ url: `/wms/purchase-plan-main/create`, data }) -} - -// 修改要货计划主 -export const updatePurchasePlanMain = async (data: PurchasePlanMainVO) => { - return await request.put({ url: `/wms/purchase-plan-main/update`, data }) -} - -// 删除要货计划主 -export const deletePurchasePlanMain = async (id: number) => { - return await request.delete({ url: `/wms/purchase-plan-main/delete?id=` + id }) -} - -// 关闭要货计划主 -export const closePurchasePlanMain = async (id: number) => { - return await request.post({ url: `/wms/purchase-plan-main/close?id=` + id }) -} -// 打开要货计划主 -export const openPurchasePlanMain = async (id: number) => { - return await request.post({ url: `/wms/purchase-plan-main/open?id=` + id }) -} -// 发布要货计划主 -export const publishPurchasePlanMain = async (id: number) => { - return await request.post({ url: `/wms/purchase-plan-main/publish?id=` + id }) -} -// 下架要货计划主 -export const witPurchasePlanMain = async (id: number) => { - return await request.post({ url: `/wms/purchase-plan-main/wit?id=` + id }) -} - -// 接受要货计划主 -export const accPurchasePlanMain = async (id: number) => { - return await request.post({ url: `/wms/purchase-plan-main/acc?id=` + id }) -} - -// 驳回要货计划主 -export const rejPurchasePlanMain = async (id: number) => { - return await request.post({ url: `/wms/purchase-plan-main/rej?id=` + id }) -} - -// 导出要货计划主 Excel -export const exportPurchasePlanMain = async (params) => { - return await request.download({ url: `/wms/purchase-plan-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchase-plan-main/get-import-template' }) -} diff --git a/src/api/wms/purchaseclaimRecordDetail/index.ts b/src/api/wms/purchaseclaimRecordDetail/index.ts deleted file mode 100644 index 89f1f53..0000000 --- a/src/api/wms/purchaseclaimRecordDetail/index.ts +++ /dev/null @@ -1,66 +0,0 @@ -import request from '@/config/axios' - -export interface PurchaseclaimRecordDetailVO { - batch: string - altBatch: string - poNumber: string - poLine: string - reason: string - singlePrice: number - amount: number - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - jobDetailId: string -} - -// 查询采购索赔记录子列表 -export const getPurchaseclaimRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchaseclaim-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/purchaseclaim-record-detail/page`, params }) - } -} - -// 查询采购索赔记录子详情 -export const getPurchaseclaimRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/purchaseclaim-record-detail/get?id=` + id }) -} - -// 新增采购索赔记录子 -export const createPurchaseclaimRecordDetail = async (data: PurchaseclaimRecordDetailVO) => { - return await request.post({ url: `/wms/purchaseclaim-record-detail/create`, data }) -} - -// 修改采购索赔记录子 -export const updatePurchaseclaimRecordDetail = async (data: PurchaseclaimRecordDetailVO) => { - return await request.put({ url: `/wms/purchaseclaim-record-detail/update`, data }) -} - -// 删除采购索赔记录子 -export const deletePurchaseclaimRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/purchaseclaim-record-detail/delete?id=` + id }) -} - -// 导出采购索赔记录子 Excel -export const exportPurchaseclaimRecordDetail = async (params) => { - return await request.download({ url: `/wms/purchaseclaim-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchaseclaim-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/purchaseclaimRecordMain/index.ts b/src/api/wms/purchaseclaimRecordMain/index.ts deleted file mode 100644 index a4baa7d..0000000 --- a/src/api/wms/purchaseclaimRecordMain/index.ts +++ /dev/null @@ -1,64 +0,0 @@ -import request from '@/config/axios' - -export interface PurchaseclaimRecordMainVO { - requestNumber: string - asnNumber: string - ppNumber: string - supplierCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - available: string -} - -// 查询采购索赔记录主列表 -export const getPurchaseclaimRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchaseclaim-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/purchaseclaim-record-main/page`, params }) - } -} - -// 查询采购索赔记录主详情 -export const getPurchaseclaimRecordMain = async (id: number) => { - return await request.get({ url: `/wms/purchaseclaim-record-main/get?id=` + id }) -} - -// 新增采购索赔记录主 -export const createPurchaseclaimRecordMain = async (data: PurchaseclaimRecordMainVO) => { - return await request.post({ url: `/wms/purchaseclaim-record-main/create`, data }) -} - -// 修改采购索赔记录主 -export const updatePurchaseclaimRecordMain = async (data: PurchaseclaimRecordMainVO) => { - return await request.put({ url: `/wms/purchaseclaim-record-main/update`, data }) -} - -// 删除采购索赔记录主 -export const deletePurchaseclaimRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/purchaseclaim-record-main/delete?id=` + id }) -} - -// 导出采购索赔记录主 Excel -export const exportPurchaseclaimRecordMain = async (params) => { - return await request.download({ url: `/wms/purchaseclaim-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchaseclaim-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/purchaseclaimRequestDetail/index.ts b/src/api/wms/purchaseclaimRequestDetail/index.ts deleted file mode 100644 index fed254b..0000000 --- a/src/api/wms/purchaseclaimRequestDetail/index.ts +++ /dev/null @@ -1,53 +0,0 @@ -import request from '@/config/axios' - -export interface PurchaseclaimRequestDetailVO { - altBatch: string - amount: Number - batch: Number - id: string - itemCode: string - itemDesc1: string - itemDesc2: string - itemName: string - number: string - poLine: string - poNumber: string - projectCode: string - qty: Number - reason: string - remark: string - singlePrice: Number - uom: string -} - -// 查询采购索赔申请子列表 -export const getPurchaseclaimRequestDetailPage = async (params) => { - // return await request.get({ url: `/wms/purchaseclaim-request-detail/page`, params }) - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/purchaseclaim-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/purchaseclaim-request-detail/page`, params }) - } -} - -// 查询采购索赔申请子详情 -export const getPurchaseclaimRequesDetail = async (id: number) => { - return await request.get({ url: `/wms/purchaseclaim-request-detail/get?id=` + id }) -} - -// 新增采购索赔申请子 -export const createPurchaseclaimRequestDetail = async (data: PurchaseclaimRequestDetailVO) => { - return await request.post({ url: `/wms/purchaseclaim-request-detail/create`, data }) -} - -// 修改采购索赔申请子 -export const updatePurchaseclaimRequestDetail = async (data: PurchaseclaimRequestDetailVO) => { - return await request.put({ url: `/wms/purchaseclaim-request-detail/update`, data }) -} - -// 删除采购索赔申请子 -export const deletePurchaseclaimRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/purchaseclaim-request-detail/delete?id=` + id }) -} diff --git a/src/api/wms/purchaseclaimRequestMain/index.ts b/src/api/wms/purchaseclaimRequestMain/index.ts deleted file mode 100644 index 392f873..0000000 --- a/src/api/wms/purchaseclaimRequestMain/index.ts +++ /dev/null @@ -1,86 +0,0 @@ -import request from '@/config/axios' - -export interface PurchaseclaimRequestMainVO { - asnNumber: string - ppNumber: string - supplierCode: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询采购索赔申请主列表 -export const getPurchaseclaimRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/purchaseclaim-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/purchaseclaim-request-main/page`, params }) - } -} -// 查询采购索赔申请主详情 -export const getPurchaseclaimRequestMain = async (id: number) => { - return await request.get({ url: `/wms/purchaseclaim-request-main/get?id=` + id }) -} - -// 新增采购索赔申请主 -export const createPurchaseclaimRequestMain = async (data: PurchaseclaimRequestMainVO) => { - return await request.post({ url: `/wms/purchaseclaim-request-main/create`, data }) -} - -// 修改采购索赔申请主 -export const updatePurchaseclaimRequestMain = async (data: PurchaseclaimRequestMainVO) => { - return await request.put({ url: `/wms/purchaseclaim-request-main/update`, data }) -} - -// 删除采购索赔申请主 -export const deletePurchaseclaimRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/purchaseclaim-request-main/delete?id=` + id }) -} - -// 打开供应商发货申请主 -export const opePurchaseclaimRequestMain = async (id: number) => { - return await request.post({ url: `/wms/purchaseclaim-request-main/open?id=` + id }) -} -// 关闭供应商发货申请主 -export const cloPurchaseclaimRequestMain = async (id: number) => { - return await request.post({ url: `/wms/purchaseclaim-request-main/close?id=` + id }) -} -// 提交审批供应商发货申请主 -export const subPurchaseclaimRequestMain = async (id: number) => { - return await request.post({ url: `/wms/purchaseclaim-request-main/sub?id=` + id }) -} -// 审批通过供应商发货申请主 -export const appPurchaseclaimRequestMain = async (id: number) => { - return await request.post({ url: `/wms/purchaseclaim-request-main/app?id=` + id }) -} -// 驳回供应商发货申请主 -export const rejPurchaseclaimRequestMain = async (id: number) => { - return await request.post({ url: `/wms/purchaseclaim-request-main/rej?id=` + id }) -} -// 处理 -export const genRecordsPurchaseclaimRequestMain = async (id) => { - return await request.post({ url: `/wms/purchaseclaim-request-main/genRecords?id=` + id }) -} -// 导出采购索赔申请主 Excel -export const exportPurchaseclaimRequestMain = async (params) => { - return await request.download({ url: `/wms/purchaseclaim-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchaseclaim-request-main/get-import-template' }) -} diff --git a/src/api/wms/purchaseprice/index.ts b/src/api/wms/purchaseprice/index.ts deleted file mode 100644 index cf24386..0000000 --- a/src/api/wms/purchaseprice/index.ts +++ /dev/null @@ -1,58 +0,0 @@ -import request from '@/config/axios' - -export interface PurchasepriceVO { - supplierCode: string - itemCode: string - currency: string - price: number - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询采购价格单列表 -export const getPurchasepricePage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/purchaseprice/senior', data }) - } else { - return await request.get({ url: `/wms/purchaseprice/page`, params }) - } -} - -// 查询采购价格单详情 -export const getPurchaseprice = async (id: number) => { - return await request.get({ url: `/wms/purchaseprice/get?id=` + id }) -} - -// 新增采购价格单 -export const createPurchaseprice = async (data: PurchasepriceVO) => { - return await request.post({ url: `/wms/purchaseprice/create`, data }) -} - -// 修改采购价格单 -export const updatePurchaseprice = async (data: PurchasepriceVO) => { - return await request.put({ url: `/wms/purchaseprice/update`, data }) -} - -// 删除采购价格单 -export const deletePurchaseprice = async (id: number) => { - return await request.delete({ url: `/wms/purchaseprice/delete?id=` + id }) -} - -// 导出采购价格单 Excel -export const exportPurchaseprice = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/purchaseprice/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/purchaseprice/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchaseprice/get-import-template' }) -} diff --git a/src/api/wms/purchasereceiptJobDetail/index.ts b/src/api/wms/purchasereceiptJobDetail/index.ts deleted file mode 100644 index 6201fbe..0000000 --- a/src/api/wms/purchasereceiptJobDetail/index.ts +++ /dev/null @@ -1,75 +0,0 @@ -import request from '@/config/axios' - -export interface PurchasereceiptJobDetailVO { - packingNumber: string - containerNumber: string - batch: string - altBatch: string - arriveDate: Date - produceDate: Date - expireDate: Date - inventoryStatus: string - fromLocationCode: string - toLocationCode: string - poNumber: string - poLine: string - stdPackQty: number - stdPackUnit: string - supplierQty: number - supplierUom: string - convertRate: number - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - eemark: string - createTime: Date - creator: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询采购收货任务子列表 -export const getPurchasereceiptJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchasereceipt-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/purchasereceipt-job-detail/page`, params }) - } -} - -// 查询采购收货任务子详情 -export const getPurchasereceiptJobDetail = async (id: number) => { - return await request.get({ url: `/wms/purchasereceipt-job-detail/get?id=` + id }) -} - -// 新增采购收货任务子 -export const createPurchasereceiptJobDetail = async (data: PurchasereceiptJobDetailVO) => { - return await request.post({ url: `/wms/purchasereceipt-job-detail/create`, data }) -} - -// 修改采购收货任务子 -export const updatePurchasereceiptJobDetail = async (data: PurchasereceiptJobDetailVO) => { - return await request.put({ url: `/wms/purchasereceipt-job-detail/update`, data }) -} - -// 删除采购收货任务子 -export const deletePurchasereceiptJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/purchasereceipt-job-detail/delete?id=` + id }) -} - -// 导出采购收货任务子 Excel -export const exportPurchasereceiptJobDetail = async (params) => { - return await request.download({ url: `/wms/purchasereceipt-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchasereceipt-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/purchasereceiptJobMain/index.ts b/src/api/wms/purchasereceiptJobMain/index.ts deleted file mode 100644 index 3e2f9a2..0000000 --- a/src/api/wms/purchasereceiptJobMain/index.ts +++ /dev/null @@ -1,99 +0,0 @@ -import request from '@/config/axios' - -export interface PurchasereceiptJobMainVO { - requestNumber: string - asnNumber: string - ppNumber: string - supplierCode: string - toDockCode: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - fromWarehouseCode: string - toWarehouseCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - userPositionCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - allowModifyBatch: string - fromAreaCodes: string - toAreaCodes: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyPackingNumber: string -} - -// 查询采购收货任务主列表 -export const getPurchasereceiptJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchasereceipt-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/purchasereceipt-job-main/page`, params }) - } -} - -// 查询采购收货任务主详情 -export const getPurchasereceiptJobMain = async (id: number) => { - return await request.get({ url: `/wms/purchasereceipt-job-main/get?id=` + id }) -} - -// 新增采购收货任务主 -export const createPurchasereceiptJobMain = async (data: PurchasereceiptJobMainVO) => { - return await request.post({ url: `/wms/purchasereceipt-job-main/create`, data }) -} - -// 修改采购收货任务主 -export const updatePurchasereceiptJobMain = async (data: PurchasereceiptJobMainVO) => { - return await request.put({ url: `/wms/purchasereceipt-job-main/update`, data }) -} - -// 删除采购收货任务主 -export const deletePurchasereceiptJobMain = async (id: number) => { - return await request.delete({ url: `/wms/purchasereceipt-job-main/delete?id=` + id }) -} - -// 导出采购收货任务主 Excel -export const exportPurchasereceiptJobMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/purchasereceipt-job-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/purchasereceipt-job-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchasereceipt-job-main/get-import-template' }) -} - -// 关闭采购收货任务主 -export const closePurchasereceiptJobMain = (id: number) => { - return request.put({ url: '/wms/purchasereceipt-job-main/close?id=' + id }) -} diff --git a/src/api/wms/purchasereceiptRecordDetail/index.ts b/src/api/wms/purchasereceiptRecordDetail/index.ts deleted file mode 100644 index b326094..0000000 --- a/src/api/wms/purchasereceiptRecordDetail/index.ts +++ /dev/null @@ -1,103 +0,0 @@ -import request from '@/config/axios' - -export interface PurchasereceiptRecordDetailVO { - fromPackingNumber: string - toPackingNumber: string - fromContainerNumber: string - toContainerNumber: string - fromBatch: string - altBatch: string - arriveDate: Date - produceDate: Date - expireDate: Date - inventoryStatus: string - fromLocationCode: string - toLocationCode: string - fromLocationGroupCode: string - toLocationGroupCode: string - fromAreaCodes: string - toAreaCodes: string - poNumber: string - poLine: string - stdPackQty: number - stdPackUnit: string - qty: number - uom: string - supplierQty: number - supplierUom: string - convertRate: number - visualInspectResult: string - visualInspectPhotos: string - failedReason: string - singlePrice: number - amount: number - jobDetailId: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - number: string - remark: string - createTime: Date - creator: string - projectCode: string - code: string - interfaceType: string - fromOwnerCode: string - toOwnerCode: string - toBatch: string -} - -// 查询采购收货记录子列表 -export const getPurchasereceiptRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchasereceipt-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/purchasereceipt-record-detail/page`, params }) - } -} -// 查询采购收货记录子列表 -export const getPurchasereceiptRecordDetailList = async (params) => { - return await request.get({ url: `/wms/purchasereceipt-record-detail/list`, params }) -} -// 查询采购收货记录子详情 -export const getPurchasereceiptRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/purchasereceipt-record-detail/get?id=` + id }) -} - -// 新增采购收货记录子 -export const createPurchasereceiptRecordDetail = async (data: PurchasereceiptRecordDetailVO) => { - return await request.post({ url: `/wms/purchasereceipt-record-detail/create`, data }) -} - -// 修改采购收货记录子 -export const updatePurchasereceiptRecordDetail = async (data: PurchasereceiptRecordDetailVO) => { - return await request.put({ url: `/wms/purchasereceipt-record-detail/update`, data }) -} - -// 删除采购收货记录子 -export const deletePurchasereceiptRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/purchasereceipt-record-detail/delete?id=` + id }) -} - -// 导出采购收货记录子 Excel -export const exportPurchasereceiptRecordDetail = async (params) => { - return await request.download({ url: `/wms/purchasereceipt-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchasereceipt-record-detail/get-import-template' }) -} -// 缺货明细 -export const getScarceGoodsDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchaseshortage-detail/senior', data }) - } else { - return await request.get({ url: `/wms/purchaseshortage-detail/page`, params }) - } -} \ No newline at end of file diff --git a/src/api/wms/purchasereceiptRecordMain/index.ts b/src/api/wms/purchasereceiptRecordMain/index.ts deleted file mode 100644 index 7c61327..0000000 --- a/src/api/wms/purchasereceiptRecordMain/index.ts +++ /dev/null @@ -1,80 +0,0 @@ -import request from '@/config/axios' - -export interface PurchasereceiptRecordMainVO { - requestNumber: string - jobNumber: string - asnNumber: string - ppNumber: string - supplierCode: string - toDockCode: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - fromWarehouseCode: string - toWarehouseCode: string - outTransaction: string - inTransaction: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - fromLocationTypes: string - toLocationTypes: string - fromAreaCodes: string - toAreaCodes: string - available: string -} - -// 查询采购收货记录主列表 -export const getPurchasereceiptRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchasereceipt-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/purchasereceipt-record-main/page`, params }) - } -} - -// 查询采购收货记录主详情 -export const getPurchasereceiptRecordMain = async (id: number) => { - return await request.get({ url: `/wms/purchasereceipt-record-main/get?id=` + id }) -} - -// 新增采购收货记录主 -export const createPurchasereceiptRecordMain = async (data: PurchasereceiptRecordMainVO) => { - return await request.post({ url: `/wms/purchasereceipt-record-main/create`, data }) -} - -// 修改采购收货记录主 -export const updatePurchasereceiptRecordMain = async (data: PurchasereceiptRecordMainVO) => { - return await request.put({ url: `/wms/purchasereceipt-record-main/update`, data }) -} - -// 删除采购收货记录主 -export const deletePurchasereceiptRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/purchasereceipt-record-main/delete?id=` + id }) -} - -// 导出采购收货记录主 Excel -export const exportPurchasereceiptRecordMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/purchasereceipt-record-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/purchasereceipt-record-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchasereceipt-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/purchasereceiptRequestDetail/index.ts b/src/api/wms/purchasereceiptRequestDetail/index.ts deleted file mode 100644 index 20f40f6..0000000 --- a/src/api/wms/purchasereceiptRequestDetail/index.ts +++ /dev/null @@ -1,78 +0,0 @@ -import request from '@/config/axios' - -export interface PurchasereceiptRequestDetailVO { - packingNumber: string - containerNumber: string - batch: string - altBatch: string - arriveDate: Date - produceDate: Date - expireDate: Date - inventoryStatus: string - fromLocationCode: string - poNumber: string - poLine: string - stdPackQty: number - stdPackUnit: string - supplierPackQty: number - supplierPackUnit: string - convertRate: number - number: string - itemCode: string - remark: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - fromOwnerCode: string - toOwnerCode: string - createTime: Date - creator: string -} - -// 查询采购收货申请子列表 -export const getPurchasereceiptRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchasereceipt-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/purchasereceipt-request-detail/page`, params }) - } -} - -// 查询采购收货申请子详情 -export const getPurchasereceiptRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/purchasereceipt-request-detail/get?id=` + id }) -} - -// 新增采购收货申请子 -export const createPurchasereceiptRequestDetail = async (data: PurchasereceiptRequestDetailVO) => { - return await request.post({ url: `/wms/purchasereceipt-request-detail/create`, data }) -} - -// 修改采购收货申请子 -export const updatePurchasereceiptRequestDetail = async (data: PurchasereceiptRequestDetailVO) => { - return await request.put({ url: `/wms/purchasereceipt-request-detail/update`, data }) -} - -// 删除采购收货申请子 -export const deletePurchasereceiptRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/purchasereceipt-request-detail/delete?id=` + id }) -} - - - -// 导出采购收货申请子 Excel -export const exportPurchasereceiptRequestDetail = async (params) => { - return await request.download({ url: `/wms/purchasereceipt-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchasereceipt-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/purchasereceiptRequestMain/index.ts b/src/api/wms/purchasereceiptRequestMain/index.ts deleted file mode 100644 index 4aa84e5..0000000 --- a/src/api/wms/purchasereceiptRequestMain/index.ts +++ /dev/null @@ -1,108 +0,0 @@ -import request from '@/config/axios' - -export interface PurchasereceiptRequestMainVO { - asnNumber: string - ppNumber: string - supplierCode: string - carrierCode: string - transferMode: string - fromWarehouseCode: string - toWarehouseCode: string - fromLocationTypes: string - toLocationTypes: string - fromAreaCodes: string - toAreaCodes: string - toDockCode: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - updateTime: Date - updater: string - status: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string - vehiclePlateNumber: string -} - -// 查询采购收货申请主列表 -export const getPurchasereceiptRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchasereceipt-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/purchasereceipt-request-main/page`, params }) - } -} - -// 查询采购收货申请主详情 -export const getPurchasereceiptRequestMain = async (id: number) => { - return await request.get({ url: `/wms/purchasereceipt-request-main/get?id=` + id }) -} - -// 新增采购收货申请主 -export const createPurchasereceiptRequestMain = async (data: PurchasereceiptRequestMainVO) => { - return await request.post({ url: `/wms/purchasereceipt-request-main/create`, data }) -} - -// 修改采购收货申请主 -export const updatePurchasereceiptRequestMain = async (data: PurchasereceiptRequestMainVO) => { - return await request.put({ url: `/wms/purchasereceipt-request-main/update`, data }) -} - -// 删除采购收货申请主 -export const deletePurchasereceiptRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/purchasereceipt-request-main/delete?id=` + id }) -} - -// 导出采购收货申请主 Excel -export const exportPurchasereceiptRequestMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/purchasereceipt-request-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/purchasereceipt-request-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchasereceipt-request-main/get-import-template' }) -} - -// 关闭采购收货申请主 Excel -export const closePurchasereceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/purchasereceipt-request-main/close?id=` + id }) -} - -// 重新添加采购收货申请主 Excel -export const reAddPurchasereceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/purchasereceipt-request-main/reAdd?id=` + id }) -} - -// 提交采购收货申请主 Excel -export const submitPurchasereceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/purchasereceipt-request-main/submit?id=` + id }) -} - -// 审批通过采购收货申请主 Excel -export const agreePurchasereceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/purchasereceipt-request-main/agree?id=` + id }) -} - -// 审批驳回采购收货申请主 Excel -export const refusedPurchasereceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/purchasereceipt-request-main/refused?id=` + id }) -} - -// 处理采购收货申请主 Excel -export const handlePurchasereceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/purchasereceipt-request-main/handle?id=` + id }) -} diff --git a/src/api/wms/purchasereturnJobDetail/index.ts b/src/api/wms/purchasereturnJobDetail/index.ts deleted file mode 100644 index 2fadb78..0000000 --- a/src/api/wms/purchasereturnJobDetail/index.ts +++ /dev/null @@ -1,68 +0,0 @@ -import request from '@/config/axios' - -export interface PurchasereturnJobDetailVO { - fromOwnerCode: string - packingNumber: string - containerNumber: string - batch: string - altBatch: string - fromLocationCode: string - toLocationCode: string - inventoryStatus: string - poNumber: string - poLine: string - reason: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: number - toOwnerCode: string -} - -// 查询采购退货任务子列表 -export const getPurchasereturnJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchasereturn-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/purchasereturn-job-detail/page`, params }) - } -} - -// 查询采购退货任务子详情 -export const getPurchasereturnJobDetail = async (id: number) => { - return await request.get({ url: `/wms/purchasereturn-job-detail/get?id=` + id }) -} - -// 新增采购退货任务子 -export const createPurchasereturnJobDetail = async (data: PurchasereturnJobDetailVO) => { - return await request.post({ url: `/wms/purchasereturn-job-detail/create`, data }) -} - -// 修改采购退货任务子 -export const updatePurchasereturnJobDetail = async (data: PurchasereturnJobDetailVO) => { - return await request.put({ url: `/wms/purchasereturn-job-detail/update`, data }) -} - -// 删除采购退货任务子 -export const deletePurchasereturnJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/purchasereturn-job-detail/delete?id=` + id }) -} - -// 导出采购退货任务子 Excel -export const exportPurchasereturnJobDetail = async (params) => { - return await request.download({ url: `/wms/purchasereturn-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchasereturn-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/purchasereturnJobMain/index.ts b/src/api/wms/purchasereturnJobMain/index.ts deleted file mode 100644 index ec925e9..0000000 --- a/src/api/wms/purchasereturnJobMain/index.ts +++ /dev/null @@ -1,95 +0,0 @@ -import request from '@/config/axios' - -export interface PurchasereturnJobMainVO { - requestNumber: string - purchaseReceiptRecordNumber: string - asnNumber: string - ppNumber: string - supplierCode: string - deliverDock: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - fromWarehouseCode: string - toWarehouseCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromAreaCodes: string - toAreaCodes: string - fromDockCode: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询采购退货任务主列表 -export const getPurchasereturnJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchasereturn-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/purchasereturn-job-main/page`, params }) - } -} - -// 查询采购退货任务主详情 -export const getPurchasereturnJobMain = async (id: number) => { - return await request.get({ url: `/wms/purchasereturn-job-main/get?id=` + id }) -} - -// 新增采购退货任务主 -export const createPurchasereturnJobMain = async (data: PurchasereturnJobMainVO) => { - return await request.post({ url: `/wms/purchasereturn-job-main/create`, data }) -} - -// 修改采购退货任务主 -export const updatePurchasereturnJobMain = async (data: PurchasereturnJobMainVO) => { - return await request.put({ url: `/wms/purchasereturn-job-main/update`, data }) -} - -// 删除采购退货任务主 -export const deletePurchasereturnJobMain = async (id: number) => { - return await request.delete({ url: `/wms/purchasereturn-job-main/delete?id=` + id }) -} - -// 导出采购退货任务主 Excel -export const exportPurchasereturnJobMain = async (params) => { - return await request.download({ url: `/wms/purchasereturn-job-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchasereturn-job-main/get-import-template' }) -} - -// 关闭采购退货任务主 -export const closePurchasereturnJobMain = (id: number) => { - return request.put({ url: '/wms/purchasereturn-job-main/close?id=' + id }) -} diff --git a/src/api/wms/purchasereturnRecordDetail/index.ts b/src/api/wms/purchasereturnRecordDetail/index.ts deleted file mode 100644 index f136685..0000000 --- a/src/api/wms/purchasereturnRecordDetail/index.ts +++ /dev/null @@ -1,80 +0,0 @@ -import request from '@/config/axios' - -export interface PurchasereturnRecordDetailVO { - fromPackingNumber: string - toPackingNumber: string - fromContainerNumber: string - fromBatch: string - altBatch: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - toLocationCode: string - toLocationGroupCode: string - toAreaCode: string - inventoryStatus: string - poNumber: string - poLine: string - reason: string - singlePrice: number - amount: number - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - jobDetailId: string - toContainerNumber: string - fromOwnerCode: string - toOwnerCode: string - toBatch: string -} - -// 查询采购退货记录子列表 -export const getPurchasereturnRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchasereturn-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/purchasereturn-record-detail/page`, params }) - } -} - -// 查询采购退货记录子详情 -export const getPurchasereturnRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/purchasereturn-record-detail/get?id=` + id }) -} - -// 新增采购退货记录子 -export const createPurchasereturnRecordDetail = async (data: PurchasereturnRecordDetailVO) => { - return await request.post({ url: `/wms/purchasereturn-record-detail/create`, data }) -} - -// 修改采购退货记录子 -export const updatePurchasereturnRecordDetail = async (data: PurchasereturnRecordDetailVO) => { - return await request.put({ url: `/wms/purchasereturn-record-detail/update`, data }) -} - -// 删除采购退货记录子 -export const deletePurchasereturnRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/purchasereturn-record-detail/delete?id=` + id }) -} - -// 导出采购退货记录子 Excel -export const exportPurchasereturnRecordDetail = async (params) => { - return await request.download({ url: `/wms/purchasereturn-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchasereturn-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/purchasereturnRecordMain/index.ts b/src/api/wms/purchasereturnRecordMain/index.ts deleted file mode 100644 index 47b793b..0000000 --- a/src/api/wms/purchasereturnRecordMain/index.ts +++ /dev/null @@ -1,76 +0,0 @@ -import request from '@/config/axios' - -export interface PurchasereturnRecordMainVO { - requestNumber: string - jobNumber: string - purchaseReceiptRecordNumber: string - asnNumber: string - ppNumber: string - supplierCode: string - fromDockCode: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - fromWarehouseCode: string - toWarehouseCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - fromLocationTypes: string - toLocationTypes: string - fromAreaCodes: string - toAreaCodes: string - available: string -} - -// 查询采购退货记录主列表 -export const getPurchasereturnRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchasereturn-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/purchasereturn-record-main/page`, params }) - } -} - -// 查询采购退货记录主详情 -export const getPurchasereturnRecordMain = async (id: number) => { - return await request.get({ url: `/wms/purchasereturn-record-main/get?id=` + id }) -} - -// 新增采购退货记录主 -export const createPurchasereturnRecordMain = async (data: PurchasereturnRecordMainVO) => { - return await request.post({ url: `/wms/purchasereturn-record-main/create`, data }) -} - -// 修改采购退货记录主 -export const updatePurchasereturnRecordMain = async (data: PurchasereturnRecordMainVO) => { - return await request.put({ url: `/wms/purchasereturn-record-main/update`, data }) -} - -// 删除采购退货记录主 -export const deletePurchasereturnRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/purchasereturn-record-main/delete?id=` + id }) -} - -// 导出采购退货记录主 Excel -export const exportPurchasereturnRecordMain = async (params) => { - return await request.download({ url: `/wms/purchasereturn-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchasereturn-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/purchasereturnRequestDetail/index.ts b/src/api/wms/purchasereturnRequestDetail/index.ts deleted file mode 100644 index a50d8fc..0000000 --- a/src/api/wms/purchasereturnRequestDetail/index.ts +++ /dev/null @@ -1,69 +0,0 @@ -import request from '@/config/axios' - -export interface PurchasereturnRequestDetailVO { - packingNumber: string - containerNumber: string - batch: string - altBatch: string - toLocationCode: string - inventoryStatus: string - poNumber: string - poLine: string - reason: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询采购退货申请子列表 -export const getPurchasereturnRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchasereturn-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/purchasereturn-request-detail/page`, params }) - } -} - -// 查询采购退货申请子详情 -export const getPurchasereturnRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/purchasereturn-request-detail/get?id=` + id }) -} - -// 新增采购退货申请子 -export const createPurchasereturnRequestDetail = async (data: PurchasereturnRequestDetailVO) => { - return await request.post({ url: `/wms/purchasereturn-request-detail/create`, data }) -} - -// 修改采购退货申请子 -export const updatePurchasereturnRequestDetail = async (data: PurchasereturnRequestDetailVO) => { - return await request.put({ url: `/wms/purchasereturn-request-detail/update`, data }) -} - -// 删除采购退货申请子 -export const deletePurchasereturnRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/purchasereturn-request-detail/delete?id=` + id }) -} - -// 导出采购退货申请子 Excel -export const exportPurchasereturnRequestDetail = async (params) => { - return await request.download({ url: `/wms/purchasereturn-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchasereturn-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/purchasereturnRequestMain/index.ts b/src/api/wms/purchasereturnRequestMain/index.ts deleted file mode 100644 index bcdfbd6..0000000 --- a/src/api/wms/purchasereturnRequestMain/index.ts +++ /dev/null @@ -1,104 +0,0 @@ -import request from '@/config/axios' - -export interface PurchasereturnRequestMainVO { - purchaseReceiptRecordNumber: string - asnNumber: string - ppNumber: string - supplierCode: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - fromWarehouseCode: string - toWarehouseCode: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - fromLocationTypes: string - fromAreaCodes: string - fromDockCode: string - toLocationTypes: string - toAreaCodes: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询采购退货申请主列表 -export const getPurchasereturnRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchasereturn-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/purchasereturn-request-main/page`, params }) - } -} - -// 查询采购退货申请主详情 -export const getPurchasereturnRequestMain = async (id: number) => { - return await request.get({ url: `/wms/purchasereturn-request-main/get?id=` + id }) -} - -// 新增采购退货申请主 -export const createPurchasereturnRequestMain = async (data: PurchasereturnRequestMainVO) => { - return await request.post({ url: `/wms/purchasereturn-request-main/create`, data }) -} - -// 修改采购退货申请主 -export const updatePurchasereturnRequestMain = async (data: PurchasereturnRequestMainVO) => { - return await request.put({ url: `/wms/purchasereturn-request-main/update`, data }) -} - -// 删除采购退货申请主 -export const deletePurchasereturnRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/purchasereturn-request-main/delete?id=` + id }) -} - -// 导出采购退货申请主 Excel -export const exportPurchasereturnRequestMain = async (params) => { - return await request.download({ url: `/wms/purchasereturn-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/purchasereturn-request-main/get-import-template' }) -} - -// 关闭采购退货申请主 Excel -export const closePurchasereturnRequestMain = async (id) => { - return await request.put({ url: `/wms/purchasereturn-request-main/close?id=` + id }) -} - -// 重新添加采购退货申请主 Excel -export const reAddPurchasereturnRequestMain = async (id) => { - return await request.put({ url: `/wms/purchasereturn-request-main/reAdd?id=` + id }) -} - -// 提交采购退货申请主 Excel -export const submitPurchasereturnRequestMain = async (id) => { - return await request.put({ url: `/wms/purchasereturn-request-main/submit?id=` + id }) -} - -// 审批通过采购退货申请主 Excel -export const agreePurchasereturnRequestMain = async (id) => { - return await request.put({ url: `/wms/purchasereturn-request-main/agree?id=` + id }) -} - -// 审批驳回采购退货申请主 Excel -export const refusedPurchasereturnRequestMain = async (id) => { - return await request.put({ url: `/wms/purchasereturn-request-main/refused?id=` + id }) -} - -// 处理采购退货申请主 Excel -export const handlePurchasereturnRequestMain = async (id) => { - return await request.put({ url: `/wms/purchasereturn-request-main/handle?id=` + id }) -} diff --git a/src/api/wms/putawayJobDetail/index.ts b/src/api/wms/putawayJobDetail/index.ts deleted file mode 100644 index af3a173..0000000 --- a/src/api/wms/putawayJobDetail/index.ts +++ /dev/null @@ -1,66 +0,0 @@ -import request from '@/config/axios' - -export interface PutawayJobDetailVO { - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - poNumber: string - poLine: string - fromLocationCode: string - toLocationCode: string - itemCode: string - itemName: string - itemDesc1: string - itemdesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询上架任务子列表 -export const getPutawayJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/putaway-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/putaway-job-detail/page`, params }) - } -} - -// 查询上架任务子详情 -export const getPutawayJobDetail = async (id: number) => { - return await request.get({ url: `/wms/putaway-job-detail/get?id=` + id }) -} - -// 新增上架任务子 -export const createPutawayJobDetail = async (data: PutawayJobDetailVO) => { - return await request.post({ url: `/wms/putaway-job-detail/create`, data }) -} - -// 修改上架任务子 -export const updatePutawayJobDetail = async (data: PutawayJobDetailVO) => { - return await request.put({ url: `/wms/putaway-job-detail/update`, data }) -} - -// 删除上架任务子 -export const deletePutawayJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/putaway-job-detail/delete?id=` + id }) -} - -// 导出上架任务子 Excel -export const exportPutawayJobDetail = async (params) => { - return await request.download({ url: `/wms/putaway-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/putaway-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/putawayJobMain/index.ts b/src/api/wms/putawayJobMain/index.ts deleted file mode 100644 index 6437b86..0000000 --- a/src/api/wms/putawayJobMain/index.ts +++ /dev/null @@ -1,88 +0,0 @@ -import request from '@/config/axios' - -export interface PutawayJobMainVO { - requestNumber: string - supplierCode: string - fromWarehouseCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - concurrencyStamp: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - toWarehouseCode: string - fromAreaCodes: string - toAreaCodes: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询上架任务主列表 -export const getPutawayJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/putaway-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/putaway-job-main/page`, params }) - } -} - -// 查询上架任务主详情 -export const getPutawayJobMain = async (id: number) => { - return await request.get({ url: `/wms/putaway-job-main/get?id=` + id }) -} - -// 新增上架任务主 -export const createPutawayJobMain = async (data: PutawayJobMainVO) => { - return await request.post({ url: `/wms/putaway-job-main/create`, data }) -} - -// 修改上架任务主 -export const updatePutawayJobMain = async (data: PutawayJobMainVO) => { - return await request.put({ url: `/wms/putaway-job-main/update`, data }) -} - -// 删除上架任务主 -export const deletePutawayJobMain = async (id: number) => { - return await request.delete({ url: `/wms/putaway-job-main/delete?id=` + id }) -} - -// 导出上架任务主 Excel -export const exportPutawayJobMain = async (params) => { - return await request.download({ url: `/wms/putaway-job-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/putaway-job-main/get-import-template' }) -} - -// 关闭上架任务主 -export const closePutawayJobMain = (id: number) => { - return request.put({ url: '/wms/putaway-job-main/close?id=' + id }) -} diff --git a/src/api/wms/putawayRecordDetail/index.ts b/src/api/wms/putawayRecordDetail/index.ts deleted file mode 100644 index af8a433..0000000 --- a/src/api/wms/putawayRecordDetail/index.ts +++ /dev/null @@ -1,76 +0,0 @@ -import request from '@/config/axios' - -export interface PutawayRecordDetailVO { - fromPackingNumber: string - toPackingNumber: string - fromBatch: string - inventoryStatus: string - poNumber: string - poLine: string - fromOwnerCode: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - toOwnerCode: string - toLocationCode: string - toLocationGroupCode: string - toAreaCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - jobDetailId: string - fromContainerNumber: string - toContainerNumber: string - toBatch: string -} - -// 查询上架记录子列表 -export const getPutawayRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/putaway-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/putaway-record-detail/page`, params }) - } -} - -// 查询上架记录子详情 -export const getPutawayRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/putaway-record-detail/get?id=` + id }) -} - -// 新增上架记录子 -export const createPutawayRecordDetail = async (data: PutawayRecordDetailVO) => { - return await request.post({ url: `/wms/putaway-record-detail/create`, data }) -} - -// 修改上架记录子 -export const updatePutawayRecordDetail = async (data: PutawayRecordDetailVO) => { - return await request.put({ url: `/wms/putaway-record-detail/update`, data }) -} - -// 删除上架记录子 -export const deletePutawayRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/putaway-record-detail/delete?id=` + id }) -} - -// 导出上架记录子 Excel -export const exportPutawayRecordDetail = async (params) => { - return await request.download({ url: `/wms/putaway-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/putaway-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/putawayRecordMain/index.ts b/src/api/wms/putawayRecordMain/index.ts deleted file mode 100644 index 6f5924d..0000000 --- a/src/api/wms/putawayRecordMain/index.ts +++ /dev/null @@ -1,69 +0,0 @@ -import request from '@/config/axios' - -export interface PutawayRecordMainVO { - requestNumber: string - jobNumber: string - supplierCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - available: string -} - -// 查询上架记录主列表 -export const getPutawayRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/putaway-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/putaway-record-main/page`, params }) - } -} - -// 查询上架记录主详情 -export const getPutawayRecordMain = async (id: number) => { - return await request.get({ url: `/wms/putaway-record-main/get?id=` + id }) -} - -// 新增上架记录主 -export const createPutawayRecordMain = async (data: PutawayRecordMainVO) => { - return await request.post({ url: `/wms/putaway-record-main/create`, data }) -} - -// 修改上架记录主 -export const updatePutawayRecordMain = async (data: PutawayRecordMainVO) => { - return await request.put({ url: `/wms/putaway-record-main/update`, data }) -} - -// 删除上架记录主 -export const deletePutawayRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/putaway-record-main/delete?id=` + id }) -} - -// 导出上架记录主 Excel -export const exportPutawayRecordMain = async (params) => { - return await request.download({ url: `/wms/putaway-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/putaway-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/putawayRequestDetail/index.ts b/src/api/wms/putawayRequestDetail/index.ts deleted file mode 100644 index 3d2f27a..0000000 --- a/src/api/wms/putawayRequestDetail/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface PutawayRequestDetailVO { - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - poNumber: string - poLine: string - fromLocationCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询上架申请子列表 -export const getPutawayRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/putaway-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/putaway-request-detail/page`, params }) - } -} - -// 查询上架申请子详情 -export const getPutawayRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/putaway-request-detail/get?id=` + id }) -} - -// 新增上架申请子 -export const createPutawayRequestDetail = async (data: PutawayRequestDetailVO) => { - return await request.post({ url: `/wms/putaway-request-detail/create`, data }) -} - -// 修改上架申请子 -export const updatePutawayRequestDetail = async (data: PutawayRequestDetailVO) => { - return await request.put({ url: `/wms/putaway-request-detail/update`, data }) -} - -// 删除上架申请子 -export const deletePutawayRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/putaway-request-detail/delete?id=` + id }) -} - -// 导出上架申请子 Excel -export const exportPutawayRequestDetail = async (params) => { - return await request.download({ url: `/wms/putaway-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/putaway-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/putawayRequestMain/index.ts b/src/api/wms/putawayRequestMain/index.ts deleted file mode 100644 index e8f454d..0000000 --- a/src/api/wms/putawayRequestMain/index.ts +++ /dev/null @@ -1,97 +0,0 @@ -import request from '@/config/axios' - -export interface PutawayRequestMainVO { - supplierCode: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询上架申请主列表 -export const getPutawayRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/putaway-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/putaway-request-main/page`, params }) - } -} - -// 查询上架申请主详情 -export const getPutawayRequestMain = async (id: number) => { - return await request.get({ url: `/wms/putaway-request-main/get?id=` + id }) -} - -// 新增上架申请主 -export const createPutawayRequestMain = async (data: PutawayRequestMainVO) => { - return await request.post({ url: `/wms/putaway-request-main/create`, data }) -} - -// 修改上架申请主 -export const updatePutawayRequestMain = async (data: PutawayRequestMainVO) => { - return await request.put({ url: `/wms/putaway-request-main/update`, data }) -} - -// 删除上架申请主 -export const deletePutawayRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/putaway-request-main/delete?id=` + id }) -} - -// 导出上架申请主 Excel -export const exportPutawayRequestMain = async (params) => { - return await request.download({ url: `/wms/putaway-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/putaway-request-main/get-import-template' }) -} - -// 关闭上架申请主 Excel -export const closePutawayRequestMain = async (id) => { - return await request.put({ url: `/wms/putaway-request-main/close?id=` + id }) -} - -// 重新添加上架申请主 Excel -export const reAddPutawayRequestMain = async (id) => { - return await request.put({ url: `/wms/putaway-request-main/reAdd?id=` + id }) -} - -// 提交上架申请主 Excel -export const submitPutawayRequestMain = async (id) => { - return await request.put({ url: `/wms/putaway-request-main/submit?id=` + id }) -} - -// 审批通过上架申请主 Excel -export const agreePutawayRequestMain = async (id) => { - return await request.put({ url: `/wms/putaway-request-main/agree?id=` + id }) -} - -// 审批驳回上架申请主 Excel -export const refusedPutawayRequestMain = async (id) => { - return await request.put({ url: `/wms/putaway-request-main/refused?id=` + id }) -} - -// 处理上架申请主 Excel -export const handlePutawayRequestMain = async (id) => { - return await request.put({ url: `/wms/putaway-request-main/handle?id=` + id }) -} diff --git a/src/api/wms/recordsetting/index.ts b/src/api/wms/recordsetting/index.ts deleted file mode 100644 index 25f8d0d..0000000 --- a/src/api/wms/recordsetting/index.ts +++ /dev/null @@ -1,52 +0,0 @@ -import request from '@/config/axios' - -export interface RecordsettingVO { - code: string - interfaceType: string - activeTime: Date - expireTime: Date - remark: string - available: string - isSoftDeleted: string -} - -// 查询记录设置列表 -export const getRecordsettingPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/recordsetting/senior', data }) - } else { - return await request.get({ url: `/wms/recordsetting/page`, params }) - } -} - -// 查询记录设置详情 -export const getRecordsetting = async (id: number) => { - return await request.get({ url: `/wms/recordsetting/get?id=` + id }) -} - -// 新增记录设置 -export const createRecordsetting = async (data: RecordsettingVO) => { - return await request.post({ url: `/wms/recordsetting/create`, data }) -} - -// 修改记录设置 -export const updateRecordsetting = async (data: RecordsettingVO) => { - return await request.put({ url: `/wms/recordsetting/update`, data }) -} - -// 删除记录设置 -export const deleteRecordsetting = async (id: number) => { - return await request.delete({ url: `/wms/recordsetting/delete?id=` + id }) -} - -// 导出记录设置 Excel -export const exportRecordsetting = async (params) => { - return await request.download({ url: `/wms/recordsetting/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/recordsetting/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/remark/index.ts b/src/api/wms/remark/index.ts deleted file mode 100644 index 7a1ac36..0000000 --- a/src/api/wms/remark/index.ts +++ /dev/null @@ -1,14 +0,0 @@ -import request from '@/config/axios' -// 查询备注列表 -export const getRemarkPage = async (params) => { - return await request.get({ url: `/infra/remark/list`, params }) -} - -// 新增备注 -export const createRemark= async (data) => { - return await request.post({ url: `/infra/remark/create`, data }) -} -// 查询变更记录列表 -export const getChangeRecordPage = async (params) => { - return await request.get({ url: `/infra/trends/list`, params }) -} diff --git a/src/api/wms/repleinshJobDetail/index.ts b/src/api/wms/repleinshJobDetail/index.ts deleted file mode 100644 index 86483e0..0000000 --- a/src/api/wms/repleinshJobDetail/index.ts +++ /dev/null @@ -1,64 +0,0 @@ -import request from '@/config/axios' - -export interface RepleinshJobDetailVO { - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - fromLocationCode: string - toLocationCode: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询补料任务子列表 -export const getRepleinshJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/job/repleinsh-job-detail/senior', data }) - } else { - return await request.get({ url: `/job/repleinsh-job-detail/page`, params }) - } -} - -// 查询补料任务子详情 -export const getRepleinshJobDetail = async (id: number) => { - return await request.get({ url: `/job/repleinsh-job-detail/get?id=` + id }) -} - -// 新增补料任务子 -export const createRepleinshJobDetail = async (data: RepleinshJobDetailVO) => { - return await request.post({ url: `/job/repleinsh-job-detail/create`, data }) -} - -// 修改补料任务子 -export const updateRepleinshJobDetail = async (data: RepleinshJobDetailVO) => { - return await request.put({ url: `/job/repleinsh-job-detail/update`, data }) -} - -// 删除补料任务子 -export const deleteRepleinshJobDetail = async (id: number) => { - return await request.delete({ url: `/job/repleinsh-job-detail/delete?id=` + id }) -} - -// 导出补料任务子 Excel -export const exportRepleinshJobDetail = async (params) => { - return await request.download({ url: `/job/repleinsh-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/job/repleinsh-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/repleinshJobMain/index.ts b/src/api/wms/repleinshJobMain/index.ts deleted file mode 100644 index 7be585c..0000000 --- a/src/api/wms/repleinshJobMain/index.ts +++ /dev/null @@ -1,106 +0,0 @@ -import request from '@/config/axios' - -export interface RepleinshJobMainVO { - requestNumber: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromWarehouseCode: string - toWarehouseCode: string - fromAreaCodes: string - toAreaCodes: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询补料任务主列表 -export const getRepleinshJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/repleinsh-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/repleinsh-job-main/page`, params }) - } -} - -// 查询补料任务主详情 -export const getRepleinshJobMain = async (id: number) => { - return await request.get({ url: `/wms/repleinsh-job-main/get?id=` + id }) -} - -// 新增补料任务主 -export const createRepleinshJobMain = async (data: RepleinshJobMainVO) => { - return await request.post({ url: `/wms/repleinsh-job-main/create`, data }) -} - -// 修改补料任务主 -export const updateRepleinshJobMain = async (data: RepleinshJobMainVO) => { - return await request.put({ url: `/wms/repleinsh-job-main/update`, data }) -} - -// 删除补料任务主 -export const deleteRepleinshJobMain = async (id: number) => { - return await request.delete({ url: `/wms/repleinsh-job-main/delete?id=` + id }) -} - -// 导出补料任务主 Excel -export const exportRepleinshJobMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/repleinsh-job-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/repleinsh-job-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/repleinsh-job-main/get-import-template' }) -} - -// 承接发料任务 -export const acceptRepleinshMain = async (id) => { - return await request.put({ url: `/wms/repleinsh-job-main/accept?id=` + id }) -} - -// 放弃发料任务 -export const abandonRepleinshMain = async (id) => { - return await request.put({ url: `/wms/repleinsh-job-main/abandon?id=` + id }) -} - -// 关闭发料任务 -export const closeRepleinshMain = async (id) => { - return await request.put({ url: `/wms/repleinsh-job-main/close?id=` + id }) -} - -// 执行发料任务 -export const executeRepleinshMain = async (data) => { - return await request.put({ url: `/wms/repleinsh-job-main/execute`, data}) -} \ No newline at end of file diff --git a/src/api/wms/repleinshRecordDetail/index.ts b/src/api/wms/repleinshRecordDetail/index.ts deleted file mode 100644 index 2dc7060..0000000 --- a/src/api/wms/repleinshRecordDetail/index.ts +++ /dev/null @@ -1,74 +0,0 @@ -import request from '@/config/axios' - -export interface RepleinshRecordDetailVO { - fromPackingNumber: string - fromContainerNumber: string - fromBatch: string - inventoryStatus: string - fromOwnerCode: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - toOwnerCode: string - toLocationCode: string - toLocationGroupCode: string - toAreaCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - jobDetailId: string - toPackingNumber: string - toContainerNumber: string - toBatch: string -} - -// 查询补料记录子列表 -export const getRepleinshRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/repleinsh-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/repleinsh-record-detail/page`, params }) - } -} - -// 查询补料记录子详情 -export const getRepleinshRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/repleinsh-record-detail/get?id=` + id }) -} - -// 新增补料记录子 -export const createRepleinshRecordDetail = async (data: RepleinshRecordDetailVO) => { - return await request.post({ url: `/wms/repleinsh-record-detail/create`, data }) -} - -// 修改补料记录子 -export const updateRepleinshRecordDetail = async (data: RepleinshRecordDetailVO) => { - return await request.put({ url: `/wms/repleinsh-record-detail/update`, data }) -} - -// 删除补料记录子 -export const deleteRepleinshRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/repleinsh-record-detail/delete?id=` + id }) -} - -// 导出补料记录子 Excel -export const exportRepleinshRecordDetail = async (params) => { - return await request.download({ url: `/wms/repleinsh-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/repleinsh-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/repleinshRecordMain/index.ts b/src/api/wms/repleinshRecordMain/index.ts deleted file mode 100644 index b1557d5..0000000 --- a/src/api/wms/repleinshRecordMain/index.ts +++ /dev/null @@ -1,68 +0,0 @@ -import request from '@/config/axios' - -export interface RepleinshRecordMainVO { - requestNumber: string - jobNumber: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - available: string -} - -// 查询补料记录主列表 -export const getRepleinshRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/repleinsh-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/repleinsh-record-main/page`, params }) - } -} - -// 查询补料记录主详情 -export const getRepleinshRecordMain = async (id: number) => { - return await request.get({ url: `/wms/repleinsh-record-main/get?id=` + id }) -} - -// 新增补料记录主 -export const createRepleinshRecordMain = async (data: RepleinshRecordMainVO) => { - return await request.post({ url: `/wms/repleinsh-record-main/create`, data }) -} - -// 修改补料记录主 -export const updateRepleinshRecordMain = async (data: RepleinshRecordMainVO) => { - return await request.put({ url: `/wms/repleinsh-record-main/update`, data }) -} - -// 删除补料记录主 -export const deleteRepleinshRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/repleinsh-record-main/delete?id=` + id }) -} - -// 导出补料记录主 Excel -export const exportRepleinshRecordMain = async (params) => { - return await request.download({ url: `/wms/repleinsh-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/repleinsh-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/repleinshRequestDetail/index.ts b/src/api/wms/repleinshRequestDetail/index.ts deleted file mode 100644 index 9e15b37..0000000 --- a/src/api/wms/repleinshRequestDetail/index.ts +++ /dev/null @@ -1,62 +0,0 @@ -import request from '@/config/axios' - -export interface RepleinshRequestDetailVO { - inventoryStatus: string - toLocationCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询补料申请子列表 -export const getRepleinshRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/repleinsh-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/repleinsh-request-detail/page`, params }) - } -} - -// 查询补料申请子详情 -export const getRepleinshRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/repleinsh-request-detail/get?id=` + id }) -} - -// 新增补料申请子 -export const createRepleinshRequestDetail = async (data: RepleinshRequestDetailVO) => { - return await request.post({ url: `/wms/repleinsh-request-detail/create`, data }) -} - -// 修改补料申请子 -export const updateRepleinshRequestDetail = async (data: RepleinshRequestDetailVO) => { - return await request.put({ url: `/wms/repleinsh-request-detail/update`, data }) -} - -// 删除补料申请子 -export const deleteRepleinshRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/repleinsh-request-detail/delete?id=` + id }) -} - -// 导出补料申请子 Excel -export const exportRepleinshRequestDetail = async (params) => { - return await request.download({ url: `/wms/repleinsh-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/repleinsh-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/repleinshRequestMain/index.ts b/src/api/wms/repleinshRequestMain/index.ts deleted file mode 100644 index 5a30d78..0000000 --- a/src/api/wms/repleinshRequestMain/index.ts +++ /dev/null @@ -1,102 +0,0 @@ -import request from '@/config/axios' - -export interface RepleinshRequestMainVO { - fomWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询补料申请主列表 -export const getRepleinshRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/repleinsh-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/repleinsh-request-main/page`, params }) - } -} - -// 查询补料申请主详情 -export const getRepleinshRequestMain = async (id: number) => { - return await request.get({ url: `/wms/repleinsh-request-main/get?id=` + id }) -} - -// 新增补料申请主 -export const createRepleinshRequestMain = async (data: RepleinshRequestMainVO) => { - return await request.post({ url: `/wms/repleinsh-request-main/create`, data }) -} - -// 修改补料申请主 -export const updateRepleinshRequestMain = async (data: RepleinshRequestMainVO) => { - return await request.put({ url: `/wms/repleinsh-request-main/update`, data }) -} - -// 删除补料申请主 -export const deleteRepleinshRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/repleinsh-request-main/delete?id=` + id }) -} - -// 导出补料申请主 Excel -export const exportRepleinshRequestMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/repleinsh-request-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/repleinsh-request-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/repleinsh-request-main/get-import-template' }) -} - - -// 关闭 -export const close = (id) => { - return request.put({ url: '/wms/repleinsh-request-main/close?id=' + id }) -} - -// 重新添加 -export const reAdd = (id) => { - return request.put({ url: '/wms/repleinsh-request-main/reAdd?id=' + id }) -} - -// 提交审批 -export const submit = (id) => { - return request.put({ url: '/wms/repleinsh-request-main/submit?id=' + id }) -} - -// 驳回 -export const refused = (id) => { - return request.put({ url: '/wms/repleinsh-request-main/refused?id=' + id }) -} - -// 审批通过 -export const agree = (id) => { - return request.put({ url: '/wms/repleinsh-request-main/agree?id=' + id }) -} - -// 处理 -export const handle = (id) => { - return request.put({ url: '/wms/repleinsh-request-main/handle?id=' + id }) -} \ No newline at end of file diff --git a/src/api/wms/requestsetting/index.ts b/src/api/wms/requestsetting/index.ts deleted file mode 100644 index 7c6ea88..0000000 --- a/src/api/wms/requestsetting/index.ts +++ /dev/null @@ -1,56 +0,0 @@ -import request from '@/config/axios' - -export interface RequestsettingVO { - code: string - requestMode: string - activeTime: Date - expireTime: Date - remark: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string - available: string - isSoftDeleted: string -} - -// 查询申请设置列表 -export const getRequestsettingPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/requestsetting/senior', data }) - } else { - return await request.get({ url: `/wms/requestsetting/page`, params }) - } -} - -// 查询申请设置详情 -export const getRequestsetting = async (id: number) => { - return await request.get({ url: `/wms/requestsetting/get?id=` + id }) -} - -// 新增申请设置 -export const createRequestsetting = async (data: RequestsettingVO) => { - return await request.post({ url: `/wms/requestsetting/create`, data }) -} - -// 修改申请设置 -export const updateRequestsetting = async (data: RequestsettingVO) => { - return await request.put({ url: `/wms/requestsetting/update`, data }) -} - -// 删除申请设置 -export const deleteRequestsetting = async (id: number) => { - return await request.delete({ url: `/wms/requestsetting/delete?id=` + id }) -} - -// 导出申请设置 Excel -export const exportRequestsetting = async (params) => { - return await request.download({ url: `/wms/requestsetting/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/requestsetting/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/rule/index.ts b/src/api/wms/rule/index.ts deleted file mode 100644 index 52b279f..0000000 --- a/src/api/wms/rule/index.ts +++ /dev/null @@ -1,58 +0,0 @@ -import request from '@/config/axios' - -export interface RuleVO { - strategyCode: string - priority: number - code: string - name: string - description: string - status: number - condition: string - configuration: string -} - -// 查询规则列表 -export const getRulePage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/rule/senior', data }) - } else { - return await request.get({ url: `/wms/rule/page`, params }) - } -} - -// 查询规则详情 -export const getRule = async (id: number) => { - return await request.get({ url: `/wms/rule/get?id=` + id }) -} - -// 新增规则 -export const createRule = async (data: RuleVO) => { - return await request.post({ url: `/wms/rule/create`, data }) -} - -// 修改规则 -export const updateRule = async (data: RuleVO) => { - return await request.put({ url: `/wms/rule/update`, data }) -} - -// 删除规则 -export const deleteRule = async (id: number) => { - return await request.delete({ url: `/wms/rule/delete?id=` + id }) -} - -// 导出规则 Excel -export const exportRule = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/rule/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/rule/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/rule/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/saleDetail/index.ts b/src/api/wms/saleDetail/index.ts deleted file mode 100644 index a197299..0000000 --- a/src/api/wms/saleDetail/index.ts +++ /dev/null @@ -1,56 +0,0 @@ -import request from '@/config/axios' - -export interface SaleDetailVO { - lineNumber: string - projectCode: string - stdPackQty: number - stdPackUnit: string - customerPackQty: number - customerPackUnit: string - convertRate: number - shippedQty: number - receivedQty: number - returnedQty: number - singlePrice: number - amount: number - number: string - itemCode: string - remark: string - createTime: Date - creator: string - orderQty: number - uom: string - updateTime: Date - updater: string - available: string -} - -// 查询销售订单子列表 -export const getSaleDetailPage = async (params) => { - return await request.get({ url: `/wms/sale-detail/page`, params }) -} - -// 查询销售订单子详情 -export const getSaleDetail = async (id: number) => { - return await request.get({ url: `/wms/sale-detail/get?id=` + id }) -} - -// 新增销售订单子 -export const createSaleDetail = async (data: SaleDetailVO) => { - return await request.post({ url: `/wms/sale-detail/create`, data }) -} - -// 修改销售订单子 -export const updateSaleDetail = async (data: SaleDetailVO) => { - return await request.put({ url: `/wms/sale-detail/update`, data }) -} - -// 删除销售订单子 -export const deleteSaleDetail = async (id: number) => { - return await request.delete({ url: `/wms/sale-detail/delete?id=` + id }) -} - -// 导出销售订单子 Excel -export const exportSaleDetail = async (params) => { - return await request.download({ url: `/wms/sale-detail/export-excel`, params }) -} diff --git a/src/api/wms/saleMain/index.ts b/src/api/wms/saleMain/index.ts deleted file mode 100644 index 75b3ca1..0000000 --- a/src/api/wms/saleMain/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import request from '@/config/axios' - -export interface SaleMainVO { - customerCode: string - type: string - orderDate: Date - dueDate: Date - version: string - taxRate: number - contactName: string - contactPhone: string - contactEmail: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - updateTime: Date - updater: string - currentStage: number - available: string -} - -// 查询销售订单主列表 -export const getSaleMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/sale-main/senior', data }) - } else { - return await request.get({ url: `/wms/sale-main/page`, params }) - } -} - -// 查询销售订单主详情 -export const getSaleMain = async (id: number) => { - return await request.get({ url: `/wms/sale-main/get?id=` + id }) -} - -// 新增销售订单主 -export const createSaleMain = async (data: SaleMainVO) => { - return await request.post({ url: `/wms/sale-main/create`, data }) -} - -// 修改销售订单主 -export const updateSaleMain = async (data: SaleMainVO) => { - return await request.put({ url: `/wms/sale-main/update`, data }) -} - -// 删除销售订单主 -export const deleteSaleMain = async (id: number) => { - return await request.delete({ url: `/wms/sale-main/delete?id=` + id }) -} - -// 导出销售订单主 Excel -export const exportSaleMain = async (params) => { - return await request.download({ url: `/wms/sale-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/sale-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/saleprice/index.ts b/src/api/wms/saleprice/index.ts deleted file mode 100644 index 6ac634e..0000000 --- a/src/api/wms/saleprice/index.ts +++ /dev/null @@ -1,58 +0,0 @@ -import request from '@/config/axios' - -export interface SalepriceVO { - customercode: string - itemcode: string - currency: string - price: number - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询销售价格单列表 -export const getSalepricePage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/saleprice/senior', data }) - } else { - return await request.get({ url: `/wms/saleprice/page`, params }) - } -} - -// 查询销售价格单详情 -export const getSaleprice = async (id: number) => { - return await request.get({ url: `/wms/saleprice/get?id=` + id }) -} - -// 新增销售价格单 -export const createSaleprice = async (data: SalepriceVO) => { - return await request.post({ url: `/wms/saleprice/create`, data }) -} - -// 修改销售价格单 -export const updateSaleprice = async (data: SalepriceVO) => { - return await request.put({ url: `/wms/saleprice/update`, data }) -} - -// 删除销售价格单 -export const deleteSaleprice = async (id: number) => { - return await request.delete({ url: `/wms/saleprice/delete?id=` + id }) -} - -// 导出销售价格单 Excel -export const exportSaleprice = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/saleprice/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/saleprice/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/saleprice/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/scrapJobDetail/index.ts b/src/api/wms/scrapJobDetail/index.ts deleted file mode 100644 index c333d80..0000000 --- a/src/api/wms/scrapJobDetail/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import request from '@/config/axios' - -export interface ScrapJobDetailVO { - ownerCode: string - packingNumber: string - containerNumber: string - batch: string - fromLocationCode: string - inventoryStatus: string - reason: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string -} - -// 查询报废出库任务子列表 -export const getScrapJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/scrap-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/scrap-job-detail/page`, params }) - } -} - -// 查询报废出库任务子详情 -export const getScrapJobDetail = async (id: number) => { - return await request.get({ url: `/wms/scrap-job-detail/get?id=` + id }) -} - -// 新增报废出库任务子 -export const createScrapJobDetail = async (data: ScrapJobDetailVO) => { - return await request.post({ url: `/wms/scrap-job-detail/create`, data }) -} - -// 修改报废出库任务子 -export const updateScrapJobDetail = async (data: ScrapJobDetailVO) => { - return await request.put({ url: `/wms/scrap-job-detail/update`, data }) -} - -// 删除报废出库任务子 -export const deleteScrapJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/scrap-job-detail/delete?id=` + id }) -} - -// 导出报废出库任务子 Excel -export const exportScrapJobDetail = async (params) => { - return await request.download({ url: `/wms/scrap-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/scrap-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/scrapJobMain/index.ts b/src/api/wms/scrapJobMain/index.ts deleted file mode 100644 index 3cc50a9..0000000 --- a/src/api/wms/scrapJobMain/index.ts +++ /dev/null @@ -1,79 +0,0 @@ -import request from '@/config/axios' - -export interface ScrapJobMainVO { - requestNumber: string - fromWarehouseCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromAreaCodes: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询报废出库任务主列表 -export const getScrapJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/scrap-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/scrap-job-main/page`, params }) - } -} - -// 查询报废出库任务主详情 -export const getScrapJobMain = async (id: number) => { - return await request.get({ url: `/wms/scrap-job-main/get?id=` + id }) -} - -// 新增报废出库任务主 -export const createScrapJobMain = async (data: ScrapJobMainVO) => { - return await request.post({ url: `/wms/scrap-job-main/create`, data }) -} - -// 修改报废出库任务主 -export const updateScrapJobMain = async (data: ScrapJobMainVO) => { - return await request.put({ url: `/wms/scrap-job-main/update`, data }) -} - -// 删除报废出库任务主 -export const deleteScrapJobMain = async (id: number) => { - return await request.delete({ url: `/wms/scrap-job-main/delete?id=` + id }) -} - -// 导出报废出库任务主 Excel -export const exportScrapJobMain = async (params) => { - return await request.download({ url: `/wms/scrap-job-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/scrap-job-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/scrapRecordDetail/index.ts b/src/api/wms/scrapRecordDetail/index.ts deleted file mode 100644 index 4ff183b..0000000 --- a/src/api/wms/scrapRecordDetail/index.ts +++ /dev/null @@ -1,70 +0,0 @@ -import request from '@/config/axios' - -export interface ScrapRecordDetailVO { - fromOwnerCode: string - packingNumber: string - containerNumber: string - batch: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - inventoryStatus: string - reason: string - singlePrice: number - amount: number - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - jobDetailId: string -} - -// 查询报废出库记录子列表 -export const getScrapRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/scrap-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/scrap-record-detail/page`, params }) - } -} - -// 查询报废出库记录子详情 -export const getScrapRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/scrap-record-detail/get?id=` + id }) -} - -// 新增报废出库记录子 -export const createScrapRecordDetail = async (data: ScrapRecordDetailVO) => { - return await request.post({ url: `/wms/scrap-record-detail/create`, data }) -} - -// 修改报废出库记录子 -export const updateScrapRecordDetail = async (data: ScrapRecordDetailVO) => { - return await request.put({ url: `/wms/scrap-record-detail/update`, data }) -} - -// 删除报废出库记录子 -export const deleteScrapRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/scrap-record-detail/delete?id=` + id }) -} - -// 导出报废出库记录子 Excel -export const exportScrapRecordDetail = async (params) => { - return await request.download({ url: `/wms/scrap-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/scrap-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/scrapRecordMain/index.ts b/src/api/wms/scrapRecordMain/index.ts deleted file mode 100644 index 57f2a8b..0000000 --- a/src/api/wms/scrapRecordMain/index.ts +++ /dev/null @@ -1,65 +0,0 @@ -import request from '@/config/axios' - -export interface ScrapRecordMainVO { - requestNumber: string - jobNumber: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - code: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - available: string -} - -// 查询报废出库记录主列表 -export const getScrapRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/scrap-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/scrap-record-main/page`, params }) - } -} - -// 查询报废出库记录主详情 -export const getScrapRecordMain = async (id: number) => { - return await request.get({ url: `/wms/scrap-record-main/get?id=` + id }) -} - -// 新增报废出库记录主 -export const createScrapRecordMain = async (data: ScrapRecordMainVO) => { - return await request.post({ url: `/wms/scrap-record-main/create`, data }) -} - -// 修改报废出库记录主 -export const updateScrapRecordMain = async (data: ScrapRecordMainVO) => { - return await request.put({ url: `/wms/scrap-record-main/update`, data }) -} - -// 删除报废出库记录主 -export const deleteScrapRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/scrap-record-main/delete?id=` + id }) -} - -// 导出报废出库记录主 Excel -export const exportScrapRecordMain = async (params) => { - return await request.download({ url: `/wms/scrap-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/scrap-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/scrapRequestDetail/index.ts b/src/api/wms/scrapRequestDetail/index.ts deleted file mode 100644 index 99a15ec..0000000 --- a/src/api/wms/scrapRequestDetail/index.ts +++ /dev/null @@ -1,65 +0,0 @@ -import request from '@/config/axios' - -export interface ScrapRequestDetailVO { - fromOwnerCode: string - packingNumber: string - containerNumber: string - batch: string - fromLocationCode: string - inventoryStatus: string - reason: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string -} - -// 查询报废出库申请子列表 -export const getScrapRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/scrap-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/scrap-request-detail/page`, params }) - } -} - -// 查询报废出库申请子详情 -export const getScrapRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/scrap-request-detail/get?id=` + id }) -} - -// 新增报废出库申请子 -export const createScrapRequestDetail = async (data: ScrapRequestDetailVO) => { - return await request.post({ url: `/wms/scrap-request-detail/create`, data }) -} - -// 修改报废出库申请子 -export const updateScrapRequestDetail = async (data: ScrapRequestDetailVO) => { - return await request.put({ url: `/wms/scrap-request-detail/update`, data }) -} - -// 删除报废出库申请子 -export const deleteScrapRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/scrap-request-detail/delete?id=` + id }) -} - -// 导出报废出库申请子 Excel -export const exportScrapRequestDetail = async (params) => { - return await request.download({ url: `/wms/scrap-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/scrap-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/scrapRequestMain/index.ts b/src/api/wms/scrapRequestMain/index.ts deleted file mode 100644 index 6a6ef1f..0000000 --- a/src/api/wms/scrapRequestMain/index.ts +++ /dev/null @@ -1,98 +0,0 @@ -import request from '@/config/axios' - -export interface ScrapRequestMainVO { - fromWarehouseCode: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - fromLocationTypes: string - fromAreaCodes: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询报废出库申请主列表 -export const getScrapRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/scrap-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/scrap-request-main/page`, params }) - } -} - -// 查询报废出库申请主详情 -export const getScrapRequestMain = async (id: number) => { - return await request.get({ url: `/wms/scrap-request-main/get?id=` + id }) -} - -// 新增报废出库申请主 -export const createScrapRequestMain = async (data: ScrapRequestMainVO) => { - return await request.post({ url: `/wms/scrap-request-main/create`, data }) -} - -// 修改报废出库申请主 -export const updateScrapRequestMain = async (data: ScrapRequestMainVO) => { - return await request.put({ url: `/wms/scrap-request-main/update`, data }) -} - -// 删除报废出库申请主 -export const deleteScrapRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/scrap-request-main/delete?id=` + id }) -} - -// 导出报废出库申请主 Excel -export const exportScrapRequestMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/scrap-request-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/scrap-request-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/scrap-request-main/get-import-template' }) -} - -// 关闭-报废出库申请 -export const closeScrapRequestMain = async (id) => { - return await request.put({ url: `/wms/scrap-request-main/close?id=` + id }) -} - -// 重新添加-报废出库申请 -export const reAddScrapRequestMain = async (id) => { - return await request.put({ url: `/wms/scrap-request-main/reAdd?id=` + id }) -} - -// 提交审批-报废出库申请 -export const submitScrapRequestMain = async (id) => { - return await request.put({ url: `/wms/scrap-request-main/submit?id=` + id }) -} - -// 审批驳回-报废出库申请 -export const refusedScrapRequestMain = async (id) => { - return await request.put({ url: `/wms/scrap-request-main/refused?id=` + id }) -} - -// 审批通过-报废出库申请 -export const agreeScrapRequestMain = async (id) => { - return await request.put({ url: `/wms/scrap-request-main/agree?id=` + id }) -} - -// 处理-报废出库申请 -export const handleScrapRequestMain = async (id) => { - return await request.put({ url: `/wms/scrap-request-main/handle?id=` + id }) -} diff --git a/src/api/wms/shift/index.ts b/src/api/wms/shift/index.ts deleted file mode 100644 index f663b79..0000000 --- a/src/api/wms/shift/index.ts +++ /dev/null @@ -1,60 +0,0 @@ -import request from '@/config/axios' - -export interface ShiftVO { - code: string - name: string - description: string - beginTime: Date - entTime: Date - activeTime: Date - expireTime: Date - remark: string - endAtNextDay: string - available: string -} - -// 查询班次列表 -export const getShiftPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/shift/senior', data }) - } else { - return await request.get({ url: `/wms/shift/page`, params }) - } -} - -// 查询班次详情 -export const getShift = async (id: number) => { - return await request.get({ url: `/wms/shift/get?id=` + id }) -} - -// 新增班次 -export const createShift = async (data: ShiftVO) => { - return await request.post({ url: `/wms/shift/create`, data }) -} - -// 修改班次 -export const updateShift = async (data: ShiftVO) => { - return await request.put({ url: `/wms/shift/update`, data }) -} - -// 删除班次 -export const deleteShift = async (id: number) => { - return await request.delete({ url: `/wms/shift/delete?id=` + id }) -} - -// 导出班次 Excel -export const exportShift = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/shift/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/shift/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/shift/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/stdcostprice/index.ts b/src/api/wms/stdcostprice/index.ts deleted file mode 100644 index b7e3be1..0000000 --- a/src/api/wms/stdcostprice/index.ts +++ /dev/null @@ -1,58 +0,0 @@ -import request from '@/config/axios' - -export interface StdcostpriceVO { - supplierCode: string - itemCode: string - currency: string - price: number - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询标准成本价格单列表 -export const getStdcostpricePage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/stdcostprice/senior', data }) - } else { - return await request.get({ url: `/wms/stdcostprice/page`, params }) - } -} - -// 查询标准成本价格单详情 -export const getStdcostprice = async (id: number) => { - return await request.get({ url: `/wms/stdcostprice/get?id=` + id }) -} - -// 新增标准成本价格单 -export const createStdcostprice = async (data: StdcostpriceVO) => { - return await request.post({ url: `/wms/stdcostprice/create`, data }) -} - -// 修改标准成本价格单 -export const updateStdcostprice = async (data: StdcostpriceVO) => { - return await request.put({ url: `/wms/stdcostprice/update`, data }) -} - -// 删除标准成本价格单 -export const deleteStdcostprice = async (id: number) => { - return await request.delete({ url: `/wms/stdcostprice/delete?id=` + id }) -} - -// 导出标准成本价格单 Excel -export const exportStdcostprice = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/stdcostprice/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/stdcostprice/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/stdcostprice/get-import-template' }) -} diff --git a/src/api/wms/strategy/index.ts b/src/api/wms/strategy/index.ts deleted file mode 100644 index a4e235b..0000000 --- a/src/api/wms/strategy/index.ts +++ /dev/null @@ -1,41 +0,0 @@ -import request from '@/config/axios' - -export interface StrategyVO { - remark: string - code: string - name: string - description: string - type: string - priority: number - isActive: string -} - -// 查询策略列表 -export const getStrategyPage = async (params) => { - return await request.get({ url: `/wms/strategy/page`, params }) -} - -// 查询策略详情 -export const getStrategy = async (id: number) => { - return await request.get({ url: `/wms/strategy/get?id=` + id }) -} - -// 新增策略 -export const createStrategy = async (data: StrategyVO) => { - return await request.post({ url: `/wms/strategy/create`, data }) -} - -// 修改策略 -export const updateStrategy = async (data: StrategyVO) => { - return await request.put({ url: `/wms/strategy/update`, data }) -} - -// 删除策略 -export const deleteStrategy = async (id: number) => { - return await request.delete({ url: `/wms/strategy/delete?id=` + id }) -} - -// 导出策略 Excel -export const exportStrategy = async (params) => { - return await request.download({ url: `/wms/strategy/export-excel`, params }) -} diff --git a/src/api/wms/supplier/index.ts b/src/api/wms/supplier/index.ts deleted file mode 100644 index 805a416..0000000 --- a/src/api/wms/supplier/index.ts +++ /dev/null @@ -1,72 +0,0 @@ -import request from '@/config/axios' - -export interface SupplierVO { - code: string - name: string - shortName: string - address: string - country: string - city: string - phone: string - fax: string - postId: string - contacts: string - bank: string - currency: string - taxRate: number - type: string - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询供应商列表分页 -export const getSupplierPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/supplier/senior', data }) - } else { - return await request.get({ url: `/wms/supplier/page`, params }) - } -} -// 查询供应商列表 -export const getSupplierList = async (params) => { - return await request.get({ url: `/wms/supplier/list`, params }) -} - -// 查询供应商详情 -export const getSupplier = async (id: number) => { - return await request.get({ url: `/wms/supplier/get?id=` + id }) -} - -// 新增供应商 -export const createSupplier = async (data: SupplierVO) => { - return await request.post({ url: `/wms/supplier/create`, data }) -} - -// 修改供应商 -export const updateSupplier = async (data: SupplierVO) => { - return await request.put({ url: `/wms/supplier/update`, data }) -} - -// 删除供应商 -export const deleteSupplier = async (id: number) => { - return await request.delete({ url: `/wms/supplier/delete?id=` + id }) -} - -// 导出供应商 Excel -export const exportSupplier = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/supplier/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/supplier/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/supplier/get-import-template' }) -} diff --git a/src/api/wms/supplierUser/index.ts b/src/api/wms/supplierUser/index.ts deleted file mode 100644 index bdb7c5b..0000000 --- a/src/api/wms/supplierUser/index.ts +++ /dev/null @@ -1,54 +0,0 @@ -import request from '@/config/axios' - -export interface SupplierUserVO { - id: number - userId: number - supplierCode: string - status: string - deletionTime: Date - deleterId: string - extraProperties: string - concurrencyStamp: number - remark: string -} - -// 查询供应商用户关联信息列表 -export const getSupplierUserPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/supplier-user/senior', data }) - } else { - return await request.get({ url: `/wms/supplier-user/page`, params }) - } -} - -// 查询供应商用户关联信息详情 -export const getSupplierUser = async (id: number) => { - return await request.get({ url: `/wms/supplier-user/get?id=` + id }) -} - -// 新增供应商用户关联信息 -export const createSupplierUser = async (data: SupplierUserVO) => { - return await request.post({ url: `/wms/supplier-user/create`, data }) -} - -// 修改供应商用户关联信息 -export const updateSupplierUser = async (data: SupplierUserVO) => { - return await request.put({ url: `/wms/supplier-user/update`, data }) -} - -// 删除供应商用户关联信息 -export const deleteSupplierUser = async (id: number) => { - return await request.delete({ url: `/wms/supplier-user/delete?id=` + id }) -} - -// 导出供应商用户关联信息 Excel -export const exportSupplierUser = async (params) => { - return await request.download({ url: `/wms/supplier-user/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/supplier-user/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/supplierdeliverRecordDetail/index.ts b/src/api/wms/supplierdeliverRecordDetail/index.ts deleted file mode 100644 index d346cbb..0000000 --- a/src/api/wms/supplierdeliverRecordDetail/index.ts +++ /dev/null @@ -1,87 +0,0 @@ -import request from '@/config/axios' - -export interface SupplierdeliverRecordDetailVO { - fromPackingNumber: string - toPackingNumber: string - fromBatch: string - altBatch: string - fromContainerNumber: string - toContainerNumber: string - arriveDate: Date - produceDate: Date - expireDate: Date - poNumber: string - poLine: string - stdPackQty: number - stdPackUnit: string - supplierQty: number - supplierUom: string - convertRate: number - fromLocationCode: string - toLocationCode: string - fromLocationGroupCode: string - toLocationGroupCode: string - fromAreaCode: string - toAreaCode: string - fromOwnerCode: string - toOwnerCode: string - projectCode: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string - jobDetailId: string - toBatch: string -} - -// 查询供应商发货记录子列表 -export const getSupplierdeliverRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/supplierdeliver-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/supplierdeliver-record-detail/page`, params }) - } -} - -// 查询采供应商发货记录子列表 -export const getSupplierdeliverRecordDetailList = async (params) => { - return await request.get({ url: `/wms/supplierdeliver-record-detail/allList`, params }) -} - -// 查询供应商发货记录子详情 -export const getSupplierdeliverRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/supplierdeliver-record-detail/get?id=` + id }) -} - -// 新增供应商发货记录子 -export const createSupplierdeliverRecordDetail = async (data: SupplierdeliverRecordDetailVO) => { - return await request.post({ url: `/wms/supplierdeliver-record-detail/create`, data }) -} - -// 修改供应商发货记录子 -export const updateSupplierdeliverRecordDetail = async (data: SupplierdeliverRecordDetailVO) => { - return await request.put({ url: `/wms/supplierdeliver-record-detail/update`, data }) -} - -// 删除供应商发货记录子 -export const deleteSupplierdeliverRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/supplierdeliver-record-detail/delete?id=` + id }) -} - -// 导出供应商发货记录子 Excel -export const exportSupplierdeliverRecordDetail = async (params) => { - return await request.download({ url: `/wms/supplierdeliver-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/supplierdeliver-record-detail/get-import-template' }) -} diff --git a/src/api/wms/supplierdeliverRecordMain/index.ts b/src/api/wms/supplierdeliverRecordMain/index.ts deleted file mode 100644 index 1b1fce2..0000000 --- a/src/api/wms/supplierdeliverRecordMain/index.ts +++ /dev/null @@ -1,75 +0,0 @@ -import request from '@/config/axios' - -export interface SupplierdeliverRecordMainVO { - requestNumber: string - ppNumber: string - asnNumber: string - supplierCode: string - contactName: string - contactPhone: string - contactEmail: string - fromWarehouseCode: string - toWarehouseCode: string - toDockCode: string - timeWindow: string - planArriveTime: Date - carrierCode: string - transferMode: string - vehiclePlateNumber: string - outTransaction: string - inTransaction: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: number - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - serialNumber: string - available: string -} - -// 查询供应商发货记录主列表 -export const getSupplierdeliverRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/supplierdeliver-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/supplierdeliver-record-main/page`, params }) - } -} - -// 查询供应商发货记录主详情 -export const getSupplierdeliverRecordMain = async (id: number) => { - return await request.get({ url: `/wms/supplierdeliver-record-main/get?id=` + id }) -} - -// 新增供应商发货记录主 -export const createSupplierdeliverRecordMain = async (data: SupplierdeliverRecordMainVO) => { - return await request.post({ url: `/wms/supplierdeliver-record-main/create`, data }) -} - -// 修改供应商发货记录主 -export const updateSupplierdeliverRecordMain = async (data: SupplierdeliverRecordMainVO) => { - return await request.put({ url: `/wms/supplierdeliver-record-main/update`, data }) -} - -// 删除供应商发货记录主 -export const deleteSupplierdeliverRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/supplierdeliver-record-main/delete?id=` + id }) -} - -// 导出供应商发货记录主 Excel -export const exportSupplierdeliverRecordMain = async (params) => { - return await request.download({ url: `/wms/supplierdeliver-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/supplierdeliver-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/supplierdeliverRequestDetail/index.ts b/src/api/wms/supplierdeliverRequestDetail/index.ts deleted file mode 100644 index e029b88..0000000 --- a/src/api/wms/supplierdeliverRequestDetail/index.ts +++ /dev/null @@ -1,74 +0,0 @@ -import request from '@/config/axios' - -export interface SupplierdeliverRequestDetailVO { - packingNumber: string - containerNumber: string - batch: string - altBatch: string - arriveDate: Date - produceDate: Date - expireDate: Date - poNumber: string - poLine: string - stdPackQty: number - stdPackUnit: string - supplierPackQty: number - supplierPackUnit: string - convertRate: number - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询供应商发货申请子列表 -export const getSupplierdeliverRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/supplierdeliver-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/supplierdeliver-request-detail/page`, params }) - } -} - -// 查询供应商发货申请子详情 -export const getSupplierdeliverRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/supplierdeliver-request-detail/get?id=` + id }) -} - -// 新增供应商发货申请子 -export const createSupplierdeliverRequestDetail = async (data: SupplierdeliverRequestDetailVO) => { - return await request.post({ url: `/wms/supplierdeliver-request-detail/create`, data }) -} - -// 修改供应商发货申请子 -export const updateSupplierdeliverRequestDetail = async (data: SupplierdeliverRequestDetailVO) => { - return await request.put({ url: `/wms/supplierdeliver-request-detail/update`, data }) -} - -// 删除供应商发货申请子 -export const deleteSupplierdeliverRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/supplierdeliver-request-detail/delete?id=` + id }) -} - -// 导出供应商发货申请子 Excel -export const exportSupplierdeliverRequestDetail = async (params) => { - return await request.download({ url: `/wms/supplierdeliver-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/supplierdeliver-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/supplierdeliverRequestMain/index.ts b/src/api/wms/supplierdeliverRequestMain/index.ts deleted file mode 100644 index 82ac6b9..0000000 --- a/src/api/wms/supplierdeliverRequestMain/index.ts +++ /dev/null @@ -1,103 +0,0 @@ -import request from '@/config/axios' - -export interface SupplierdeliverRequestMainVO { - ppNumber: string - asnNumber: string - supplierCode: string - contactName: string - contactPhone: string - contactEmail: string - fromWarehouseCode: string - toWarehouseCode: string - toDockCode: string - timeWindow: string - planArriveTime: Date - carrierCode: string - transferMode: string - vehiclePlateNumber: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询供应商发货申请主列表 -export const getSupplierdeliverRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/supplierdeliver-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/supplierdeliver-request-main/page`, params }) - } -} - -// 查询供应商发货申请主详情 -export const getSupplierdeliverRequestMain = async (id: number) => { - return await request.get({ url: `/wms/supplierdeliver-request-main/get?id=` + id }) -} - -// 新增供应商发货申请主 -export const createSupplierdeliverRequestMain = async (data: SupplierdeliverRequestMainVO) => { - return await request.post({ url: `/wms/supplierdeliver-request-main/create`, data }) -} - -// 修改供应商发货申请主 -export const updateSupplierdeliverRequestMain = async (data: SupplierdeliverRequestMainVO) => { - return await request.put({ url: `/wms/supplierdeliver-request-main/update`, data }) -} - -// 删除供应商发货申请主 -export const deleteSupplierdeliverRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/supplierdeliver-request-main/delete?id=` + id }) -} - -// 打开供应商发货申请主 -export const opeSupplierdeliverRequestMain = async (id: number) => { - return await request.post({ url: `/wms/supplierdeliver-request-main/open?id=` + id }) -} -// 关闭供应商发货申请主 -export const cloSupplierdeliverRequestMain = async (id: number) => { - return await request.post({ url: `/wms/supplierdeliver-request-main/close?id=` + id }) -} -// 提交审批供应商发货申请主 -export const subSupplierdeliverRequestMain = async (id: number) => { - return await request.post({ url: `/wms/supplierdeliver-request-main/sub?id=` + id }) -} -// 审批通过供应商发货申请主 -export const appSupplierdeliverRequestMain = async (id: number) => { - return await request.post({ url: `/wms/supplierdeliver-request-main/app?id=` + id }) -} -// 驳回供应商发货申请主 -export const rejSupplierdeliverRequestMain = async (id: number) => { - return await request.post({ url: `/wms/supplierdeliver-request-main/rej?id=` + id }) -} -// 生成标签 -export const genLabel = async (id) => { - return await request.post({ url: `/wms/supplierdeliver-request-main/genLabel?id=` + id }) -} -// 生成记录 -export const genRecordsSupplierdeliverRequestMain = async (id) => { - return await request.post({ url: `/wms/supplierdeliver-request-main/genRecords?id=` + id }) -} -// 导出供应商发货申请主 Excel -export const exportSupplierdeliverRequestMain = async (params) => { - return await request.download({ url: `/wms/supplierdeliver-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/supplierdeliver-request-main/get-import-template' }) -} - diff --git a/src/api/wms/supplierinvoiceRecordDeatil/index.ts b/src/api/wms/supplierinvoiceRecordDeatil/index.ts deleted file mode 100644 index f797d2f..0000000 --- a/src/api/wms/supplierinvoiceRecordDeatil/index.ts +++ /dev/null @@ -1,73 +0,0 @@ -import request from '@/config/axios' - -export interface SupplierinvoiceRecordDeatilVO { - recordNumber: string - packingNumber: string - containerNumber: string - batch: string - altBatch: string - poNumber: string - poLine: string - stdPackQty: number - stdPackUnit: string - supplierQty: number - supplierUom: string - convertRate: number - singlePrice: number - amount: number - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - jobDetailId: string -} - -// 查询供应商发票记录子列表 -export const getSupplierinvoiceRecordDeatilPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/supplierinvoice-record-deatil/senior', data }) - } else { - return await request.get({ url: `/wms/supplierinvoice-record-deatil/page`, params }) - } -} - -// 查询供应商发票记录子详情 -export const getSupplierinvoiceRecordDeatil = async (id: number) => { - return await request.get({ url: `/wms/supplierinvoice-record-deatil/get?id=` + id }) -} - -// 新增供应商发票记录子 -export const createSupplierinvoiceRecordDeatil = async (data: SupplierinvoiceRecordDeatilVO) => { - return await request.post({ url: `/wms/supplierinvoice-record-deatil/create`, data }) -} - -// 修改供应商发票记录子 -export const updateSupplierinvoiceRecordDeatil = async (data: SupplierinvoiceRecordDeatilVO) => { - return await request.put({ url: `/wms/supplierinvoice-record-deatil/update`, data }) -} - -// 删除供应商发票记录子 -export const deleteSupplierinvoiceRecordDeatil = async (id: number) => { - return await request.delete({ url: `/wms/supplierinvoice-record-deatil/delete?id=` + id }) -} - -// 导出供应商发票记录子 Excel -export const exportSupplierinvoiceRecordDeatil = async (params) => { - return await request.download({ url: `/wms/supplierinvoice-record-deatil/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/supplierinvoice-record-deatil/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/supplierinvoiceRecordMain/index.ts b/src/api/wms/supplierinvoiceRecordMain/index.ts deleted file mode 100644 index 4f04bde..0000000 --- a/src/api/wms/supplierinvoiceRecordMain/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import request from '@/config/axios' - -export interface SupplierinvoiceRecordMainVO { - requestNumber: string - supplierCode: string - adjustAmount: number - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - code: string - available: string -} - -// 查询供应商发票记录主列表 -export const getSupplierinvoiceRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/supplierinvoice-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/supplierinvoice-record-main/page`, params }) - } -} - -// 查询供应商发票记录主详情 -export const getSupplierinvoiceRecordMain = async (id: number) => { - return await request.get({ url: `/wms/supplierinvoice-record-main/get?id=` + id }) -} - -// 新增供应商发票记录主 -export const createSupplierinvoiceRecordMain = async (data: SupplierinvoiceRecordMainVO) => { - return await request.post({ url: `/wms/supplierinvoice-record-main/create`, data }) -} - -// 修改供应商发票记录主 -export const updateSupplierinvoiceRecordMain = async (data: SupplierinvoiceRecordMainVO) => { - return await request.put({ url: `/wms/supplierinvoice-record-main/update`, data }) -} - -// 删除供应商发票记录主 -export const deleteSupplierinvoiceRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/supplierinvoice-record-main/delete?id=` + id }) -} - -// 导出供应商发票记录主 Excel -export const exportSupplierinvoiceRecordMain = async (params) => { - return await request.download({ url: `/wms/supplierinvoice-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/supplierinvoice-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/supplierinvoiceRequestDetail/index.ts b/src/api/wms/supplierinvoiceRequestDetail/index.ts deleted file mode 100644 index 8633e63..0000000 --- a/src/api/wms/supplierinvoiceRequestDetail/index.ts +++ /dev/null @@ -1,70 +0,0 @@ -import request from '@/config/axios' - -export interface SupplierinvoiceRequestDetailVO { - recordNumber: string - ownerCode: string - packingNumber: string - containerNumber: string - batch: string - altBatch: string - poNumber: string - poLine: string - stdPackQty: number - stdPackUnit: string - supplierPackQty: number - supplierPackUnit: string - convertRate: number - singlePrice: number - amount: number - number: string - itemCode: string - remark: string - createTime: Date - creator: string -} - -// 查询供应商发票申请子列表 -export const getSupplierinvoiceRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/supplierinvoice-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/supplierinvoice-request-detail/page`, params }) - } -} - -// 查询供应商发票申请主详情 -export const getPoNumber = async (params) => { - return await request.get({ url: `/wms/supplierinvoice-request-detail/getPoNumber`, params}) -} - -// 查询供应商发票申请子详情 -export const getSupplierinvoiceRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/supplierinvoice-request-detail/get?id=` + id }) -} - -// 新增供应商发票申请子 -export const createSupplierinvoiceRequestDetail = async (data: SupplierinvoiceRequestDetailVO) => { - return await request.post({ url: `/wms/supplierinvoice-request-detail/create`, data }) -} - -// 修改供应商发票申请子 -export const updateSupplierinvoiceRequestDetail = async (data: SupplierinvoiceRequestDetailVO) => { - return await request.put({ url: `/wms/supplierinvoice-request-detail/update`, data }) -} - -// 删除供应商发票申请子 -export const deleteSupplierinvoiceRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/supplierinvoice-request-detail/delete?id=` + id }) -} - -// 导出供应商发票申请子 Excel -export const exportSupplierinvoiceRequestDetail = async (params) => { - return await request.download({ url: `/wms/supplierinvoice-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/supplierinvoice-request-detail/get-import-template' }) -} diff --git a/src/api/wms/supplierinvoiceRequestMain/index.ts b/src/api/wms/supplierinvoiceRequestMain/index.ts deleted file mode 100644 index 62d9231..0000000 --- a/src/api/wms/supplierinvoiceRequestMain/index.ts +++ /dev/null @@ -1,86 +0,0 @@ -import request from '@/config/axios' - -export interface SupplierinvoiceRequestMainVO { - supplierCode: string - adjustAmount: number - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询供应商发票申请主列表 -export const getSupplierinvoiceRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/supplierinvoice-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/supplierinvoice-request-main/page`, params }) - } -} - -// 查询供应商发票申请主详情 -export const getSupplierinvoiceRequestMain = async (id: number) => { - return await request.get({ url: `/wms/supplierinvoice-request-main/get?id=` + id }) -} - -// 查询供应商发票申请主详情 -export const getNumber = async (params) => { - return await request.get({ url: `/wms/supplierinvoice-request-main/getNumber`, params}) -} - -// 新增供应商发票申请主 -export const createSupplierinvoiceRequestMain = async (data: SupplierinvoiceRequestMainVO) => { - return await request.post({ url: `/wms/supplierinvoice-request-main/create`, data }) -} - -// 修改供应商发票申请主 -export const updateSupplierinvoiceRequestMain = async (data: SupplierinvoiceRequestMainVO) => { - return await request.put({ url: `/wms/supplierinvoice-request-main/update`, data }) -} - -// 删除供应商发票申请主 -export const deleteSupplierinvoiceRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/supplierinvoice-request-main/delete?id=` + id }) -} - -// 打开供应商发货申请主 -export const opeSupplierinvoiceRequestMain = async (id: number) => { - return await request.post({ url: `/wms/supplierinvoice-request-main/open?id=` + id }) -} -// 关闭供应商发货申请主 -export const cloSupplierinvoiceRequestMain = async (id: number) => { - return await request.post({ url: `/wms/supplierinvoice-request-main/close?id=` + id }) -} -// 提交审批供应商发货申请主 -export const subSupplierinvoiceRequestMain = async (id: number) => { - return await request.post({ url: `/wms/supplierinvoice-request-main/sub?id=` + id }) -} -// 审批通过供应商发货申请主 -export const appSupplierinvoiceRequestMain = async (id: number) => { - return await request.post({ url: `/wms/supplierinvoice-request-main/app?id=` + id }) -} -// 驳回供应商发货申请主 -export const rejSupplierinvoiceRequestMain = async (id: number) => { - return await request.post({ url: `/wms/supplierinvoice-request-main/rej?id=` + id }) -} -// 生成记录 -export const genRecordsSupplierinvoiceRequestMain = async (id) => { - return await request.post({ url: `/wms/supplierinvoice-request-main/genRecords?id=` + id }) -} -// 导出供应商发票申请主 Excel -export const exportSupplierinvoiceRequestMain = async (params) => { - return await request.download({ url: `/wms/supplierinvoice-request-main/export-excel`, params }) -} diff --git a/src/api/wms/supplieritem/index.ts b/src/api/wms/supplieritem/index.ts deleted file mode 100644 index 387777a..0000000 --- a/src/api/wms/supplieritem/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface SupplieritemVO { - supplierCode: string - itemCode: string - supplierItemCode: string - supplierUom: string - convertRate: number - packUnit: string - packQty: number - altPackUnit: string - altPackQty: number - packQtyOfContainer: number - defaultWarehouseCode: string - defaultLocationCode: string - settlementType: string - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询供应商物品列表 -export const getSupplieritemPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/supplieritem/senior', data }) - } else { - return await request.get({ url: `/wms/supplieritem/page`, params }) - } -} - -// 查询供应商物品详情 -export const getSupplieritem = async (id: number) => { - return await request.get({ url: `/wms/supplieritem/get?id=` + id }) -} - -// 新增供应商物品 -export const createSupplieritem = async (data: SupplieritemVO) => { - return await request.post({ url: `/wms/supplieritem/create`, data }) -} - -// 修改供应商物品 -export const updateSupplieritem = async (data: SupplieritemVO) => { - return await request.put({ url: `/wms/supplieritem/update`, data }) -} - -// 删除供应商物品 -export const deleteSupplieritem = async (id: number) => { - return await request.delete({ url: `/wms/supplieritem/delete?id=` + id }) -} - -// 导出供应商物品 Excel -export const exportSupplieritem = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/supplieritem/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/supplieritem/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/supplieritem/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/switch/index.ts b/src/api/wms/switch/index.ts deleted file mode 100644 index aeb11a1..0000000 --- a/src/api/wms/switch/index.ts +++ /dev/null @@ -1,50 +0,0 @@ -import request from '@/config/axios' - -export interface SwitchVO { - id: number - code: string - description: string - effectiveSetValue: string - available: string -} - -// 查询单据开关列表 -export const getSwitchPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/switch/senior', data }) - } else { - return await request.get({ url: `/wms/switch/page`, params }) - } -} - -// 查询单据开关详情 -export const getSwitch = async (id: number) => { - return await request.get({ url: `/wms/switch/get?id=` + id }) -} - -// 新增单据开关 -export const createSwitch = async (data: SwitchVO) => { - return await request.post({ url: `/wms/switch/create`, data }) -} - -// 修改单据开关 -export const updateSwitch = async (data: SwitchVO) => { - return await request.put({ url: `/wms/switch/update`, data }) -} - -// 删除单据开关 -export const deleteSwitch = async (id: number) => { - return await request.delete({ url: `/wms/switch/delete?id=` + id }) -} - -// 导出单据开关 Excel -export const exportSwitch = async (params) => { - return await request.download({ url: `/wms/switch/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/switch/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/systemcalendar/index.ts b/src/api/wms/systemcalendar/index.ts deleted file mode 100644 index 0499f49..0000000 --- a/src/api/wms/systemcalendar/index.ts +++ /dev/null @@ -1,57 +0,0 @@ -import request from '@/config/axios' - -export interface SystemcalendarVO { - module: string - startTime: Date - stopTime: Date - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询系统日历列表 -export const getSystemcalendarPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/systemcalendar/senior', data }) - } else { - return await request.get({ url: `/wms/systemcalendar/page`, params }) - } -} - -// 查询系统日历详情 -export const getSystemcalendar = async (id: number) => { - return await request.get({ url: `/wms/systemcalendar/get?id=` + id }) -} - -// 新增系统日历 -export const createSystemcalendar = async (data: SystemcalendarVO) => { - return await request.post({ url: `/wms/systemcalendar/create`, data }) -} - -// 修改系统日历 -export const updateSystemcalendar = async (data: SystemcalendarVO) => { - return await request.put({ url: `/wms/systemcalendar/update`, data }) -} - -// 删除系统日历 -export const deleteSystemcalendar = async (id: number) => { - return await request.delete({ url: `/wms/systemcalendar/delete?id=` + id }) -} - -// 导出系统日历 Excel -export const exportSystemcalendar = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/systemcalendar/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/systemcalendar/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/systemcalendar/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/team/index.ts b/src/api/wms/team/index.ts deleted file mode 100644 index 6c978a4..0000000 --- a/src/api/wms/team/index.ts +++ /dev/null @@ -1,58 +0,0 @@ -import request from '@/config/axios' - -export interface TeamVO { - code: string - name: string - description: string - members: string - activeTime: Date - expireTime: Date - remark: string - available: string -} - -// 查询班组列表 -export const getTeamPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/team/senior', data }) - } else { - return await request.get({ url: `/wms/team/page`, params }) - } -} - -// 查询班组详情 -export const getTeam = async (id: number) => { - return await request.get({ url: `/wms/team/get?id=` + id }) -} - -// 新增班组 -export const createTeam = async (data: TeamVO) => { - return await request.post({ url: `/wms/team/create`, data }) -} - -// 修改班组 -export const updateTeam = async (data: TeamVO) => { - return await request.put({ url: `/wms/team/update`, data }) -} - -// 删除班组 -export const deleteTeam = async (id: number) => { - return await request.delete({ url: `/wms/team/delete?id=` + id }) -} - -// 导出班组 Excel -export const exportTeam = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/team/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/team/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/team/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/transaction/index.ts b/src/api/wms/transaction/index.ts deleted file mode 100644 index e4b38fc..0000000 --- a/src/api/wms/transaction/index.ts +++ /dev/null @@ -1,71 +0,0 @@ -import request from '@/config/axios' - -export interface TransactionVO { - number: string - transactionType: string - inventoryAction: string - worker: string - businessType: string - recordNumber: string - activeTime: Date - itemCode: string - batch: string - inventoryStatus: string - uom: string - qty: number - singlePrice: number - amount: number - altBatch: string - arriveDate: Date - produceDate: Date - expireDate: Date - packingNumber: string - containerNumber: string - locationCode: string - warehouseCode: string - areaCode: string - locationGroupCode: string - erpLocationCode: string - ownerCode: string -} - -// 查询库存事务列表 -export const getTransactionPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/transaction/senior', data }) - } else { - return await request.get({ url: `/wms/transaction/page`, params }) - } -} - -// 查询库存事务详情 -export const getTransaction = async (id: number) => { - return await request.get({ url: `/wms/transaction/get?id=` + id }) -} - -// 新增库存事务 -export const createTransaction = async (data: TransactionVO) => { - return await request.post({ url: `/wms/transaction/create`, data }) -} - -// 修改库存事务 -export const updateTransaction = async (data: TransactionVO) => { - return await request.put({ url: `/wms/transaction/update`, data }) -} - -// 删除库存事务 -export const deleteTransaction = async (id: number) => { - return await request.delete({ url: `/wms/transaction/delete?id=` + id }) -} - -// 导出库存事务 Excel -export const exportTransaction = async (params) => { - return await request.download({ url: `/wms/transaction/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/transaction/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/transactiontype/index.ts b/src/api/wms/transactiontype/index.ts deleted file mode 100644 index 88c259b..0000000 --- a/src/api/wms/transactiontype/index.ts +++ /dev/null @@ -1,55 +0,0 @@ -import request from '@/config/axios' - -export interface TransactiontypeVO { - code: string - name: string - description: string - inventoryAction: string - activeTime: Date - expireTime: Date - remark: string - allowNegative: string - available: string - isSoftDeleted: string -} - -// 查询事务类型列表 -export const getTransactiontypePage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/transactiontype/senior', data }) - } else { - return await request.get({ url: `/wms/transactiontype/page`, params }) - } -} - -// 查询事务类型详情 -export const getTransactiontype = async (id: number) => { - return await request.get({ url: `/wms/transactiontype/get?id=` + id }) -} - -// 新增事务类型 -export const createTransactiontype = async (data: TransactiontypeVO) => { - return await request.post({ url: `/wms/transactiontype/create`, data }) -} - -// 修改事务类型 -export const updateTransactiontype = async (data: TransactiontypeVO) => { - return await request.put({ url: `/wms/transactiontype/update`, data }) -} - -// 删除事务类型 -export const deleteTransactiontype = async (id: number) => { - return await request.delete({ url: `/wms/transactiontype/delete?id=` + id }) -} - -// 导出事务类型 Excel -export const exportTransactiontype = async (params) => { - return await request.download({ url: `/wms/transactiontype/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/transactiontype/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/transferissueJobDetail/index.ts b/src/api/wms/transferissueJobDetail/index.ts deleted file mode 100644 index 3837dcb..0000000 --- a/src/api/wms/transferissueJobDetail/index.ts +++ /dev/null @@ -1,64 +0,0 @@ -import request from '@/config/axios' - -export interface TransferissueJobDetailVO { - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - fromLocationCode: string - toLocationCode: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询调拨出库任务子列表 -export const getTransferissueJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/transferissue-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/transferissue-job-detail/page`, params }) - } -} - -// 查询调拨出库任务子详情 -export const getTransferissueJobDetail = async (id: number) => { - return await request.get({ url: `/wms/transferissue-job-detail/get?id=` + id }) -} - -// 新增调拨出库任务子 -export const createTransferissueJobDetail = async (data: TransferissueJobDetailVO) => { - return await request.post({ url: `/wms/transferissue-job-detail/create`, data }) -} - -// 修改调拨出库任务子 -export const updateTransferissueJobDetail = async (data: TransferissueJobDetailVO) => { - return await request.put({ url: `/wms/transferissue-job-detail/update`, data }) -} - -// 删除调拨出库任务子 -export const deleteTransferissueJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/transferissue-job-detail/delete?id=` + id }) -} - -// 导出调拨出库任务子 Excel -export const exportTransferissueJobDetail = async (params) => { - return await request.download({ url: `/wms/transferissue-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/transferissue-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/transferissueJobMain/index.ts b/src/api/wms/transferissueJobMain/index.ts deleted file mode 100644 index 53e7e32..0000000 --- a/src/api/wms/transferissueJobMain/index.ts +++ /dev/null @@ -1,101 +0,0 @@ -import request from '@/config/axios' - -export interface TransferissueJobMainVO { - requestNumber: string - deliverDock: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - fromWarehouseCode: string - toWarehouseCode: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - fromAreaCodes: string - fromDockCode: string - toAreaCodes: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询调拨出库任务主列表 -export const getTransferissueJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/transferissue-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/transferissue-job-main/page`, params }) - } -} - -// 查询调拨出库任务主详情 -export const getTransferissueJobMain = async (id: number) => { - return await request.get({ url: `/wms/transferissue-job-main/get?id=` + id }) -} - -// 新增调拨出库任务主 -export const createTransferissueJobMain = async (data: TransferissueJobMainVO) => { - return await request.post({ url: `/wms/transferissue-job-main/create`, data }) -} - -// 修改调拨出库任务主 -export const updateTransferissueJobMain = async (data: TransferissueJobMainVO) => { - return await request.put({ url: `/wms/transferissue-job-main/update`, data }) -} - -// 删除调拨出库任务主 -export const deleteTransferissueJobMain = async (id: number) => { - return await request.delete({ url: `/wms/transferissue-job-main/delete?id=` + id }) -} - -// 导出调拨出库任务主 Excel -export const exportTransferissueJobMain = async (params) => { - return await request.download({ url: `/wms/transferissue-job-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/transferissue-job-main/get-import-template' }) -} - -// 关闭-调拨出库任务主 -export const closeTransferissueJobMain = (id: number) => { - return request.download({ url: '/wms/transferissue-job-main/close?id=' + id }) -} - -// 承接-调拨出库任务主 -export const acceptTransferissueJobMain = (id: number) => { - return request.download({ url: '/wms/transferissue-job-main/accept?id=' + id }) -} - -// 放弃-调拨出库任务主 -export const abandonTransferissueJobMain = (id: number) => { - return request.download({ url: '/wms/transferissue-job-main/abandon?id=' + id }) -} diff --git a/src/api/wms/transferissueRecordDetail/index.ts b/src/api/wms/transferissueRecordDetail/index.ts deleted file mode 100644 index 507b9aa..0000000 --- a/src/api/wms/transferissueRecordDetail/index.ts +++ /dev/null @@ -1,74 +0,0 @@ -import request from '@/config/axios' - -export interface TransferissueRecordDetailVO { - fromBatch: string - inventoryStatus: string - fromOwnerCode: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - toOwnerCode: string - toLocationCode: string - toLocationGroupCode: string - toAreaCode: string - code: string - interfaceType: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - jobDetailId: string - fromPackingNumber: string - toPackingNumber: string - fromContainerNumber: string - toContainerNumber: string - toBatch: string -} - -// 查询调拨出库记录子列表 -export const getTransferissueRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/transferissue-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/transferissue-record-detail/page`, params }) - } -} - -// 查询调拨出库记录子详情 -export const getTransferissueRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/transferissue-record-detail/get?id=` + id }) -} - -// 新增调拨出库记录子 -export const createTransferissueRecordDetail = async (data: TransferissueRecordDetailVO) => { - return await request.post({ url: `/wms/transferissue-record-detail/create`, data }) -} - -// 修改调拨出库记录子 -export const updateTransferissueRecordDetail = async (data: TransferissueRecordDetailVO) => { - return await request.put({ url: `/wms/transferissue-record-detail/update`, data }) -} - -// 删除调拨出库记录子 -export const deleteTransferissueRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/transferissue-record-detail/delete?id=` + id }) -} - -// 导出调拨出库记录子 Excel -export const exportTransferissueRecordDetail = async (params) => { - return await request.download({ url: `/wms/transferissue-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/transferissue-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/transferissueRecordMain/index.ts b/src/api/wms/transferissueRecordMain/index.ts deleted file mode 100644 index 7433ba3..0000000 --- a/src/api/wms/transferissueRecordMain/index.ts +++ /dev/null @@ -1,72 +0,0 @@ -import request from '@/config/axios' - -export interface TransferissueRecordMainVO { - requestNumber: string - jobNumber: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - fromWarehouseCode: string - toWarehouseCode: string - code: string - interfaceType: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromDockCode: string - fromLocationTypes: string - fromAreaCodes: string - toLocationTypes: string - toAreaCodes: string - available: string -} - -// 查询调拨出库记录主列表 -export const getTransferissueRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/transferissue-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/transferissue-record-main/page`, params }) - } -} - -// 查询调拨出库记录主详情 -export const getTransferissueRecordMain = async (id: number) => { - return await request.get({ url: `/wms/transferissue-record-main/get?id=` + id }) -} - -// 新增调拨出库记录主 -export const createTransferissueRecordMain = async (data: TransferissueRecordMainVO) => { - return await request.post({ url: `/wms/transferissue-record-main/create`, data }) -} - -// 修改调拨出库记录主 -export const updateTransferissueRecordMain = async (data: TransferissueRecordMainVO) => { - return await request.put({ url: `/wms/transferissue-record-main/update`, data }) -} - -// 删除调拨出库记录主 -export const deleteTransferissueRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/transferissue-record-main/delete?id=` + id }) -} - -// 导出调拨出库记录主 Excel -export const exportTransferissueRecordMain = async (params) => { - return await request.download({ url: `/wms/transferissue-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/transferissue-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/transferissueRequestDetail/index.ts b/src/api/wms/transferissueRequestDetail/index.ts deleted file mode 100644 index 06092fb..0000000 --- a/src/api/wms/transferissueRequestDetail/index.ts +++ /dev/null @@ -1,66 +0,0 @@ -import request from '@/config/axios' - -export interface TransferissueRequestDetailVO { - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - toOwnerCode: string - toLocationCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - fromOwnerCode: string - fromLocationCode: string -} - -// 查询调拨出库申请子列表 -export const getTransferissueRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/transferissue-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/transferissue-request-detail/page`, params }) - } -} - -// 查询调拨出库申请子详情 -export const getTransferissueRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/transferissue-request-detail/get?id=` + id }) -} - -// 新增调拨出库申请子 -export const createTransferissueRequestDetail = async (data: TransferissueRequestDetailVO) => { - return await request.post({ url: `/wms/transferissue-request-detail/create`, data }) -} - -// 修改调拨出库申请子 -export const updateTransferissueRequestDetail = async (data: TransferissueRequestDetailVO) => { - return await request.put({ url: `/wms/transferissue-request-detail/update`, data }) -} - -// 删除调拨出库申请子 -export const deleteTransferissueRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/transferissue-request-detail/delete?id=` + id }) -} - -// 导出调拨出库申请子 Excel -export const exportTransferissueRequestDetail = async (params) => { - return await request.download({ url: `/wms/transferissue-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/transferissue-request-detail/get-import-template' }) -} diff --git a/src/api/wms/transferissueRequestMain/index.ts b/src/api/wms/transferissueRequestMain/index.ts deleted file mode 100644 index 2842541..0000000 --- a/src/api/wms/transferissueRequestMain/index.ts +++ /dev/null @@ -1,100 +0,0 @@ -import request from '@/config/axios' - -export interface TransferissueRequestMainVO { - carrierCode: string - transferMode: string - vehiclePlateNumber: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - fromWarehouseCode: string - fromDockCode: string - fromLocationTypes: string - fromAreaCodes: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询调拨出库申请主列表 -export const getTransferissueRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/transferissue-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/transferissue-request-main/page`, params }) - } -} - -// 查询调拨出库申请主详情 -export const getTransferissueRequestMain = async (id: number) => { - return await request.get({ url: `/wms/transferissue-request-main/get?id=` + id }) -} - -// 新增-调拨出库申请主 -export const createTransferissueRequestMain = async (data: TransferissueRequestMainVO) => { - return await request.post({ url: `/wms/transferissue-request-main/create`, data }) -} - -// 修改-调拨出库申请主 -export const updateTransferissueRequestMain = async (data: TransferissueRequestMainVO) => { - return await request.put({ url: `/wms/transferissue-request-main/update`, data }) -} - -// 删除-调拨出库申请主 -export const deleteTransferissueRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/transferissue-request-main/delete?id=` + id }) -} - -// 导出-调拨出库申请主 Excel -export const exportTransferissueRequestMain = async (params) => { - return await request.download({ url: `/wms/transferissue-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/transferissue-request-main/get-import-template' }) -} - -// 关闭-调拨出库申请 -export const closeTransferissueRequestMain = async (id) => { - return await request.put({ url: `/wms/transferissue-request-main/close?id=` + id }) -} - -// 重新添加-调拨出库申请 -export const reAddTransferissueRequestMain = async (id) => { - return await request.put({ url: `/wms/transferissue-request-main/reAdd?id=` + id }) -} - -// 提交审批-调拨出库申请 -export const submitTransferissueRequestMain = async (id) => { - return await request.put({ url: `/wms/transferissue-request-main/submit?id=` + id }) -} - -// 审批驳回-调拨出库申请 -export const refusedTransferissueRequestMain = async (id) => { - return await request.put({ url: `/wms/transferissue-request-main/refused?id=` + id }) -} - -// 审批通过-调拨出库申请 -export const agreeTransferissueRequestMain = async (id) => { - return await request.put({ url: `/wms/transferissue-request-main/agree?id=` + id }) -} - -// 处理-调拨出库申请 -export const handleTransferissueRequestMain = async (id) => { - return await request.put({ url: `/wms/transferissue-request-main/handle?id=` + id }) -} diff --git a/src/api/wms/transferlog/index.ts b/src/api/wms/transferlog/index.ts deleted file mode 100644 index 43d8cbe..0000000 --- a/src/api/wms/transferlog/index.ts +++ /dev/null @@ -1,80 +0,0 @@ -import request from '@/config/axios' - -export interface TransferlogVO { - number: string - transactionType: string - worker: string - businessType: string - recordNumber: string - activeTime: Date - itemCode: string - uom: string - qty: number - altBatch: string - arriveDate: Date - produceDate: Date - expireDate: Date - fomTransactionNumber: string - fromPackingNumber: string - fromBatch: string - fromInventoryStatus: string - fromContainerNumber: string - fromLocationCode: string - fromWarehouseCode: string - fromAreaCode: string - fromLocationGroupCode: string - fromErpLocationCode: string - fromOwnerCode: string - toTransactionNumber: string - toPackingNumber: string - toBatch: string - toInventoryStatus: string - toContainerNumber: string - toLocationCode: string - toWarehouseCode: string - toAreaCode: string - toLocationGroupCode: string - toErpLocationCode: string - toOwnerCode: string -} - -// 查询库存转移日志列表 -export const getTransferlogPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/transferlog/senior', data }) - } else { - return await request.get({ url: `/wms/transferlog/page`, params }) - } -} - -// 查询库存转移日志详情 -export const getTransferlog = async (id: number) => { - return await request.get({ url: `/wms/transferlog/get?id=` + id }) -} - -// 新增库存转移日志 -export const createTransferlog = async (data: TransferlogVO) => { - return await request.post({ url: `/wms/transferlog/create`, data }) -} - -// 修改库存转移日志 -export const updateTransferlog = async (data: TransferlogVO) => { - return await request.put({ url: `/wms/transferlog/update`, data }) -} - -// 删除库存转移日志 -export const deleteTransferlog = async (id: number) => { - return await request.delete({ url: `/wms/transferlog/delete?id=` + id }) -} - -// 导出库存转移日志 Excel -export const exportTransferlog = async (params) => { - return await request.download({ url: `/wms/transferlog/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/transferlog/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/transferreceiptJobDetail/index.ts b/src/api/wms/transferreceiptJobDetail/index.ts deleted file mode 100644 index f424cc4..0000000 --- a/src/api/wms/transferreceiptJobDetail/index.ts +++ /dev/null @@ -1,64 +0,0 @@ -import request from '@/config/axios' - -export interface TransferreceiptJobDetailVO { - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - fromLocationCode: string - toLocationCode: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string - fromOwnerCode: string - toOwnerCode: string -} - -// 查询调拨入库任务子列表 -export const getTransferreceiptJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/transferreceipt-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/transferreceipt-job-detail/page`, params }) - } -} - -// 查询调拨入库任务子详情 -export const getTransferreceiptJobDetail = async (id: number) => { - return await request.get({ url: `/wms/transferreceipt-job-detail/get?id=` + id }) -} - -// 新增调拨入库任务子 -export const createTransferreceiptJobDetail = async (data: TransferreceiptJobDetailVO) => { - return await request.post({ url: `/wms/transferreceipt-job-detail/create`, data }) -} - -// 修改调拨入库任务子 -export const updateTransferreceiptJobDetail = async (data: TransferreceiptJobDetailVO) => { - return await request.put({ url: `/wms/transferreceipt-job-detail/update`, data }) -} - -// 删除调拨入库任务子 -export const deleteTransferreceiptJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/transferreceipt-job-detail/delete?id=` + id }) -} - -// 导出调拨入库任务子 Excel -export const exportTransferreceiptJobDetail = async (params) => { - return await request.download({ url: `/wms/transferreceipt-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/transferreceipt-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/transferreceiptJobMain/index.ts b/src/api/wms/transferreceiptJobMain/index.ts deleted file mode 100644 index d2538c3..0000000 --- a/src/api/wms/transferreceiptJobMain/index.ts +++ /dev/null @@ -1,85 +0,0 @@ -import request from '@/config/axios' - -export interface TransferreceiptJobMainVO { - requestNumber: string - toDockCode: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - fromWarehouseCode: string - toWarehouseCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromAreaCodes: string - toAreaCodes: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询调拨入库任务主列表 -export const getTransferreceiptJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/transferreceipt-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/transferreceipt-job-main/page`, params }) - } -} - -// 查询调拨入库任务主详情 -export const getTransferreceiptJobMain = async (id: number) => { - return await request.get({ url: `/wms/transferreceipt-job-main/get?id=` + id }) -} - -// 新增调拨入库任务主 -export const createTransferreceiptJobMain = async (data: TransferreceiptJobMainVO) => { - return await request.post({ url: `/wms/transferreceipt-job-main/create`, data }) -} - -// 修改调拨入库任务主 -export const updateTransferreceiptJobMain = async (data: TransferreceiptJobMainVO) => { - return await request.put({ url: `/wms/transferreceipt-job-main/update`, data }) -} - -// 删除调拨入库任务主 -export const deleteTransferreceiptJobMain = async (id: number) => { - return await request.delete({ url: `/wms/transferreceipt-job-main/delete?id=` + id }) -} - -// 导出调拨入库任务主 Excel -export const exportTransferreceiptJobMain = async (params) => { - return await request.download({ url: `/wms/transferreceipt-job-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/transferreceipt-job-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/transferreceiptRecordDetail/index.ts b/src/api/wms/transferreceiptRecordDetail/index.ts deleted file mode 100644 index 869ea1e..0000000 --- a/src/api/wms/transferreceiptRecordDetail/index.ts +++ /dev/null @@ -1,74 +0,0 @@ -import request from '@/config/axios' - -export interface TransferreceiptRecordDetailVO { - fromBatch: string - inventoryStatus: string - fromOwnerCode: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - toOwnerCode: string - toLocationCode: string - toLocationGroupCode: string - toAreaCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - jobDetailId: string - fromPackingNumber: string - toPackingNumber: string - fromContainerNumber: string - toContainerNumber: string - toBatch: string -} - -// 查询调拨入库记录子列表 -export const getTransferreceiptRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/transferreceipt-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/transferreceipt-record-detail/page`, params }) - } -} - -// 查询调拨入库记录子详情 -export const getTransferreceiptRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/transferreceipt-record-detail/get?id=` + id }) -} - -// 新增调拨入库记录子 -export const createTransferreceiptRecordDetail = async (data: TransferreceiptRecordDetailVO) => { - return await request.post({ url: `/wms/transferreceipt-record-detail/create`, data }) -} - -// 修改调拨入库记录子 -export const updateTransferreceiptRecordDetail = async (data: TransferreceiptRecordDetailVO) => { - return await request.put({ url: `/wms/transferreceipt-record-detail/update`, data }) -} - -// 删除调拨入库记录子 -export const deleteTransferreceiptRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/transferreceipt-record-detail/delete?id=` + id }) -} - -// 导出调拨入库记录子 Excel -export const exportTransferreceiptRecordDetail = async (params) => { - return await request.download({ url: `/wms/transferreceipt-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/transferreceipt-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/transferreceiptRecordMain/index.ts b/src/api/wms/transferreceiptRecordMain/index.ts deleted file mode 100644 index ec41b42..0000000 --- a/src/api/wms/transferreceiptRecordMain/index.ts +++ /dev/null @@ -1,73 +0,0 @@ -import request from '@/config/axios' - -export interface TransferreceiptRecordMainVO { - requestNumber: string - jobNumber: string - receiptDock: string - carrierCode: string - transferMode: string - vehiclePlateNumber: string - fromWarehouseCode: string - toWarehouseCode: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - code: string - interfaceType: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromLocationTypes: string - fromAreaCodes: string - toDockCode: string - toLocationTypes: string - toAreaCodes: string - available: string -} - -// 查询调拨入库记录主列表 -export const getTransferreceiptRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/transferreceipt-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/transferreceipt-record-main/page`, params }) - } -} - -// 查询调拨入库记录主详情 -export const getTransferreceiptRecordMain = async (id: number) => { - return await request.get({ url: `/wms/transferreceipt-record-main/get?id=` + id }) -} - -// 新增调拨入库记录主 -export const createTransferreceiptRecordMain = async (data: TransferreceiptRecordMainVO) => { - return await request.post({ url: `/wms/transferreceipt-record-main/create`, data }) -} - -// 修改调拨入库记录主 -export const updateTransferreceiptRecordMain = async (data: TransferreceiptRecordMainVO) => { - return await request.put({ url: `/wms/transferreceipt-record-main/update`, data }) -} - -// 删除调拨入库记录主 -export const deleteTransferreceiptRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/transferreceipt-record-main/delete?id=` + id }) -} - -// 导出调拨入库记录主 Excel -export const exportTransferreceiptRecordMain = async (params) => { - return await request.download({ url: `/wms/transferreceipt-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/transferreceipt-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/transferreceiptRequestDetail/index.ts b/src/api/wms/transferreceiptRequestDetail/index.ts deleted file mode 100644 index bcaa5b2..0000000 --- a/src/api/wms/transferreceiptRequestDetail/index.ts +++ /dev/null @@ -1,65 +0,0 @@ -import request from '@/config/axios' - -export interface TransferreceiptRequestDetailVO { - packingNumber: string - containerNumber: string - batch: string - inventoryStatus: string - fromOwnerCode: string - fromLocationCode: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string - toOwnerCode: string -} - -// 查询调拨入库申请子列表 -export const getTransferreceiptRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/transferreceipt-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/transferreceipt-request-detail/page`, params }) - } -} - -// 查询调拨入库申请子详情 -export const getTransferreceiptRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/transferreceipt-request-detail/get?id=` + id }) -} - -// 新增调拨入库申请子 -export const createTransferreceiptRequestDetail = async (data: TransferreceiptRequestDetailVO) => { - return await request.post({ url: `/wms/transferreceipt-request-detail/create`, data }) -} - -// 修改调拨入库申请子 -export const updateTransferreceiptRequestDetail = async (data: TransferreceiptRequestDetailVO) => { - return await request.put({ url: `/wms/transferreceipt-request-detail/update`, data }) -} - -// 删除调拨入库申请子 -export const deleteTransferreceiptRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/transferreceipt-request-detail/delete?id=` + id }) -} - -// 导出调拨入库申请子 Excel -export const exportTransferreceiptRequestDetail = async (params) => { - return await request.download({ url: `/wms/transferreceipt-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/transferreceipt-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/transferreceiptRequestMain/index.ts b/src/api/wms/transferreceiptRequestMain/index.ts deleted file mode 100644 index dcf0e53..0000000 --- a/src/api/wms/transferreceiptRequestMain/index.ts +++ /dev/null @@ -1,100 +0,0 @@ -import request from '@/config/axios' - -export interface TransferreceiptRequestMainVO { - carrierCode: string - transferMode: string - vehiclePlateNumber: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - fromWarehouseCode: string - toDockCode: string - fromLocationTypes: string - fromAreaCodes: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询调拨入库申请主列表 -export const getTransferreceiptRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/transferreceipt-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/transferreceipt-request-main/page`, params }) - } -} - -// 查询调拨入库申请主详情 -export const getTransferreceiptRequestMain = async (id: number) => { - return await request.get({ url: `/wms/transferreceipt-request-main/get?id=` + id }) -} - -// 新增调拨入库申请主 -export const createTransferreceiptRequestMain = async (data: TransferreceiptRequestMainVO) => { - return await request.post({ url: `/wms/transferreceipt-request-main/create`, data }) -} - -// 修改调拨入库申请主 -export const updateTransferreceiptRequestMain = async (data: TransferreceiptRequestMainVO) => { - return await request.put({ url: `/wms/transferreceipt-request-main/update`, data }) -} - -// 删除调拨入库申请主 -export const deleteTransferreceiptRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/transferreceipt-request-main/delete?id=` + id }) -} - -// 导出调拨入库申请主 Excel -export const exportTransferreceiptRequestMain = async (params) => { - return await request.download({ url: `/wms/transferreceipt-request-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - // return request.download({ url: '/wms/transferreceipt-request-main/get-import-template' }) -} - -// 关闭-调拨入库申请 -export const closeTransferreceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/transferreceipt-request-main/close?id=` + id }) -} - -// 重新添加-调拨入库申请 -export const reAddTransferreceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/transferreceipt-request-main/reAdd?id=` + id }) -} - -// 提交审批-调拨入库申请 -export const submitTransferreceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/transferreceipt-request-main/submit?id=` + id }) -} - -// 审批驳回-调拨入库申请 -export const refusedTransferreceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/transferreceipt-request-main/refused?id=` + id }) -} - -// 审批通过-调拨入库申请 -export const agreeTransferreceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/transferreceipt-request-main/agree?id=` + id }) -} - -// 处理-调拨入库申请 -export const handleTransferreceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/transferreceipt-request-main/handle?id=` + id }) -} diff --git a/src/api/wms/unplannedissueJobDetail/index.ts b/src/api/wms/unplannedissueJobDetail/index.ts deleted file mode 100644 index 62afa1f..0000000 --- a/src/api/wms/unplannedissueJobDetail/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import request from '@/config/axios' - -export interface UnplannedissueJobDetailVO { - ownerCode: string - packingNumber: string - containerNumber: string - batch: string - fromLocationCode: string - inventoryStatus: string - reason: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string -} - -// 查询计划外出库任务子列表 -export const getUnplannedissueJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/unplannedissue-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/unplannedissue-job-detail/page`, params }) - } -} - -// 查询计划外出库任务子详情 -export const getUnplannedissueJobDetail = async (id: number) => { - return await request.get({ url: `/wms/unplannedissue-job-detail/get?id=` + id }) -} - -// 新增计划外出库任务子 -export const createUnplannedissueJobDetail = async (data: UnplannedissueJobDetailVO) => { - return await request.post({ url: `/wms/unplannedissue-job-detail/create`, data }) -} - -// 修改计划外出库任务子 -export const updateUnplannedissueJobDetail = async (data: UnplannedissueJobDetailVO) => { - return await request.put({ url: `/wms/unplannedissue-job-detail/update`, data }) -} - -// 删除计划外出库任务子 -export const deleteUnplannedissueJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/unplannedissue-job-detail/delete?id=` + id }) -} - -// 导出计划外出库任务子 Excel -export const exportUnplannedissueJobDetail = async (params) => { - return await request.download({ url: `/wms/unplannedissue-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/unplannedissue-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/unplannedissueJobMain/index.ts b/src/api/wms/unplannedissueJobMain/index.ts deleted file mode 100644 index ce835fe..0000000 --- a/src/api/wms/unplannedissueJobMain/index.ts +++ /dev/null @@ -1,79 +0,0 @@ -import request from '@/config/axios' - -export interface UnplannedissueJobMainVO { - requestNumber: string - fromWarehouseCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - fromAreaCodes: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询计划外出库任务主列表 -export const getUnplannedissueJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/unplannedissue-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/unplannedissue-job-main/page`, params }) - } -} - -// 查询计划外出库任务主详情 -export const getUnplannedissueJobMain = async (id: number) => { - return await request.get({ url: `/wms/unplannedissue-job-main/get?id=` + id }) -} - -// 新增计划外出库任务主 -export const createUnplannedissueJobMain = async (data: UnplannedissueJobMainVO) => { - return await request.post({ url: `/wms/unplannedissue-job-main/create`, data }) -} - -// 修改计划外出库任务主 -export const updateUnplannedissueJobMain = async (data: UnplannedissueJobMainVO) => { - return await request.put({ url: `/wms/unplannedissue-job-main/update`, data }) -} - -// 删除计划外出库任务主 -export const deleteUnplannedissueJobMain = async (id: number) => { - return await request.delete({ url: `/wms/unplannedissue-job-main/delete?id=` + id }) -} - -// 导出计划外出库任务主 Excel -export const exportUnplannedissueJobMain = async (params) => { - return await request.download({ url: `/wms/unplannedissue-job-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/unplannedissue-job-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/unplannedissueRecordDetail/index.ts b/src/api/wms/unplannedissueRecordDetail/index.ts deleted file mode 100644 index a8dd317..0000000 --- a/src/api/wms/unplannedissueRecordDetail/index.ts +++ /dev/null @@ -1,70 +0,0 @@ -import request from '@/config/axios' - -export interface UnplannedissueRecordDetailVO { - ownerCode: string - packingNumber: string - containerNumber: string - batch: string - fromLocationCode: string - fromLocationGroupCode: string - fromAreaCode: string - inventoryStatus: string - reason: string - singlePrice: number - amount: number - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - jobDetailId: string -} - -// 查询计划外出库记录子列表 -export const getUnplannedissueRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/unplannedissue-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/unplannedissue-record-detail/page`, params }) - } -} - -// 查询计划外出库记录子详情 -export const getUnplannedissueRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/unplannedissue-record-detail/get?id=` + id }) -} - -// 新增计划外出库记录子 -export const createUnplannedissueRecordDetail = async (data: UnplannedissueRecordDetailVO) => { - return await request.post({ url: `/wms/unplannedissue-record-detail/create`, data }) -} - -// 修改计划外出库记录子 -export const updateUnplannedissueRecordDetail = async (data: UnplannedissueRecordDetailVO) => { - return await request.put({ url: `/wms/unplannedissue-record-detail/update`, data }) -} - -// 删除计划外出库记录子 -export const deleteUnplannedissueRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/unplannedissue-record-detail/delete?id=` + id }) -} - -// 导出计划外出库记录子 Excel -export const exportUnplannedissueRecordDetail = async (params) => { - return await request.download({ url: `/wms/unplannedissue-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/unplannedissue-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/unplannedissueRecordMain/index.ts b/src/api/wms/unplannedissueRecordMain/index.ts deleted file mode 100644 index c0544e0..0000000 --- a/src/api/wms/unplannedissueRecordMain/index.ts +++ /dev/null @@ -1,66 +0,0 @@ -import request from '@/config/axios' - -export interface UnplannedissueRecordMainVO { - requestNumber: string - jobNumber: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - code: string - number: string - businessType: string - remark: string - createTime: Date - creatorId: string - fromWarehouseCode: string - fromLocationTypes: string - fromAreaCodes: string - fromDockCode: string - available: string -} - -// 查询计划外出库记录主列表 -export const getUnplannedissueRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/unplannedissue-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/unplannedissue-record-main/page`, params }) - } -} - -// 查询计划外出库记录主详情 -export const getUnplannedissueRecordMain = async (id: number) => { - return await request.get({ url: `/wms/unplannedissue-record-main/get?id=` + id }) -} - -// 新增计划外出库记录主 -export const createUnplannedissueRecordMain = async (data: UnplannedissueRecordMainVO) => { - return await request.post({ url: `/wms/unplannedissue-record-main/create`, data }) -} - -// 修改计划外出库记录主 -export const updateUnplannedissueRecordMain = async (data: UnplannedissueRecordMainVO) => { - return await request.put({ url: `/wms/unplannedissue-record-main/update`, data }) -} - -// 删除计划外出库记录主 -export const deleteUnplannedissueRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/unplannedissue-record-main/delete?id=` + id }) -} - -// 导出计划外出库记录主 Excel -export const exportUnplannedissueRecordMain = async (params) => { - return await request.download({ url: `/wms/unplannedissue-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/unplannedissue-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/unplannedissueRequestDetail/index.ts b/src/api/wms/unplannedissueRequestDetail/index.ts deleted file mode 100644 index e5105fc..0000000 --- a/src/api/wms/unplannedissueRequestDetail/index.ts +++ /dev/null @@ -1,65 +0,0 @@ -import request from '@/config/axios' - -export interface UnplannedissueRequestDetailVO { - fromOwnerCode: string - packingNumber: string - containerNumber: string - batch: string - fromLocationCode: string - inventoryStatus: string - reason: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string -} - -// 查询计划外出库申请子列表 -export const getUnplannedissueRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/unplannedissue-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/unplannedissue-request-detail/page`, params }) - } -} - -// 查询计划外出库申请子详情 -export const getUnplannedissueRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/unplannedissue-request-detail/get?id=` + id }) -} - -// 新增计划外出库申请子 -export const createUnplannedissueRequestDetail = async (data: UnplannedissueRequestDetailVO) => { - return await request.post({ url: `/wms/unplannedissue-request-detail/create`, data }) -} - -// 修改计划外出库申请子 -export const updateUnplannedissueRequestDetail = async (data: UnplannedissueRequestDetailVO) => { - return await request.put({ url: `/wms/unplannedissue-request-detail/update`, data }) -} - -// 删除计划外出库申请子 -export const deleteUnplannedissueRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/unplannedissue-request-detail/delete?id=` + id }) -} - -// 导出计划外出库申请子 Excel -export const exportUnplannedissueRequestDetail = async (params) => { - return await request.download({ url: `/wms/unplannedissue-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/unplannedissue-request-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/unplannedissueRequestMain/index.ts b/src/api/wms/unplannedissueRequestMain/index.ts deleted file mode 100644 index b0a4f09..0000000 --- a/src/api/wms/unplannedissueRequestMain/index.ts +++ /dev/null @@ -1,99 +0,0 @@ -import request from '@/config/axios' - -export interface UnplannedissueRequestMainVO { - fromWarehouseCode: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - concurrencyStamp: string - fromLocationTypes: string - fromAreaCodes: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询计划外出库申请主列表 -export const getUnplannedissueRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/unplannedissue-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/unplannedissue-request-main/page`, params }) - } -} - -// 查询计划外出库申请主详情 -export const getUnplannedissueRequestMain = async (id: number) => { - return await request.get({ url: `/wms/unplannedissue-request-main/get?id=` + id }) -} - -// 新增计划外出库申请主 -export const createUnplannedissueRequestMain = async (data: UnplannedissueRequestMainVO) => { - return await request.post({ url: `/wms/unplannedissue-request-main/create`, data }) -} - -// 修改计划外出库申请主 -export const updateUnplannedissueRequestMain = async (data: UnplannedissueRequestMainVO) => { - return await request.put({ url: `/wms/unplannedissue-request-main/update`, data }) -} - -// 删除计划外出库申请主 -export const deleteUnplannedissueRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/unplannedissue-request-main/delete?id=` + id }) -} - -// 导出计划外出库申请主 Excel -export const exportUnplannedissueRequestMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/unplannedissue-request-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/unplannedissue-request-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/unplannedissue-request-main/get-import-template' }) -} - -// 关闭-计划外出库申请 -export const closeUnplannedissueRequestMain = async (id) => { - return await request.put({ url: `/wms/unplannedissue-request-main/close?id=` + id }) -} - -// 重新添加-计划外出库申请 -export const reAddUnplannedissueRequestMain = async (id) => { - return await request.put({ url: `/wms/unplannedissue-request-main/reAdd?id=` + id }) -} - -// 提交审批-计划外出库申请 -export const submitUnplannedissueRequestMain = async (id) => { - return await request.put({ url: `/wms/unplannedissue-request-main/submit?id=` + id }) -} - -// 审批驳回-计划外出库申请 -export const refusedUnplannedissueRequestMain = async (id) => { - return await request.put({ url: `/wms/unplannedissue-request-main/refused?id=` + id }) -} - -// 审批通过-计划外出库申请 -export const agreeUnplannedissueRequestMain = async (id) => { - return await request.put({ url: `/wms/unplannedissue-request-main/agree?id=` + id }) -} - -// 处理-计划外出库申请 -export const handleUnplannedissueRequestMain = async (id) => { - return await request.put({ url: `/wms/unplannedissue-request-main/handle?id=` + id }) -} diff --git a/src/api/wms/unplannedreceiptJobDetail/index.ts b/src/api/wms/unplannedreceiptJobDetail/index.ts deleted file mode 100644 index 450f813..0000000 --- a/src/api/wms/unplannedreceiptJobDetail/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface UnplannedreceiptJobDetailVO { - ownerCode: string - packingNumber: string - containerNumber: string - batch: string - altBatch: string - arriveDate: Date - produceDate: Date - expireDate: Date - toLocationCode: string - inventoryStatus: string - reason: string - itemCode: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - number: string - remark: string - createTime: Date - creator: string -} - -// 查询计划外入库任务子列表 -export const getUnplannedreceiptJobDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/unplannedreceipt-job-detail/senior', data }) - } else { - return await request.get({ url: `/wms/unplannedreceipt-job-detail/page`, params }) - } -} - -// 查询计划外入库任务子详情 -export const getUnplannedreceiptJobDetail = async (id: number) => { - return await request.get({ url: `/wms/unplannedreceipt-job-detail/get?id=` + id }) -} - -// 新增计划外入库任务子 -export const createUnplannedreceiptJobDetail = async (data: UnplannedreceiptJobDetailVO) => { - return await request.post({ url: `/wms/unplannedreceipt-job-detail/create`, data }) -} - -// 修改计划外入库任务子 -export const updateUnplannedreceiptJobDetail = async (data: UnplannedreceiptJobDetailVO) => { - return await request.put({ url: `/wms/unplannedreceipt-job-detail/update`, data }) -} - -// 删除计划外入库任务子 -export const deleteUnplannedreceiptJobDetail = async (id: number) => { - return await request.delete({ url: `/wms/unplannedreceipt-job-detail/delete?id=` + id }) -} - -// 导出计划外入库任务子 Excel -export const exportUnplannedreceiptJobDetail = async (params) => { - return await request.download({ url: `/wms/unplannedreceipt-job-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/unplannedreceipt-job-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/unplannedreceiptJobMain/index.ts b/src/api/wms/unplannedreceiptJobMain/index.ts deleted file mode 100644 index 88e2f8e..0000000 --- a/src/api/wms/unplannedreceiptJobMain/index.ts +++ /dev/null @@ -1,79 +0,0 @@ -import request from '@/config/axios' - -export interface UnplannedreceiptJobMainVO { - requestNumber: string - toWarehouseCode: string - requestTime: Date - requestDueTime: Date - status: string - expiredTime: Date - updateTime: Date - updater: string - jobStageStatus: string - priority: number - priorityIncrement: number - departmentCode: string - acceptUserId: string - acceptTime: Date - completeUserId: string - completeTime: Date - fromLocationTypes: string - toLocationTypes: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - toAreaCodes: string - autoComplete: string - allowModifyLocation: string - allowModifyQty: string - allowBiggerQty: string - allowSmallerQty: string - allowModifyInventoryStatus: string - allowContinuousScanning: string - allowPartialComplete: string - allowModifyBatch: string - allowModifyPackingNumber: string -} - -// 查询计划外入库任务主列表 -export const getUnplannedreceiptJobMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/unplannedreceipt-job-main/senior', data }) - } else { - return await request.get({ url: `/wms/unplannedreceipt-job-main/page`, params }) - } -} - -// 查询计划外入库任务主详情 -export const getUnplannedreceiptJobMain = async (id: number) => { - return await request.get({ url: `/wms/unplannedreceipt-job-main/get?id=` + id }) -} - -// 新增计划外入库任务主 -export const createUnplannedreceiptJobMain = async (data: UnplannedreceiptJobMainVO) => { - return await request.post({ url: `/wms/unplannedreceipt-job-main/create`, data }) -} - -// 修改计划外入库任务主 -export const updateUnplannedreceiptJobMain = async (data: UnplannedreceiptJobMainVO) => { - return await request.put({ url: `/wms/unplannedreceipt-job-main/update`, data }) -} - -// 删除计划外入库任务主 -export const deleteUnplannedreceiptJobMain = async (id: number) => { - return await request.delete({ url: `/wms/unplannedreceipt-job-main/delete?id=` + id }) -} - -// 导出计划外入库任务主 Excel -export const exportUnplannedreceiptJobMain = async (params) => { - return await request.download({ url: `/wms/unplannedreceipt-job-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/unplannedreceipt-job-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/unplannedreceiptRecordDetail/index.ts b/src/api/wms/unplannedreceiptRecordDetail/index.ts deleted file mode 100644 index 458ebab..0000000 --- a/src/api/wms/unplannedreceiptRecordDetail/index.ts +++ /dev/null @@ -1,74 +0,0 @@ -import request from '@/config/axios' - -export interface UnplannedreceiptRecordDetailVO { - ownerCode: string - packingNumber: string - containerNumber: string - batch: string - altBatch: string - arriveDate: Date - produceDate: Date - expireDate: Date - toLocationCode: string - toLocationGroupCode: string - toAreaCode: string - inventoryStatus: string - reason: string - singlePrice: number - amount: number - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - code: string - interfaceType: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - jobDetailId: string -} - -// 查询计划外入库记录子列表 -export const getUnplannedreceiptRecordDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/unplannedreceipt-record-detail/senior', data }) - } else { - return await request.get({ url: `/wms/unplannedreceipt-record-detail/page`, params }) - } -} - -// 查询计划外入库记录子详情 -export const getUnplannedreceiptRecordDetail = async (id: number) => { - return await request.get({ url: `/wms/unplannedreceipt-record-detail/get?id=` + id }) -} - -// 新增计划外入库记录子 -export const createUnplannedreceiptRecordDetail = async (data: UnplannedreceiptRecordDetailVO) => { - return await request.post({ url: `/wms/unplannedreceipt-record-detail/create`, data }) -} - -// 修改计划外入库记录子 -export const updateUnplannedreceiptRecordDetail = async (data: UnplannedreceiptRecordDetailVO) => { - return await request.put({ url: `/wms/unplannedreceipt-record-detail/update`, data }) -} - -// 删除计划外入库记录子 -export const deleteUnplannedreceiptRecordDetail = async (id: number) => { - return await request.delete({ url: `/wms/unplannedreceipt-record-detail/delete?id=` + id }) -} - -// 导出计划外入库记录子 Excel -export const exportUnplannedreceiptRecordDetail = async (params) => { - return await request.download({ url: `/wms/unplannedreceipt-record-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/unplannedreceipt-record-detail/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/unplannedreceiptRecordMain/index.ts b/src/api/wms/unplannedreceiptRecordMain/index.ts deleted file mode 100644 index e54a19f..0000000 --- a/src/api/wms/unplannedreceiptRecordMain/index.ts +++ /dev/null @@ -1,65 +0,0 @@ -import request from '@/config/axios' - -export interface UnplannedreceiptRecordMainVO { - requestNumber: string - jobNumber: string - outTransactionType: string - inTransactionType: string - executeTime: Date - activeDate: Date - requestTime: Date - dueTime: Date - departmentCode: string - interfaceType: string - code: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - toWarehouseCode: string - toLocationTypes: string - toAreaCodes: string - available: string -} - -// 查询计划外入库记录主列表 -export const getUnplannedreceiptRecordMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/unplannedreceipt-record-main/senior', data }) - } else { - return await request.get({ url: `/wms/unplannedreceipt-record-main/page`, params }) - } -} - -// 查询计划外入库记录主详情 -export const getUnplannedreceiptRecordMain = async (id: number) => { - return await request.get({ url: `/wms/unplannedreceipt-record-main/get?id=` + id }) -} - -// 新增计划外入库记录主 -export const createUnplannedreceiptRecordMain = async (data: UnplannedreceiptRecordMainVO) => { - return await request.post({ url: `/wms/unplannedreceipt-record-main/create`, data }) -} - -// 修改计划外入库记录主 -export const updateUnplannedreceiptRecordMain = async (data: UnplannedreceiptRecordMainVO) => { - return await request.put({ url: `/wms/unplannedreceipt-record-main/update`, data }) -} - -// 删除计划外入库记录主 -export const deleteUnplannedreceiptRecordMain = async (id: number) => { - return await request.delete({ url: `/wms/unplannedreceipt-record-main/delete?id=` + id }) -} - -// 导出计划外入库记录主 Excel -export const exportUnplannedreceiptRecordMain = async (params) => { - return await request.download({ url: `/wms/unplannedreceipt-record-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/unplannedreceipt-record-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/unplannedreceiptRequestDetail/index.ts b/src/api/wms/unplannedreceiptRequestDetail/index.ts deleted file mode 100644 index c62a7e1..0000000 --- a/src/api/wms/unplannedreceiptRequestDetail/index.ts +++ /dev/null @@ -1,74 +0,0 @@ -import request from '@/config/axios' - -export interface UnplannedreceiptRequestDetailVO { - toOwnerCode: string - packingNumber: string - containerNumber: string - batch: string - altBatch: string - arriveDate: Date - produceDate: Date - expireDate: Date - toLocationCode: string - inventoryStatus: string - reason: string - number: string - itemCode: string - remark: string - createTime: Date - creator: string - itemName: string - itemDesc1: string - itemDesc2: string - projectCode: string - qty: number - uom: string - updateTime: Date - updater: string -} - -// 查询计划外入库申请子列表 -export const getUnplannedreceiptRequestDetailPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/unplannedreceipt-request-detail/senior', data }) - } else { - return await request.get({ url: `/wms/unplannedreceipt-request-detail/page`, params }) - } -} - -// 查询计划外入库申请子详情 -export const getUnplannedreceiptRequestDetail = async (id: number) => { - return await request.get({ url: `/wms/unplannedreceipt-request-detail/get?id=` + id }) -} - -// 新增计划外入库申请子 -export const createUnplannedreceiptRequestDetail = async (data: UnplannedreceiptRequestDetailVO) => { - return await request.post({ url: `/wms/unplannedreceipt-request-detail/create`, data }) -} - -// 修改计划外入库申请子 -export const updateUnplannedreceiptRequestDetail = async (data: UnplannedreceiptRequestDetailVO) => { - return await request.put({ url: `/wms/unplannedreceipt-request-detail/update`, data }) -} - -// 删除计划外入库申请子 -export const deleteUnplannedreceiptRequestDetail = async (id: number) => { - return await request.delete({ url: `/wms/unplannedreceipt-request-detail/delete?id=` + id }) -} - -// 导出计划外入库申请子 Excel -export const exportUnplannedreceiptRequestDetail = async (params) => { - return await request.download({ url: `/wms/unplannedreceipt-request-detail/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/unplannedreceipt-request-detail/get-import-template' }) -} - -// 创建包装信息后更新子表数据packingNumber -export const updateDetailPackingNumber = async (id: number, number) => { - return await request.put({ url: '/wms/unplannedreceipt-request-detail/updateDetailPackingNumber?id=' + id + '&number=' + number }) -} diff --git a/src/api/wms/unplannedreceiptRequestMain/index.ts b/src/api/wms/unplannedreceiptRequestMain/index.ts deleted file mode 100644 index 30b0243..0000000 --- a/src/api/wms/unplannedreceiptRequestMain/index.ts +++ /dev/null @@ -1,98 +0,0 @@ -import request from '@/config/axios' - -export interface UnplannedreceiptRequestMainVO { - toWarehouseCode: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - requestTime: Date - dueTime: Date - departmentCode: string - status: string - updateTime: Date - updater: string - toLocationTypes: string - toAreaCodes: string - autoCommit: string - autoAgree: string - autoExecute: string - directCreateRecord: string -} - -// 查询计划外入库申请主列表 -export const getUnplannedreceiptRequestMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/unplannedreceipt-request-main/senior', data }) - } else { - return await request.get({ url: `/wms/unplannedreceipt-request-main/page`, params }) - } -} - -// 查询计划外入库申请主详情 -export const getUnplannedreceiptRequestMain = async (id: number) => { - return await request.get({ url: `/wms/unplannedreceipt-request-main/get?id=` + id }) -} - -// 新增计划外入库申请主 -export const createUnplannedreceiptRequestMain = async (data: UnplannedreceiptRequestMainVO) => { - return await request.post({ url: `/wms/unplannedreceipt-request-main/create`, data }) -} - -// 修改计划外入库申请主 -export const updateUnplannedreceiptRequestMain = async (data: UnplannedreceiptRequestMainVO) => { - return await request.put({ url: `/wms/unplannedreceipt-request-main/update`, data }) -} - -// 删除计划外入库申请主 -export const deleteUnplannedreceiptRequestMain = async (id: number) => { - return await request.delete({ url: `/wms/unplannedreceipt-request-main/delete?id=` + id }) -} - -// 导出计划外入库申请主 Excel -export const exportUnplannedreceiptRequestMain = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/unplannedreceipt-request-main/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/unplannedreceipt-request-main/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/unplannedreceipt-request-main/get-import-template' }) -} - -// 关闭-计划外入库申请 -export const closeUnplannedreceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/unplannedreceipt-request-main/close?id=` + id }) -} - -// 重新添加-计划外入库申请 -export const reAddUnplannedreceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/unplannedreceipt-request-main/reAdd?id=` + id }) -} - -// 提交审批-计划外入库申请 -export const submitUnplannedreceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/unplannedreceipt-request-main/submit?id=` + id }) -} - -// 审批驳回-计划外入库申请 -export const refusedUnplannedreceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/unplannedreceipt-request-main/refused?id=` + id }) -} - -// 审批通过-计划外入库申请 -export const agreeUnplannedreceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/unplannedreceipt-request-main/agree?id=` + id }) -} - -// 处理-计划外入库申请 -export const handleUnplannedreceiptRequestMain = async (id) => { - return await request.put({ url: `/wms/unplannedreceipt-request-main/handle?id=` + id }) -} diff --git a/src/api/wms/warehouse/index.ts b/src/api/wms/warehouse/index.ts deleted file mode 100644 index 882fac2..0000000 --- a/src/api/wms/warehouse/index.ts +++ /dev/null @@ -1,61 +0,0 @@ -import request from '@/config/axios' - -export interface WarehouseVO { - code: string - name: string - description: string - type: string - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询仓库列表 -export const getWarehousePage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/warehouse/senior', data }) - } else { - return await request.get({ url: `/wms/warehouse/page`, params }) - } -} -// 查询仓库所有列表 -export const getWarehouseList = async (params) => { - return await request.get({ url: `/wms/warehouse/list`, params }) -} -// 查询仓库详情 -export const getWarehouse = async (id: number) => { - return await request.get({ url: `/wms/warehouse/get?id=` + id }) -} - -// 新增仓库 -export const createWarehouse = async (data: WarehouseVO) => { - return await request.post({ url: `/wms/warehouse/create`, data }) -} - -// 修改仓库 -export const updateWarehouse = async (data: WarehouseVO) => { - return await request.put({ url: `/wms/warehouse/update`, data }) -} - -// 删除仓库 -export const deleteWarehouse = async (id: number) => { - return await request.delete({ url: `/wms/warehouse/delete?id=` + id }) -} - -// 导出仓库 Excel -export const exportWarehouse = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/warehouse/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/warehouse/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/warehouse/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/workDetail/index.ts b/src/api/wms/workDetail/index.ts deleted file mode 100644 index 2c5a1c8..0000000 --- a/src/api/wms/workDetail/index.ts +++ /dev/null @@ -1,47 +0,0 @@ -import request from '@/config/axios' - -export interface WorkDetailVO { - lineNumber: string - projectCode: string - finishedQty: number - number: string - itemCode: string - remark: string - createTime: Date - creator: string - orderQty: number - uom: string - updateTime: Date - updater: string - available: string -} - -// 查询生产订单子列表 -export const getWorkDetailPage = async (params) => { - return await request.get({ url: `/wms/work-detail/page`, params }) -} - -// 查询生产订单子详情 -export const getWorkDetail = async (id: number) => { - return await request.get({ url: `/wms/work-detail/get?id=` + id }) -} - -// 新增生产订单子 -export const createWorkDetail = async (data: WorkDetailVO) => { - return await request.post({ url: `/wms/work-detail/create`, data }) -} - -// 修改生产订单子 -export const updateWorkDetail = async (data: WorkDetailVO) => { - return await request.put({ url: `/wms/work-detail/update`, data }) -} - -// 删除生产订单子 -export const deleteWorkDetail = async (id: number) => { - return await request.delete({ url: `/wms/work-detail/delete?id=` + id }) -} - -// 导出生产订单子 Excel -export const exportWorkDetail = async (params) => { - return await request.download({ url: `/wms/work-detail/export-excel`, params }) -} diff --git a/src/api/wms/workMain/index.ts b/src/api/wms/workMain/index.ts deleted file mode 100644 index 6465bc7..0000000 --- a/src/api/wms/workMain/index.ts +++ /dev/null @@ -1,59 +0,0 @@ -import request from '@/config/axios' - -export interface WorkMainVO { - customerCode: string - type: string - orderDate: Date - dueDate: Date - version: string - number: string - businessType: string - remark: string - createTime: Date - creator: string - updateTime: Date - updater: string - currentStage: number - available: string -} - -// 查询生产订单主列表 -export const getWorkMainPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/work-main/senior', data }) - } else { - return await request.get({ url: `/wms/work-main/page`, params }) - } -} - -// 查询生产订单主详情 -export const getWorkMain = async (id: number) => { - return await request.get({ url: `/wms/work-main/get?id=` + id }) -} - -// 新增生产订单主 -export const createWorkMain = async (data: WorkMainVO) => { - return await request.post({ url: `/wms/work-main/create`, data }) -} - -// 修改生产订单主 -export const updateWorkMain = async (data: WorkMainVO) => { - return await request.put({ url: `/wms/work-main/update`, data }) -} - -// 删除生产订单主 -export const deleteWorkMain = async (id: number) => { - return await request.delete({ url: `/wms/work-main/delete?id=` + id }) -} - -// 导出生产订单主 Excel -export const exportWorkMain = async (params) => { - return await request.download({ url: `/wms/work-main/export-excel`, params }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/work-main/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/workshop/index.ts b/src/api/wms/workshop/index.ts deleted file mode 100644 index 7272534..0000000 --- a/src/api/wms/workshop/index.ts +++ /dev/null @@ -1,58 +0,0 @@ -import request from '@/config/axios' - -export interface WorkshopVO { - code: string - name: string - description: string - type: string - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询车间列表 -export const getWorkshopPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/workshop/senior', data }) - } else { - return await request.get({ url: `/wms/workshop/page`, params }) - } -} - -// 查询车间详情 -export const getWorkshop = async (id: number) => { - return await request.get({ url: `/wms/workshop/get?id=` + id }) -} - -// 新增车间 -export const createWorkshop = async (data: WorkshopVO) => { - return await request.post({ url: `/wms/workshop/create`, data }) -} - -// 修改车间 -export const updateWorkshop = async (data: WorkshopVO) => { - return await request.put({ url: `/wms/workshop/update`, data }) -} - -// 删除车间 -export const deleteWorkshop = async (id: number) => { - return await request.delete({ url: `/wms/workshop/delete?id=` + id }) -} - -// 导出车间 Excel -export const exportWorkshop = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/workshop/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/workshop/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/workshop/get-import-template' }) -} \ No newline at end of file diff --git a/src/api/wms/workstation/index.ts b/src/api/wms/workstation/index.ts deleted file mode 100644 index 40e5dd6..0000000 --- a/src/api/wms/workstation/index.ts +++ /dev/null @@ -1,67 +0,0 @@ -import request from '@/config/axios' - -export interface WorkstationVO { - code: string - name: string - description: string - type: string - workshopCode: string - productionLineCode: string - rawLocationCode: string - fgLocationCode: string - available: number - activeTime: Date - expireTime: Date - remark: string -} - -// 查询工位列表 -export const getWorkstationPage = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return request.post({ url: '/wms/workstation/senior', data }) - } else { - return await request.get({ url: `/wms/workstation/page`, params }) - } -} - -// 查询工位详情 -export const getWorkstation = async (id: number) => { - return await request.get({ url: `/wms/workstation/get?id=` + id }) -} - -// 新增工位 -export const createWorkstation = async (data: WorkstationVO) => { - return await request.post({ url: `/wms/workstation/create`, data }) -} - -// 修改工位 -export const updateWorkstation = async (data: WorkstationVO) => { - return await request.put({ url: `/wms/workstation/update`, data }) -} - -// 删除工位 -export const deleteWorkstation = async (id: number) => { - return await request.delete({ url: `/wms/workstation/delete?id=` + id }) -} - -// 导出工位 Excel -export const exportWorkstation = async (params) => { - if (params.isSearch) { - const data = {...params} - return await request.downloadPost({ url: `/wms/workstation/export-excel-senior`, data }) - } else { - return await request.download({ url: `/wms/workstation/export-excel`, params }) - } -} - -// 下载用户导入模板 -export const importWorkstationTemplate = () => { - return request.download({ url: '/wms/workstation/get-import-template' }) -} - -// 下载用户导入模板 -export const importTemplate = () => { - return request.download({ url: '/wms/workstation/get-import-template' }) -}