From 8ce7ac816ff1a3a5c8a1a0a92ebefffb47953ba3 Mon Sep 17 00:00:00 2001 From: "juncheng.li" Date: Fri, 24 Mar 2023 10:46:10 +0800 Subject: [PATCH] =?UTF-8?q?pda=20=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E8=AE=BF=E9=97=AE=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/PDA/pages.json | 70 +-- fe/PDA/pages/login/index.vue | 410 ------------------ fe/PDA/router/my_router.js | 2 +- fe/PDA/{pages => views}/demo/demo.vue | 0 fe/PDA/{pages => views}/index/index.vue | 0 .../inventory/comTransfer.vue | 0 fe/PDA/{pages => views}/inventory/scrap.vue | 0 .../inventory/transferByLocation.vue | 2 +- .../inventory/transferDiffLocation.vue | 2 +- fe/PDA/views/login/index.vue | 182 +++++--- fe/PDA/{pages => views}/message/details.vue | 0 fe/PDA/{pages => views}/message/index.vue | 0 .../putaway/purchasePutaway.vue | 0 .../{pages => views}/putaway/rapReceipt.vue | 0 .../{pages => views}/putaway/semiPutaway.vue | 0 fe/PDA/{pages => views}/query/item.vue | 0 fe/PDA/{pages => views}/query/location.vue | 0 .../return/productionReturn.vue | 0 .../return/productionReturn_detail.vue | 0 .../return/purchaseReturn.vue | 0 .../return/purchaseReturn_detail.vue | 0 .../return/returnBeforPutaway.vue | 0 .../return/returnToWarehouse.vue | 0 fe/PDA/{pages => views}/setter/index.vue | 4 +- .../{pages => views}/setter/passwordpage.vue | 0 .../{pages => views}/setter/setterDetail.vue | 0 fe/PDA/{pages => views}/store/deliverRaw.vue | 0 fe/PDA/{pages => views}/store/issueDirect.vue | 0 fe/PDA/{pages => views}/task/count.vue | 0 fe/PDA/{pages => views}/task/count_detail.vue | 0 fe/PDA/{pages => views}/task/deliver.vue | 0 .../{pages => views}/task/deliver_detail.vue | 0 .../{pages => views}/task/deliver_items.vue | 0 fe/PDA/{pages => views}/task/issue.vue | 0 fe/PDA/{pages => views}/task/issueByFIFO.vue | 0 fe/PDA/{pages => views}/task/issue_detail.vue | 0 fe/PDA/{pages => views}/task/receipt.vue | 0 .../{pages => views}/task/receipt_check.vue | 0 .../{pages => views}/task/receipt_detail.vue | 2 +- 39 files changed, 157 insertions(+), 517 deletions(-) delete mode 100644 fe/PDA/pages/login/index.vue rename fe/PDA/{pages => views}/demo/demo.vue (100%) rename fe/PDA/{pages => views}/index/index.vue (100%) rename fe/PDA/{pages => views}/inventory/comTransfer.vue (100%) rename fe/PDA/{pages => views}/inventory/scrap.vue (100%) rename fe/PDA/{pages => views}/inventory/transferByLocation.vue (93%) rename fe/PDA/{pages => views}/inventory/transferDiffLocation.vue (93%) rename fe/PDA/{pages => views}/message/details.vue (100%) rename fe/PDA/{pages => views}/message/index.vue (100%) rename fe/PDA/{pages => views}/putaway/purchasePutaway.vue (100%) rename fe/PDA/{pages => views}/putaway/rapReceipt.vue (100%) rename fe/PDA/{pages => views}/putaway/semiPutaway.vue (100%) rename fe/PDA/{pages => views}/query/item.vue (100%) rename fe/PDA/{pages => views}/query/location.vue (100%) rename fe/PDA/{pages => views}/return/productionReturn.vue (100%) rename fe/PDA/{pages => views}/return/productionReturn_detail.vue (100%) rename fe/PDA/{pages => views}/return/purchaseReturn.vue (100%) rename fe/PDA/{pages => views}/return/purchaseReturn_detail.vue (100%) rename fe/PDA/{pages => views}/return/returnBeforPutaway.vue (100%) rename fe/PDA/{pages => views}/return/returnToWarehouse.vue (100%) rename fe/PDA/{pages => views}/setter/index.vue (95%) rename fe/PDA/{pages => views}/setter/passwordpage.vue (100%) rename fe/PDA/{pages => views}/setter/setterDetail.vue (100%) rename fe/PDA/{pages => views}/store/deliverRaw.vue (100%) rename fe/PDA/{pages => views}/store/issueDirect.vue (100%) rename fe/PDA/{pages => views}/task/count.vue (100%) rename fe/PDA/{pages => views}/task/count_detail.vue (100%) rename fe/PDA/{pages => views}/task/deliver.vue (100%) rename fe/PDA/{pages => views}/task/deliver_detail.vue (100%) rename fe/PDA/{pages => views}/task/deliver_items.vue (100%) rename fe/PDA/{pages => views}/task/issue.vue (100%) rename fe/PDA/{pages => views}/task/issueByFIFO.vue (100%) rename fe/PDA/{pages => views}/task/issue_detail.vue (100%) rename fe/PDA/{pages => views}/task/receipt.vue (100%) rename fe/PDA/{pages => views}/task/receipt_check.vue (100%) rename fe/PDA/{pages => views}/task/receipt_detail.vue (99%) diff --git a/fe/PDA/pages.json b/fe/PDA/pages.json index 022b99358..6b1bbe431 100644 --- a/fe/PDA/pages.json +++ b/fe/PDA/pages.json @@ -1,7 +1,7 @@ { "pages": [{ - "path": "pages/index/index", + "path": "views/index/index", "style": { "navigationBarTitleText": "WMS仓库管理系统-移动端", "titleNView": { @@ -11,7 +11,7 @@ } }, { - "path": "pages/login/index", + "path": "views/login/index", "style": { "navigationBarTitleText": "登录", "titleNView": { @@ -21,7 +21,7 @@ } }, { - "path": "pages/setter/index", + "path": "views/setter/index", "style": { "navigationBarTitleText": "个人资料", "enablePullDownRefresh": true @@ -29,14 +29,14 @@ } }, { - "path": "pages/setter/passwordpage", + "path": "views/setter/passwordpage", "style": { "navigationBarTitleText": "修改密码", "enablePullDownRefresh": true } }, { - "path": "pages/setter/setterDetail", + "path": "views/setter/setterDetail", "style": { "navigationBarTitleText": "参数设置详情", "enablePullDownRefresh": true @@ -44,7 +44,7 @@ }, { - "path": "pages/message/index", + "path": "views/message/index", "style": { "navigationBarTitleText": "消息", "enablePullDownRefresh": true @@ -52,7 +52,7 @@ }, { - "path": "pages/message/details", + "path": "views/message/details", "style": { "navigationBarTitleText": "消息详情", "enablePullDownRefresh": true @@ -60,21 +60,21 @@ }, { - "path": "pages/demo/demo", + "path": "views/demo/demo", "style": { "navigationBarTitleText": "组件", "enablePullDownRefresh": true } }, { - "path": "pages/putaway/purchasePutaway", + "path": "views/putaway/purchasePutaway", "style": { "navigationBarTitleText": "采购上架", "enablePullDownRefresh": false } }, { - "path": "pages/task/receipt", + "path": "views/task/receipt", "style": { "navigationBarTitleText": "采购收货", "enablePullDownRefresh": true, @@ -98,70 +98,70 @@ } }, { - "path": "pages/task/receipt_detail", + "path": "views/task/receipt_detail", "style": { "navigationBarTitleText": "收货任务详情", "enablePullDownRefresh": true } }, { - "path": "pages/return/returnBeforPutaway", + "path": "views/return/returnBeforPutaway", "style": { "navigationBarTitleText": "上架前退货", "enablePullDownRefresh": false } }, { - "path": "pages/return/purchaseReturn", + "path": "views/return/purchaseReturn", "style": { "navigationBarTitleText": "上架后退货", "enablePullDownRefresh": true } }, { - "path": "pages/return/purchaseReturn_detail", + "path": "views/return/purchaseReturn_detail", "style": { "navigationBarTitleText": "退货任务详情", "enablePullDownRefresh": true } }, { - "path": "pages/inventory/scrap", + "path": "views/inventory/scrap", "style": { "navigationBarTitleText": "原料报废", "enablePullDownRefresh": false } }, { - "path": "pages/store/deliverRaw", + "path": "views/store/deliverRaw", "style": { "navigationBarTitleText": "原料直发", "enablePullDownRefresh": false } }, { - "path": "pages/task/issueByFIFO", + "path": "views/task/issueByFIFO", "style": { "navigationBarTitleText": "发料", "enablePullDownRefresh": true } }, { - "path": "pages/task/issue_detail", + "path": "views/task/issue_detail", "style": { "navigationBarTitleText": "发料任务详情", "enablePullDownRefresh": false } }, { - "path": "pages/store/issueDirect", + "path": "views/store/issueDirect", "style": { "navigationBarTitleText": "直接发料", "enablePullDownRefresh": false } }, { - "path": "pages/query/item", + "path": "views/query/item", "style": { "enablePullDownRefresh": true, // 是否配置下拉刷新的功能 "navigationBarTitleText": "按零件查询库存", @@ -172,7 +172,7 @@ } }, { - "path": "pages/query/location", + "path": "views/query/location", "style": { "navigationBarTitleText": "按库位查询库存", "enablePullDownRefresh": true, @@ -183,77 +183,77 @@ } }, { - "path": "pages/inventory/transferByLocation", + "path": "views/inventory/transferByLocation", "style": { "navigationBarTitleText": "储位内移库", "enablePullDownRefresh": true } }, { - "path": "pages/inventory/transferDiffLocation", + "path": "views/inventory/transferDiffLocation", "style": { "navigationBarTitleText": "储位调拨", "enablePullDownRefresh": true } }, { - "path": "pages/task/count", + "path": "views/task/count", "style": { "navigationBarTitleText": "盘点任务", "enablePullDownRefresh": true } }, { - "path": "pages/task/count_detail", + "path": "views/task/count_detail", "style": { "navigationBarTitleText": "盘点任务详情", "enablePullDownRefresh": true } }, { - "path": "pages/return/returnToWarehouse", + "path": "views/return/returnToWarehouse", "style": { "navigationBarTitleText": "直接退库", "enablePullDownRefresh": false } }, { - "path": "pages/return/productionReturn", + "path": "views/return/productionReturn", "style": { "navigationBarTitleText": "生产退库", "enablePullDownRefresh": true } }, { - "path": "pages/return/productionReturn_detail", + "path": "views/return/productionReturn_detail", "style": { "navigationBarTitleText": "生产退库详情", "enablePullDownRefresh": true } }, { - "path": "pages/putaway/rapReceipt", + "path": "views/putaway/rapReceipt", "style": { "navigationBarTitleText": "回收料收货", "enablePullDownRefresh": false } }, { - "path": "pages/putaway/semiPutaway", + "path": "views/putaway/semiPutaway", "style": { "navigationBarTitleText": "半成品上架", "enablePullDownRefresh": false } }, { - "path": "pages/task/deliver", + "path": "views/task/deliver", "style": { "navigationBarTitleText": "发货任务", "enablePullDownRefresh": true } }, { - "path": "pages/task/deliver_detail", + "path": "views/task/deliver_detail", "style": { "navigationBarTitleText": "发货任务详情", "enablePullDownRefresh": true @@ -291,18 +291,18 @@ "backgroundColor": "#ffffff", "list": [ { - "pagePath": "pages/index/index", + "pagePath": "views/index/index", "iconPath": "static/bar/sy.png", "selectedIconPath": "static/bar/sya.png", "text": "首页" }, { - "pagePath": "pages/message/index", + "pagePath": "views/message/index", "iconPath": "static/bar/xx.png", "selectedIconPath": "static/bar/xxa.png", "text": "消息" }, { - "pagePath": "pages/setter/index", + "pagePath": "views/setter/index", "iconPath": "static/bar/sz.png", "selectedIconPath": "static/bar/sza.png", "text": "设置" diff --git a/fe/PDA/pages/login/index.vue b/fe/PDA/pages/login/index.vue deleted file mode 100644 index 5fbc2325b..000000000 --- a/fe/PDA/pages/login/index.vue +++ /dev/null @@ -1,410 +0,0 @@ - - - - - diff --git a/fe/PDA/router/my_router.js b/fe/PDA/router/my_router.js index f53143d4c..aa4727dd0 100644 --- a/fe/PDA/router/my_router.js +++ b/fe/PDA/router/my_router.js @@ -17,7 +17,7 @@ uni.addInterceptor('navigateTo', { invoke (e) { if(!hasPermission(e.url)){ uni.reLaunch({ - url: '/pages/login/index' + url: '/views/login/index' }) return false } diff --git a/fe/PDA/pages/demo/demo.vue b/fe/PDA/views/demo/demo.vue similarity index 100% rename from fe/PDA/pages/demo/demo.vue rename to fe/PDA/views/demo/demo.vue diff --git a/fe/PDA/pages/index/index.vue b/fe/PDA/views/index/index.vue similarity index 100% rename from fe/PDA/pages/index/index.vue rename to fe/PDA/views/index/index.vue diff --git a/fe/PDA/pages/inventory/comTransfer.vue b/fe/PDA/views/inventory/comTransfer.vue similarity index 100% rename from fe/PDA/pages/inventory/comTransfer.vue rename to fe/PDA/views/inventory/comTransfer.vue diff --git a/fe/PDA/pages/inventory/scrap.vue b/fe/PDA/views/inventory/scrap.vue similarity index 100% rename from fe/PDA/pages/inventory/scrap.vue rename to fe/PDA/views/inventory/scrap.vue diff --git a/fe/PDA/pages/inventory/transferByLocation.vue b/fe/PDA/views/inventory/transferByLocation.vue similarity index 93% rename from fe/PDA/pages/inventory/transferByLocation.vue rename to fe/PDA/views/inventory/transferByLocation.vue index c9b90c78a..1c2da3715 100644 --- a/fe/PDA/pages/inventory/transferByLocation.vue +++ b/fe/PDA/views/inventory/transferByLocation.vue @@ -11,7 +11,7 @@ goHome } from '@/common/basic.js'; - import comTransfer from '/pages/inventory/comTransfer.vue' + import comTransfer from '/views/inventory/comTransfer.vue' export default { name: 'transfer', components: { diff --git a/fe/PDA/pages/inventory/transferDiffLocation.vue b/fe/PDA/views/inventory/transferDiffLocation.vue similarity index 93% rename from fe/PDA/pages/inventory/transferDiffLocation.vue rename to fe/PDA/views/inventory/transferDiffLocation.vue index 93dfcb029..be5718a15 100644 --- a/fe/PDA/pages/inventory/transferDiffLocation.vue +++ b/fe/PDA/views/inventory/transferDiffLocation.vue @@ -11,7 +11,7 @@ goHome } from '@/common/basic.js'; - import comTransfer from '/pages/inventory/comTransfer.vue' + import comTransfer from '/views/inventory/comTransfer.vue' export default { name: 'transferNoLoacation', components: { diff --git a/fe/PDA/views/login/index.vue b/fe/PDA/views/login/index.vue index 0115c7a62..a8c5bb56d 100644 --- a/fe/PDA/views/login/index.vue +++ b/fe/PDA/views/login/index.vue @@ -8,7 +8,7 @@ -
+ 密码登录 @@ -17,7 +17,7 @@ @@ -27,7 +27,7 @@ 用户名 - + @@ -62,17 +62,16 @@