From 0b888ad75e96dd758c831d1bb8f680421850eeab Mon Sep 17 00:00:00 2001 From: xiangxy Date: Fri, 30 May 2025 17:36:59 +0800 Subject: [PATCH] numberinput --- components/LimitInput.vue | 85 +++ components/NumberInput.vue | 123 +++++ pages.json | 560 ++++++++++---------- pages/SecondPhase/slitting/TestNumInput.vue | 24 + pages/SecondPhase/slitting/TubeStock.vue | 33 +- utils/mork2.js | 1 + 6 files changed, 552 insertions(+), 274 deletions(-) create mode 100644 components/LimitInput.vue create mode 100644 components/NumberInput.vue create mode 100644 pages/SecondPhase/slitting/TestNumInput.vue diff --git a/components/LimitInput.vue b/components/LimitInput.vue new file mode 100644 index 0000000..eb18f0a --- /dev/null +++ b/components/LimitInput.vue @@ -0,0 +1,85 @@ + + + + diff --git a/components/NumberInput.vue b/components/NumberInput.vue new file mode 100644 index 0000000..dc88d07 --- /dev/null +++ b/components/NumberInput.vue @@ -0,0 +1,123 @@ + + + + diff --git a/pages.json b/pages.json index 261bc32..6e40ddc 100644 --- a/pages.json +++ b/pages.json @@ -254,310 +254,326 @@ "navigationStyle": "custom" } } - ,{ - "path" : "pages/SecondPhase/EmptyVehicleInStore", + ,{ + "path" : "pages/SecondPhase/EmptyVehicleInStore", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/EmptyBoxInStore", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/SecondPhase/DeliveryUnbind", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/SecondPhase/DeliveryUnbindConfirm", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/SecondPhase/production/SboProdProgress", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/SecondPhase/production/SboProcess", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/SecondPhase/production/BakeProcess", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/SecondPhase/production/ManmadeBake", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/SecondPhase/production/SurfaceProcess", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/SecondPhase/slitting/SlittingFeeding", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/SecondPhase/slitting/ZjCasing", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/SecondPhase/slitting/ZjDelivery", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/SecondPhase/slitting/ZjInStore", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/SecondPhase/slitting/ZjOutStore", - "style" : - { - "navigationStyle": "custom" - } - + } - - ,{ - "path" : "pages/SecondPhase/point/PointManage", + ,{ + "path" : "pages/SecondPhase/EmptyBoxInStore", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/point/ErrorOutUnlock", + + } + ,{ + "path" : "pages/SecondPhase/DeliveryUnbind", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/finished/ReturnToStore", + + } + ,{ + "path" : "pages/SecondPhase/DeliveryUnbindConfirm", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/finished/abnorToStore", + + } + ,{ + "path" : "pages/SecondPhase/production/SboProdProgress", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/SlittingCutting", + + } + ,{ + "path" : "pages/SecondPhase/production/SboProcess", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/DoInitShaft", + + } + ,{ + "path" : "pages/SecondPhase/production/BakeProcess", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/production/ZjCheck", + + } + ,{ + "path" : "pages/SecondPhase/production/ManmadeBake", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/PaperBind", + + } + ,{ + "path" : "pages/SecondPhase/production/SurfaceProcess", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/CacheCut", + + } + ,{ + "path" : "pages/SecondPhase/slitting/SlittingFeeding", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/CacheClean", + + } + ,{ + "path" : "pages/SecondPhase/slitting/ZjCasing", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/finished/BoxWeight", + + } + ,{ + "path" : "pages/SecondPhase/slitting/ZjDelivery", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/ShaftSave", + + } + ,{ + "path" : "pages/SecondPhase/slitting/ZjInStore", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/ZjSave", + + } + ,{ + "path" : "pages/SecondPhase/slitting/ZjOutStore", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/StockingArea", + + } + ,{ + "path" : "pages/SecondPhase/slitting/TubeStock", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/AGVPass", + + } + ,{ + "path" : "pages/SecondPhase/slitting/TestNumInput", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/production/ZjContainer", + + } + + ,{ + "path" : "pages/SecondPhase/point/PointManage", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/lvt/EmptyBox", + + } + ,{ + "path" : "pages/SecondPhase/point/ErrorOutUnlock", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/point/ManPass", + + } + ,{ + "path" : "pages/SecondPhase/finished/ReturnToStore", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/production/PrintTable", + + } + ,{ + "path" : "pages/SecondPhase/finished/abnorToStore", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/SubRollWeight", + + } + ,{ + "path" : "pages/SecondPhase/slitting/SlittingCutting", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/UpperShaftCut", + + } + ,{ + "path" : "pages/SecondPhase/slitting/DoInitShaft", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/ProductManage/AxisApply", + + } + ,{ + "path" : "pages/SecondPhase/production/ZjCheck", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/UpperShaftCut2", + + } + ,{ + "path" : "pages/SecondPhase/slitting/PaperBind", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/production/ZjInStore", + + } + ,{ + "path" : "pages/SecondPhase/slitting/CacheCut", "style" : { "navigationStyle": "custom" } - + + } + ,{ + "path" : "pages/SecondPhase/slitting/CacheClean", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/SecondPhase/finished/BoxWeight", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/SecondPhase/slitting/ShaftSave", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/SecondPhase/slitting/ZjSave", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/SecondPhase/slitting/StockingArea", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/SecondPhase/slitting/AGVPass", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/SecondPhase/production/ZjContainer", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/SecondPhase/lvt/EmptyBox", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/SecondPhase/point/ManPass", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/SecondPhase/production/PrintTable", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/SecondPhase/slitting/SubRollWeight", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/SecondPhase/slitting/UpperShaftCut", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/ProductManage/AxisApply", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/SecondPhase/slitting/UpperShaftCut2", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/SecondPhase/production/ZjInStore", + "style" : + { + "navigationStyle": "custom" + } + } ,{ "path" : "pages/SecondPhase/production/BoxStock", @@ -566,143 +582,143 @@ "navigationStyle": "custom" } - } - ,{ - "path" : "pages/SecondPhase/slitting/CallShaft", + } + ,{ + "path" : "pages/SecondPhase/slitting/CallShaft", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/ProductManage/UnAxisBack", + + } + ,{ + "path" : "pages/ProductManage/UnAxisBack", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/ProductManage/CallPaperShaft", + + } + ,{ + "path" : "pages/ProductManage/CallPaperShaft", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/ProductManage/UpperShaftCut", + + } + ,{ + "path" : "pages/ProductManage/UpperShaftCut", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/EmptyBoxOutStore", + + } + ,{ + "path" : "pages/SecondPhase/EmptyBoxOutStore", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/SubRollPackUnbind", + + } + ,{ + "path" : "pages/SecondPhase/SubRollPackUnbind", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/ProductManage/RemainShaftBack", + + } + ,{ + "path" : "pages/ProductManage/RemainShaftBack", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/CallAxisSeq", + + } + ,{ + "path" : "pages/SecondPhase/slitting/CallAxisSeq", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/SlittingCutting2", + + } + ,{ + "path" : "pages/SecondPhase/slitting/SlittingCutting2", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/RollCacheManage", + + } + ,{ + "path" : "pages/SecondPhase/slitting/RollCacheManage", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/ProductManage/RequestShaft", + + } + ,{ + "path" : "pages/ProductManage/RequestShaft", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/ProductManage/ScanRoll", + + } + ,{ + "path" : "pages/ProductManage/ScanRoll", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/BoxReturn", + + } + ,{ + "path" : "pages/SecondPhase/BoxReturn", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/BaitRoll", + + } + ,{ + "path" : "pages/SecondPhase/slitting/BaitRoll", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/EmptyAxisReturn", + + } + ,{ + "path" : "pages/SecondPhase/slitting/EmptyAxisReturn", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/ManMaintain", + + } + ,{ + "path" : "pages/SecondPhase/ManMaintain", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/SecondPhase/slitting/CacheSave", + + } + ,{ + "path" : "pages/SecondPhase/slitting/CacheSave", "style" : { "navigationStyle": "custom" } - - } + + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/SecondPhase/slitting/TestNumInput.vue b/pages/SecondPhase/slitting/TestNumInput.vue new file mode 100644 index 0000000..50d5229 --- /dev/null +++ b/pages/SecondPhase/slitting/TestNumInput.vue @@ -0,0 +1,24 @@ + + + diff --git a/pages/SecondPhase/slitting/TubeStock.vue b/pages/SecondPhase/slitting/TubeStock.vue index b90eed0..f788b78 100644 --- a/pages/SecondPhase/slitting/TubeStock.vue +++ b/pages/SecondPhase/slitting/TubeStock.vue @@ -18,6 +18,20 @@ + + + 子卷重量 + + + + + + @@ -62,14 +76,18 @@ \ No newline at end of file + + diff --git a/utils/mork2.js b/utils/mork2.js index 7e52eec..6076f02 100644 --- a/utils/mork2.js +++ b/utils/mork2.js @@ -110,6 +110,7 @@ export const allAuthority = () => { {menu_id: '8', title: '空轴绑定', path: '/pages/SecondPhase/slitting/EmptyAxisBind'}, {menu_id: '8', title: '空轴退回', path: '/pages/SecondPhase/slitting/EmptyAxisReturn'}, {menu_id: '8', title: '分切暂存维护', path: '/pages/SecondPhase/slitting/CacheSave'}, + {menu_id: '8', title: '管芯备货', path: '/pages/SecondPhase/slitting/TubeStock'} ]}, {menu_id: '10', path: 'RF15', title: '打包间管理', sonTree: [ {menu_id: '1', title: '子卷包装解绑', path: '/pages/SecondPhase/SubRollPackUnbind'},