diff --git a/src/api/basicdata/basicClient.js b/src/api/basicdata/basicClient.js index df166ac3..8c0419fd 100644 --- a/src/api/basicdata/basicClient.js +++ b/src/api/basicdata/basicClient.js @@ -14,11 +14,9 @@ export const getList = (current, size, params) => { export const getListCode = (params) => { return request({ - url: '/api/logpm-basicdata/basicdataClient/listCode', + url: '/api/logpm-basicdata/basicdataClient/getFinallyClientCode', method: 'get', - params: { - ...params, - } + params }) } diff --git a/src/views/aftersales/aftersalesWorkOrder.vue b/src/views/aftersales/aftersalesWorkOrder.vue index f5f4ea45..4fb265d9 100644 --- a/src/views/aftersales/aftersalesWorkOrder.vue +++ b/src/views/aftersales/aftersalesWorkOrder.vue @@ -288,12 +288,7 @@ >确定 --> 申诉 diff --git a/src/views/basicdata/brand/basicClient.vue b/src/views/basicdata/brand/basicClient.vue index af07a8b0..79a8fc8f 100644 --- a/src/views/basicdata/brand/basicClient.vue +++ b/src/views/basicdata/brand/basicClient.vue @@ -220,12 +220,15 @@ + + + + @@ -1357,6 +1360,12 @@ export default { this.box = true; this.distriType = false; this.viewClientEntd = false; + getListCode().then(res=>{ + console.log(res); + if(res.data.code ==200){ + this.form.clientCode=res.data.data + } + }) this.$nextTick(() => { this.$refs.form.resetFields(); this.form.defaultPaymentMethods = '1';