|
|
@@ -11,22 +11,22 @@
|
|
|
<template v-for="form in formDatas" :key="form.label">
|
|
|
<a-col v-if="!form.isLine" :span="8">
|
|
|
<a-form-item :name="form.key" :label="form.label" :rules="[{ required: form.isRequired }]">
|
|
|
- <span v-if="form.type === 'span'" style="width: 210px;">{{ formState[form.key] }}</span>
|
|
|
+ <span v-if="form.type === 'span'">{{ formState[form.key] }}</span>
|
|
|
<a-input
|
|
|
v-if="form.type === 'input' && form.key !== 'organizationCode'"
|
|
|
- v-model:value="formState[form.key]" style="width: 210px;" size="small" :disabled="isReadonly"
|
|
|
+ v-model:value="formState[form.key]" size="small" :disabled="isReadonly"
|
|
|
/>
|
|
|
<a-input
|
|
|
- v-if="form.key === 'organizationCode'" v-model:value="formState[form.key]" style="width: 210px;"
|
|
|
- size="small" :disabled="true"
|
|
|
+ v-if="form.key === 'organizationCode'" v-model:value="formState[form.key]" size="small"
|
|
|
+ :disabled="true"
|
|
|
/>
|
|
|
<a-select
|
|
|
v-if="form.label === '接收方性质'" v-model:value="formState[form.key]" size="small"
|
|
|
- :options="natures" style="width: 210px;" :disabled="true"
|
|
|
+ :options="natures" :disabled="true"
|
|
|
/>
|
|
|
<a-select
|
|
|
v-if="form.label === '是否公车改革'" v-model:value="formState[form.key]" size="small"
|
|
|
- :options="reforms" style="width: 210px;" :disabled="isReadonly"
|
|
|
+ :options="reforms" :disabled="isReadonly"
|
|
|
/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
@@ -134,7 +134,7 @@ defineExpose({
|
|
|
margin-bottom: 4px !important;
|
|
|
}
|
|
|
|
|
|
-:deep(.ant-form-item-label > label){
|
|
|
+:deep(.ant-form-item-label > label) {
|
|
|
font-size: 14px !important;
|
|
|
font-weight: 500 !important;
|
|
|
}
|