From ef74320ccbb2dfb81270c84570ff0ac529fa2931 Mon Sep 17 00:00:00 2001 From: zhangli <2235006734@qq.com> Date: Fri, 20 Oct 2023 09:15:54 +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 | 52 +++ .../PurchaseclaimRequestMainForm.vue | 255 ++++++++++++ .../wms/purchaseclaimRequestMain/index.vue | 389 ++++++++++++++++++ 3 files changed, 696 insertions(+) create mode 100644 src/api/wms/purchaseclaimRequestMain/index.ts create mode 100644 src/views/wms/purchaseclaimRequestMain/PurchaseclaimRequestMainForm.vue create mode 100644 src/views/wms/purchaseclaimRequestMain/index.vue diff --git a/src/api/wms/purchaseclaimRequestMain/index.ts b/src/api/wms/purchaseclaimRequestMain/index.ts new file mode 100644 index 000000000..d43063ed1 --- /dev/null +++ b/src/api/wms/purchaseclaimRequestMain/index.ts @@ -0,0 +1,52 @@ +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) => { + 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 }) +} + +// 导出采购索赔申请主 Excel +export const exportPurchaseclaimRequestMain = async (params) => { + return await request.download({ url: `/wms/purchaseclaim-request-main/export-excel`, params }) +} diff --git a/src/views/wms/purchaseclaimRequestMain/PurchaseclaimRequestMainForm.vue b/src/views/wms/purchaseclaimRequestMain/PurchaseclaimRequestMainForm.vue new file mode 100644 index 000000000..68e93e725 --- /dev/null +++ b/src/views/wms/purchaseclaimRequestMain/PurchaseclaimRequestMainForm.vue @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 确 定 + 取 消 + + + + diff --git a/src/views/wms/purchaseclaimRequestMain/index.vue b/src/views/wms/purchaseclaimRequestMain/index.vue new file mode 100644 index 000000000..04c222efe --- /dev/null +++ b/src/views/wms/purchaseclaimRequestMain/index.vue @@ -0,0 +1,389 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + 新增 + + + 导出 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 编辑 + + + 删除 + + + + + + + + + + + + +