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

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

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