<el-table @row-click="rowClick" v-loading="loading" :data="tableData"
style="width:100%;margin-top:10px;" stripe>
<el-table-column label width="55">
<template slot-scope="scope">
<el-radio :label="scope.row.contractNumber" v-model="radioId"> </el-radio>
</template>
</el-table-column>
<el-table-column prop="contractNumber" label="合同编号"></el-table-column>
</el-table>
rowClick(row) {
console.log("??")
this.radioId = row.contractNumber
this.temp = {
purchaseId: row.purchaseId,
contractNumber: row.contractNumber
}
console.log(this.radioId);
},
网友评论