This commit is contained in:
xielue 2023-09-09 15:28:03 +08:00
parent d252bdded9
commit ca9f47366b
1 changed files with 8 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<a-button type="primary" @click="ok" :disabled="pageStatus == 'approved'">保存</a-button>
<a-button type="primary" @click="ok" >保存</a-button>
<a-button @click="pageApproved" type="primary" :disabled="!this.getDataId() || pageStatus == 'approved'">审批
</a-button>
@ -283,6 +283,13 @@ export default {
setPageReadonly(readonly) {
this.formOptions.items.forEach(item => {
if (item.field == 'paid_amount'){
return;
}
if (item.field == 'paid_ratio'){
return;
}
if (item.itemRender && item.itemRender.name == "$select") {
item.itemRender.props.disabled = readonly;
}