|
@@ -73,10 +73,10 @@
|
|
|
style="width: 100%"
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="(item, index) in polList"
|
|
|
- :key="index.dictValue"
|
|
|
- :label="item.dictLabel"
|
|
|
- :value="item.dictValue"
|
|
|
+ v-for="(item, index) in podList"
|
|
|
+ :key="index.fId"
|
|
|
+ :label="item.fName"
|
|
|
+ :value="item.fId"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -96,9 +96,9 @@
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="(item, index) in podList"
|
|
|
- :key="index.dictValue"
|
|
|
- :label="item.dictLabel"
|
|
|
- :value="item.dictValue"
|
|
|
+ :key="index.fId"
|
|
|
+ :label="item.fName"
|
|
|
+ :value="item.fId"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -442,7 +442,7 @@
|
|
|
|
|
|
<script>
|
|
|
import AddOrUpdate from "./AddOrUpdate.vue";
|
|
|
-import {listCorpsList, query, shippingCompany} from "@/api/warehouseBusiness/shipping";
|
|
|
+import {listCorpsList, query, shippingCompany,listRoute} from "@/api/warehouseBusiness/shipping";
|
|
|
import { listCorps } from "@/api/basicdata/corps";
|
|
|
import { listWarehousesss } from "@/api/basicdata/warehouse";
|
|
|
import { listGoods } from "@/api/basicdata/goods";
|
|
@@ -599,11 +599,14 @@ export default {
|
|
|
this.getDicts("data_status").then((response) => {
|
|
|
this.statusList = response.data;
|
|
|
});
|
|
|
- this.getDicts("port_start").then((response) => {
|
|
|
- this.polList = response.data;
|
|
|
- });
|
|
|
- this.getDicts("port_end").then((response) => {
|
|
|
- this.podList = response.data;
|
|
|
+ // this.getDicts("port_start").then((response) => {
|
|
|
+ // this.polList = response.data;
|
|
|
+ // });
|
|
|
+ // this.getDicts("port_end").then((response) => {
|
|
|
+ // this.podList = response.data;
|
|
|
+ // });
|
|
|
+ listRoute({}).then(response => {
|
|
|
+ this.podList = response.rows
|
|
|
});
|
|
|
this.getRow();
|
|
|
this.getList();
|