|
|
|
@ -237,11 +237,11 @@ |
|
|
|
<el-input v-model="scope.row.textValue" v-else></el-input> |
|
|
|
</div> |
|
|
|
<div v-else> |
|
|
|
<el-select style="width: 100%;" v-if="scope.row.valueTypeDb === 'T'" v-model="scope.row.textValue"> |
|
|
|
<el-option :value="i.availableValue" :label="i.availableValue" v-for="(i,key) in scope.row.list" :key="key"></el-option> |
|
|
|
<el-select style="width: 100%;" v-if="scope.row.valueTypeDb === 'T'" v-model="scope.row.textValue" clearable> |
|
|
|
<el-option :value="i.availableValue" :label="i.availableValue" v-for="(i,key) in scope.row.availableValueList" :key="key"></el-option> |
|
|
|
</el-select> |
|
|
|
<el-select style="width: 100%;" v-else v-model="scope.row.numValue"> |
|
|
|
<el-option :value="i.availableValue" :label="i.availableValue" v-for="(i,key) in scope.row.list" :key="key"></el-option> |
|
|
|
<el-select style="width: 100%;" v-else v-model="scope.row.numValue" clearable> |
|
|
|
<el-option :value="i.availableValue" :label="i.availableValue" v-for="(i,key) in scope.row.availableValueList" :key="key"></el-option> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -1154,6 +1154,7 @@ |
|
|
|
updateItemValue () { |
|
|
|
this.loading = true |
|
|
|
let tempData = { |
|
|
|
updateBy: this.$store.state.user.name, |
|
|
|
itemList: JSON.parse(JSON.stringify(this.copyAttributeList)) |
|
|
|
} |
|
|
|
commitItemValue(tempData).then(({data}) => { |
|
|
|
|