@ -40,7 +40,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="状态" prop="status">
<el-switch v-model="formData.status" />
<el-switch v-model="formData.status" :disabled="formData.name=='默认规则'&&formType=='update'"/>
</el-form-item>
</el-row>
@ -41,7 +41,7 @@
<el-switch key="status" v-model="formData.status" />
<el-switch key="status" v-model="formData.status" :disabled="formData.name=='默认规则'&&formType=='update'"/>
@ -1079,14 +1079,14 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
componentProps: {
disabled: true,
min: 0,
precision: 6
precision: 2,
},
tableForm: {
type: 'InputNumber',
}
{