From d958d88a5101b866746f5b5a26f1e67ca8d17ae7 Mon Sep 17 00:00:00 2001 From: jiayang yue Date: Fri, 11 Apr 2025 18:23:36 +0800 Subject: [PATCH] =?UTF-8?q?2025-04-11=20=E5=AE=A2=E6=88=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E7=AE=A1=E7=90=86=E5=8A=9F=E8=83=BD=E7=A7=BB=E6=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/customer/customer.js | 26 + src/views/modules/customer/info.vue | 1446 +++++++++++++++++++++++++++ 2 files changed, 1472 insertions(+) create mode 100644 src/api/customer/customer.js create mode 100644 src/views/modules/customer/info.vue diff --git a/src/api/customer/customer.js b/src/api/customer/customer.js new file mode 100644 index 0000000..eb3b21c --- /dev/null +++ b/src/api/customer/customer.js @@ -0,0 +1,26 @@ +import { createAPI } from "@/utils/httpRequest.js"; + +export const customerData = data => createAPI(`/cust/CustomerData`,'post',data) + +export const customerSave = data => createAPI(`/cust/customerSave`,'post',data) + +export const customerDelete = id => createAPI(`/cust/customerDel`,'post',id) + +// 客户开票信息 +export const fetchBillingData = data => createAPI(`/cust/fetchBillingData`,'post',data) + +// 删除开票信息 +export const removeBillingData = id => createAPI(`/cust/removeBillingData`,'post',id) + +// 保存开票信息 +export const billingSave = data => createAPI(`/cust/billingSave`,'post',data) + +// 获取联系人信息 +export const fetchPersonData = data => createAPI(`/cust/fetchPersonData`,'post',data) + +// 保存联系人信息 +export const personSave = data => createAPI(`/cust/personSave`,'post',data) + +// 停用联系人 +export const personInactive = id => createAPI(`/cust/personInactive`,'post',id) + diff --git a/src/views/modules/customer/info.vue b/src/views/modules/customer/info.vue new file mode 100644 index 0000000..a8c420d --- /dev/null +++ b/src/views/modules/customer/info.vue @@ -0,0 +1,1446 @@ + + + + + + +