28014
This commit is contained in:
@@ -402,12 +402,14 @@ export default {
|
||||
},
|
||||
|
||||
onPickerChange(e) {
|
||||
console.log(e)
|
||||
const index = e.target.dataset.index
|
||||
const i = e.target.dataset.i
|
||||
const dict = e.target.dataset.dict
|
||||
const value = e.detail.value
|
||||
// const value = e.detail.value
|
||||
// const key = this.$dict.getLabel(dict, value)
|
||||
const key = this.$dict.getDict(dict)[value].dictName
|
||||
const value = this.$dict.getDict(dict)[0].dictValue
|
||||
const key = this.$dict.getDict(dict)[0].dictName
|
||||
|
||||
this.$set(this.tableForm[index][i], 'fieldValue', value)
|
||||
this.$set(this.tableForm[index][i], 'fieldDictName', key)
|
||||
|
||||
Reference in New Issue
Block a user