jquery
This commit is contained in:
@@ -604,6 +604,7 @@ import { searchMaterial, searchPart, searchSupplier, searchCreateInquirySheet, s
|
|||||||
submitUseInventory } from '@/api/PurchasingCenter/CreateInquirySheet'
|
submitUseInventory } from '@/api/PurchasingCenter/CreateInquirySheet'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
import { exportExcelMethod } from './exportExcel'
|
import { exportExcelMethod } from './exportExcel'
|
||||||
|
import $ from 'jquery'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: '', // 创建询价单
|
name: '', // 创建询价单
|
||||||
@@ -973,7 +974,7 @@ export default {
|
|||||||
tr[i] = document.createElement('tr')
|
tr[i] = document.createElement('tr')
|
||||||
tr[i].setAttribute('class', 'tableData')
|
tr[i].setAttribute('class', 'tableData')
|
||||||
tr[i].innerHTML = `<td width="8.3%" height="30px"/><td height="30px" width="16.6%" colspan="2"/><td height="30px" width="16.6%" colspan="2"/><td height="30px" width="16.6%" colspan="2"/><td height="30px" width="16.6%" colspan="2"/><td height="30px" width="16.6%" colspan="2"/><td height="30px" colspan="3"/>`
|
tr[i].innerHTML = `<td width="8.3%" height="30px"/><td height="30px" width="16.6%" colspan="2"/><td height="30px" width="16.6%" colspan="2"/><td height="30px" width="16.6%" colspan="2"/><td height="30px" width="16.6%" colspan="2"/><td height="30px" width="16.6%" colspan="2"/><td height="30px" colspan="3"/>`
|
||||||
document.getElementById('tablehead').after(tr[i])
|
$('#tablehead').after(tr[i])
|
||||||
}
|
}
|
||||||
for (let j = 0; j < this.tableData3.length; j++) {
|
for (let j = 0; j < this.tableData3.length; j++) {
|
||||||
document.getElementsByClassName('tableData')[j].children[0].innerHTML = j + 1
|
document.getElementsByClassName('tableData')[j].children[0].innerHTML = j + 1
|
||||||
|
|||||||
@@ -1207,7 +1207,7 @@ export default {
|
|||||||
tr[i] = document.createElement('tr')
|
tr[i] = document.createElement('tr')
|
||||||
tr[i].setAttribute('class', 'tableData')
|
tr[i].setAttribute('class', 'tableData')
|
||||||
tr[i].innerHTML = `<td style="height: 40px"/><td colspan="2" style="height: 40px"/><td style="height: 40px"/><td colspan="2" style="height: 40px"/><td style="height: 40px"/><td colspan="2" style="height: 40px"/><td colspan="2" style="height: 40px"/><td style="height: 40px"/><td colspan="2" style="height: 40px"/>`
|
tr[i].innerHTML = `<td style="height: 40px"/><td colspan="2" style="height: 40px"/><td style="height: 40px"/><td colspan="2" style="height: 40px"/><td style="height: 40px"/><td colspan="2" style="height: 40px"/><td colspan="2" style="height: 40px"/><td style="height: 40px"/><td colspan="2" style="height: 40px"/>`
|
||||||
document.getElementById('tablehead').after(tr[i])
|
$('#tablehead').after(tr[i])
|
||||||
}
|
}
|
||||||
let total = 0
|
let total = 0
|
||||||
for (let j = 0; j < this.tableData3.length; j++) {
|
for (let j = 0; j < this.tableData3.length; j++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user