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

异常订单添加搜索渠道

parent 96af50dc
......@@ -46,7 +46,15 @@
<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 :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-form-item :label="$t('控货')+':'">
......@@ -284,12 +292,14 @@ import CustomerSelector from '@/components/CustomerSelector'
import ProductSelector from '@/components/ProductSelector'
import {getWarehouseList} from '@/api/ecw/warehouse'
import Template from "@/views/cms/template/index.vue";
import {getChannelList} from '@/api/ecw/channel'
import Selector from '@/components/Selector'
export default {
name: "EcwOrderException",
components: {
Template,
CustomerSelector,ProductSelector
CustomerSelector,ProductSelector,Selector
},
data() {
return {
......@@ -315,14 +325,15 @@ export default {
warehouseList:[],
totalData:{},
followUpList:[],
channelList: [], // 出货取到
};
},
activated(){
this.getList();
},
created() {
async created() {
this.getList();
this.channelList = (await getChannelList()).data
getTradeCityList().then(res => this.tradeCityList = res.data)
listServiceUser().then(r => {
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