mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-10 10:19:54 +08:00
update
(cherry picked from commit 94953fe6b557c6fbecc22f587e6b2e24ea8b3928)
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user