|
|
@@ -49,27 +49,12 @@
|
|
|
|
|
|
<template v-slot:defaultValue="{ row }">
|
|
|
<div class="main-parameter-cell">
|
|
|
- <div class="main-parameter-symbol" v-if="row.textType != 8">
|
|
|
- <DictSelection
|
|
|
- clearable
|
|
|
- dictName="数学字符"
|
|
|
- v-model="row.symbol"
|
|
|
- :disabled="isView"
|
|
|
- ></DictSelection>
|
|
|
- </div>
|
|
|
<div
|
|
|
v-if="row.textType == 3 || row.textType == 8"
|
|
|
class="main-parameter-range"
|
|
|
>
|
|
|
<el-input
|
|
|
- v-model="row.minValue"
|
|
|
- :disabled="isView"
|
|
|
- :style="{ width: row.textType == 3 ? '45%' : '150px' }"
|
|
|
- ></el-input>
|
|
|
- <span v-if="row.textType == 3"> -</span>
|
|
|
-
|
|
|
- <el-input
|
|
|
- v-else
|
|
|
+ v-if="row.textType == 8"
|
|
|
v-model="row.defaultValue"
|
|
|
style="width: 250px; margin-left: 10px"
|
|
|
>
|
|
|
@@ -84,6 +69,14 @@
|
|
|
</DictSelection
|
|
|
></template>
|
|
|
</el-input>
|
|
|
+
|
|
|
+ <el-input
|
|
|
+ v-model="row.minValue"
|
|
|
+ :disabled="isView"
|
|
|
+ :style="{ width: row.textType == 3 ? '45%' : '150px' }"
|
|
|
+ ></el-input>
|
|
|
+ <span> -</span>
|
|
|
+
|
|
|
<el-input
|
|
|
v-model="row.maxValue"
|
|
|
:disabled="isView"
|
|
|
@@ -92,22 +85,41 @@
|
|
|
marginLeft: '10px'
|
|
|
}"
|
|
|
></el-input>
|
|
|
+ <div class="main-parameter-unit" v-if="row.textType != 8">
|
|
|
+ <DictSelection
|
|
|
+ dictName="工艺参数单位"
|
|
|
+ clearable
|
|
|
+ filterable
|
|
|
+ v-model="row.unitName"
|
|
|
+ :disabled="isView"
|
|
|
+ ></DictSelection>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div v-else class="main-parameter-input">
|
|
|
+ <div v-else style="display: flex; width: 80%">
|
|
|
+ <!-- <div class="main-parameter-symbol"> -->
|
|
|
+ <DictSelection
|
|
|
+ style="width: 100px"
|
|
|
+ clearable
|
|
|
+ dictName="数学字符"
|
|
|
+ v-model="row.symbol"
|
|
|
+ :disabled="isView"
|
|
|
+ ></DictSelection>
|
|
|
+ <!-- </div> -->
|
|
|
<el-input
|
|
|
v-model="row.defaultValue"
|
|
|
placeholder="请输入"
|
|
|
:disabled="isView"
|
|
|
></el-input>
|
|
|
- </div>
|
|
|
- <div class="main-parameter-unit" v-if="row.textType != 8">
|
|
|
+ <!-- <div class="main-parameter-unit"> -->
|
|
|
<DictSelection
|
|
|
dictName="工艺参数单位"
|
|
|
+ style="width: 150px"
|
|
|
clearable
|
|
|
filterable
|
|
|
v-model="row.unitName"
|
|
|
:disabled="isView"
|
|
|
></DictSelection>
|
|
|
+ <!-- </div> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|