From 0cf2e1c0934198098f774cd5b290fe9bcf88575b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Wed, 25 Oct 2023 08:51:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E7=B4=A2=E8=B5=94=E7=94=B3?= =?UTF-8?q?=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/purchaseclaimRequestMain/index.ts | 5 + .../wms/supplierdeliverRecordMain/index.ts | 64 ++ .../wms/purchaseclaimRequestMain/index.vue | 150 +++-- .../SupplierdeliverRecordMainForm.vue | 381 ++++++++++++ .../wms/supplierdeliverRecordMain/index.vue | 562 ++++++++++++++++++ 5 files changed, 1101 insertions(+), 61 deletions(-) create mode 100644 src/api/wms/supplierdeliverRecordMain/index.ts create mode 100644 src/views/wms/supplierdeliverRecordMain/SupplierdeliverRecordMainForm.vue create mode 100644 src/views/wms/supplierdeliverRecordMain/index.vue diff --git a/src/api/wms/purchaseclaimRequestMain/index.ts b/src/api/wms/purchaseclaimRequestMain/index.ts index d43063ed1..129e31f81 100644 --- a/src/api/wms/purchaseclaimRequestMain/index.ts +++ b/src/api/wms/purchaseclaimRequestMain/index.ts @@ -50,3 +50,8 @@ export const deletePurchaseclaimRequestMain = async (id: number) => { 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' }) +} \ No newline at end of file diff --git a/src/api/wms/supplierdeliverRecordMain/index.ts b/src/api/wms/supplierdeliverRecordMain/index.ts new file mode 100644 index 000000000..c964be93a --- /dev/null +++ b/src/api/wms/supplierdeliverRecordMain/index.ts @@ -0,0 +1,64 @@ +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) => { + 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 }) +} diff --git a/src/views/wms/purchaseclaimRequestMain/index.vue b/src/views/wms/purchaseclaimRequestMain/index.vue index c396f21fa..6567e6a45 100644 --- a/src/views/wms/purchaseclaimRequestMain/index.vue +++ b/src/views/wms/purchaseclaimRequestMain/index.vue @@ -5,19 +5,25 @@ + - + - - - - {{ row.itemCode }} + + + {{ row.asnNumber }} @@ -32,6 +38,7 @@ @success="getList" :rules="PurchaseclaimRequestMainRules" :formAllSchemas="PurchaseclaimRequestMain.allSchemas" + :searchTableParams="searchTableParams" :tableAllSchemas="PurchaseclaimRequestDetail.allSchemas" :tableFormRules="PurchaseclaimRequestDetailRules" :tableData="tableData" @@ -40,56 +47,67 @@ :isBusiness="true" @handleAddTable="handleAddTable" @handleDeleteTable="handleDeleteTable" + @searchTableSuccess="searchTableSuccess" /> + + + + + + diff --git a/src/views/wms/supplierdeliverRecordMain/SupplierdeliverRecordMainForm.vue b/src/views/wms/supplierdeliverRecordMain/SupplierdeliverRecordMainForm.vue new file mode 100644 index 000000000..e232dc54a --- /dev/null +++ b/src/views/wms/supplierdeliverRecordMain/SupplierdeliverRecordMainForm.vue @@ -0,0 +1,381 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 确 定 + 取 消 + + + + diff --git a/src/views/wms/supplierdeliverRecordMain/index.vue b/src/views/wms/supplierdeliverRecordMain/index.vue new file mode 100644 index 000000000..1c410245d --- /dev/null +++ b/src/views/wms/supplierdeliverRecordMain/index.vue @@ -0,0 +1,562 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + 新增 + + + 导出 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 编辑 + + + 删除 + + + + + + + + + + + + +