合同附图不要了
This commit is contained in:
@@ -160,7 +160,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { initContract, initBuyer, searchTable1, searchTable2, deleteContract } from '@/api/PurchasingCenter/PurchaseContractSearch'
|
import { initContract, initBuyer, searchTable1, searchTable2, deleteContract } from '@/api/PurchasingCenter/PurchaseContractSearch'
|
||||||
import { searchFile } from '@/api/PurchasingCenter/CreateContract'
|
|
||||||
import QRCode from 'qrcode'
|
import QRCode from 'qrcode'
|
||||||
import $ from 'jquery'
|
import $ from 'jquery'
|
||||||
// import { exportExcelMethod } from './exportExcel'
|
// import { exportExcelMethod } from './exportExcel'
|
||||||
@@ -272,16 +271,6 @@ export default {
|
|||||||
img.src = url
|
img.src = url
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
searchPic() {
|
|
||||||
// 读取图片时,查找合同流水号,获取其下所有图片id,根据拼接成的路径,查询图片显示出来。
|
|
||||||
searchFile(this.contractValue).then(response => {
|
|
||||||
if (response.data.length !== 0) {
|
|
||||||
this.searchView = 'http://localhost:8022/Img/' + response.data[0].文件名
|
|
||||||
} else {
|
|
||||||
this.searchView = ''
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
fetchData() {
|
fetchData() {
|
||||||
initContract().then(response => {
|
initContract().then(response => {
|
||||||
for (let i = 0; i < response.data.length; i++) {
|
for (let i = 0; i < response.data.length; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user