sc
This commit is contained in:
@@ -171,9 +171,10 @@ const formSchema = computed(() => {
|
||||
it.componentProps['disabled-date'] = dateAfterToday
|
||||
// it.componentProps['disabled'] = formType.value != 'create'
|
||||
it.componentProps['disabled'] = true
|
||||
} else if (it.field == 'convertPeople' && formType.value == 'update') {
|
||||
it.componentProps['disabled'] = true
|
||||
}
|
||||
// else if (it.field == 'convertPeople' && formType.value == 'update') {
|
||||
// it.componentProps['disabled'] = true
|
||||
// }
|
||||
if (it.field == 'convertPeople') {
|
||||
it.options = props.allUserOptions.map((it) => ({ ...it, name: it.nickname }))
|
||||
}
|
||||
|
||||
@@ -22,7 +22,13 @@
|
||||
<el-button type="primary" v-hasPermi="['clue:pool:update']" plain @click="handleUpdate">
|
||||
修改
|
||||
</el-button>
|
||||
<el-button type="danger" v-hasPermi="['clue:pool:delete']" plain @click="handleRemove">
|
||||
<el-button
|
||||
type="danger"
|
||||
v-if="info.state != '成交'"
|
||||
v-hasPermi="['clue:pool:delete']"
|
||||
plain
|
||||
@click="handleRemove"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user