Commit 9f7501fd authored by 我在何方's avatar 我在何方

异常订单添加搜索渠道

parent 96af50dc
...@@ -46,7 +46,15 @@ ...@@ -46,7 +46,15 @@
<el-option v-for="dict in followUpList" :key="parseInt(dict.id)" :label="dict.nickname" :value="parseInt(dict.id)"/> <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-form-item :label="$t('出货渠道')" prop="channelId">
<!--嵌套一个form来脱离disabled控制-->
<selector
v-model="queryParams.channelId"
:options="channelList"
value-field="channelId"
:label-field="$l(null, 'name')"
></selector>
</el-form-item>
</el-row> </el-row>
<el-row> <el-row>
<el-form-item :label="$t('控货')+':'"> <el-form-item :label="$t('控货')+':'">
...@@ -284,12 +292,14 @@ import CustomerSelector from '@/components/CustomerSelector' ...@@ -284,12 +292,14 @@ 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'
import Template from "@/views/cms/template/index.vue"; import Template from "@/views/cms/template/index.vue";
import {getChannelList} from '@/api/ecw/channel'
import Selector from '@/components/Selector'
export default { export default {
name: "EcwOrderException", name: "EcwOrderException",
components: { components: {
Template, Template,
CustomerSelector,ProductSelector CustomerSelector,ProductSelector,Selector
}, },
data() { data() {
return { return {
...@@ -315,14 +325,15 @@ export default { ...@@ -315,14 +325,15 @@ export default {
warehouseList:[], warehouseList:[],
totalData:{}, totalData:{},
followUpList:[], followUpList:[],
channelList: [], // 出货取到
}; };
}, },
activated(){ activated(){
this.getList(); this.getList();
}, },
created() { async created() {
this.getList(); this.getList();
this.channelList = (await getChannelList()).data
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
......
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