From 9e70e035180494f90020711dfbe3e303b93cab27 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Fri, 28 Jun 2024 09:01:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E5=88=87=E6=9A=82=E5=AD=98=E4=B8=8B?= =?UTF-8?q?=E6=96=99\=E5=88=86=E5=88=87=E6=9A=82=E5=AD=98=E6=B8=85?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 16 ++++++ pages/SecondPhase/slitting/CacheClean.vue | 68 +++++++++++++++++++++++ pages/SecondPhase/slitting/CacheCut.vue | 68 +++++++++++++++++++++++ pages/home/home.vue | 20 +++---- utils/getData3.js | 15 +++++ utils/mork2.js | 8 ++- 6 files changed, 181 insertions(+), 14 deletions(-) create mode 100644 pages/SecondPhase/slitting/CacheClean.vue create mode 100644 pages/SecondPhase/slitting/CacheCut.vue diff --git a/pages.json b/pages.json index e7b59e4..236a866 100644 --- a/pages.json +++ b/pages.json @@ -431,6 +431,22 @@ } } + ,{ + "path" : "pages/SecondPhase/slitting/CacheCut", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/SecondPhase/slitting/CacheClean", + "style" : + { + "navigationStyle": "custom" + } + + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/SecondPhase/slitting/CacheClean.vue b/pages/SecondPhase/slitting/CacheClean.vue new file mode 100644 index 0000000..d769c63 --- /dev/null +++ b/pages/SecondPhase/slitting/CacheClean.vue @@ -0,0 +1,68 @@ + + + \ No newline at end of file diff --git a/pages/SecondPhase/slitting/CacheCut.vue b/pages/SecondPhase/slitting/CacheCut.vue new file mode 100644 index 0000000..73d9a45 --- /dev/null +++ b/pages/SecondPhase/slitting/CacheCut.vue @@ -0,0 +1,68 @@ + + + \ No newline at end of file diff --git a/pages/home/home.vue b/pages/home/home.vue index 3cd0b7e..234ea31 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -232,7 +232,7 @@ .menu-name_inner _wh(100%, 100%) _fj(center) - _font(28rpx, 30rpx, #fff,,center) + _font(28rpx, 30rpx, #fff, 700, center) border-radius 10rpx padding 10rpx overflow hidden @@ -245,22 +245,16 @@ padding 20rpx 0 overflow hidden border-bottom 1px solid #c5c6c7 -.bgc_1 +.bgc_1, .bgc_6 background linear-gradient(to right, rgba(73,102,255,0.8) 0%, rgba(117,142,255,0.8) 100%) -.bgc_2 +.bgc_2, .bgc_7 background linear-gradient(to right, rgba(254, 168, 20,0.8) 0%, rgba(255, 177, 1,0.8) 100%) -.bgc_3 +.bgc_3, .bgc_8 background linear-gradient(to right, rgba(0, 228, 153,0.8) 0%, rgba(0, 241, 197,0.8) 100%) -.bgc_4 +.bgc_4, .bgc_9 background linear-gradient(to right, rgba(162, 86, 171,0.8) 0%, rgba(183,120,190,0.8) 100%) -.bgc_5 - background linear-gradient(to right, rgba(146, 94, 52,0.8) 0%, rgba(162, 116, 79,0.8) 100%) -.bgc_6 - background linear-gradient(to right, rgba(83, 191, 194,0.8) 0%, rgba(119, 198, 201,0.8) 100%) -.bgc_7 - background linear-gradient(to right, rgba(244, 97, 61,0.8) 0%, rgba(245, 130, 102,0.8) 100%) -.bgc_8 - background linear-gradient(to right, rgba(207, 24, 24, .8) 0%, rgba(245, 102, 102, .8) 100%) +.bgc_5, .bgc_10 + background linear-gradient(to right, rgba(146, 94, 52,0.8) 0%, rgba(162, 116, 79,0.8) 100%) .tabs_wrap border-radius 20rpx 20rpx 0 0 background-color #ecedef diff --git a/utils/getData3.js b/utils/getData3.js index fd4a5f2..aaf6725 100644 --- a/utils/getData3.js +++ b/utils/getData3.js @@ -160,4 +160,19 @@ export const updatePackageInfo = (ivt, cn) => request({ export const operateIvt = (type, vcode, num, code) => request({ url:'api/bstIvtStockingivt/operateIvt', data: {type: type, vehicle_code: vcode, row_num: num, material_code: code} +}) +/** + * 分切暂存下料 + */ +export const getCutCacheAgvPoints = () => request({ + url:'api/pda/slitter/getCutCacheAgvPoints', + data: {} +}) +export const sendSubVolumeToNBJ = (code) => request({ + url:'api/pda/slitter/sendSubVolumeToNBJ', + data: {point_code: code} +}) +export const toCleanCutCacheInventory = (code) => request({ + url:'api/pda/slitter/toCleanCutCacheInventory', + data: {point_code: code} }) \ No newline at end of file diff --git a/utils/mork2.js b/utils/mork2.js index 3594a29..f4e511f 100644 --- a/utils/mork2.js +++ b/utils/mork2.js @@ -81,7 +81,9 @@ export const authority = () => { {menu_id: '4', title: '空轴进站', path: '/pages/SecondPhase/slitting/ZjInStore'}, {menu_id: '5', title: '子卷出站', path: '/pages/SecondPhase/slitting/ZjOutStore'}, {menu_id: '7', title: '穿拔轴初始化', path: '/pages/SecondPhase/slitting/DoInitShaft'}, - {menu_id: '8', title: '纸管绑定', path: '/pages/SecondPhase/slitting/PaperBind'} + {menu_id: '8', title: '纸管绑定', path: '/pages/SecondPhase/slitting/PaperBind'}, + {menu_id: '8', title: '分切暂存下料', path: '/pages/SecondPhase/slitting/CacheCut'}, + {menu_id: '8', title: '分切暂存清除', path: '/pages/SecondPhase/slitting/CacheClean'} ]}, {menu_id: '6', path: 'RF04', title: '点位管理', sonTree: [ {menu_id: '1', title: '点位管理', path: '/pages/SecondPhase/point/PointManage'}, @@ -123,4 +125,8 @@ export const queryPaperMaterial = () => { rows: [{text: '物料一', value: '001'}, {text: '物料a', value: '002'}, {text: '物料b', value: '003'}] } return res +} +export const getCutCacheAgvPoints = () => { + let res = [{"text":"B2_FQZC01","value":"B2分切缓存位01"},{"text":"B2_FQZC02","value":"B2分切缓存位02"},{"text":"B2_FQZC03","value":"B2分切缓存位03"},{"text":"B2_FQZC04","value":"B2分切缓存位04"},{"text":"B2_FQZC05","value":"B2分切缓存位05"},{"text":"B2_FQZC06","value":"B2分切缓存位06"},{"text":"B2_FQZC07","value":"B2分切缓存位07"},{"text":"B2_FQZC08","value":"B2分切缓存位08"},{"text":"B2_FQZC09","value":"B2分切缓存位09"},{"text":"B2_FQZC10","value":"B2分切缓存位10"}] + return res } \ No newline at end of file