12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <template>
- <el-dialog
- title="附加收费"
- width="300px"
- :visible.sync="visible"
- :before-close="_close"
- >
- <el-table :data="addtions_charge" border style="width: 100%;" height="300"
- :row-style="{ color: '#303133' }"
- :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
- highlight-current-row
- >
- <el-table-column align="center" prop="name" label="名称" width="100">
- <template slot-scope="scope">{{ scope.row.item_name }}</template>
- </el-table-column>
- <el-table-column align="center" prop="name" label="金额(元)">
- <template slot-scope="scope">
- {{ scope.row.price }}
- </template>
- </el-table-column>
- </el-table>
- <div slot="footer" class="dialog-footer">
- <el-button @click="hide">取 消</el-button>
- </div>
- </el-dialog>
- </template>
-
- <script>
- import { saveCharges } from "@/api/project/project"
- export default {
- props: {
- addtions_charge: Array
-
- },
- data(){
- return{
- visible:false,
- form:{
- name:''
- },
- tableData:[
-
- ],
- patient_id:0,
- chargeTable:[]
- }
- },
- methods:{
- _close: function(done) {
- done()
- },
- clear: function() {
- this.form.id = 0;
- this.form.name = "";
- this.form.intro = "";
- },
- show() {
- this.visible = true
- },
- hide() {
- this.visible = false
- },
-
-
- },
-
- }
- </script>
-
|