|
|
|
@ -402,18 +402,18 @@ |
|
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- prop=""--> |
|
|
|
<!-- header-align="center"--> |
|
|
|
<!-- align="center"--> |
|
|
|
<!-- min-width="80"--> |
|
|
|
<!-- label="可选值">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <el-select v-model="scope.row.chooseValue" placeholder="请选择">--> |
|
|
|
<!-- <el-option v-for="item in scope.row.availableValueList" :key="index" :label="item.availableValue" :value="item.availableValue"></el-option>--> |
|
|
|
<!-- </el-select>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<el-table-column |
|
|
|
prop="" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
min-width="60" |
|
|
|
label="可选值"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-select v-model="scope.row.chooseValue" placeholder="请选择"> |
|
|
|
<el-option v-for="item in scope.row.availableValueList" :key="item.availableValue" :label="item.availableValue" :value="item.availableValue"></el-option> |
|
|
|
</el-select> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="" |
|
|
|
header-align="center" |
|
|
|
@ -2786,7 +2786,12 @@ |
|
|
|
temp.push(itemB) |
|
|
|
} |
|
|
|
}) |
|
|
|
this.chooseItemList2 = temp |
|
|
|
this.chooseItemList2 = temp.map(item => { |
|
|
|
if (item.availableValueList.length > 0) { |
|
|
|
item.chooseValue = item.availableValueList[0].availableValue |
|
|
|
} |
|
|
|
return item |
|
|
|
}) |
|
|
|
this.chooseModelFlag2 = false |
|
|
|
}, |
|
|
|
|
|
|
|
|