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 @@ + + + + + + +