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 {