Commit 2cfd39ba by wangshuangqing

患者详情修改table

parent fe868035
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -90,26 +90,46 @@
<!-- 中间有数据样式 表格-->
<div class="outpatientDetails_bottom_leftShowBox_right" v-if="tableData.length !== 0">
<el-table
:data="tableData"
border
size="medium"
style="width: 100%"
:default-sort="{ prop: 'date', order: 'descending' }"
:row-class-name="tableRowClassName"
:height="'100%'"
>
<!-- <template v-for="(item, ind) in tableListHead" :key="ind"> -->
<el-table-column :label="item.cloumn" :prop="item.name">
<template slot-scope="scope" v-if="item.cloumn == '单价'">
{{ decimal(scope.row.fee) }}
</template>
<template slot-scope="scope" v-if="item.cloumn == '总金额'">
{{ decimal(scope.row.unitprice) }}
</template>
</el-table-column>
<!-- </template> -->
</el-table>
:data="tableData"
border
size="medium"
style="width: 100%"
:default-sort="{ prop: 'date', order: 'descending' }"
:row-class-name="tableRowClassName"
:height="'100%'"
>
<!-- <el-table-column :label="item.cloumn" :prop="item.name">
<template slot-scope="scope" v-if="item.cloumn == '单价'">
{{ decimal(scope.row.fee) }}
</template>
<template slot-scope="scope" v-if="item.cloumn == '总金额'">
{{ decimal(scope.row.unitprice) }}
</template>
</el-table-column> -->
<el-table-column
label="开单日期"
prop="iteM_CODE"
></el-table-column>
<el-table-column
label="项目编码"
prop="chargeTime"
></el-table-column>
<el-table-column
label="项目名称"
prop="iteM_NAME"
></el-table-column>
<el-table-column label="单价" prop="unitprice">
<template slot-scope="scope">
{{ decimal(scope.row.fee) }}
</template>
</el-table-column>
<el-table-column label="数量" prop="quantity"></el-table-column>
<el-table-column label="总金额" prop="fee">
<template slot-scope="scope" >
{{ decimal(scope.row.unitprice) }}
</template>
</el-table-column>
</el-table>
</div>
<!-- 中间表格无数据 -->
<div class="outpatientDetails_bottom_leftShowBox_right" v-else>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment