|
@@ -44,7 +44,7 @@
|
|
</el-row>
|
|
</el-row>
|
|
<el-radio-group v-model="form.addressId" style="width:100%">
|
|
<el-radio-group v-model="form.addressId" style="width:100%">
|
|
<el-table border style="margin-top:5px;" v-loading="addressloading" :data="address">
|
|
<el-table border style="margin-top:5px;" v-loading="addressloading" :data="address">
|
|
- <el-table-column label="ID" align="center" >
|
|
|
|
|
|
+ <el-table-column label="ID" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-radio :label="scope.row.addressId"></el-radio>
|
|
<el-radio :label="scope.row.addressId"></el-radio>
|
|
</template>
|
|
</template>
|
|
@@ -609,7 +609,12 @@ export default {
|
|
this.resetForm("queryForm");
|
|
this.resetForm("queryForm");
|
|
this.handleQuery();
|
|
this.handleQuery();
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+ // 多选框选中数据
|
|
|
|
+ handleSelectionChange(selection) {
|
|
|
|
+ this.ids = selection.map(item => item.id)
|
|
|
|
+ this.single = selection.length!==1
|
|
|
|
+ this.multiple = !selection.length
|
|
|
|
+ },
|
|
/** 新增按钮操作 */
|
|
/** 新增按钮操作 */
|
|
handleAdd() {
|
|
handleAdd() {
|
|
this.reset();
|
|
this.reset();
|