| | |
| | | <!-- @click="check(row)"--> |
| | | <!-- />--> |
| | | <i |
| | | class="el-icon-tickets" |
| | | class="el-icon-printer" |
| | | style="cursor: pointer;color: #42b983;margin-right: 15px" |
| | | @click="handlePrint(row.wo_code)" |
| | | /> |
| | |
| | | <div class="operationClass"> |
| | | <el-tooltip class="item" effect="dark" content="打印工序" placement="top"> |
| | | <i |
| | | class="el-icon-tickets" |
| | | class="el-icon-printer" |
| | | style="cursor: pointer;color: #42b983;margin-right: 15px" |
| | | @click="supplementSmallClick(row)" |
| | | /> |
| | |
| | | /> |
| | | </el-table> |
| | | |
| | | <!-- <div v-if="formApprove.m_po" style="display: flex;margin-top: 20px;align-content: center;height: 130px;line-height: 130px;">--> |
| | | <!-- <div style="font-size: 18px;font-weight: bolder">源单单号:</div>--> |
| | | <!-- <div id="qrCodeSource" ref="qrCodeSource" style="width: 130px;height: 130px;overflow: hidden" />--> |
| | | <!-- </div>--> |
| | | <div v-if="formApprove.m_po" style="display: flex;margin-top: 20px;align-content: center;height: 130px;line-height: 130px;"> |
| | | <div style="font-size: 18px;font-weight: bolder">源单单号:</div> |
| | | <div id="qrCodeSource" ref="qrCodeSource" style="width: 130px;height: 130px;overflow: hidden" /> |
| | | </div> |
| | | |
| | | <!-- <div v-if="formApprove.m_po" style="margin-top: 5px;">--> |
| | | <!-- <img src="../../assets/images/UP.png" alt="" style="margin-left: 107px;">--> |
| | | <!-- <div style="font-size: 18px;font-weight: bolder;">根据单号扫码入库,用PDA扫描此二维码</div>--> |
| | | <!-- </div>--> |
| | | <div v-if="formApprove.m_po" style="margin-top: 5px;"> |
| | | <img src="../../assets/images/UP.png" alt="" style="margin-left: 107px;"> |
| | | <div style="font-size: 18px;font-weight: bolder;">根据单号扫码入库,用PDA扫描此二维码</div> |
| | | </div> |
| | | |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | |
| | | this.$nextTick(() => { |
| | | console.log(this.qrForm.qrvalue, 3333) |
| | | this.bindQRCode2(this.qrForm.qrvalue) |
| | | |
| | | const div = document.getElementById('qrCode2') |
| | | // 这么多代码只需要这一句实现我们所需要的功能,定位div滚动条位置在底部,scrollHeight计算出div的高度,再scrollTop 设置滚动条的高度为多少 |
| | | div.scrollTop = div.scrollHeight // 滚动条位于最底部 |
| | | // div.scrollTop = 0 // 滚动条位于最顶部 |
| | | }) |
| | | } |
| | | }) |