Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-composition-api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
宁路鹏
vue-composition-api
Commits
2cfd39ba
Commit
2cfd39ba
authored
Jun 07, 2022
by
wangshuangqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
患者详情修改table
parent
fe868035
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
20 deletions
+40
-20
package-lock.json
+0
-0
src/views/outpatientDetails.vue
+40
-20
No files found.
package-lock.json
View file @
2cfd39ba
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/views/outpatientDetails.vue
View file @
2cfd39ba
...
...
@@ -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
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment