diff --git a/src/api/wms/customerStatementMain/index.ts b/src/api/wms/customerStatementMain/index.ts index 69f1714f6..1b7d899cb 100644 --- a/src/api/wms/customerStatementMain/index.ts +++ b/src/api/wms/customerStatementMain/index.ts @@ -57,7 +57,7 @@ export const exportCustomerStatementMain = async (params) => { return await request.download({ url: `/wms/customer-statement-main/export-excel`, params }) } -// 下载用户导入模板 +// 下载客户对账单导入模板 export const importTemplate = () => { return request.download({ url: '/wms/customer-statement-main/get-import-template' }) } @@ -85,4 +85,14 @@ export const nodeAbrogate = async (id: number) => { // 客户对账单退回操作 export const sendBack = async (id: number) => { return await request.get({ url: `/wms/customer-statement-main/sendBack?id=` + id}) +} + +// 导入客户模具分摊对账单前校验该客户对账单下是否存在已分摊的模具分摊对账单如果有提示 +export const verifyDataExistShare = async (customerId:number) => { + return await request.get({ url: `/wms/customer-tool-apport-statement-detail/verifyDataExist?customerId=` + customerId }) +} + +// 下载客户模具分摊对账单导入模板 +export const importShareTemplate = () => { + return request.download({ url: '/wms/customer-tool-apport-statement-detail/get-import-template' }) } \ No newline at end of file diff --git a/src/components/ImportForm/src/ImportCustomerStatementShareForm.vue b/src/components/ImportForm/src/ImportCustomerStatementShareForm.vue new file mode 100644 index 000000000..3881ebadf --- /dev/null +++ b/src/components/ImportForm/src/ImportCustomerStatementShareForm.vue @@ -0,0 +1,427 @@ + + + + +