From 745c35bedd8eac9e0028cc8e2ceec2c78a0544e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com>
Date: Tue, 8 Nov 2022 11:51:58 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E4=BF=A1=E6=81=AF?=
=?UTF-8?q?=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../main/CustomerInformationManagement.js | 8 +
src/views/main/Customer/addForm.vue | 494 +++++++++------
src/views/main/Customer/editForm copy.vue | 289 +++++++++
src/views/main/Customer/editForm.vue | 577 +++++++++++-------
src/views/main/Customer/index.vue | 286 ++++++---
src/views/main/EDI/index.vue | 16 +-
src/views/main/Printing/addForm.vue | 92 +--
src/views/main/Printing/editForm.vue | 2 +-
src/views/main/Printing/index.vue | 22 +-
9 files changed, 1256 insertions(+), 530 deletions(-)
create mode 100644 src/views/main/Customer/editForm copy.vue
diff --git a/src/api/modular/main/CustomerInformationManagement.js b/src/api/modular/main/CustomerInformationManagement.js
index f680995..16bc530 100644
--- a/src/api/modular/main/CustomerInformationManagement.js
+++ b/src/api/modular/main/CustomerInformationManagement.js
@@ -75,3 +75,11 @@ export function DjyUserConfigAdd(parameter) {
data: parameter
})
}
+// 获取客户
+export function DjyCustomerDetail(parameter) {
+ return axios({
+ url: '/DjyCustomer/detail',
+ method: 'get',
+ params: parameter
+ })
+}
diff --git a/src/views/main/Customer/addForm.vue b/src/views/main/Customer/addForm.vue
index abdacfb..30fab90 100644
--- a/src/views/main/Customer/addForm.vue
+++ b/src/views/main/Customer/addForm.vue
@@ -1,183 +1,248 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ > -->
+
+
+
+
+
+ 保存
+
+
+
+
+ 基本信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 联系人信息
+
+
+ 新增
+ 删除选中
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 财务信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/main/Customer/editForm copy.vue b/src/views/main/Customer/editForm copy.vue
new file mode 100644
index 0000000..3420b61
--- /dev/null
+++ b/src/views/main/Customer/editForm copy.vue
@@ -0,0 +1,289 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/main/Customer/editForm.vue b/src/views/main/Customer/editForm.vue
index b7c71dd..d10b5b6 100644
--- a/src/views/main/Customer/editForm.vue
+++ b/src/views/main/Customer/editForm.vue
@@ -1,266 +1,390 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ > -->
+
+
+
+
+
+ 保存
+
+
+
+
+ 基本信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 联系人信息
+
+
+ 新增
+ 删除选中
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 财务信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/main/Customer/index.vue b/src/views/main/Customer/index.vue
index fa92afb..5a99c5b 100644
--- a/src/views/main/Customer/index.vue
+++ b/src/views/main/Customer/index.vue
@@ -1,92 +1,128 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 重置
-
- {{ advanced ? '收起' : '展开' }}
-
-
-
-
-
-
-
-
-
- 设置
-
-
-
-
-
-
-
-
-
-
- 新增客户
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
- 编辑
- 删除
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ 编辑
+ {
+ confirm(e, row)
+ }
+ "
+ >
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/main/Customer/editForm.vue b/src/views/main/Customer/editForm.vue
index d10b5b6..a4f40ed 100644
--- a/src/views/main/Customer/editForm.vue
+++ b/src/views/main/Customer/editForm.vue
@@ -146,9 +146,14 @@
>
-
+
+
+ {{ formatRole(row.roleCode) }}
+
-
+
+
+
@@ -247,7 +252,7 @@