This commit is contained in:
parent
d252bdded9
commit
ca9f47366b
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue