Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

additionalCharges.vue 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <template>
  2. <el-dialog
  3. title="附加收费"
  4. width="300px"
  5. :visible.sync="visible"
  6. :before-close="_close"
  7. >
  8. <el-table :data="tableData" border style="width: 100%;" height="300" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
  9. <el-table-column align="center" type="selection" width="40"></el-table-column>
  10. <el-table-column align="center" prop="name" label="名称" width="100">
  11. <template slot-scope="scope">{{ scope.row.date }}</template>
  12. </el-table-column>
  13. <el-table-column align="center" prop="name" label="金额(元)">
  14. <template slot-scope="scope">
  15. <el-input v-model="input" placeholder=""></el-input>
  16. </template>
  17. </el-table-column>
  18. </el-table>
  19. <div slot="footer" class="dialog-footer">
  20. <el-button @click="hide">取 消</el-button>
  21. <el-button type="primary" :loading="submitLoading" @click="submitAction()">保 存</el-button>
  22. </div>
  23. </el-dialog>
  24. </template>
  25. <script>
  26. export default {
  27. data(){
  28. return{
  29. visible:false,
  30. form:{
  31. name:''
  32. },
  33. }
  34. },
  35. methods:{
  36. _close: function(done) {
  37. // this.clear()
  38. done()
  39. },
  40. clear: function() {
  41. this.form.id = 0;
  42. this.form.name = "";
  43. this.form.intro = "";
  44. },
  45. show() {
  46. // this.clear()
  47. this.visible = true
  48. },
  49. hide() {
  50. // this.clear()
  51. this.visible = false
  52. },
  53. }
  54. }
  55. </script>