|
@@ -79,19 +79,9 @@
|
79
|
79
|
<div class="mainRight">
|
80
|
80
|
|
81
|
81
|
<div class="mainCell fixedCell" style="margin-bottom:10px;">
|
82
|
|
- <div v-if="org_id == 10454">
|
83
|
|
- <el-button size="small"
|
84
|
|
- @click="openZb(1)"
|
85
|
|
- v-if=" this.order.id == 0"
|
86
|
|
- type="primary">记账
|
87
|
|
- </el-button>
|
88
|
|
- <el-button size="small"
|
89
|
|
- @click="openZb(2)"
|
90
|
|
- type="primary">撤销记账
|
91
|
|
- </el-button>
|
92
|
|
- </div>
|
93
|
82
|
|
94
|
|
- <div v-if="org_id == 10206">
|
|
83
|
+
|
|
84
|
+ <div v-if="org_id == 10206 || org_id == 0">
|
95
|
85
|
<el-button size="small"
|
96
|
86
|
@click="openZb(1)"
|
97
|
87
|
v-if=" this.order.id == 0"
|
|
@@ -103,7 +93,7 @@
|
103
|
93
|
</el-button>
|
104
|
94
|
</div>
|
105
|
95
|
|
106
|
|
- <div v-if="org_id != 10206 && org_id != 10340 && org_id != 10454">
|
|
96
|
+ <div v-if="org_id != 10206 && org_id != 10340 && org_id != 0">
|
107
|
97
|
<!-- <el-button size="small"-->
|
108
|
98
|
<!-- @click="openZb(1)"-->
|
109
|
99
|
<!-- type="primary">登记-->
|
|
@@ -244,7 +234,7 @@
|
244
|
234
|
v-if="((hisPatientInfo.id > 0 && items.curPrescriptions.order.id == 0) || items.curPrescriptions.order.order_status == 1 || items.curPrescriptions.order.order_status == 3) && org_id != 10340"
|
245
|
235
|
size="small"
|
246
|
236
|
@click="open(4,items.med_type,items.curPrescriptions.order,items.prescriptions)"
|
247
|
|
- type="primary">收费
|
|
237
|
+ type="primary">收费
|
248
|
238
|
</el-button>
|
249
|
239
|
</div>
|
250
|
240
|
</div>
|
|
@@ -252,7 +242,7 @@
|
252
|
242
|
<prescription-table ref="prescription_tables"
|
253
|
243
|
:prescription="items.curPrescriptions"
|
254
|
244
|
:manufacturers="manufacturers"></prescription-table>
|
255
|
|
-
|
|
245
|
+
|
256
|
246
|
</el-tabs>
|
257
|
247
|
|
258
|
248
|
<div class="costBox">
|
|
@@ -325,7 +315,7 @@
|
325
|
315
|
<div>
|
326
|
316
|
<el-form :model="form" :rules="rules" ref="formValue" label-width="100px">
|
327
|
317
|
|
328
|
|
- <el-form-item label="大病类别:" prop="sick_type" :validate-event="is_Name">
|
|
318
|
+ <el-form-item label="大病类别:" prop="sick_type" >
|
329
|
319
|
<el-select style="margin-right:5px;width:100px;"
|
330
|
320
|
v-model="form.sick_type" placeholder="">
|
331
|
321
|
<el-option
|
|
@@ -337,7 +327,7 @@
|
337
|
327
|
</el-select>
|
338
|
328
|
</el-form-item>
|
339
|
329
|
|
340
|
|
- <el-form-item label="诊断:" prop="diagnosis" :validate-event="is_Name">
|
|
330
|
+ <el-form-item label="诊断:" prop="diagnosis" >
|
341
|
331
|
<el-select style="margin-right:5px;width:100px;"
|
342
|
332
|
v-model="form.diagnosis" multiple placeholder="">
|
343
|
333
|
<el-option
|
|
@@ -551,7 +541,7 @@
|
551
|
541
|
<el-form :model="form" :rules="rules" ref="formValue" label-width="100px">
|
552
|
542
|
|
553
|
543
|
|
554
|
|
- <el-form-item label="大病类别:" prop="sick_type" :validate-event="is_Name">
|
|
544
|
+ <el-form-item label="大病类别:" prop="sick_type" >
|
555
|
545
|
<el-select style="margin-right:5px;width:100px;"
|
556
|
546
|
v-model="form.sick_type" placeholder="">
|
557
|
547
|
<el-option
|
|
@@ -563,7 +553,7 @@
|
563
|
553
|
</el-select>
|
564
|
554
|
</el-form-item>
|
565
|
555
|
|
566
|
|
- <el-form-item label="诊断:" prop="diagnosis" :validate-event="is_Name">
|
|
556
|
+ <el-form-item label="诊断:" prop="diagnosis" >
|
567
|
557
|
<el-select style="margin-right:5px;width:100px;"
|
568
|
558
|
v-model="form.diagnosis" multiple placeholder="">
|
569
|
559
|
<el-option
|
|
@@ -781,7 +771,7 @@
|
781
|
771
|
<div>
|
782
|
772
|
<el-form :model="form" :rules="rules" ref="formValue" label-width="100px">
|
783
|
773
|
|
784
|
|
- <el-form-item label="大病类别:" prop="sick_type" :validate-event="is_Name">
|
|
774
|
+ <el-form-item label="大病类别:" prop="sick_type" >
|
785
|
775
|
<el-select style="margin-right:5px;width:100px;"
|
786
|
776
|
v-model="form.sick_type" placeholder="">
|
787
|
777
|
<el-option
|
|
@@ -793,7 +783,7 @@
|
793
|
783
|
</el-select>
|
794
|
784
|
</el-form-item>
|
795
|
785
|
|
796
|
|
- <el-form-item label="诊断:" prop="diagnosis" :validate-event="is_Name">
|
|
786
|
+ <el-form-item label="诊断:" prop="diagnosis" >
|
797
|
787
|
<el-select style="margin-right:5px;width:100px;"
|
798
|
788
|
v-model="form.diagnosis" multiple placeholder="">
|
799
|
789
|
<el-option
|
|
@@ -4468,18 +4458,36 @@ export default {
|
4468
|
4458
|
let two_count = 0
|
4469
|
4459
|
|
4470
|
4460
|
for (let i = 0; i < response.data.data.list.length; i++) {
|
4471
|
|
- if (response.data.data.list[i].his_patient.length > 0) {
|
4472
|
|
- let obj = {
|
4473
|
|
- id: response.data.data.list[i].id,
|
4474
|
|
- name: response.data.data.list[i].name,
|
4475
|
|
- number: response.data.data.list[i].his_patient[0].number,
|
4476
|
|
- order_status: 0,
|
4477
|
|
- his_patient_id: response.data.data.list[i].his_patient[0].id,
|
4478
|
|
- order_number: '',
|
4479
|
|
- order_id: 0,
|
4480
|
|
- prescription: response.data.data.list[i].prescription
|
|
4461
|
+ if (this.org_id == 10206 || this.org_id == 0){
|
|
4462
|
+ let obj = {
|
|
4463
|
+ id: response.data.data.list[i].id,
|
|
4464
|
+ name: response.data.data.list[i].name,
|
|
4465
|
+ order_status: 0,
|
|
4466
|
+ order_number: '',
|
|
4467
|
+ order_id: 0,
|
|
4468
|
+ prescription: response.data.data.list[i].prescription
|
|
4469
|
+ }
|
|
4470
|
+ if(response.data.data.list[i].his_patient&& response.data.data.list[i].his_patient.length > 0){
|
|
4471
|
+ obj["his_patient_id"] = response.data.data.list[i].his_patient[0].id
|
|
4472
|
+ obj["number"] = response.data.data.list[i].his_patient[0].number
|
|
4473
|
+ }
|
|
4474
|
+
|
|
4475
|
+ this.all_table_data.push(obj)
|
|
4476
|
+ }else{
|
|
4477
|
+ if (response.data.data.list[i].his_patient.length > 0) {
|
|
4478
|
+ let obj = {
|
|
4479
|
+ id: response.data.data.list[i].id,
|
|
4480
|
+ name: response.data.data.list[i].name,
|
|
4481
|
+ number: response.data.data.list[i].his_patient[0].number,
|
|
4482
|
+ order_status: 0,
|
|
4483
|
+ his_patient_id: response.data.data.list[i].his_patient[0].id,
|
|
4484
|
+ order_number: '',
|
|
4485
|
+ order_id: 0,
|
|
4486
|
+ prescription: response.data.data.list[i].prescription
|
|
4487
|
+ }
|
|
4488
|
+ this.all_table_data.push(obj)
|
4481
|
4489
|
}
|
4482
|
|
- this.all_table_data.push(obj)
|
|
4490
|
+
|
4483
|
4491
|
}
|
4484
|
4492
|
|
4485
|
4493
|
}
|