|
@@ -6,19 +6,19 @@
|
6
|
6
|
<div class="app-container" style="display:flex;flex: 1;padding: 10px 20px 0px 20px;">
|
7
|
7
|
<div class="mainLeft">
|
8
|
8
|
|
9
|
|
- <!-- <el-date-picker-->
|
10
|
|
- <!-- v-model="record_date"-->
|
11
|
|
- <!-- prefix-icon="el-icon-date"-->
|
12
|
|
- <!-- @change="changeTimeTwo"-->
|
13
|
|
- <!-- :editable="false"-->
|
14
|
|
- <!-- style="width: 100%;"-->
|
15
|
|
- <!-- type="date"-->
|
16
|
|
- <!-- :picker-options="pickerOptions"-->
|
17
|
|
- <!-- placeholder="选择开始时间"-->
|
18
|
|
- <!-- align="right"-->
|
19
|
|
- <!-- format="yyyy-MM-dd"-->
|
20
|
|
- <!-- value-format="yyyy-MM-dd">-->
|
21
|
|
- <!-- </el-date-picker>-->
|
|
9
|
+ <el-date-picker
|
|
10
|
+ v-model="record_date"
|
|
11
|
+ prefix-icon="el-icon-date"
|
|
12
|
+ @change="changeTimeTwo"
|
|
13
|
+ :editable="false"
|
|
14
|
+ style="width: 100%;"
|
|
15
|
+ type="date"
|
|
16
|
+ :picker-options="pickerOptions"
|
|
17
|
+ placeholder="选择开始时间"
|
|
18
|
+ align="right"
|
|
19
|
+ format="yyyy-MM-dd"
|
|
20
|
+ value-format="yyyy-MM-dd">
|
|
21
|
+ </el-date-picker>
|
22
|
22
|
|
23
|
23
|
|
24
|
24
|
<div class="mainCell">
|
|
@@ -142,7 +142,9 @@
|
142
|
142
|
</div>
|
143
|
143
|
<div class="costBox">
|
144
|
144
|
<span>当前处方总费用:<span style="color:red;">{{ total }}元</span></span>
|
145
|
|
-<!-- <span v-if="this.curPrescriptions.order_status == 1">待结算</span>-->
|
|
145
|
+ <span>处方总价:<span style="color:red;">{{ all_total }}元</span></span>
|
|
146
|
+
|
|
147
|
+ <!-- <span v-if="this.curPrescriptions.order_status == 1">待结算</span>-->
|
146
|
148
|
<!-- <span v-if="this.curPrescriptions.order_status == 2">已结算</span>-->
|
147
|
149
|
<!-- <span v-if="this.curPrescriptions.order_status == 3">已退费</span>-->
|
148
|
150
|
</div>
|
|
@@ -250,6 +252,8 @@
|
250
|
252
|
</div>
|
251
|
253
|
<div class="costBox">
|
252
|
254
|
<span>当前处方总费用:<span style="color:red;">{{ month_total }}元</span></span>
|
|
255
|
+ <span>处方总价:<span style="color:red;">{{ all_month_total }}元</span></span>
|
|
256
|
+
|
253
|
257
|
<!--<span>{{ state }}</span>-->
|
254
|
258
|
</div>
|
255
|
259
|
</div>
|
|
@@ -395,7 +399,8 @@ export default {
|
395
|
399
|
settle_prescriptions: [],
|
396
|
400
|
|
397
|
401
|
settle_total: 0,
|
398
|
|
-
|
|
402
|
+ all_total:0,
|
|
403
|
+ all_month_total:0,
|
399
|
404
|
record_date: '',
|
400
|
405
|
tableData: [],
|
401
|
406
|
editableTabsValue: '处方1',
|
|
@@ -645,9 +650,7 @@ export default {
|
645
|
650
|
}
|
646
|
651
|
}
|
647
|
652
|
}
|
648
|
|
-
|
649
|
653
|
return total.toFixed(2)
|
650
|
|
-
|
651
|
654
|
},
|
652
|
655
|
getMonthTotalOne() {
|
653
|
656
|
var total = 0
|
|
@@ -1234,6 +1237,10 @@ export default {
|
1234
|
1237
|
this.total = 0
|
1235
|
1238
|
this.total = this.getTotalOne()
|
1236
|
1239
|
this.month_total = this.getMonthTotalOne()
|
|
1240
|
+ this.all_total = this.getTotal()
|
|
1241
|
+ this.all_month_total = this.getTotalTwo()
|
|
1242
|
+
|
|
1243
|
+
|
1237
|
1244
|
}
|
1238
|
1245
|
})
|
1239
|
1246
|
},
|