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 @@ ...@@ -90,26 +90,46 @@
<!-- 中间有数据样式 表格--> <!-- 中间有数据样式 表格-->
<div class="outpatientDetails_bottom_leftShowBox_right" v-if="tableData.length !== 0"> <div class="outpatientDetails_bottom_leftShowBox_right" v-if="tableData.length !== 0">
<el-table <el-table
:data="tableData" :data="tableData"
border border
size="medium" size="medium"
style="width: 100%" style="width: 100%"
:default-sort="{ prop: 'date', order: 'descending' }" :default-sort="{ prop: 'date', order: 'descending' }"
:row-class-name="tableRowClassName" :row-class-name="tableRowClassName"
:height="'100%'" :height="'100%'"
>
> <!-- <el-table-column :label="item.cloumn" :prop="item.name">
<!-- <template v-for="(item, ind) in tableListHead" :key="ind"> --> <template slot-scope="scope" v-if="item.cloumn == '单价'">
<el-table-column :label="item.cloumn" :prop="item.name"> {{ decimal(scope.row.fee) }}
<template slot-scope="scope" v-if="item.cloumn == '单价'"> </template>
{{ decimal(scope.row.fee) }} <template slot-scope="scope" v-if="item.cloumn == '总金额'">
</template> {{ decimal(scope.row.unitprice) }}
<template slot-scope="scope" v-if="item.cloumn == '总金额'"> </template>
{{ decimal(scope.row.unitprice) }} </el-table-column> -->
</template> <el-table-column
</el-table-column> label="开单日期"
<!-- </template> --> prop="iteM_CODE"
</el-table> ></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>
<!-- 中间表格无数据 --> <!-- 中间表格无数据 -->
<div class="outpatientDetails_bottom_leftShowBox_right" v-else> <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