添加虚拟加载

szh_zidingyibiaoti
lilu 2 years ago
parent 8187b392da
commit e8f7298abf

@ -443,10 +443,8 @@ export default {
if (['issuetype', 'blfrt'].includes(type)) { if (['issuetype', 'blfrt'].includes(type)) {
this.details[type] = res.enName || '' this.details[type] = res.enName || ''
if (type === 'blfrt') { if (type === 'blfrt') {
// portloadid
this.details.prepardat = this.details.prepardat ? this.details.prepardat : this.details.portload || '' this.details.prepardat = this.details.prepardat ? this.details.prepardat : this.details.portload || ''
this.details.placereceiptid = this.details.placereceiptid ? this.details.placereceiptid : this.details.portloadid || '' this.details.placereceiptid = this.details.placereceiptid ? this.details.placereceiptid : this.details.portloadid || ''
// portdischargeid
this.details.payableat = this.details.payableat ? this.details.payableat : this.details.portdischarge || '' this.details.payableat = this.details.payableat ? this.details.payableat : this.details.portdischarge || ''
this.details.payableatid = this.details.payableatid ? this.details.payableatid : this.details.portdischargeid || '' this.details.payableatid = this.details.payableatid ? this.details.payableatid : this.details.portdischargeid || ''
} }

@ -114,6 +114,8 @@
row-class-name="line-box" row-class-name="line-box"
:height="tableHeight" :height="tableHeight"
:checkbox_config="{ checkField: 'checked' }" :checkbox_config="{ checkField: 'checked' }"
:scroll-x="{gt: 10, oSize: 10, enabled: false}"
:scroll-y="{gt: 20, oSize: 20, enabled: true}"
@page-change="handlePageChange" @page-change="handlePageChange"
@cell-dblclick="handledbclick" @cell-dblclick="handledbclick"
@resizable-change="resizableChange" @resizable-change="resizableChange"
@ -1534,6 +1536,7 @@ export default {
this.remarkData = null this.remarkData = null
}, },
goodStatusclick(e, data) { goodStatusclick(e, data) {
console.log('是否已展示', this.goodStatusShow)
if (!this.goodStatusShow) { if (!this.goodStatusShow) {
this.goodStatusHover(e, data) this.goodStatusHover(e, data)
} else { } else {

Loading…
Cancel
Save