Browse Source

完善出库申请查询条件获取客户接口

master
yunuo970428 3 years ago
parent
commit
1ceb4bad20
  1. 10
      anrui-buscenter/anrui-buscenter-ui/src/api/chukuguanli/chukubanli.js
  2. 2
      anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/chukushenqing.vue

10
anrui-buscenter/anrui-buscenter-ui/src/api/chukuguanli/chukubanli.js

@ -113,10 +113,14 @@ export function delBySids(params) {
}
// 模糊搜索客户
export function customerName() {
export function customerName(data) {
return request({
url: '/crm/v1/crmcustomer/cusList',
method: 'post'
url: '/crm/v1/crmcustomertemp/listAll',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json'
}
})
}

2
anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/chukushenqing.vue

@ -200,7 +200,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