diff --git a/pages.json b/pages.json index b5caba5..86ae583 100644 --- a/pages.json +++ b/pages.json @@ -110,6 +110,14 @@ } } + ,{ + "path" : "pages/modules/point-clean", + "style" : + { + "navigationStyle": "custom" + } + + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/home/home.vue b/pages/home/home.vue index f986d0a..79374c9 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -41,7 +41,8 @@ {id: '6', name: '任务管理', icon: 'RF09', role: '', path: '/pages/modules/taskmanage'}, {id: '7', name: '异常出库', icon: 'RF10', role: '', path: '/pages/modules/error-outstore'}, {id: '8', name: '托盘号补录', icon: 'RF05', role: 'A1', path: '/pages/modules/pallet-add-record'}, - {id: '9', name: '缓存码变更', icon: 'RF11', role: '', path: '/pages/modules/cache-code-change'} + {id: '9', name: '缓存码变更', icon: 'RF11', role: '', path: '/pages/modules/cache-code-change'}, + {id: '10', name: '点位清空', icon: 'RF12', role: '', path: '/pages/modules/point-clean'} ] }; }, diff --git a/pages/modules/point-clean.vue b/pages/modules/point-clean.vue new file mode 100644 index 0000000..5db881d --- /dev/null +++ b/pages/modules/point-clean.vue @@ -0,0 +1,113 @@ + + + + + diff --git a/static/image/menu/RF12.png b/static/image/menu/RF12.png new file mode 100644 index 0000000..a8ac29f Binary files /dev/null and b/static/image/menu/RF12.png differ diff --git a/utils/getData1.js b/utils/getData1.js index 1980738..30cd958 100644 --- a/utils/getData1.js +++ b/utils/getData1.js @@ -18,6 +18,12 @@ export const pointSearch = (rcode, pcode, ne) => request({ need_emtpy: ne } }) +export const pointSearch1 = (rcode) => request({ + url:'api/pda/point', + data: { + region_code: rcode + } +}) // 查询各点位物料状态 export const dwztSearch = (rcode) => request({ diff --git a/utils/getData2.js b/utils/getData2.js index f03ad24..364c13a 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -154,4 +154,14 @@ export const zpchange = (code, ncode) => request({ sub_tray: code, new_sub_tray: ncode } -}) \ No newline at end of file +}) + +/** + * 点位清空 + */ +export const pointclean = (code) => request({ + url:'api/pda/pointclean', + data: { + point: code + } +})