From a6876933e6f84e95380d96923a0b5fe6768c0a41 Mon Sep 17 00:00:00 2001 From: admin <15939171744@163.com> Date: 星期五, 20 九月 2024 14:54:16 +0800 Subject: [PATCH] 打印功能修改 --- jcdm-ui/src/views/main/kb/stationTerminal/index.vue | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/jcdm-ui/src/views/main/kb/stationTerminal/index.vue b/jcdm-ui/src/views/main/kb/stationTerminal/index.vue index 41ba550..3f8bb5c 100644 --- a/jcdm-ui/src/views/main/kb/stationTerminal/index.vue +++ b/jcdm-ui/src/views/main/kb/stationTerminal/index.vue @@ -89,13 +89,13 @@ <span>鐢垫満鍨嬪彿锛�</span><span>TZ180XSDSZX01</span><br> </div> <div style="margin-top: 4px"> - <span>棰濆畾鍔熺巼锛�</span><span>30KW</span><br> + <span>棰濆畾鍔熺巼锛�</span><span>30kW</span><br> </div> <div style="margin-top: 4px"> <span>棰濆畾鎵煩锛�</span><span>70N.m</span><br> </div> <div style="margin-top: 4px"> - <span>棰濆畾鐢靛帇锛�</span><span>336VDS</span><br> + <span>棰濆畾鐢靛帇锛�</span><span>336VDC</span><br> </div> <div style="margin-top: 4px"> <span>棰濆伐浣滃埗锛�</span><span>S9</span><br> @@ -116,7 +116,7 @@ <span>鎺у埗鍣ㄥ瀷鍙凤細</span><span>KTZ34X23SZX07</span><br> </div> <div style="margin-top: 4px"> - <span>宄板�煎姛鐜囷細</span><span>60KW</span><br> + <span>宄板�煎姛鐜囷細</span><span>60kW</span><br> </div> <div style="margin-top: 4px"> <span>宄板�艰浆鐭╋細</span><span>175N.m</span><br> @@ -171,10 +171,10 @@ <VueQr :size='80' :margin='0' :text='this.text'></VueQr> </div> <div style="width: 70%;flex: 1;margin-top: 18px;margin-right: 29px"> - <span style="margin-left: -80px;font-size: 20px;font-family: FangSong;letter-spacing: -0.8px"> + <span style="margin-left: -80px;font-size: 19px;font-family: FZYaoti;letter-spacing: -0.8px;font-weight: 100"> P9900200461#T{{headContent.sfcCode}} </span><br> - <span style="margin-left: -80px;font-size: 20px;font-family: FangSong;letter-spacing: -0.8px"> + <span style="margin-left: -80px;font-size: 19px;font-family: FZYaoti;letter-spacing: -0.8px;font-weight: 100"> #V993983#SSW002.005#HHW001.001#NMCU </span> <!-- <span style="font-size: 10px;word-break: break-all;display: flex;justify-content: center;width: 155px;margin-left: 9px">P9900166410#T{{text1}}#V993983#SSW002.005#HHW001.001#NBMS#</span>--> @@ -186,10 +186,10 @@ <VueQr :size='80' :margin='0' :text='this.text'></VueQr> </div> <div style="width: 70%;flex: 1;margin-top: 18px;margin-right: 29px"> - <span style="margin-left: -80px;font-size: 20px;font-family: FangSong;letter-spacing: -0.8px"> + <span style="margin-left: -80px;font-size: 19px;font-family: FZYaoti;letter-spacing: -0.8px;font-weight: 100"> P9900200461#T{{headContent.sfcCode}} </span><br> - <span style="margin-left: -80px;font-size: 20px;font-family: FangSong;letter-spacing: -0.8px"> + <span style="margin-left: -80px;font-size: 19px;font-family: FZYaoti ;letter-spacing: -0.8px;font-weight: 100"> #V993983#SSW002.005#HHW001.001#NMCU </span> <!-- <span style="font-size: 10px;word-break: break-all;display: flex;justify-content: center;width: 155px;margin-left: 9px">P9900166410#T{{text1}}#V993983#SSW002.005#HHW001.001#NBMS#</span>--> @@ -635,6 +635,10 @@ this.printFlag = true } + if(this.headContent.processesCode === 'OP250'){ + this.printFlag = true + } + }); console.log('websocket杩炴帴宸ヤ綅涓�' + this.headContent.processesCode) const wsuri = this.url + this.headContent.processesCode; -- Gitblit v1.9.3