From d356684251f68a9f23304dc3f8521ce71e00b11f Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Wed, 14 Aug 2024 11:15:00 +0800 Subject: [PATCH] =?UTF-8?q?add=E6=A0=87=E7=AD=BE=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 8 ++ pages/SecondPhase/production/PrintTable.vue | 100 ++++++++++++++++++++ utils/getData3.js | 16 +++- utils/mork2.js | 5 +- 4 files changed, 126 insertions(+), 3 deletions(-) create mode 100644 pages/SecondPhase/production/PrintTable.vue diff --git a/pages.json b/pages.json index 7a3c733..2e29773 100644 --- a/pages.json +++ b/pages.json @@ -511,6 +511,14 @@ } } + ,{ + "path" : "pages/SecondPhase/production/PrintTable", + "style" : + { + "navigationStyle": "custom" + } + + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/SecondPhase/production/PrintTable.vue b/pages/SecondPhase/production/PrintTable.vue new file mode 100644 index 0000000..464adc4 --- /dev/null +++ b/pages/SecondPhase/production/PrintTable.vue @@ -0,0 +1,100 @@ + + + \ No newline at end of file diff --git a/utils/getData3.js b/utils/getData3.js index 3372864..205b70e 100644 --- a/utils/getData3.js +++ b/utils/getData3.js @@ -273,4 +273,18 @@ export const queryBoxIvt = (code, na, no) => request({ export const confirmPass = (code) => request({ url:'api/twoPda/st/confirmPass', data: {point_code: code} -}) \ No newline at end of file +}) + +/** + * 打印 + */ +// 打印机下拉框 +export const getPrint = () => request({ + url:'api/twoPrintTable/getPrint', + data: {} +}) +// 1.1打印(按钮) +export const printTable = (pcsn, code, type) => request({ + url:'api/twoPrintTable/printTable', + data: {pcsn: pcsn, print_code: code, type: type} +}) diff --git a/utils/mork2.js b/utils/mork2.js index f2e506d..df07a09 100644 --- a/utils/mork2.js +++ b/utils/mork2.js @@ -72,7 +72,8 @@ export const allAuthority = () => { {menu_id: '4', title: '表处工序', path: '/pages/SecondPhase/production/SurfaceProcess'}, {menu_id: '5', title: '人工烘烤', path: '/pages/SecondPhase/production/ManmadeBake'}, {menu_id: '6', title: '子卷质检', path: '/pages/SecondPhase/production/ZjCheck'}, - {menu_id: '8', title: '子卷装箱', path: '/pages/SecondPhase/production/ZjContainer'} + {menu_id: '8', title: '子卷装箱', path: '/pages/SecondPhase/production/ZjContainer'}, + {menu_id: '8', title: '标签打印', path: '/pages/SecondPhase/production/PrintTable'} ]}, {menu_id: '5', path: 'RF03', title: '分切管理', sonTree: [ {menu_id: '1', title: '分切上料', path: '/pages/SecondPhase/slitting/SlittingFeeding'}, @@ -131,7 +132,7 @@ export const authority = () => { {title: '载具入库',sonTree: [{title: '空载具入库'}]}, {title: '空木箱入库',sonTree: [{title: '空木箱入库'}]}, {title: '发货区',sonTree: [{title: '发货区解绑'}]}, - {title: '生产管理',sonTree: [{title: '生箔生产进度'},{title: '生箔工序'},{title: '烘烤工序'},{title: '表处工序'},{title: '人工烘烤'},{title: '子卷质检'}, {title: '子卷装箱'}]}, + {title: '生产管理',sonTree: [{title: '生箔生产进度'},{title: '生箔工序'},{title: '烘烤工序'},{title: '表处工序'},{title: '人工烘烤'},{title: '子卷质检'}, {title: '子卷装箱'}, {title: '标签打印'}]}, {title: '分切管理', sonTree: [{title: '分切上料'},{title: '分切下料'},{title: '空轴套管'},{title: '空轴配送'},{title: '空轴进站'},{title: '子卷出站'},{title: '穿拔轴初始化'},{title: '纸管绑定'},{title: '分切暂存下料'},{title: '分切暂存清除'},{title: '气胀轴库维护'}, {title: '分切子卷维护'}, {title: '备货区管理'}, {title: 'AGV放行'}]}, {title: '点位管理', sonTree: [{title: '点位管理'},{title: '异常出库解锁'},{title: '人工放行'}]}, {title: '成品入库', sonTree: [{title: '退货口入库'},{title: '异常口入库'},{title: '木箱称重'}]},