diff --git a/api/logistics.js b/api/logistics.js index eeae360..9fb9f7b 100644 --- a/api/logistics.js +++ b/api/logistics.js @@ -97,6 +97,25 @@ const getStationNameBoxbarcode = (params) => { +// 站点管理列表数据 + +const getStationList = (params) => { + return http.request({ + url: '/blade-desk/station/getStationList', + method: 'GET', + params + }) +} + +// 更新站点状态 +const stationUpdate = (data) => { + return http.request({ + url: '/blade-desk/station/update', + method: 'POST', + data + }) +} + export default { getWeighing, getOrderBindPage, @@ -108,5 +127,7 @@ export default { queryCardNo, getQuantityLocation, getStationName, - getStationNameBoxbarcode + getStationNameBoxbarcode, + getStationList, + stationUpdate } \ No newline at end of file diff --git a/pages.json b/pages.json index 851bb60..fe0d9a8 100644 --- a/pages.json +++ b/pages.json @@ -274,6 +274,12 @@ "style": { "navigationBarTitleText": "物料取货" } + }, + { + "path": "pages/logistics/site", + "style": { + "navigationBarTitleText": "站点管理" + } } ], "globalStyle": { diff --git a/pages/index/menu.js b/pages/index/menu.js index e0d8134..0ac3d6e 100644 --- a/pages/index/menu.js +++ b/pages/index/menu.js @@ -239,6 +239,17 @@ const menus = { color: '#00b7ee', type: '' } + },{ + key: "site", + title: "站点管理", + url: "../logistics/site", + bgColor: '', + limit: 'RB2325', + icon: { + size: 20, + color: '#00b7ee', + type: '' + } } ] } diff --git a/pages/logistics/packaging.vue b/pages/logistics/packaging.vue index 31a8fe1..a53cc4a 100644 --- a/pages/logistics/packaging.vue +++ b/pages/logistics/packaging.vue @@ -6,6 +6,13 @@ --> + @@ -107,6 +114,8 @@ export default { }, data() { return { + list: ["绑定", "解绑"], + current: 1, boxInfo: { yieldOrderList: [], }, diff --git a/pages/logistics/site.vue b/pages/logistics/site.vue new file mode 100644 index 0000000..1f9979e --- /dev/null +++ b/pages/logistics/site.vue @@ -0,0 +1,853 @@ + + + + + \ No newline at end of file diff --git a/static/images/menus/site.png b/static/images/menus/site.png new file mode 100644 index 0000000..160c3e6 Binary files /dev/null and b/static/images/menus/site.png differ