| | |
| | | <el-button id="print" v-print="'#printMe'" type="primary">打印</el-button> |
| | | <div style="display: none"> |
| | | <div id="printMe"> |
| | | <div style="text-align: center;margin-top: 64px"> |
| | | <div style="text-align: center;margin-top: 70px"> |
| | | <span style="font-size: 29px;">电驱系统总成</span> |
| | | </div> |
| | | <div style="display: flex;margin-top: 2px;margin-left: 39px;font-size: 15px"> |
| | |
| | | |
| | | |
| | | <div style="text-align: center;margin-top: 101px;font-size: 20px"> |
| | | <div style="margin-top: 8px"> |
| | | <div style="margin-top: 12px"> |
| | | <span style="font-size: 22px">TZ180XSDSZX01</span><br> |
| | | |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <div style="margin-top: 61px;display: flex;margin-left: 40px"> |
| | | <div style="margin-top: 57px;display: flex;margin-left: 40px"> |
| | | <div style="width: 30%;flex: 1"> |
| | | <VueQr :size='80' :margin='0' :text='this.text'></VueQr> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <div style="margin-top: 48px;display: flex;margin-left: 40px"> |
| | | <div style="margin-top: 44px;display: flex;margin-left: 40px"> |
| | | <div style="width: 30%;flex: 1"> |
| | | <VueQr :size='80' :margin='0' :text='this.text'></VueQr> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <div style="text-align: center;margin-left: -190px;margin-top: 35px"> |
| | | <div style="text-align: center;margin-left: -190px;margin-top: 31px"> |
| | | <div style="margin-top: 4px"> |
| | | <span>{{printMaterialCode}}</span><br> |
| | | </div> |
| | |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | sfcCode: null, |
| | | productNum: '', |
| | | }, |
| | | // 查询参数 |
| | | StationConfQueryParams: { |
| | |
| | | /** 查询工单列表 */ |
| | | async getList() { |
| | | await listProductionOrdeLoopLine(this.queryParams).then(response => { |
| | | console.log('进入初始化加载list方法') |
| | | let rowsData = response.rows[0]; |
| | | if(rowsData){ |
| | | console.log('进入初始化加载list方法'+response.rows[0]) |
| | | if(this.headContent.processesCode === 'OP170' |
| | | ||this.headContent.processesCode === 'OP180'|| |
| | | this.headContent.processesCode === 'OP190'|| |
| | |
| | | this.getListFormulaChild() |
| | | this.workpieceInformation.inboundTime = this.getCurrentTime() |
| | | this.printMaterialCode = rowsData.productCode |
| | | console.log(rowsData.productCode) |
| | | console.log(this.printMaterialCode) |
| | | this.text = 'P'+this.printMaterialCode+'#T'+this.headContent.sfcCode+'#V993983#SSW001.001#HHW001.001#NMCU' |
| | | console.log(this.text) |
| | | |
| | | }else { |
| | | this.$message.error('系统没有此工单,请重新扫码!'); |
| | | } |
| | |
| | | if(response.msg !== ''){ |
| | | if(this.headContent.processesCode === 'OP165'){ |
| | | this.headContent.sfcCode = response.msg.substring(13,26) |
| | | this.queryParams.productNum = response.msg.substring(13,26); |
| | | }else { |
| | | this.headContent.sfcCode = response.msg; |
| | | this.queryParams.productNum = response.msg; |