(cherry picked from commit 94953fe6b557c6fbecc22f587e6b2e24ea8b3928)
This commit is contained in:
BOOL\25024
2024-11-04 10:37:29 +08:00
committed by Guoqs
parent a5ee3a3661
commit 002b751337

View File

@@ -35,14 +35,18 @@
</el-table-column> </el-table-column>
<el-table-column label="是否承担手续费" align="center" width="200"> <el-table-column label="是否承担手续费" align="center" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- <el-switch <el-switch v-model="scope.row.state"></el-switch>
v-model="scope.row.state" </template>
active-text="" </el-table-column>
inactive-text="" <el-table-column label="操作" align="center">
></el-switch> --> <template slot-scope="scope">
<el-switch <el-button
v-model="scope.row.state" size="mini"
></el-switch> type="text"
icon="el-icon-delete"
@click="deleteUpdate(scope.row)"
>删除</el-button
>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -169,7 +173,10 @@ export default {
}); });
// 检查是否只有一个人承担手续费 // 检查是否只有一个人承担手续费
if (trueCount != 1) return this.$modal.msgError("手续费只能有一个人承担"); if (trueCount != 1) return this.$modal.msgError("手续费只能有一个人承担");
this.$modal.msgSuccess("修改成功");
}, },
//删除
deleteUpdate() {},
}, },
}; };
</script> </script>