付款单-附件张数赋值-2005迁移到2312

This commit is contained in:
mzr 2025-04-09 15:14:04 +08:00
parent b4df30800d
commit 5aea4c966c
1 changed files with 6 additions and 0 deletions

View File

@ -963,6 +963,12 @@ class Card extends Component {
// } // }
let cardData = this.props.createMasterChildData(this.getPagecode(), this.formId, this.tableId); let cardData = this.props.createMasterChildData(this.getPagecode(), this.formId, this.tableId);
let newCardData = dealCardData(this, cardData); //去掉空值,减少压缩时间 let newCardData = dealCardData(this, cardData); //去掉空值,减少压缩时间
let tableLength = newCardData.body.bodys.rows.length || 0
// console.log('form', this.props.form)
//附件张数赋值
this.props.form.setFormItemsValue(this.formId, {'accessorynum': {'value': tableLength + '', 'display': undefined}});
if(checkScommet(this, cardData)) { if(checkScommet(this, cardData)) {
return; return;
} }