新增DropdownTable组件
This commit is contained in:
@@ -22,10 +22,6 @@
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
index: {
|
||||
type: Number,
|
||||
default: () => 0
|
||||
},
|
||||
placeholder: {
|
||||
type: String,
|
||||
default: '请选择'
|
||||
@@ -84,8 +80,8 @@
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
handleRowClick(val) {
|
||||
this.$emit('selectedData', { list: val, index: this.index })
|
||||
handleRowClick(val, column) {
|
||||
this.$emit('selectedData', { list: val, index: column })
|
||||
this.timer = setTimeout(() => {
|
||||
this.popVisible = false
|
||||
}, 200)
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
:name.sync="temp.licenseId"
|
||||
:tableData= "licenseList"
|
||||
@selectedData="selectedFeeItem"
|
||||
placeholder="选择费用项"
|
||||
placeholder="请选择"
|
||||
/>
|
||||
|
||||
</el-form-item>
|
||||
|
||||
Reference in New Issue
Block a user