付款单-附件张数赋值-2005迁移到2312
This commit is contained in:
parent
b4df30800d
commit
5aea4c966c
|
@ -963,6 +963,12 @@ class Card extends Component {
|
|||
// }
|
||||
let cardData = this.props.createMasterChildData(this.getPagecode(), this.formId, this.tableId);
|
||||
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)) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue