qrcode
This commit is contained in:
@@ -144,10 +144,6 @@
|
|||||||
@current-change="handleCurrentChange1"/>
|
@current-change="handleCurrentChange1"/>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<div style="margin:5px;float: left">
|
|
||||||
<b>二维码:</b><br>
|
|
||||||
<img id="img">
|
|
||||||
</div>
|
|
||||||
<div id="print" class="print" style="min-height:500px;margin: 0px auto;width:800px;border:1px solid black" v-html="returns"/>
|
<div id="print" class="print" style="min-height:500px;margin: 0px auto;width:800px;border:1px solid black" v-html="returns"/>
|
||||||
<el-card v-show="searchView">
|
<el-card v-show="searchView">
|
||||||
<!--将新一般处理页添加至通讯服务器-->
|
<!--将新一般处理页添加至通讯服务器-->
|
||||||
@@ -312,11 +308,13 @@ export default {
|
|||||||
this.searchTable1()
|
this.searchTable1()
|
||||||
},
|
},
|
||||||
searchTable2(row) {
|
searchTable2(row) {
|
||||||
this.useqrcode(row.采购合同流水号)
|
|
||||||
this.searchPic() // 显示图片
|
this.searchPic() // 显示图片
|
||||||
this.contractValue = parseInt(row.采购合同流水号)
|
this.contractValue = parseInt(row.采购合同流水号)
|
||||||
searchTable2(this.contractValue).then(response => {
|
searchTable2(this.contractValue).then(response => {
|
||||||
this.returns = response.data[0].合同内容
|
this.returns = response.data[0].合同内容
|
||||||
|
}).then(() => {
|
||||||
|
$('#contractName').next('td').html(`<img id="img">`)
|
||||||
|
this.useqrcode(row.采购合同流水号) // 显示二维码
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user