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 @@
}}
-
+
+
+
+
+
diff --git a/src/views/base/carmain/CarMainForm.vue b/src/views/base/carmain/CarMainForm.vue
index f794e16..17462b2 100644
--- a/src/views/base/carmain/CarMainForm.vue
+++ b/src/views/base/carmain/CarMainForm.vue
@@ -71,6 +71,7 @@
确 定
取 消
+
@@ -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 @@
+
+
+
+
+
+
+ 车辆基本信息
+
+
+
+
+ 车牌号
+
+ {{formData.licenseNumber}}
+
+
+
+ 车辆品牌
+
+
+ {{formData.carBrand}}
+
+
+
+ 车辆型号
+
+
+ {{formData.carModel }}
+
+
+
+ 车架号
+
+ {{formData.vin}}
+
+
+
+ 发动机号码
+
+ {{formData.engineNumber}}
+
+
+
+ 车辆注册日期
+
+ {{ parseTime(formData.carRegisterDate,'{y}-{m}-{d}') }}
+
+
+
+ 车辆性质
+
+
+
+
+
+ 车辆类别
+
+
+
+
+
+ 最近办理业务
+
+
+
+
+
+
+
+
+ 客户信息
+ 选择客户
+
+
+
+
+
+
+
+ {{item.cusName}}({{ getDictDataLabel(DICT_TYPE.DICT_SYS_USER_SEX,item.sex) }})
+
+
+
+ {{item.phoneNumber}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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 @@
删除
- handleCommand(command, scope.$index, scope.row)"
- v-hasPermi="['base:car-main:update']">
- 更多
-
- handleCommand(command, scope.$index, scope.row)"
+ v-hasPermi="['base:car-main:update']">
+ 更多
+
+ 绑定客户
- 打标签
-
-
-
+
+
+
@@ -191,10 +191,12 @@
@pagination="getList" />
+