This commit is contained in:
admin-lmm
2023-07-07 16:10:09 +08:00
parent 7b6f03ddab
commit dd1d012a0b

View File

@@ -10,7 +10,7 @@
> >
<el-table-column width="80" label="选择" @row-click="singleElection"> <el-table-column width="80" label="选择" @row-click="singleElection">
<template slot-scope="scope"> <template slot-scope="scope">
<el-radio class="radio" v-model="templateSelection" :label="scope.$index+1"> <el-radio class="radio" v-model="templateRadioId" :label="scope.$index+1">
<p v-html>&nbsp;</p> <p v-html>&nbsp;</p>
</el-radio> </el-radio>
</template> </template>
@@ -48,6 +48,7 @@ export default {
}, },
methods: { methods: {
submit(){ submit(){
console.log('this.templateRadioId',this.templateRadioId)
if(this.templateRadioId === null) return this.$modal.msgWarning('请选择文件') if(this.templateRadioId === null) return this.$modal.msgWarning('请选择文件')
// console.log('接收传递的 pileSn',this.pileSn,this.templateRadioId); // console.log('接收传递的 pileSn',this.pileSn,this.templateRadioId);
const data = { const data = {