Browse Source

完善出库审核查询条件获取客户接口

master
yunuo970428 3 years ago
parent
commit
9013ce06fc
  1. 19
      anrui-scm/anrui-scm-ui/src/api/examinePage/chukushenhe.js
  2. 2
      anrui-scm/anrui-scm-ui/src/views/examinePage/chukushenhe/chukushenhe.vue

19
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

2
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)

Loading…
Cancel
Save