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

additionalCharges.vue 1.6KB

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