|
@ -22,7 +22,7 @@ |
|
|
:rules="tableFormRules" |
|
|
:rules="tableFormRules" |
|
|
:class="tableFormRules ? '' : 'noRulesForm'"> |
|
|
:class="tableFormRules ? '' : 'noRulesForm'"> |
|
|
<el-form-item :prop="tableFields[0].field"> |
|
|
<el-form-item :prop="tableFields[0].field"> |
|
|
<el-select |
|
|
<el-select :key="row.id+$index" |
|
|
v-model="row.type" |
|
|
v-model="row.type" |
|
|
:placeholder="tableFields[0].placeholder || '请输入' + tableFields[0].label" |
|
|
:placeholder="tableFields[0].placeholder || '请输入' + tableFields[0].label" |
|
|
@change="tableFormChange(tableFields[0].field, $event, row)" |
|
|
@change="tableFormChange(tableFields[0].field, $event, row)" |
|
@ -51,7 +51,7 @@ |
|
|
:rules="tableFormRules" |
|
|
:rules="tableFormRules" |
|
|
:class="tableFormRules ? '' : 'noRulesForm'"> |
|
|
:class="tableFormRules ? '' : 'noRulesForm'"> |
|
|
<el-form-item :prop="tableFields[1].field"> |
|
|
<el-form-item :prop="tableFields[1].field"> |
|
|
<el-select |
|
|
<el-select :key="row.id+$index" |
|
|
v-model="row.value" |
|
|
v-model="row.value" |
|
|
:placeholder=" |
|
|
:placeholder=" |
|
|
tableFields[1].placeholder || |
|
|
tableFields[1].placeholder || |
|
|