diff --git a/apps/hand-factory/api/wms/todo.js b/apps/hand-factory/api/wms/todo.js new file mode 100644 index 0000000..e0fca91 --- /dev/null +++ b/apps/hand-factory/api/wms/todo.js @@ -0,0 +1,19 @@ +import request from '@/utils/request' + +// 查询改判记录(根据钢卷ID) +export function listChangeHistory(coilId) { + return request({ + url: '/wms/coilQualityRejudge/list', + method: 'get', + params: { coilId } + }) +} + +// 查询调拨记录(根据钢卷ID) +export function listTransferHistory(coilId) { + return request({ + url: '/wms/transferOrderItem/list', + method: 'get', + params: { coilId } + }) +} diff --git a/apps/hand-factory/pages.json b/apps/hand-factory/pages.json index c4c3a32..cb8e484 100644 --- a/apps/hand-factory/pages.json +++ b/apps/hand-factory/pages.json @@ -100,6 +100,19 @@ "style": { "navigationBarTitleText": "发货" } + }, + { + "path": "pages/todo/index", + "style": { + "navigationBarTitleText": "待办事项", + "navigationStyle": "custom" + } + }, + { + "path": "pages/todo/coil-detail", + "style": { + "navigationBarTitleText": "钢卷详情" + } } ], "globalStyle": { @@ -116,24 +129,18 @@ "selectedIconPath": "/static/images/tabbar/home_.png", "iconPath": "/static/images/tabbar/home.png" }, + { + "text": "待办", + "pagePath": "pages/todo/index", + "selectedIconPath": "/static/images/tabbar/todo_.png", + "iconPath": "/static/images/tabbar/todo.png" + }, { "text": "扫码", "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/search/search", - // "selectedIconPath": "/static/images/tabbar/search_.png", - // "iconPath": "/static/images/tabbar/search.png" - // }, { "text": "报餐", "pagePath": "pages/meal/meal", diff --git a/apps/hand-factory/pages/todo/coil-detail.vue b/apps/hand-factory/pages/todo/coil-detail.vue new file mode 100644 index 0000000..b518afa --- /dev/null +++ b/apps/hand-factory/pages/todo/coil-detail.vue @@ -0,0 +1,387 @@ + + + + + diff --git a/apps/hand-factory/pages/todo/components/coil-card.vue b/apps/hand-factory/pages/todo/components/coil-card.vue new file mode 100644 index 0000000..7004358 --- /dev/null +++ b/apps/hand-factory/pages/todo/components/coil-card.vue @@ -0,0 +1,238 @@ + + + + + diff --git a/apps/hand-factory/pages/todo/components/filter-bar.vue b/apps/hand-factory/pages/todo/components/filter-bar.vue new file mode 100644 index 0000000..d7600fa --- /dev/null +++ b/apps/hand-factory/pages/todo/components/filter-bar.vue @@ -0,0 +1,317 @@ + + + + + diff --git a/apps/hand-factory/pages/todo/components/record-popup.vue b/apps/hand-factory/pages/todo/components/record-popup.vue new file mode 100644 index 0000000..b3e3cae --- /dev/null +++ b/apps/hand-factory/pages/todo/components/record-popup.vue @@ -0,0 +1,446 @@ + + + + + diff --git a/apps/hand-factory/pages/todo/components/relabel-popup.vue b/apps/hand-factory/pages/todo/components/relabel-popup.vue new file mode 100644 index 0000000..2437627 --- /dev/null +++ b/apps/hand-factory/pages/todo/components/relabel-popup.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/apps/hand-factory/pages/todo/index.vue b/apps/hand-factory/pages/todo/index.vue new file mode 100644 index 0000000..e7a0657 --- /dev/null +++ b/apps/hand-factory/pages/todo/index.vue @@ -0,0 +1,473 @@ + + + + + diff --git a/apps/hand-factory/static/images/tabbar/todo.png b/apps/hand-factory/static/images/tabbar/todo.png new file mode 100644 index 0000000..21e130d Binary files /dev/null and b/apps/hand-factory/static/images/tabbar/todo.png differ diff --git a/apps/hand-factory/static/images/tabbar/todo_.png b/apps/hand-factory/static/images/tabbar/todo_.png new file mode 100644 index 0000000..80b979c Binary files /dev/null and b/apps/hand-factory/static/images/tabbar/todo_.png differ