Commit 247f4a82 authored by 我在何方's avatar 我在何方

订单异常查询添加跟进客服2.2

parent 9e2cdb3c
......@@ -41,11 +41,12 @@
<dict-selector :type="DICT_TYPE.ORDER_STATUS" v-model="queryParams.orderStatus"
@keyup.enter.native="handleQuery" clearable />
</el-form-item>
<!-- <el-form-item :label="$t('跟进客服')" prop="destinationId">
<el-select v-model="queryParams.destinationId" multiple :placeholder="$t('请选择目的仓')" clearable>
<el-option v-for="item in followUserList" :label="$l(item, 'title')" :value="item.id" :key="item.id"></el-option>
<el-form-item :label="$t('跟进客服')" prop="salesmanId">
<el-select v-model="queryParams.salesmanId" :placeholder="$t('请选择')">
<el-option v-for="dict in followUpList" :key="parseInt(dict.id)" :label="dict.nickname" :value="parseInt(dict.id)"/>
</el-select>
</el-form-item> -->
</el-form-item>
</el-row>
<el-row>
<el-form-item :label="$t('控货')+':'">
......@@ -86,7 +87,7 @@
<dict-selector :type="DICT_TYPE.PRODUCT_RECORD_ATTRIBUTE" :clearable="true" v-model="queryParams.productRecord" @keyup.enter.native="handleQuery"/>
</el-form-item>
<el-form-item :label="$t('客户经理')+':'">
<el-select v-model="queryParams.salesmanId" multiple :placeholder="$t('请选择跟进业务')" clearable>
<el-select v-model="queryParams.customerIds" multiple :placeholder="$t('请选择客户经理')" clearable>
<el-option v-for="item in creatorData" :key="item.id" :label="item.nickname" :value="item.id"/>
</el-select>
</el-form-item>
......@@ -243,7 +244,7 @@ import {getOrderExceptionPage, exportExcel,getStatistics} from "@/api/ecw/orderE
import {getTradeCityList} from '@/api/ecw/region'
import {DICT_TYPE} from '@/utils/dict'
// import { userList } from "@/api/system/user"
import {listServiceUser} from "@/api/system/user"
import {listServiceUser,userList} from "@/api/system/user"
import CustomerSelector from '@/components/CustomerSelector'
import ProductSelector from '@/components/ProductSelector'
import {getWarehouseList} from '@/api/ecw/warehouse'
......@@ -272,7 +273,8 @@ export default {
},
tradeCityList:[],
warehouseList:[],
totalData:{}
totalData:{},
followUpList:[],
};
},
activated(){
......@@ -284,6 +286,9 @@ export default {
getTradeCityList().then(res => this.tradeCityList = res.data)
listServiceUser().then(r => {
this.creatorData = r.data
})
userList('documentary customer service').then(r => {
this.followUpList = r.data;
})
getWarehouseList().then(res => this.warehouseList = res.data)
// userList('salesman').then(res =>this.creatorData = res.data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment