This commit is contained in:
bb_pan 2025-05-29 17:02:36 +08:00
parent 98c5cf75e6
commit 166946521f
2 changed files with 6 additions and 4 deletions

View File

@ -6,7 +6,7 @@
<div class="uploadImg">
<div id="qrcode" class="qrcode" ref="codeItem"></div>
</div>
<div class="boxCode">编号{{ qrcodeValue }}</div>
<div class="boxCode">编号{{ code }}</div>
</div>
<div slot="footer" class="dialog-footer" style="text-align: center">
<el-button type="primary" @click="downloadCode"> </el-button>
@ -24,17 +24,19 @@ export default {
return {
dialogTitle: '查看', //
dialogVisible: false, //
qrcodeValue: '' //
qrcodeValue: '', //
code: ''
}
},
created() {},
methods: {
showQRCode(qrCode) {
showQRCode(qrCode, code) {
console.log('🚀 ~ showQRCode ~ qrCode:', qrCode)
this.qrcodeValue = '' //
this.dialogTitle = '查看'
this.dialogVisible = true
this.qrcodeValue = qrCode
this.code = code
this.$nextTick(() => {
this.$refs.codeItem.innerHTML = ''

View File

@ -208,7 +208,7 @@ export default {
// }
// },
handleSee(row) {
this.$refs.qrCodeView.showQRCode(row.qrCode)
this.$refs.qrCodeView.showQRCode(row.qrCode, row.maCode)
},
}
}