Commit 5a040c75 authored by huhaiqing's avatar huhaiqing

渠道修改

parent 24521e1a
......@@ -82,7 +82,7 @@
<!-- 对话框(添加 / 修改) -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-form-item label="始发地" prop="startWarehouseId">
<el-select v-model="form.startWarehouseId" placeholder="请选择始发地">
<el-option v-for="item in exportWarehouseList" :label="item.titleZh" :value="item.id" :key="item.id"></el-option>
......@@ -143,7 +143,7 @@ import { getChannelList } from '@/api/ecw/channel';
import { getWarehouseList } from "@/api/ecw/warehouse"
export default {
name: "FutureBox",
name: "indexFutureBox",
components: {
},
data() {
......@@ -187,7 +187,8 @@ export default {
// 表单校验
rules: {
},
warehouseList: []
warehouseList: [],
channelList: [],
};
},
computed: {
......@@ -224,6 +225,8 @@ export default {
}
},
created() {
// 查询渠道
getChannelList().then((res) => (this.channelList = res.data));
this.transportTypes = this.getDictDatas(
this.DICT_TYPE.ECW_TRANSPORT_TYPE
).filter((item) => item.value == "1" || item.value == "2");
......
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