This commit is contained in:
chenjianan
2018-12-19 10:50:29 +08:00
parent f32d5064c3
commit 2324522f30

View File

@@ -142,7 +142,7 @@
<b>二维码</b><br>
<img id="img">
</div>
<div style="min-height:500px;margin: 0px auto;width:800px;border:1px solid black" v-html="returns"/>
<div id="print" style="min-height:500px;margin: 0px auto;width:800px;border:1px solid black" v-html="returns"/>
<el-card v-show="searchView">
<!--将新一般处理页添加至通讯服务器-->
<div>附件图</div>
@@ -212,7 +212,7 @@ export default {
},
methods: {
download() {
if (this.contract) {
if (this.contractValue) {
exportExcelMethod('print', '采购合同', '采购合同sheet1')
} else {
this.$message.error('请选择合同')
@@ -237,7 +237,7 @@ export default {
},
searchPic() {
// 读取图片时查找合同流水号获取其下所有图片id根据拼接成的路径查询图片显示出来。
searchFile(this.contract).then(response => {
searchFile(this.contractValue).then(response => {
if (response.data.length !== 0) {
this.searchView = 'http://localhost:8022/Img/' + response.data[0].文件名
} else {