From 9013ce06fc08dc3feae612191ef49c586a553d35 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Wed, 13 Jul 2022 18:19:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=87=BA=E5=BA=93=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/examinePage/chukushenhe.js | 19 ++++++++++--------- .../examinePage/chukushenhe/chukushenhe.vue | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/anrui-scm/anrui-scm-ui/src/api/examinePage/chukushenhe.js b/anrui-scm/anrui-scm-ui/src/api/examinePage/chukushenhe.js index 4af54ccdfd..d5a71be258 100644 --- a/anrui-scm/anrui-scm-ui/src/api/examinePage/chukushenhe.js +++ b/anrui-scm/anrui-scm-ui/src/api/examinePage/chukushenhe.js @@ -1,5 +1,4 @@ import request from '@/utils/request' -import qs from 'qs' // 出库申请初始化/详情 已改 export function fetchDetailsBySid(params) { @@ -17,12 +16,12 @@ export function fetchDetailsBySid(params) { export function listExaminePage(params) { return request({ url: '/buscenter/v1/busdeliveredapply/listExaminePage', - method: "post", + method: 'post', data: params, headers: { 'Content-Type': 'application/json' } - }); + }) } // 出库分页列表 已改 @@ -37,7 +36,6 @@ export function listExaminePage(params) { // }); // } - // 同意 export function complete(data) { return request({ @@ -73,12 +71,15 @@ export function breakProcess(data) { } // 模糊搜索客户 -export function customerName() { +export function customerName(data) { return request({ - url: '/crm/v1/crmcustomer/cusList', - method: 'post' - // params: { staffSid: id } - }); + url: '/crm/v1/crmcustomertemp/listAll', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) } // 获取下拉框option diff --git a/anrui-scm/anrui-scm-ui/src/views/examinePage/chukushenhe/chukushenhe.vue b/anrui-scm/anrui-scm-ui/src/views/examinePage/chukushenhe/chukushenhe.vue index 06adeb229b..d6fe01e63d 100644 --- a/anrui-scm/anrui-scm-ui/src/views/examinePage/chukushenhe/chukushenhe.vue +++ b/anrui-scm/anrui-scm-ui/src/views/examinePage/chukushenhe/chukushenhe.vue @@ -176,7 +176,7 @@ export default { }, // 客户下拉框 getCustomer() { - customerName().then((response) => { + customerName({ staffSid: window.sessionStorage.getItem('staffSid') }).then((response) => { if (response.code === '200') { this.customerList = response.data console.log('客户列表', this.customerList)