导出
This commit is contained in:
@@ -142,7 +142,7 @@
|
|||||||
<b>二维码:</b><br>
|
<b>二维码:</b><br>
|
||||||
<img id="img">
|
<img id="img">
|
||||||
</div>
|
</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">
|
<el-card v-show="searchView">
|
||||||
<!--将新一般处理页添加至通讯服务器-->
|
<!--将新一般处理页添加至通讯服务器-->
|
||||||
<div>附件图:</div>
|
<div>附件图:</div>
|
||||||
@@ -212,7 +212,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
download() {
|
download() {
|
||||||
if (this.contract) {
|
if (this.contractValue) {
|
||||||
exportExcelMethod('print', '采购合同', '采购合同sheet1')
|
exportExcelMethod('print', '采购合同', '采购合同sheet1')
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('请选择合同')
|
this.$message.error('请选择合同')
|
||||||
@@ -237,7 +237,7 @@ export default {
|
|||||||
},
|
},
|
||||||
searchPic() {
|
searchPic() {
|
||||||
// 读取图片时,查找合同流水号,获取其下所有图片id,根据拼接成的路径,查询图片显示出来。
|
// 读取图片时,查找合同流水号,获取其下所有图片id,根据拼接成的路径,查询图片显示出来。
|
||||||
searchFile(this.contract).then(response => {
|
searchFile(this.contractValue).then(response => {
|
||||||
if (response.data.length !== 0) {
|
if (response.data.length !== 0) {
|
||||||
this.searchView = 'http://localhost:8022/Img/' + response.data[0].文件名
|
this.searchView = 'http://localhost:8022/Img/' + response.data[0].文件名
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user