This commit is contained in:
chenjianan
2018-12-28 13:37:00 +08:00
parent 0d86d16d0e
commit e581a744e0
6 changed files with 21 additions and 13 deletions

View File

@@ -279,7 +279,7 @@
<script>
import { searchInvoice, editInvoice, deleteInvoice, initSender, initSupplier, searchContract, searchOffline, invoiceDetail } from '@/api/PurchasingCenter/PurchaseInvoiceDelivery'
import { mapGetters } from 'vuex'
import { uploadInvoiceScan } from '@/utils/request'
import { uploadInvoiceScan, readFile } from '@/utils/request'
import request from '@/utils/request'
export default {
@@ -557,7 +557,7 @@ export default {
name: `select * from 采购管理_采购发票_附件 where 是否启用 = 1 and 发票交接流水号 = ${row.发票交接流水号}`
}
})
this.tableData1[i].scanSrc = 'http://localhost:8411/webpage/file/' + data[0].文件标识 + '.' + data[0].文件后缀
this.tableData1[i].scanSrc = readFile + data[0].文件标识 + '.' + data[0].文件后缀
},
async searchPicInner(row) {
const { data } = await request({
@@ -568,7 +568,7 @@ export default {
name: `select * from 采购管理_采购发票_附件 where 是否启用 = 1 and 发票交接流水号 = ${row.发票交接流水号}`
}
})
this.scanSrc = 'http://localhost:8411/webpage/file/' + data[0].文件标识 + '.' + data[0].文件后缀
this.scanSrc = readFile + data[0].文件标识 + '.' + data[0].文件后缀
}
}
}