diff --git a/src/api/wms/accountcalendar/index.ts b/src/api/wms/accountcalendar/index.ts
index 24f646855..582df5361 100644
--- a/src/api/wms/accountcalendar/index.ts
+++ b/src/api/wms/accountcalendar/index.ts
@@ -42,3 +42,8 @@ export const deleteAccountcalendar = async (id: number) => {
export const exportAccountcalendar = async (params) => {
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
index f2182f46c..df31c9da1 100644
--- a/src/api/wms/areabasic/index.ts
+++ b/src/api/wms/areabasic/index.ts
@@ -42,3 +42,8 @@ export const deleteArea = async (id: number) => {
export const exportArea = async (params) => {
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/businesstype/index.ts b/src/api/wms/businesstype/index.ts
index 8ebb52fa3..83174db53 100644
--- a/src/api/wms/businesstype/index.ts
+++ b/src/api/wms/businesstype/index.ts
@@ -52,3 +52,8 @@ export const deleteBusinesstype = async (id: number) => {
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
index db868adc5..9f169dc6a 100644
--- a/src/api/wms/carrier/index.ts
+++ b/src/api/wms/carrier/index.ts
@@ -50,3 +50,8 @@ export const deleteCarrier = async (id: number) => {
export const exportCarrier = async (params) => {
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
index 32d792c42..16bb79da4 100644
--- a/src/api/wms/condition/index.ts
+++ b/src/api/wms/condition/index.ts
@@ -38,3 +38,8 @@ export const deleteCondition = async (id: number) => {
export const exportCondition = async (params) => {
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
index 19410fe54..ae9c25310 100644
--- a/src/api/wms/configuration/index.ts
+++ b/src/api/wms/configuration/index.ts
@@ -38,3 +38,8 @@ export const deleteConfiguration = async (id: number) => {
export const exportConfiguration = async (params) => {
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
index c6e00c40f..cfc842697 100644
--- a/src/api/wms/configurationsetting/index.ts
+++ b/src/api/wms/configurationsetting/index.ts
@@ -40,3 +40,8 @@ export const deleteConfigurationsetting = async (id: number) => {
export const exportConfigurationsetting = async (params) => {
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/currencyexchange/index.ts b/src/api/wms/currencyexchange/index.ts
index ac12d6b22..f56a6f71b 100644
--- a/src/api/wms/currencyexchange/index.ts
+++ b/src/api/wms/currencyexchange/index.ts
@@ -39,3 +39,8 @@ export const deleteCurrencyexchange = async (id: number) => {
export const exportCurrencyexchange = async (params) => {
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
index ad259c4db..494b920a8 100644
--- a/src/api/wms/customer/index.ts
+++ b/src/api/wms/customer/index.ts
@@ -50,3 +50,8 @@ export const deleteCustomer = async (id: number) => {
export const exportCustomer = async (params) => {
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
index de30ea128..471e34ece 100644
--- a/src/api/wms/customerdock/index.ts
+++ b/src/api/wms/customerdock/index.ts
@@ -46,3 +46,8 @@ export const deleteCustomerdock = async (id: number) => {
export const exportCustomerdock = async (params) => {
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
index c4a31ecc1..8da7893fa 100644
--- a/src/api/wms/customeritem/index.ts
+++ b/src/api/wms/customeritem/index.ts
@@ -46,3 +46,8 @@ export const deleteCustomeritem = async (id: number) => {
export const exportCustomeritem = async (params) => {
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/detail/index.ts b/src/api/wms/detail/index.ts
new file mode 100644
index 000000000..9bf57f699
--- /dev/null
+++ b/src/api/wms/detail/index.ts
@@ -0,0 +1,35 @@
+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/dock/index.ts b/src/api/wms/dock/index.ts
index 307bebe94..894986ba7 100644
--- a/src/api/wms/dock/index.ts
+++ b/src/api/wms/dock/index.ts
@@ -46,3 +46,8 @@ export const deleteDock = async (id: number) => {
export const exportDock = async (params) => {
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
index ee9b4ade3..b09c9e193 100644
--- a/src/api/wms/documentsetting/index.ts
+++ b/src/api/wms/documentsetting/index.ts
@@ -47,3 +47,8 @@ export const deleteDocumentsetting = async (id: number) => {
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/jobsetting/index.ts b/src/api/wms/jobsetting/index.ts
index 1ed025b18..45442c0d8 100644
--- a/src/api/wms/jobsetting/index.ts
+++ b/src/api/wms/jobsetting/index.ts
@@ -49,3 +49,8 @@ export const deleteJobsetting = async (id: number) => {
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/location/index.ts b/src/api/wms/location/index.ts
index 75f9c9606..09dd937d4 100644
--- a/src/api/wms/location/index.ts
+++ b/src/api/wms/location/index.ts
@@ -53,3 +53,8 @@ export const deleteLocation = async (id: number) => {
export const exportLocation = async (params) => {
return await request.download({ url: `/wms/location/export-excel`, params })
}
+
+// 下载用户导入模板
+export const importTemplate = () => {
+ return request.download({ url: '/wms/location/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
index 0e9456607..b7e316b1a 100644
--- a/src/api/wms/locationgroup/index.ts
+++ b/src/api/wms/locationgroup/index.ts
@@ -41,3 +41,8 @@ export const deleteLocationgroup = async (id: number) => {
export const exportLocationgroup = async (params) => {
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/owner/index.ts b/src/api/wms/owner/index.ts
index d2520b883..d453b6148 100644
--- a/src/api/wms/owner/index.ts
+++ b/src/api/wms/owner/index.ts
@@ -50,3 +50,8 @@ export const deleteOwner = async (id: number) => {
export const exportOwner = async (params) => {
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/paramsetting/index.ts b/src/api/wms/paramsetting/index.ts
index 992d80e24..533b92540 100644
--- a/src/api/wms/paramsetting/index.ts
+++ b/src/api/wms/paramsetting/index.ts
@@ -41,3 +41,8 @@ export const deleteParamsetting = async (id: number) => {
export const exportParamsetting = async (params) => {
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/process/index.ts b/src/api/wms/process/index.ts
index de95f5b4e..954a4a662 100644
--- a/src/api/wms/process/index.ts
+++ b/src/api/wms/process/index.ts
@@ -42,3 +42,8 @@ export const deleteProcess = async (id: number) => {
export const exportProcess = async (params) => {
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/productionline/index.ts b/src/api/wms/productionline/index.ts
index 0d7ff8a94..fb097d48d 100644
--- a/src/api/wms/productionline/index.ts
+++ b/src/api/wms/productionline/index.ts
@@ -43,3 +43,8 @@ export const deleteProductionline = async (id: number) => {
export const exportProductionline = async (params) => {
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/project/index.ts b/src/api/wms/project/index.ts
index 8652e22f7..37d754e8b 100644
--- a/src/api/wms/project/index.ts
+++ b/src/api/wms/project/index.ts
@@ -40,3 +40,8 @@ export const deleteProject = async (id: number) => {
export const exportProject = async (params) => {
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/purchaseprice/index.ts b/src/api/wms/purchaseprice/index.ts
index c0ba7b4db..9583dc310 100644
--- a/src/api/wms/purchaseprice/index.ts
+++ b/src/api/wms/purchaseprice/index.ts
@@ -40,3 +40,8 @@ export const deletePurchaseprice = async (id: number) => {
export const exportPurchaseprice = async (params) => {
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/recordsetting/index.ts b/src/api/wms/recordsetting/index.ts
index c47b31f48..9c8e32ca2 100644
--- a/src/api/wms/recordsetting/index.ts
+++ b/src/api/wms/recordsetting/index.ts
@@ -39,3 +39,8 @@ export const deleteRecordsetting = async (id: number) => {
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/requestsetting/index.ts b/src/api/wms/requestsetting/index.ts
index d246d0c76..ffc184456 100644
--- a/src/api/wms/requestsetting/index.ts
+++ b/src/api/wms/requestsetting/index.ts
@@ -43,3 +43,8 @@ export const deleteRequestsetting = async (id: number) => {
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
index 9234a7b88..81fc49f20 100644
--- a/src/api/wms/rule/index.ts
+++ b/src/api/wms/rule/index.ts
@@ -39,3 +39,8 @@ export const deleteRule = async (id: number) => {
export const exportRule = async (params) => {
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/saleprice/index.ts b/src/api/wms/saleprice/index.ts
index 73c00ef3f..4748b345e 100644
--- a/src/api/wms/saleprice/index.ts
+++ b/src/api/wms/saleprice/index.ts
@@ -40,3 +40,8 @@ export const deleteSaleprice = async (id: number) => {
export const exportSaleprice = async (params) => {
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/shift/index.ts b/src/api/wms/shift/index.ts
index fe63bea59..f2557e273 100644
--- a/src/api/wms/shift/index.ts
+++ b/src/api/wms/shift/index.ts
@@ -42,3 +42,8 @@ export const deleteShift = async (id: number) => {
export const exportShift = async (params) => {
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/supplier/index.ts b/src/api/wms/supplier/index.ts
index 73451930c..ed39172a4 100644
--- a/src/api/wms/supplier/index.ts
+++ b/src/api/wms/supplier/index.ts
@@ -50,3 +50,8 @@ export const deleteSupplier = async (id: number) => {
export const exportSupplier = async (params) => {
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/supplieritem/index.ts b/src/api/wms/supplieritem/index.ts
index a9abb5761..dbf46ecfc 100644
--- a/src/api/wms/supplieritem/index.ts
+++ b/src/api/wms/supplieritem/index.ts
@@ -49,3 +49,8 @@ export const deleteSupplieritem = async (id: number) => {
export const exportSupplieritem = async (params) => {
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/systemcalendar/index.ts b/src/api/wms/systemcalendar/index.ts
index a1d483faa..89c2720ab 100644
--- a/src/api/wms/systemcalendar/index.ts
+++ b/src/api/wms/systemcalendar/index.ts
@@ -39,3 +39,8 @@ export const deleteSystemcalendar = async (id: number) => {
export const exportSystemcalendar = async (params) => {
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
index 2174cb1cc..9e6c4c13b 100644
--- a/src/api/wms/team/index.ts
+++ b/src/api/wms/team/index.ts
@@ -40,3 +40,8 @@ export const deleteTeam = async (id: number) => {
export const exportTeam = async (params) => {
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/transactiontype/index.ts b/src/api/wms/transactiontype/index.ts
index e9efc57d1..ac0070487 100644
--- a/src/api/wms/transactiontype/index.ts
+++ b/src/api/wms/transactiontype/index.ts
@@ -42,3 +42,8 @@ export const deleteTransactiontype = async (id: number) => {
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/warehouse/index.ts b/src/api/wms/warehouse/index.ts
index fd61d2d0a..0b1b9c326 100644
--- a/src/api/wms/warehouse/index.ts
+++ b/src/api/wms/warehouse/index.ts
@@ -40,3 +40,8 @@ export const deleteWarehouse = async (id: number) => {
export const exportWarehouse = async (params) => {
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/workshop/index.ts b/src/api/wms/workshop/index.ts
index ebd59ce56..0620d115f 100644
--- a/src/api/wms/workshop/index.ts
+++ b/src/api/wms/workshop/index.ts
@@ -40,3 +40,8 @@ export const deleteWorkshop = async (id: number) => {
export const exportWorkshop = async (params) => {
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
index 24f034794..e227fa763 100644
--- a/src/api/wms/workstation/index.ts
+++ b/src/api/wms/workstation/index.ts
@@ -49,3 +49,8 @@ export const exportWorkstation = async (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' })
+}
diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue
index 297d6f92b..1f2ed6bea 100644
--- a/src/components/BasicForm/src/BasicForm.vue
+++ b/src/components/BasicForm/src/BasicForm.vue
@@ -84,6 +84,16 @@