diff --git a/apps/hand-factory/api/wms/deliveryPlan.js b/apps/hand-factory/api/wms/deliveryPlan.js new file mode 100644 index 0000000..2d07b34 --- /dev/null +++ b/apps/hand-factory/api/wms/deliveryPlan.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' + +// 查询发货计划列表 +export function listDeliveryPlan(query) { + return request({ + url: '/wms/deliveryPlan/list', + method: 'get', + params: query + }) +} + +// 查询发货计划详细 +export function getDeliveryPlan(planId) { + return request({ + url: '/wms/deliveryPlan/' + planId, + method: 'get' + }) +} + +// 新增发货计划 +export function addDeliveryPlan(data) { + return request({ + url: '/wms/deliveryPlan', + method: 'post', + data: data + }) +} + +// 修改发货计划 +export function updateDeliveryPlan(data) { + return request({ + url: '/wms/deliveryPlan', + method: 'put', + data: data + }) +} + +// 删除发货计划 +export function delDeliveryPlan(planId) { + return request({ + url: '/wms/deliveryPlan/' + planId, + method: 'delete' + }) +} + +// 获取发货报表统计信息 +/** + * + * @param {*} query.startTime 开始时间 + * @param {*} query.endTime 结束时间 + * @returns + */ +export function getDeliveryReport(query) { + return request({ + url: '/wms/deliveryPlan/report', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/apps/hand-factory/components/klp-ui/k-tabbar/k-tabbar.vue b/apps/hand-factory/components/klp-ui/k-tabbar/k-tabbar.vue new file mode 100644 index 0000000..02409e3 --- /dev/null +++ b/apps/hand-factory/components/klp-ui/k-tabbar/k-tabbar.vue @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/apps/hand-factory/pages.json b/apps/hand-factory/pages.json index 109fb1a..19e0832 100644 --- a/apps/hand-factory/pages.json +++ b/apps/hand-factory/pages.json @@ -69,6 +69,12 @@ { "navigationBarTitleText" : "查看钢卷" } + }, + { + "path": "pages/receive/receive", + "style": { + "navigationBarTitleText": "钢卷收货" + } } // { // "path": "pages/register", @@ -129,6 +135,7 @@ "navigationBarBackgroundColor": "#FFFFFF" }, "tabBar": { + "selectedColor": "#17abe3", "list": [ { "text": "产线", @@ -136,25 +143,30 @@ "selectedIconPath": "/static/images/tabbar/home_.png", "iconPath": "/static/images/tabbar/home.png" }, + // { + // "text": "扫码", + // "pagePath": "pages/code/code", + // "selectedIconPath": "/static/images/tabbar/work_.png", + // "iconPath": "/static/images/tabbar/work.png" + // }, { "text": "扫码", - "pagePath": "pages/code/code", + "pagePath": "pages/easycode/easycode", "selectedIconPath": "/static/images/tabbar/work_.png", "iconPath": "/static/images/tabbar/work.png" }, + { + "text": "收货", + "pagePath": "pages/receive/receive", + "selectedIconPath": "/static/images/tabbar/receive_.png", + "iconPath": "/static/images/tabbar/receive.png" + }, { "text": "我的", "pagePath": "pages/mine/index", "selectedIconPath": "/static/images/tabbar/mine_.png", "iconPath": "/static/images/tabbar/mine.png" } - // { - // "text": "扫码2", - // "pagePath": "pages/easycode/easycode", - // "selectedIconPath": "/static/images/tabbar/work_.png", - // "iconPath": "/static/images/tabbar/work.png" - // } - ] }, "easycom": { diff --git a/apps/hand-factory/pages/easycode/easycode.vue b/apps/hand-factory/pages/easycode/easycode.vue index dc2996d..b6688d9 100644 --- a/apps/hand-factory/pages/easycode/easycode.vue +++ b/apps/hand-factory/pages/easycode/easycode.vue @@ -104,13 +104,6 @@ - - - - - diff --git a/apps/hand-factory/pages/index.vue b/apps/hand-factory/pages/index.vue index a727b55..038ec44 100644 --- a/apps/hand-factory/pages/index.vue +++ b/apps/hand-factory/pages/index.vue @@ -1,5 +1,4 @@ + + \ No newline at end of file diff --git a/apps/hand-factory/static/images/tabbar/receive.png b/apps/hand-factory/static/images/tabbar/receive.png new file mode 100644 index 0000000..8f0e7b6 Binary files /dev/null and b/apps/hand-factory/static/images/tabbar/receive.png differ diff --git a/apps/hand-factory/static/images/tabbar/receive_.png b/apps/hand-factory/static/images/tabbar/receive_.png new file mode 100644 index 0000000..bc95b2a Binary files /dev/null and b/apps/hand-factory/static/images/tabbar/receive_.png differ diff --git a/apps/steelmill/src/components/ModelPreview.vue b/apps/steelmill/src/components/ModelPreview.vue new file mode 100644 index 0000000..cb5768a --- /dev/null +++ b/apps/steelmill/src/components/ModelPreview.vue @@ -0,0 +1,14 @@ + + + diff --git a/apps/steelmill/src/pages/steelmill2/Index.vue b/apps/steelmill/src/pages/steelmill2/Index.vue index f589146..8f35f08 100644 --- a/apps/steelmill/src/pages/steelmill2/Index.vue +++ b/apps/steelmill/src/pages/steelmill2/Index.vue @@ -231,9 +231,6 @@ -