From 2324522f30a0f47a80193cca5169c0f7f87b0942 Mon Sep 17 00:00:00 2001 From: chenjianan Date: Wed, 19 Dec 2018 10:50:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/PurchasingCenter/PurchaseContractSearch/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/PurchasingCenter/PurchaseContractSearch/index.vue b/src/views/PurchasingCenter/PurchaseContractSearch/index.vue index 16ed90fb..2c78c44b 100644 --- a/src/views/PurchasingCenter/PurchaseContractSearch/index.vue +++ b/src/views/PurchasingCenter/PurchaseContractSearch/index.vue @@ -142,7 +142,7 @@ 二维码:
-
+
附件图:
@@ -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 {