This commit is contained in:
JyuHsin
2025-06-11 11:04:33 +08:00
parent a22f7d1516
commit bcb6b620ec
@@ -408,7 +408,8 @@ layout("/layouts/platform.html"){
<el-form-item :prop="'times.' + $index + '.estimatedCost'"
:rules="{required:true,message:'预计费用',trigger:['change','blur']}"
label-width="0">
<el-input disabled placeholder="请输入预计费用" clearable v-model="row.estimatedCost"></el-input>
<el-input v-if="${@shiro.hasRole('sysadmin')||@shiro.hasRole('SchoolUnionAdmin')}" placeholder="请输入预计费用" clearable v-model="row.estimatedCost"></el-input>
<el-input v-else disabled placeholder="请输入预计费用" clearable v-model="row.estimatedCost"></el-input>
</el-form-item>
</el-descriptions-item>