|
@@ -4,6 +4,7 @@
|
4
|
4
|
:visible.sync="isLastOrNextVisible"
|
5
|
5
|
@close="hide"
|
6
|
6
|
width="1010px"
|
|
7
|
+ class="callPrescription"
|
7
|
8
|
:modal-append-to-body="false"
|
8
|
9
|
>
|
9
|
10
|
<el-date-picker
|
|
@@ -36,15 +37,15 @@
|
36
|
37
|
|
37
|
38
|
|
38
|
39
|
<div v-for="(item,index) in allPrescription" :key="index">
|
39
|
|
- <div>引用 {{getTime(item.record_date, '{y}年{m}月{d}日')}} 的处方</div>
|
|
40
|
+ <div class="quote" v-if="item.prescriptions.length > 0">引用 {{getTime(item.record_date, '{y}年{m}月{d}日')}} 的处方</div>
|
40
|
41
|
<el-checkbox-group v-model="item.check_group">
|
41
|
42
|
<div v-for="(subItem,index2) in item.prescriptions" :key="index2">
|
42
|
|
- <el-checkbox :label="subItem.id">{{'处方' + (index2+ 1)}}</el-checkbox>
|
|
43
|
+ <el-checkbox style="margin:10px 0;" :label="subItem.id">{{'处方' + (index2+ 1)}}</el-checkbox>
|
43
|
44
|
<el-table v-if="subItem.type == 1" :data="subItem.doctor_advice" border style="width: 99%;"
|
44
|
45
|
:row-style="{ color: '#303133' }"
|
45
|
46
|
:header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
|
46
|
|
- <el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
|
47
|
|
- <el-table-column align="center" prop="drug_name" width="100" label="名称">
|
|
47
|
+ <el-table-column align="center" type="index" width="60" label="序号"></el-table-column>
|
|
48
|
+ <el-table-column align="center" prop="drug_name" width="160" label="名称">
|
48
|
49
|
<template slot-scope="scope">
|
49
|
50
|
<span>{{ scope.row.advice_name }}</span>
|
50
|
51
|
</template>
|
|
@@ -52,9 +53,7 @@
|
52
|
53
|
|
53
|
54
|
<el-table-column align="center" prop="single_dose" width="90" label="单次用量">
|
54
|
55
|
<template slot-scope="scope">
|
55
|
|
- <div style="display:flex;align-items:center;">
|
56
|
|
- <div>{{scope.row.single_dose}}{{scope.row.single_dose_unit}}</div>
|
57
|
|
- </div>
|
|
56
|
+ <div>{{scope.row.single_dose}}{{scope.row.single_dose_unit}}</div>
|
58
|
57
|
</template>
|
59
|
58
|
</el-table-column>
|
60
|
59
|
<el-table-column align="center" prop="delivery_way" width="100" label="用法">
|
|
@@ -68,7 +67,7 @@
|
68
|
67
|
</template>
|
69
|
68
|
</el-table-column>
|
70
|
69
|
|
71
|
|
- <el-table-column align="center" prop="day" width="50" label="天数">
|
|
70
|
+ <el-table-column align="center" prop="day" width="60" label="天数">
|
72
|
71
|
<template slot-scope="scope">
|
73
|
72
|
{{scope.row.day}}
|
74
|
73
|
</template>
|
|
@@ -76,9 +75,7 @@
|
76
|
75
|
|
77
|
76
|
<el-table-column align="center" prop="prescribing_number" width="100" label="总量">
|
78
|
77
|
<template slot-scope="scope">
|
79
|
|
- <div style="display:flex;align-items:center;">
|
80
|
|
- <div>{{scope.row.prescribing_number}} {{scope.row.prescribing_number_unit}}</div>
|
81
|
|
- </div>
|
|
78
|
+ <div>{{scope.row.prescribing_number}} {{scope.row.prescribing_number_unit}}</div>
|
82
|
79
|
</template>
|
83
|
80
|
</el-table-column>
|
84
|
81
|
<el-table-column align="center" prop="retail_price" width="80" label="单价">
|
|
@@ -86,7 +83,7 @@
|
86
|
83
|
<div>{{scope.row.retail_price}}</div>
|
87
|
84
|
</template>
|
88
|
85
|
</el-table-column>
|
89
|
|
- <el-table-column align="center" prop="remark" width="200" label="备注">
|
|
86
|
+ <el-table-column align="center" prop="remark" label="备注">
|
90
|
87
|
<template slot-scope="scope">
|
91
|
88
|
<div>{{scope.row.remark}}</div>
|
92
|
89
|
</template>
|
|
@@ -95,8 +92,8 @@
|
95
|
92
|
<el-table v-if="subItem.type == 2" :data="subItem.project" border style="width: 99%;"
|
96
|
93
|
:row-style="{ color: '#303133' }"
|
97
|
94
|
:header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
|
98
|
|
- <el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
|
99
|
|
- <el-table-column align="center" prop="project_name" width="100" label="名称">
|
|
95
|
+ <el-table-column align="center" type="index" width="60" label="序号"></el-table-column>
|
|
96
|
+ <el-table-column align="center" prop="project_name" width="160" label="名称">
|
100
|
97
|
<template slot-scope="scope">
|
101
|
98
|
<span>{{ scope.row.project.project_name }}</span>
|
102
|
99
|
</template>
|
|
@@ -104,7 +101,7 @@
|
104
|
101
|
<el-table-column align="center" prop="statistical_classification" width="100" label="组">
|
105
|
102
|
<template slot-scope="scope">{{getGroup(scope.row.statistical_classification)}}</template>
|
106
|
103
|
</el-table-column>
|
107
|
|
- <el-table-column align="center" prop="single_dose" width="80" label="单次用量">
|
|
104
|
+ <el-table-column align="center" prop="single_dose" width="90" label="单次用量">
|
108
|
105
|
<template slot-scope="scope">
|
109
|
106
|
<!--<el-input v-model="scope.row.single_dose" placeholder=""></el-input>-->
|
110
|
107
|
<span>{{ scope.row.single_dose }}</span>
|
|
@@ -134,20 +131,17 @@
|
134
|
131
|
</el-table-column>
|
135
|
132
|
<el-table-column align="center" prop="total" width="70" label="总量">
|
136
|
133
|
<template slot-scope="scope">
|
137
|
|
- <div style="display:flex;align-items:center;">
|
138
|
|
- <!--<el-input v-model="scope.row.total" style="width:60%" placeholder=""></el-input>-->
|
139
|
|
- <div>{{ scope.row.total }}{{scope.row.unit}}</div>
|
140
|
|
- </div>
|
|
134
|
+ <div>{{ scope.row.total }}{{scope.row.unit}}</div>
|
141
|
135
|
</template>
|
142
|
136
|
</el-table-column>
|
143
|
|
- <el-table-column align="center" prop="name" width="50" label="单价">
|
|
137
|
+ <el-table-column align="center" prop="name" width="60" label="单价">
|
144
|
138
|
<template slot-scope="scope">
|
145
|
139
|
<!--<el-input v-model="scope.row.price" placeholder="" readonly></el-input>-->
|
146
|
140
|
<span>{{ scope.row.price }}</span>
|
147
|
141
|
|
148
|
142
|
</template>
|
149
|
143
|
</el-table-column>
|
150
|
|
- <el-table-column align="center" prop="name" width="100" label="备注">
|
|
144
|
+ <el-table-column align="center" prop="name" label="备注">
|
151
|
145
|
<template slot-scope="scope">
|
152
|
146
|
<!--<el-input v-model="scope.row.remark" :title="scope.row.remark"></el-input>-->
|
153
|
147
|
<span>{{ scope.row.remark }}</span>
|
|
@@ -349,6 +343,14 @@
|
349
|
343
|
}
|
350
|
344
|
</script>
|
351
|
345
|
|
352
|
|
-<style scoped>
|
353
|
|
-
|
|
346
|
+<style lang="scss">
|
|
347
|
+.callPrescription{
|
|
348
|
+ .el-dialog__body{
|
|
349
|
+ padding:0px 20px 30px;
|
|
350
|
+ }
|
|
351
|
+ .quote{
|
|
352
|
+ margin-top: 10px;
|
|
353
|
+ font-size: 14px;
|
|
354
|
+ }
|
|
355
|
+}
|
354
|
356
|
</style>
|