ソースを参照

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN 3 年 前
コミット
a8f8ebb0fc

+ 1 - 1
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue ファイルの表示

@@ -550,7 +550,7 @@
550 550
         temp_med_type: '',
551 551
         dialogVisible: false,
552 552
         pwdFormVisible: false,
553
-        pwd: '',
553
+        pwd: '000000',
554 554
         form: {
555 555
           p_type: '',
556 556
           sick_type: '',

+ 5 - 1
src/xt_pages/outpatientDoctorStation/components/callPrescription.vue ファイルの表示

@@ -322,7 +322,7 @@
322 322
                 total:prescription.project[b].count,
323 323
                 remark:prescription.project[b].remark,
324 324
                 unit: prescription.project[b].unit,
325
-                type: prescription.project[b].type
325
+                type: prescription.project[b].type,
326 326
                 // medical_code:prescription.project[b].project.medical_code,
327 327
               };
328 328
               if(prescription.project[b].type == 2){
@@ -330,11 +330,15 @@
330 330
                 obj['medical_code'] =  prescription.project[b].project.medical_code
331 331
                 obj['project_name'] =  prescription.project[b].project.project_name
332 332
                 obj['price'] = prescription.project[b].project.price
333
+                obj['project']=prescription.project[b].project
334
+
333 335
               }else if(prescription.project[b].type == 3){
334 336
                 obj['statistical_classification'] = ""
335 337
                 obj['medical_code'] =  prescription.project[b].good_info.medical_insurance_number
336 338
                 obj['project_name'] =  prescription.project[b].good_info.good_name
337 339
                 obj['price'] = prescription.project[b].good_info.packing_price
340
+                obj['good_info']=prescription.project[b].good_info
341
+
338 342
               }
339 343
 
340 344
               tempProject.push(obj)

+ 10 - 13
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue ファイルの表示

@@ -1367,8 +1367,6 @@
1367 1367
           this.prescriptions[i].name = '处方' + (i + 1)
1368 1368
           this.prescriptions[i]['pre_time'] = nowTime
1369 1369
 
1370
-          this.prescriptions[i]['med_type'] = 14
1371
-
1372 1370
           if (i == 0) {
1373 1371
             if (this.prescriptions[0].advices.length > 0 && this.prescriptions[0].project.length == 0) {
1374 1372
               this.customTabIndex = 1
@@ -2225,6 +2223,7 @@
2225 2223
             }
2226 2224
           }
2227 2225
           if (index == 1) {
2226
+            console.log(this.prescriptions)
2228 2227
 
2229 2228
             for (let i = 0; i < this.prescriptions.length; i++) {
2230 2229
               for(let b = 0; b < this.prescriptions[i].advices.length; b++){
@@ -2856,17 +2855,6 @@
2856 2855
 
2857 2856
             }
2858 2857
 
2859
-            // if(this.activeName == 2){
2860
-            //
2861
-            //    for(let i = 0; i<temp2.length;i++){
2862
-            //     for(let j=0;j<this.hisList.length;j++){
2863
-            //         if(temp2[i].id == this.hisList[j].project_id){
2864
-            //            temp2[i].total =  this.hisList[j].number
2865
-            //         }
2866
-            //     }
2867
-            //    }
2868
-            //  }
2869
-
2870 2858
             if (temp2.length > 0) {
2871 2859
               for (let b = 0; b < temp2.length; b++) {
2872 2860
                 let obj = {
@@ -2885,6 +2873,15 @@
2885 2873
                   unit: temp2[b].unit,
2886 2874
                   type: temp2[b].type
2887 2875
                 }
2876
+
2877
+                if (temp2[b].type == 2){
2878
+                  obj['project'] = temp2[b].project
2879
+
2880
+                }else if(temp2[b].type == 3){
2881
+
2882
+                  obj['good_info'] = temp2[b].good_info
2883
+
2884
+                }
2888 2885
                 if (temp2[b].team_id == undefined) {
2889 2886
                   obj['team_id'] = 0
2890 2887
                 } else {

+ 4 - 1
src/xt_pages/outpatientDoctorStation/components/nextOrLastPrescription.vue ファイルの表示

@@ -376,17 +376,20 @@
376 376
 
377 377
                 // medical_code:prescription.project[b].project.medical_code,
378 378
               };
379
-
380 379
               if(prescription.project[b].type == 2){
381 380
                 obj['statistical_classification'] =  prescription.project[b].project.statistical_classification
382 381
                 obj['medical_code'] =  prescription.project[b].project.medical_code
383 382
                 obj['project_name'] =  prescription.project[b].project.project_name
384 383
                 obj['price'] = prescription.project[b].project.price
384
+                obj['project']=prescription.project[b].project
385
+
385 386
               }else if(prescription.project[b].type == 3){
386 387
                 obj['statistical_classification'] = ""
387 388
                 obj['medical_code'] =  prescription.project[b].good_info.medical_insurance_number
388 389
                 obj['project_name'] =  prescription.project[b].good_info.good_name
389 390
                 obj['price'] = prescription.project[b].good_info.packing_price
391
+                obj['good_info']=prescription.project[b].good_info
392
+
390 393
               }
391 394
 
392 395
               tempProject.push(obj)

+ 8 - 1
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue ファイルの表示

@@ -1516,7 +1516,14 @@
1516 1516
                   medical_code: temp2[b].medical_code,
1517 1517
                   unit: temp2[b].unit,
1518 1518
                   type: temp2[b].type,
1519
-                  project:temp2[b],
1519
+                }
1520
+                if (temp2[b].type == 2){
1521
+                  obj['project'] = temp2[b].project
1522
+
1523
+                }else if(temp2[b].type == 3){
1524
+
1525
+                  obj['good_info'] = temp2[b].good_info
1526
+
1520 1527
                 }
1521 1528
                 if (obj.total == 0 || obj.total == undefined) {
1522 1529
                   obj.total = 1