红冲发票表头部分字段改为可编辑
This commit is contained in:
parent
9f61b8b3da
commit
c2006189c7
|
@ -66,10 +66,19 @@ export default function (data) {
|
|||
disabledField[one.attrcode] = true;
|
||||
}
|
||||
})
|
||||
// 设置表头项目可编辑性
|
||||
// 设置表头项目可编辑性
|
||||
this.props.form.setFormItemsDisabled(presetVar.formAreaId, disabledField);
|
||||
//def1 合同编号、def2开票类型、def23BIP开票类型
|
||||
if(data.rows[0].values.hzfp.value ){
|
||||
this.props.form.setFormItemsDisabled(presetVar.formAreaId, {
|
||||
def2: false,
|
||||
def23: false,
|
||||
def1: false,
|
||||
});
|
||||
}
|
||||
// 设置表体不可编辑
|
||||
this.props.cardTable.setStatus(presetVar.bodyAreaId, presetVar.status.browse);
|
||||
|
||||
// 设置表体相关按钮不显示
|
||||
this.props.button.setButtonVisible({
|
||||
[presetVar.cardBodyBtns.AddLine]: false,
|
||||
|
|
Loading…
Reference in New Issue