|
@@ -78,10 +78,10 @@
|
|
|
v-if="item.type === 'enum' && item.description !== null"
|
|
|
style="width: 200px">
|
|
|
<el-option
|
|
|
- v-for="dict in getStrDictOptions(item.description)"
|
|
|
+ v-for="dict in (item.name === '非生产原因' ? getIntDictOptions(item.description) : getStrDictOptions(item.description))"
|
|
|
:key="dict.label"
|
|
|
:label="dict.label"
|
|
|
- :value="dict.value"
|
|
|
+ :value="item.name === '非生产原因' ? Number(dict.value) : dict.value.toString()"
|
|
|
/>
|
|
|
</el-select>
|
|
|
<el-input
|
|
@@ -107,10 +107,10 @@
|
|
|
style="width: 200px"
|
|
|
filterable>
|
|
|
<el-option
|
|
|
- v-for="dict in getStrDictOptions(item.description)"
|
|
|
+ v-for="dict in (item.name === '非生产原因' ? getIntDictOptions(item.description) : getStrDictOptions(item.description))"
|
|
|
:key="dict.label"
|
|
|
:label="dict.label"
|
|
|
- :value="dict.value"
|
|
|
+ :value="item.name === '非生产原因' ? Number(dict.value) : dict.value.toString()"
|
|
|
/>
|
|
|
</el-select>
|
|
|
<el-input
|