From 2fbce7d8c0b7e5b055bb7ab77e58b1ec9ce61885 Mon Sep 17 00:00:00 2001 From: admin <15939171744@163.com> Date: 星期一, 24 六月 2024 19:00:22 +0800 Subject: [PATCH] 1,优化人工工位参数采集temp表删除方法 pushGeelycvMesFeedback 2,优化人工工位更新过站记录方法 workpieceRelease 3,优化未绑定小车码弹框提示 4,优化人工工位扫码重复会添加参数采集记录的问题及拧紧数据会添加上物料采集上的问题 --- jcdm-ui/src/views/main/cfkb/Instructions/index.vue | 44 +++++++++++++++++++++++++++++++------------- 1 files changed, 31 insertions(+), 13 deletions(-) diff --git a/jcdm-ui/src/views/main/cfkb/Instructions/index.vue b/jcdm-ui/src/views/main/cfkb/Instructions/index.vue index deb759a..2f02ed9 100644 --- a/jcdm-ui/src/views/main/cfkb/Instructions/index.vue +++ b/jcdm-ui/src/views/main/cfkb/Instructions/index.vue @@ -23,7 +23,7 @@ </el-row> <el-row :gutter="5" style="margin-top: 5px"> - <el-col :span="24"> + <el-col :span="12"> <el-tabs type="border-card" style="height: 600px" v-model="activeName" @tab-click="changeMenu"> <el-tab-pane name="first"> <span slot="label"> <a class="el-icon-date"></a>棣栭〉</span> @@ -31,26 +31,26 @@ <div> <div style="display: none" id="printMe"> <br> - <p style="margin-left: 25px">9900166410</p> - <p style="margin-left: 25px">HW001.001</p> - <p style="margin-left: 25px">SW002.005</p> + <p style="margin-left: 43px">9900166410</p> + <p style="margin-left: 43px">HW001.001</p> + <p style="margin-left: 43px">SW002.005</p> <br> - <span style="font-size: 30px;font-weight: bold;margin-left: 25px;">GEELY</span><br> - <span style="font-size: 10px;margin-left: 14px">COMMERCIAL VEHICLE</span><br> - <span style="margin-left: 44px">H2155D</span><br> - <span style="margin-left: 44px">993083</span><br> - <span style="margin-left: 26px">9900166410</span><br> - <span style="font-size: 10px;margin-right: 10px">{{text1}}</span> + <span style="font-size: 30px;font-weight: bold;margin-left: 40px;">GEELY</span><br> + <span style="font-size: 10px;margin-left: 29px">COMMERCIAL VEHICLE</span><br> + <span style="margin-left: 60px">H2155D</span><br> + <span style="margin-left: 63px">993083</span><br> + <span style="margin-left: 40px">9900166410</span><br> + <span style="font-size: 10px;margin-left: 17px;">{{text1}}</span> <br> <br> <br> <br> <div ref="canvasWrapper" id="canvasWrapper1" style="display: flex;justify-content: center;margin-top: -27px"></div> - <span style="font-size: 10px;word-break: break-all;display: flex;justify-content: center;">P9900166410#T{{text1}}#V993983#SSW002.005#HHW001.001#NBMS#</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> <br> <br> <div ref="canvasWrapper" id="canvasWrapper2" style="display: flex;justify-content: center;margin-top: -27px"></div> - <span style="font-size: 10px;word-break: break-all;display: flex;justify-content: center;">P9900166410#T{{text1}}#V993983#SSW002.005#HHW001.001#NBMS#</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> </div> <el-button @click="print1">鎵撳嵃</el-button> <el-button style="display: none" @click="test1">鐢熸垚浜岀淮鐮�</el-button> @@ -60,6 +60,10 @@ </el-col> </el-tab-pane> </el-tabs> + </el-col> + <el-col :span="12"> + <el-input v-model="weightValue" placeholder="璇疯緭鍏ョО閲嶆暟鎹�"></el-input> + <el-button @click="enterWeighing">褰曞叆</el-button> </el-col> </el-row> <el-dialog v-dialogpop-up :title="title" :visible.sync="open1" width="1000" append-to-body> @@ -213,7 +217,7 @@ import USBDevice from "@/utils/usb.json"; import {addPassingStationCollection} from "@/api/main/da/passingStationCollection/passingStationCollection"; import { - addTighteningParameters, + addTighteningParameters, enterWeighing, replaceAssemblyCode, saveCampaignTimeParameters, yzAddBasicParameters, @@ -224,6 +228,7 @@ name: "stationTerminal", data() { return { + weightValue: '', showInput: true, serialPortContent: '', // 鏌ヨ鍙傛暟 @@ -338,6 +343,19 @@ }, }, methods: { + enterWeighing(){ + if(this.headContent.sfcCode ==='' || this.weightValue === '' ){ + this.$message.error('鍙傛暟涓嶅叏锛�'); + }else { + let param = { + sfcCode: this.headContent.sfcCode, + weightValue: this.weightValue, + } + enterWeighing(param).then(response => { + this.$message('褰曞叆瀹屾垚锛�'); + }); + } + }, serialLink() { this.open1 = true }, -- Gitblit v1.9.3