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)