当前位置:网站首页>Jvxetable sub table record loading completion event
Jvxetable sub table record loading completion event
2022-06-30 02:54:00 【OK_ boom】
JvxeTable In fact, it uses vxeTable, But it's a pity vxeTable No load completion event .
check jvxeTable Code , Find out JVxeTableMixin.methods.requestSubTableData Last parameter success It is the callback after successful remote data acquisition
The goal is : After the sub table is loaded , Check whether the sub table records have any records that have not been followed up , If so, the following buttons will be displayed
- First step , stay methods Join in :
async updateMtMainPurchase() {
// Judge whether the purchase has been tracked
let mtMain = await getRefPromise(this, 'smpOrderMtMain')
let rows = mtMain.getAll().tableData
console.log(rows)
let res = rows.filter(item => {
return item.purStatus < 'B06A02'
})
return res.length>0
}
- The first 2 Step , modify editAfter
Change the statement to pull the remote data of the sub table to the following , It is to stop after pulling successfully 100 Call... In milliseconds updateMtMainPurchase Update the returned results to hasUnAssignPurchase
this.requestSubTableData(this.url.smpOrderMtMain.list, params, this.smpOrderMtMainTable,
()=>{
setTimeout(()=>{
that.updateMtMainPurchase().then(ret=>{
that.$set(that,'hasUnAssignPurchase',ret)
})
},100)
})
边栏推荐
- unity的text首列有标点符号咋办
- Raki's notes on reading paper: discontinuous named entity recognition as maximum clique discovery
- 002 color classification
- [on] [DSTG] dynamic spatiotemporalgraph revolutionary neural networks for traffic data impact
- What are the three paradigms of database
- oracle怎么设置密码复杂度及超时退出的功能
- Heavy attack -- ue5's open source digital twin solution
- CMake教程系列-01-最小配置示例
- Software testing skills, JMeter stress testing tutorial, transaction controller of logic controller (25)
- Which is a good foreign exchange trading platform? Is it safe to have regulated funds?
猜你喜欢

FDA ESG regulation: digital certificate must be used to ensure communication security

Summary of knowledge points about eigenvalues and eigenvectors of matrices in Chapter 5 of Linear Algebra (Jeff's self perception)

IBM WebSphere channel connectivity setup and testing

Playful palette: an interactive parametric color mixer for artists

Precautions for purchasing wildcard SSL certificate

What is the difference between a layer 3 switch and a layer 2 switch

Cmake tutorial series -02- generating binaries using cmake code

FAQs for code signature and driver signature

可视化HTA窗体设计器-HtaMaker 界面介绍及使用方法,下载 | HTA VBS可视化脚本编写

Unity TimeLine 数据绑定
随机推荐
微信小程序页面跳转以及参数传递
Cmake tutorial series-01-minimum configuration example
Threejs mirror case reflector create mirror + house construction + small ball movement
Cmake tutorial series -05- options and variables
Raki's notes on reading paper: Leveraging type descriptions for zero shot named entity recognition and classification
How to prevent phishing emails? S/mime mail certificate
Seven common errors of SSL certificate and their solutions
Heavy attack -- ue5's open source digital twin solution
迅為恩智浦iTOP-IMX6開發平臺
unity的text首列有标点符号咋办
Cmake tutorial series-03-dependency management
Welfare lottery | what are the highlights of open source enterprise monitoring zabbix6.0
Linear algebra Chapter 4 Summary of knowledge points of linear equations (Jeff's self perception)
在php中字符串的概念是什么
可视化HTA窗体设计器-HtaMaker 界面介绍及使用方法,下载 | HTA VBS可视化脚本编写
CMake教程系列-02-使用cmake代码生成二进制
Playful palette: an interactive parametric color mixer for artists
[dry goods sharing] the latest WHQL logo certification application process
Global and Chinese market of mobile commerce solutions 2022-2028: Research Report on technology, participants, trends, market size and share
Unity TimeLine 数据绑定