From ee737c37d277d39657ab51a4bd0d3dca4d6c2f08 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Mon, 28 Oct 2024 14:27:31 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=BB=B4=E4=BF=AE?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue | 3 +++ yxt-as-ui/src/views/operation/repairbill/repairbillInfo.vue | 2 ++ 2 files changed, 5 insertions(+) diff --git a/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue b/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue index 1480de9e0b..4aa578eee1 100644 --- a/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue +++ b/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue @@ -743,6 +743,7 @@ export default { mobile: '', customerOrg: '', customerSource: '', + customerVehicleSid: '', memberCardSid: '', memberCarNumber: '', vehMark: '', @@ -1062,6 +1063,7 @@ export default { this.formobj.vinNo = value.vinNo this.formobj.vehModel = value.vehModel this.formobj.customerSource = value.source + this.formobj.customerVehicleSid = value.customerVehicleSid // 单据类型为欠款月结时,对接人信息需要从欠款月结客户中获取对应的对接人信息 if (this.formobj.billTypeKey === '2') { req.getListByCustomerSid({ customerSid: this.formobj.customerSid }).then((res) => { @@ -1767,6 +1769,7 @@ export default { mobile: '', customerOrg: '', customerSource: '', + customerVehicleSid: '', memberCardSid: '', memberCarNumber: '', vehMark: '', diff --git a/yxt-as-ui/src/views/operation/repairbill/repairbillInfo.vue b/yxt-as-ui/src/views/operation/repairbill/repairbillInfo.vue index 79fa00a186..0a14bcfed7 100644 --- a/yxt-as-ui/src/views/operation/repairbill/repairbillInfo.vue +++ b/yxt-as-ui/src/views/operation/repairbill/repairbillInfo.vue @@ -378,6 +378,7 @@ export default { mobile: '', customerOrg: '', customerSource: '', + customerVehicleSid: '', memberCardSid: '', memberCarNumber: '', vehMark: '', @@ -527,6 +528,7 @@ export default { mobile: '', customerOrg: '', customerSource: '', + customerVehicleSid: '', memberCardSid: '', memberCarNumber: '', vehMark: '', From 35d1f45e0690cd7f47cde6e741834f7da34d1047 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Mon, 28 Oct 2024 15:02:15 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=A2=84=E7=BA=A6?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/operation/preregistration/preregistrationAdd.vue | 3 +++ .../views/operation/preregistration/preregistrationInfo.vue | 2 ++ 2 files changed, 5 insertions(+) diff --git a/yxt-as-ui/src/views/operation/preregistration/preregistrationAdd.vue b/yxt-as-ui/src/views/operation/preregistration/preregistrationAdd.vue index 379f583f93..df26458ee6 100644 --- a/yxt-as-ui/src/views/operation/preregistration/preregistrationAdd.vue +++ b/yxt-as-ui/src/views/operation/preregistration/preregistrationAdd.vue @@ -191,6 +191,7 @@ export default { waitorSid: '', waitorName: '', reserveEquip: '', + customerVehicleSid: '', customerSid: '', customerName: '', mobile: '', @@ -307,6 +308,7 @@ export default { value = JSON.parse(JSON.stringify(value)) this.formobj.customerName = value.customerName this.formobj.customerSid = value.sid + this.formobj.customerVehicleSid = value.customerVehicleSid this.formobj.mobile = value.mobile this.formobj.vehMark = value.vehMark this.formobj.vinNo = value.vinNo @@ -503,6 +505,7 @@ export default { waitorSid: '', waitorName: '', reserveEquip: '', + customerVehicleSid: '', customerSid: '', customerName: '', mobile: '', diff --git a/yxt-as-ui/src/views/operation/preregistration/preregistrationInfo.vue b/yxt-as-ui/src/views/operation/preregistration/preregistrationInfo.vue index a34003f9c5..8b9035d2b9 100644 --- a/yxt-as-ui/src/views/operation/preregistration/preregistrationInfo.vue +++ b/yxt-as-ui/src/views/operation/preregistration/preregistrationInfo.vue @@ -104,6 +104,7 @@ export default { waitorSid: '', waitorName: '', reserveEquip: '', + customerVehicleSid: '', customerSid: '', customerName: '', mobile: '', @@ -152,6 +153,7 @@ export default { waitorSid: '', waitorName: '', reserveEquip: '', + customerVehicleSid: '', customerSid: '', customerName: '', mobile: '', From 6e2f56c8cd19e34a9e4e91eb48f46ed2123ac7fc Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Mon, 28 Oct 2024 15:03:53 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/client/customermanagement.js | 29 ++++++++---- .../customermanagement/customermanagement.vue | 27 ++++++++++- .../customermanagementAdd.vue | 47 +++++++++++-------- 3 files changed, 72 insertions(+), 31 deletions(-) diff --git a/yxt-as-ui/src/api/client/customermanagement.js b/yxt-as-ui/src/api/client/customermanagement.js index f47b9a4709..4f2c65e915 100644 --- a/yxt-as-ui/src/api/client/customermanagement.js +++ b/yxt-as-ui/src/api/client/customermanagement.js @@ -4,22 +4,31 @@ export default { // 查询分页列表 listPage: function(params) { return request({ - url: '/crm/v1/crmcustomertemp/asListPage', + url: '/yxtcrm/apiadmin/v1/crmcustomer/asListPage', method: 'post', data: params, headers: { 'Content-Type': 'application/json' } }) }, // 初始化 + customerInit: function(data) { + return request({ + url: '/yxtcrm/apiadmin/v1/crmcustomer/customerInit', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 回显 fetchDetailsBySid: function(data) { return request({ - url: '/crm/v1/crmcustomertemp/fetchSid/' + data, + url: '/yxtcrm/apiadmin/v1/crmcustomer/fetchSid/' + data, method: 'get' }) }, save: function(data) { return request({ - url: '/crm/v1/crmcustomertemp/save', + url: '/yxtcrm/apiadmin/v1/crmcustomer/save', method: 'post', data: data, headers: { 'Content-Type': 'application/json' } @@ -27,7 +36,7 @@ export default { }, update: function(data) { return request({ - url: '/crm/v1/crmcustomertemp/update/' + data.sid, + url: '/yxtcrm/apiadmin/v1/crmcustomer/update/' + data.sid, method: 'post', data: data, headers: { 'Content-Type': 'application/json' } @@ -44,7 +53,7 @@ export default { // 定点企业禁用 disableState: function(data) { return request({ - url: '/crm/v1/crmcustomertemp/disableState', + url: '/yxtcrm/apiadmin/v1/crmcustomer/disableState', method: 'post', data: data, headers: { 'Content-Type': 'application/json' } @@ -53,7 +62,7 @@ export default { // 定点企业启用 enable: function(data) { return request({ - url: '/crm/v1/crmcustomertemp/enable', + url: '/yxtcrm/apiadmin/v1/crmcustomer/enable', method: 'post', data: data, headers: { 'Content-Type': 'application/json' } @@ -61,7 +70,7 @@ export default { }, deleteBySids: function(data) { return request({ - url: '/crm/v1/crmcustomertemp/del/', + url: '/yxtcrm/apiadmin/v1/crmcustomer/del/', method: 'DELETE', data: data, headers: { 'Content-Type': 'application/json' } @@ -121,7 +130,7 @@ export default { // 对接人列表 getListByCustomerSid: function(params) { return request({ - url: '/crm/v1/crmdockingpeople/getListByCustomerSid', + url: '/yxtcrm/v1/crmdockingpeople/getListByCustomerSid', method: 'get', params: params }) @@ -129,7 +138,7 @@ export default { // 禁用对接人信息 disableStateByPerson: function(data) { return request({ - url: '/crm/v1/crmdockingpeople/disableState', + url: '/yxtcrm/v1/crmdockingpeople/disableState', method: 'DELETE', data: data, headers: { 'Content-Type': 'application/json' } @@ -138,7 +147,7 @@ export default { // 启用对接人信息 enableByPerson: function(data) { return request({ - url: '/crm/v1/crmdockingpeople/enable', + url: '/yxtcrm/v1/crmdockingpeople/enable', method: 'DELETE', data: data, headers: { 'Content-Type': 'application/json' } diff --git a/yxt-as-ui/src/views/client/customermanagement/customermanagement.vue b/yxt-as-ui/src/views/client/customermanagement/customermanagement.vue index dca3d40ea6..5329a23600 100644 --- a/yxt-as-ui/src/views/client/customermanagement/customermanagement.vue +++ b/yxt-as-ui/src/views/client/customermanagement/customermanagement.vue @@ -119,6 +119,8 @@ + +
客户类型
@@ -128,6 +130,12 @@
+ + +
车架号
+ +
+