From 8453a6889869a647768c209b0e2a66e8cb08a62f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chhk=E2=80=9D?= <“hhk@mail.com”> Date: Tue, 6 Aug 2024 16:59:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E8=BE=86=E9=A1=B5=E9=9D=A2=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E5=AE=A2=E6=88=B7=E5=8F=AF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/base/carmain/index.js | 8 + src/views/base/carbrand/index.vue | 6 +- src/views/base/carmain/CarMainForm.vue | 5 +- .../carmain/components/ChooseCustomerDraw.vue | 267 ++++++++++++++++++ .../carmain/components/CustomerCarForm.vue | 189 +++++++++++++ src/views/base/carmain/index.vue | 59 ++-- 6 files changed, 504 insertions(+), 30 deletions(-) create mode 100644 src/views/base/carmain/components/ChooseCustomerDraw.vue create mode 100644 src/views/base/carmain/components/CustomerCarForm.vue diff --git a/src/api/base/carmain/index.js b/src/api/base/carmain/index.js index cb809a3..054ef13 100644 --- a/src/api/base/carmain/index.js +++ b/src/api/base/carmain/index.js @@ -34,6 +34,14 @@ export function getCarMain(id) { }) } +export function bindCustomerCar(data) { + return request({ + url: '/base/carMain/bindCustomerCar', + method: 'post', + data: data + }) +} + // 获得车辆信息分页 export function getCarMainPage(params) { return request({ diff --git a/src/views/base/carbrand/index.vue b/src/views/base/carbrand/index.vue index 645ee3b..d5f8aac 100644 --- a/src/views/base/carbrand/index.vue +++ b/src/views/base/carbrand/index.vue @@ -57,7 +57,11 @@ }} - + + + @@ -78,11 +79,13 @@ + diff --git a/src/views/base/carmain/components/CustomerCarForm.vue b/src/views/base/carmain/components/CustomerCarForm.vue new file mode 100644 index 0000000..7a5f681 --- /dev/null +++ b/src/views/base/carmain/components/CustomerCarForm.vue @@ -0,0 +1,189 @@ + + + diff --git a/src/views/base/carmain/index.vue b/src/views/base/carmain/index.vue index bf1b9a1..0e85950 100644 --- a/src/views/base/carmain/index.vue +++ b/src/views/base/carmain/index.vue @@ -171,17 +171,17 @@ 删除 - - 更多 - - + 更多 + + 绑定客户 - 打标签 - - - + + + @@ -191,10 +191,12 @@ @pagination="getList" /> +