Commit ad03d207 authored by wanglianghe's avatar wanglianghe

线路价格

parent ee04fca9
...@@ -80,3 +80,12 @@ export function exportRegionExcel(query) { ...@@ -80,3 +80,12 @@ export function exportRegionExcel(query) {
params: query params: query
}) })
} }
//获取城市列表
export function getCityList(query) {
return request({
url: '/ecw/region/getCityList',
method: 'get',
params: query
})
}
...@@ -53,6 +53,7 @@ export function exportWarehouseExcel(query) { ...@@ -53,6 +53,7 @@ export function exportWarehouseExcel(query) {
}) })
} }
/**所有线路列表 */
export function routerList(data) { export function routerList(data) {
return request({ return request({
url: '/ecw/warehouse/routerList', url: '/ecw/warehouse/routerList',
...@@ -61,6 +62,7 @@ export function routerList(data) { ...@@ -61,6 +62,7 @@ export function routerList(data) {
}) })
} }
/**修改线路开通状态 */
export function changeRouteStatus(data) { export function changeRouteStatus(data) {
return request({ return request({
url: '/ecw/warehouse/changeRouteStatus', url: '/ecw/warehouse/changeRouteStatus',
...@@ -69,4 +71,13 @@ export function changeRouteStatus(data) { ...@@ -69,4 +71,13 @@ export function changeRouteStatus(data) {
}) })
} }
/**查看已开通线路列表 */
export function openedRouterList(data) {
return request({
url: '/ecw/warehouse/openedRouterList',
method: 'post',
data: data
})
}
...@@ -127,7 +127,8 @@ ...@@ -127,7 +127,8 @@
<script> <script>
import { createProductPrice, updateProductPrice, deleteProductPrice, getProductPrice, getProductPricePage, exportProductPriceExcel } from "@/api/ecw/productPrice"; import { createProductPrice, updateProductPrice, deleteProductPrice, getProductPrice, getProductPricePage, exportProductPriceExcel } from "@/api/ecw/productPrice";
import { openedRouterList } from "@/api/ecw/warehouse";
import { getCityList } from "@/api/ecw/region";
export default { export default {
name: "ProductPrice", name: "ProductPrice",
components: { components: {
...@@ -174,6 +175,14 @@ export default { ...@@ -174,6 +175,14 @@ export default {
}, },
created() { created() {
this.getList(); this.getList();
openedRouterList({}).then(response => {
})
getCityList({}).then(response => {
})
}, },
methods: { methods: {
/** 查询列表 */ /** 查询列表 */
......
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