Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 1 month ago
parent
commit
8b5679685a
27 changed files with 394 additions and 1212 deletions
  1. 4 4
      src/api/advice.js
  2. 5 0
      src/store/modules/globalConfig.js
  3. 23 0
      src/xt_pages/Pharmacy/DrugDispensing.vue
  4. 32 3
      src/xt_pages/Pharmacy/PatientDispensing.vue
  5. 6 6
      src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue
  6. 6 3
      src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue
  7. 3 3
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  8. 2 2
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue
  9. 2 2
      src/xt_pages/dialysis/details/dialysisMonitoring.vue
  10. 2 2
      src/xt_pages/dialysis/details/index.vue
  11. 5 5
      src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue
  12. 1 0
      src/xt_pages/hospitalStation/recordTemplate/printOne.vue
  13. 1 0
      src/xt_pages/outpatientDoctorStation/recordTemplate/printFour.vue
  14. 1 0
      src/xt_pages/outpatientDoctorStation/recordTemplate/printOne.vue
  15. 175 1153
      src/xt_pages/stock/drugs/components/purchaseDrugQuery.vue
  16. 3 2
      src/xt_pages/stock/drugs/drugNewQuery.vue
  17. 26 1
      src/xt_pages/stock/drugs/drugStockInOrderAdd.vue
  18. 14 3
      src/xt_pages/stock/drugs/inventoryPrint.vue
  19. 3 1
      src/xt_pages/stock/inventoryPrint.vue
  20. 22 14
      src/xt_pages/stock/query/purchaseNewStockQuery.vue
  21. 1 1
      src/xt_pages/stock/stockOutOrder.vue
  22. 2 0
      src/xt_pages/upload/fast/basicInfo.vue
  23. 1 1
      src/xt_pages/user/components/PatientDetail.vue
  24. 2 1
      src/xt_pages/user/components/PatientForm.vue
  25. 4 1
      src/xt_pages/user/doctorAdvice.vue
  26. 23 4
      src/xt_pages/user/physiqueprinting.vue
  27. 25 0
      src/xt_pages/workforce/remind_print_setting.vue

+ 4 - 4
src/api/advice.js View File

259
     })
259
     })
260
   }
260
   }
261
 }
261
 }
262
-export function DeleteGroupAdvice(groupno, mode) {
262
+export function DeleteGroupAdvice(groupno, mode,patient_id,advice_date) {
263
   return request({
263
   return request({
264
-    url:'/api/patients/advice/deletegroup?groupno=' + groupno + '&mode=' + mode,
264
+    url:'/api/patients/advice/deletegroup?groupno=' + groupno + '&mode=' + mode+"&patient_id="+patient_id+"&advice_date="+advice_date,
265
     method: 'delete',
265
     method: 'delete',
266
     headers: {
266
     headers: {
267
       Permission: 3
267
       Permission: 3
420
   })
420
   })
421
 }
421
 }
422
 
422
 
423
-export function DeleteNewGroupAdvice(groupno, mode) {
423
+export function DeleteNewGroupAdvice(groupno, mode,patient_id,advice_date) {
424
   return request({
424
   return request({
425
     url:
425
     url:
426
-      '/api/patients/advice/deletegroup?groupno=' + groupno + '&mode=' + mode,
426
+      '/api/patients/advice/deletegroup?groupno=' + groupno + '&mode=' + mode+'&patient_id='+patient_id+"&advice_date="+advice_date,
427
     method: 'delete',
427
     method: 'delete',
428
     headers: {
428
     headers: {
429
       Permission: 3
429
       Permission: 3

+ 5 - 0
src/store/modules/globalConfig.js View File

68295
       {
68295
       {
68296
         id: 3,
68296
         id: 3,
68297
         name: '离异'
68297
         name: '离异'
68298
+      },
68299
+      {
68300
+        id: 4,
68301
+        name: '丧偶'
68298
       }
68302
       }
68303
+      
68299
     ],
68304
     ],
68300
     reimbursement_ways: [ // 报销方式
68305
     reimbursement_ways: [ // 报销方式
68301
       {
68306
       {

+ 23 - 0
src/xt_pages/Pharmacy/DrugDispensing.vue View File

445
         :visible.sync="dialogVisibleOne"
445
         :visible.sync="dialogVisibleOne"
446
          width="40%">
446
          width="40%">
447
        <span>
447
        <span>
448
+        <div style="margin-bottom: 10px;">
449
+         <span >追溯码个数:{{getTotal() }} 个</span>
450
+        </div>
448
         <el-input
451
         <el-input
449
           ref="Datefrom"
452
           ref="Datefrom"
450
           @keyup.native="changeText"
453
           @keyup.native="changeText"
551
       drug_id:0,
554
       drug_id:0,
552
       newArrList:[],
555
       newArrList:[],
553
       baseList:[],
556
       baseList:[],
557
+      textAreaList:[]
554
     };
558
     };
555
   },
559
   },
556
 
560
 
557
   methods: {
561
   methods: {
562
+    getTotal(){
563
+      if(this.textarea!=null){
564
+        var  textAreaList = this.textarea.split(",")
565
+        console.log("textArrleti",textAreaList)
566
+        var arr = []
567
+        if(textAreaList!=null && textAreaList.length>0){
568
+          for(let i=0;i<textAreaList.length;i++){
569
+            if(textAreaList[i]!=""){
570
+              arr.push(textAreaList[i])
571
+            }
572
+          }
573
+          return  arr.length
574
+        }else{
575
+          return ""
576
+        }
577
+      
578
+      }
579
+
580
+    },
558
     // 追溯码
581
     // 追溯码
559
     getDrugCode(id,DataSources,DrugCode,index){
582
     getDrugCode(id,DataSources,DrugCode,index){
560
       
583
       

+ 32 - 3
src/xt_pages/Pharmacy/PatientDispensing.vue View File

305
         :visible.sync="dialogVisibleOne"
305
         :visible.sync="dialogVisibleOne"
306
          width="40%">
306
          width="40%">
307
        <span>
307
        <span>
308
+        <div style="margin-bottom: 10px;">
309
+         <span >追溯码个数:{{getTotal() }} 个</span>
310
+        </div>
308
         <el-input
311
         <el-input
309
           ref="inputRef"
312
           ref="inputRef"
310
           @keyup.native="changeText"
313
           @keyup.native="changeText"
419
       patientList:[],
422
       patientList:[],
420
       drug_id:0,
423
       drug_id:0,
421
       total_count:0,
424
       total_count:0,
422
-      newArrList:[]
425
+      newArrList:[],
426
+      textAreaList:[]
423
     };
427
     };
424
   },
428
   },
425
-  watch: {},
429
+ 
426
   created() {
430
   created() {
427
     this.init();
431
     this.init();
428
     this.gettodaynumber();
432
     this.gettodaynumber();
433
     // this.selectedbydefault();
437
     // this.selectedbydefault();
434
   },
438
   },
435
   methods: {
439
   methods: {
440
+    getTotal(){
441
+
442
+      if(this.textarea!=null){
443
+        var  textAreaList = this.textarea.split(",")
444
+        console.log("textArrleti",textAreaList)
445
+        var arr = []
446
+        if(textAreaList!=null && textAreaList.length>0){
447
+          for(let i=0;i<textAreaList.length;i++){
448
+             if(textAreaList[i]!=""){
449
+               arr.push(textAreaList[i])
450
+             }
451
+          }
452
+          return  arr.length
453
+        }else{
454
+          return ""
455
+        }
456
+       
457
+      }
458
+     
459
+    },
436
     openDialog(){
460
     openDialog(){
437
       this.$nextTick(() => {
461
       this.$nextTick(() => {
438
         this.$refs.inputRef.focus()
462
         this.$refs.inputRef.focus()
1363
        
1387
        
1364
         var textarea = ""
1388
         var textarea = ""
1365
         textarea += this.textarea.replace(/^\s*[\r\n]|\r?\n\s*$/gm, '') + ","
1389
         textarea += this.textarea.replace(/^\s*[\r\n]|\r?\n\s*$/gm, '') + ","
1390
+
1391
+      
1366
          
1392
          
1367
         if(this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id==0 || this.$store.getters.xt_user.org.id == 10278|| this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10610){
1393
         if(this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id==0 || this.$store.getters.xt_user.org.id == 10278|| this.$store.getters.xt_user.org.id == 10537 || this.$store.getters.xt_user.org.id == 10610){
1368
 
1394
 
1481
        
1507
        
1482
       }
1508
       }
1483
 
1509
 
1484
-
1510
+      this.getTotal()
1485
     },
1511
     },
1486
     
1512
     
1487
     hasDuplicates(arr) {
1513
     hasDuplicates(arr) {
1511
 
1537
 
1512
 
1538
 
1513
   },
1539
   },
1540
+  watch:{
1541
+
1542
+  }
1514
   
1543
   
1515
 };
1544
 };
1516
 </script>
1545
 </script>

+ 6 - 6
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue View File

597
                                   (record.dialysis_order &&
597
                                   (record.dialysis_order &&
598
                                     monitor_record.operate_time ==
598
                                     monitor_record.operate_time ==
599
                                     record.dialysis_order.start_time)
599
                                     record.dialysis_order.start_time)
600
-                                ">【开始透析】
600
+                                ">
601
                                 </template>
601
                                 </template>
602
 
602
 
603
                                 {{ monitor_record.end }} {{ monitor_record.symptom }} &nbsp;{{
603
                                 {{ monitor_record.end }} {{ monitor_record.symptom }} &nbsp;{{
1045
                         kg
1045
                         kg
1046
                       </div>
1046
                       </div>
1047
 
1047
 
1048
-                      <div class="inline_block" style="flex: 1">
1048
+                      <!-- <div class="inline_block" style="flex: 1">
1049
                         <span>透析中入量(g):</span>
1049
                         <span>透析中入量(g):</span>
1050
                         <div class="under_line" style="width: 70px; text-align: center">
1050
                         <div class="under_line" style="width: 70px; text-align: center">
1051
                           {{
1051
                           {{
1056
                           }}
1056
                           }}
1057
                         </div>
1057
                         </div>
1058
                         {{ getUnit(record) }}
1058
                         {{ getUnit(record) }}
1059
-                      </div>
1059
+                      </div> -->
1060
 
1060
 
1061
                       <div class="inline_block" style="flex: 1">
1061
                       <div class="inline_block" style="flex: 1">
1062
                         实际超滤量:
1062
                         实际超滤量:
1467
               this.records[i].monitor_records[j].end = ""
1467
               this.records[i].monitor_records[j].end = ""
1468
               if (this.records[i].dialysis_order && this.records[i].monitor_records[j].operate_time == this.records[i].dialysis_order.end_time) {
1468
               if (this.records[i].dialysis_order && this.records[i].monitor_records[j].operate_time == this.records[i].dialysis_order.end_time) {
1469
                 if (this.org_id != 10683) {
1469
                 if (this.org_id != 10683) {
1470
-                  this.records[i].monitor_records[j].end = "【结束透析】";
1470
+                  this.records[i].monitor_records[j].end = "";
1471
                 }
1471
                 }
1472
 
1472
 
1473
                 tempmonitorflag = false;
1473
                 tempmonitorflag = false;
1475
               if (this.org_id != 10515 && this.org_id != 0) {
1475
               if (this.org_id != 10515 && this.org_id != 0) {
1476
                 if (tempmonitorflag && j == this.records[i].monitor_records.length - 1) {
1476
                 if (tempmonitorflag && j == this.records[i].monitor_records.length - 1) {
1477
                   if (this.org_id != 10683) {
1477
                   if (this.org_id != 10683) {
1478
-                    this.records[i].monitor_records[j].end = "【结束透析】";
1478
+                    this.records[i].monitor_records[j].end = "";
1479
                   }
1479
                   }
1480
 
1480
 
1481
                 }
1481
                 }
1482
                 if (this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end == "") {
1482
                 if (this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end == "") {
1483
                   if (this.org_id != 10683) {
1483
                   if (this.org_id != 10683) {
1484
-                    this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end = "【结束透析】"
1484
+                    this.records[i].monitor_records[this.records[i].monitor_records.length - 1].end = ""
1485
                   }
1485
                   }
1486
 
1486
 
1487
                 }
1487
                 }

+ 6 - 3
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue View File

1197
            this.$message.error("已执行的医嘱无法删除!")
1197
            this.$message.error("已执行的医嘱无法删除!")
1198
            return
1198
            return
1199
         }
1199
         }
1200
-        this.DeleteGroupAdvice(this.groupSelectRow.groupno)
1200
+        console.log("groupno====================",this.groupSelectRow)
1201
+       
1202
+        this.DeleteGroupAdvice(this.groupSelectRow.groupno,this.groupSelectRow.patient_id,this.groupSelectRow.advice_date)
1201
 
1203
 
1202
         // this.$confirm('确认删除些条医嘱内容?', '删除医嘱内容', {
1204
         // this.$confirm('确认删除些条医嘱内容?', '删除医嘱内容', {
1203
         //   confirmButtonText: '确定',
1205
         //   confirmButtonText: '确定',
1846
       }
1848
       }
1847
       ,
1849
       ,
1848
 
1850
 
1849
-      DeleteGroupAdvice(groupno) {
1851
+      DeleteGroupAdvice(groupno,patient_id,advice_date) {
1852
+
1850
         this.$confirm('确认删除这组医嘱?', '医嘱删除', {
1853
         this.$confirm('确认删除这组医嘱?', '医嘱删除', {
1851
           confirmButtonText: '确定',
1854
           confirmButtonText: '确定',
1852
           cancelButtonText: '取消',
1855
           cancelButtonText: '取消',
1859
             ) {
1862
             ) {
1860
               mode = '5'
1863
               mode = '5'
1861
             }
1864
             }
1862
-            DeleteGroupAdvice(groupno, mode).then(response => {
1865
+            DeleteGroupAdvice(groupno, mode,patient_id,advice_date).then(response => {
1863
               if (response.data.state == 0) {
1866
               if (response.data.state == 0) {
1864
                 this.$message.error(response.data.msg)
1867
                 this.$message.error(response.data.msg)
1865
                 if(response.data.code == 600000008){
1868
                 if(response.data.code == 600000008){

+ 3 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

2798
       show(pre, schedual, last, his_is_open,is_advice_open,admins) {
2798
       show(pre, schedual, last, his_is_open,is_advice_open,admins) {
2799
         console.log("除非=======================")
2799
         console.log("除非=======================")
2800
 
2800
 
2801
-        if(this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635  || this.$store.getters.xt_user.template_info.org_id==0   || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10726|| this.$store.getters.xt_user.template_info.org_id==10752){
2801
+        if(this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635  || this.$store.getters.xt_user.template_info.org_id==0   || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10726|| this.$store.getters.xt_user.template_info.org_id==10752 ||  this.$store.getters.xt_user.template_info.org_id==10697){
2802
           if(this.predialysis!=undefined){
2802
           if(this.predialysis!=undefined){
2803
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2803
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2804
               this.dialysisPrescription.target_ultrafiltration = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(1)
2804
               this.dialysisPrescription.target_ultrafiltration = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(1)
3339
         this.pre = pre
3339
         this.pre = pre
3340
         // console.log("pre1", pre);
3340
         // console.log("pre1", pre);
3341
         this.getPermission()
3341
         this.getPermission()
3342
-        if(this.$store.getters.xt_user.template_info.org_id==10164 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id == 10726 || this.$store.getters.xt_user.template_info.org_id == 10727  || this.$store.getters.xt_user.template_info.org_id == 10735 || this.$store.getters.xt_user.template_info.org_id == 10740 || this.$store.getters.xt_user.template_info.org_id == 10742|| this.$store.getters.xt_user.template_info.org_id == 10745|| this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752){
3342
+        if(this.$store.getters.xt_user.template_info.org_id==10164 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id == 10726 || this.$store.getters.xt_user.template_info.org_id == 10727  || this.$store.getters.xt_user.template_info.org_id == 10735 || this.$store.getters.xt_user.template_info.org_id == 10740 || this.$store.getters.xt_user.template_info.org_id == 10742|| this.$store.getters.xt_user.template_info.org_id == 10745|| this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752|| this.$store.getters.xt_user.template_info.org_id == 10697){
3343
           this.getPatientBefor()
3343
           this.getPatientBefor()
3344
         }
3344
         }
3345
 
3345
 
5190
           var prescription = response.data.data.prescription
5190
           var prescription = response.data.data.prescription
5191
           if(patientBefor!=undefined){
5191
           if(patientBefor!=undefined){
5192
 
5192
 
5193
-            if(this.$store.getters.xt_user.template_info.org_id == 10727  ||this.$store.getters.xt_user.template_info.org_id == 10740 ||this.$store.getters.xt_user.template_info.org_id == 10742||this.$store.getters.xt_user.template_info.org_id == 10745||this.$store.getters.xt_user.template_info.org_id == 10751){
5193
+            if(this.$store.getters.xt_user.template_info.org_id == 10727  ||this.$store.getters.xt_user.template_info.org_id == 10740 ||this.$store.getters.xt_user.template_info.org_id == 10742||this.$store.getters.xt_user.template_info.org_id == 10745||this.$store.getters.xt_user.template_info.org_id == 10751||this.$store.getters.xt_user.template_info.org_id == 10697){
5194
               if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
5194
               if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
5195
               
5195
               
5196
                  this.dialysisPrescription.target_ultrafiltration = ((patientBefor.weight_before - patientBefor.dry_weight - patientBefor.additional_weight).toFixed(0))*1000
5196
                  this.dialysisPrescription.target_ultrafiltration = ((patientBefor.weight_before - patientBefor.dry_weight - patientBefor.additional_weight).toFixed(0))*1000

+ 2 - 2
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

784
                 org_id!=10558 &&
784
                 org_id!=10558 &&
785
                 org_id!=10517 && 
785
                 org_id!=10517 && 
786
                 org_id!=10414 && 
786
                 org_id!=10414 && 
787
-                org_id!=10598 && org_id!=10694 && org_id!=10697 && org_id!=10567 && org_id!=10644 && org_id!=10721) ||
787
+                org_id!=10598 && org_id!=10694 && org_id!=10697 && org_id!=10567 && org_id!=10644 && org_id!=10721 && org_id!=10731) ||
788
                 org_id == 9779 ||
788
                 org_id == 9779 ||
789
                 template_id == 11 ||
789
                 template_id == 11 ||
790
                 template_id == 20 ||
790
                 template_id == 20 ||
820
             width="100"
820
             width="100"
821
             v-if="
821
             v-if="
822
               isShow('置换量') &&
822
               isShow('置换量') &&
823
-              (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id == 10551 || org_id ==10558 || org_id ==10517 || org_id ==10598 || org_id ==10414 || org_id == 10694 || org_id == 10697 || org_id ==10567 || org_id == 10644 || org_id == 10721) &&
823
+              (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id == 10551 || org_id ==10558 || org_id ==10517 || org_id ==10598 || org_id ==10414 || org_id == 10694 || org_id == 10697 || org_id ==10567 || org_id == 10644 || org_id == 10721 || org_id == 10731) &&
824
               template_id != 9779 &&
824
               template_id != 9779 &&
825
               template_id != 11 &&
825
               template_id != 11 &&
826
               template_id != 20 &&
826
               template_id != 20 &&

+ 2 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

34
           <th v-if=" isShow('置换率') && (template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10432 && org_id!=10445 && org_id!=10410 && org_id!=10617  && org_id!=10677 && org_id !=10702 && org_id !=10721 && org_id !=10727 && org_id !=10206 && org_id!=10751&& org_id!=10752) || org_id == 10558 || org_id ==10598 || org_id ==10414 " width="92px" > 置换率(L/h)  </th>
34
           <th v-if=" isShow('置换率') && (template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10432 && org_id!=10445 && org_id!=10410 && org_id!=10617  && org_id!=10677 && org_id !=10702 && org_id !=10721 && org_id !=10727 && org_id !=10206 && org_id!=10751&& org_id!=10752) || org_id == 10558 || org_id ==10598 || org_id ==10414 " width="92px" > 置换率(L/h)  </th>
35
           <th v-if=" isShow('置换率1')" width="92px" > 置换率(ml/min) </th>
35
           <th v-if=" isShow('置换率1')" width="92px" > 置换率(ml/min) </th>
36
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
36
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
37
-          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191 && org_id!=10478 && org_id!=10346 && org_id!=10517) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10432  || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752 ) && org_id!=10558 && org_id!=10598  && org_id!=10414 && org_id!=10694 && org_id!=10697 && org_id!=10567 && org_id!=10644" width="92px"  > 置换量(ml)  </th>
38
-          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id ==10346 || org_id ==10517) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432  && this.$store.getters.xt_user.template_info.org_id != 10445  && this.$store.getters.xt_user.template_info.org_id != 10751&& this.$store.getters.xt_user.template_info.org_id != 10752) || org_id == 10558 || org_id ==10598 || org_id ==10414 || org_id == 10694 || org_id == 10697 || org_id == 10567 || org_id == 10644" width="92px" > 置换量(L) </th>
37
+          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191 && org_id!=10478 && org_id!=10346 && org_id!=10517) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10432  || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10751|| this.$store.getters.xt_user.template_info.org_id == 10752 ) && org_id!=10558 && org_id!=10598  && org_id!=10414 && org_id!=10694 && org_id!=10697 && org_id!=10567 && org_id!=10644 && org_id!=10731" width="92px"  > 置换量(ml)  </th>
38
+          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id ==10346 || org_id ==10517) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432  && this.$store.getters.xt_user.template_info.org_id != 10445  && this.$store.getters.xt_user.template_info.org_id != 10751&& this.$store.getters.xt_user.template_info.org_id != 10752) || org_id == 10558 || org_id ==10598 || org_id ==10414 || org_id == 10694 || org_id == 10697 || org_id == 10567 || org_id == 10644 || org_id == 10731" width="92px" > 置换量(L) </th>
39
           <th v-if=" isShow('置换量1')" width="92px"  > 置换量(L)  </th>
39
           <th v-if=" isShow('置换量1')" width="92px"  > 置换量(L)  </th>
40
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
40
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
41
           <th v-if=" isShow('SpO₂') && org_id == 9829" width="92px" > SpO₂(%) </th>
41
           <th v-if=" isShow('SpO₂') && org_id == 9829" width="92px" > SpO₂(%) </th>

+ 2 - 2
src/xt_pages/dialysis/details/index.vue View File

2580
           newArr.sort(this.compare('created_time'))
2580
           newArr.sort(this.compare('created_time'))
2581
         }
2581
         }
2582
 
2582
 
2583
-        if(this.org_id ==10579 || this.org_id == 0 || this.org_id ==10587 || this.org_id ==10571 || this.org_id ==10679 || this.org_id==10702 || this.org_id==10721){
2583
+        if(this.org_id ==10579 || this.org_id == 0 || this.org_id ==10587 || this.org_id ==10571 || this.org_id ==10679 || this.org_id==10702 || this.org_id==10721 || this.org_id == 10635){
2584
           if(newArr!=null && newArr.length>0){
2584
           if(newArr!=null && newArr.length>0){
2585
             for(let i=0;i<newArr.length;i++){
2585
             for(let i=0;i<newArr.length;i++){
2586
               newArr[i].sort =0
2586
               newArr[i].sort =0
2759
           newArr.sort(this.compare('created_time'))
2759
           newArr.sort(this.compare('created_time'))
2760
         }
2760
         }
2761
 
2761
 
2762
-        if(this.org_id == 0 || this.org_id == 10579 || this.org_id ==10587 || this.org_id == 10679 || this.org_id == 10702 || this.org_id == 10721){
2762
+        if(this.org_id == 0 || this.org_id == 10579 || this.org_id ==10587 || this.org_id == 10679 || this.org_id == 10702 || this.org_id == 10721 || this.org_id == 10635){
2763
           if(newArr!=null && newArr.length>0){
2763
           if(newArr!=null && newArr.length>0){
2764
             for(let i=0;i<newArr.length;i++){
2764
             for(let i=0;i<newArr.length;i++){
2765
               newArr[i].sort =0
2765
               newArr[i].sort =0

+ 5 - 5
src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue View File

646
                                   monitor.operate_time ==
646
                                   monitor.operate_time ==
647
                                     dialysisOrder.start_time)&&(org_id!=10414) && (org_id!=10683)
647
                                     dialysisOrder.start_time)&&(org_id!=10414) && (org_id!=10683)
648
                                 "
648
                                 "
649
-                                >【开始透析】 <span v-if="org_id ==10598">引血100ml/min</span>
649
+                                > <span v-if="org_id ==10598">引血100ml/min</span>
650
                                 </template>
650
                                 </template>
651
 
651
 
652
                               {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{
652
                               {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{
1048
                       kg
1048
                       kg
1049
                     </div>
1049
                     </div>
1050
 
1050
 
1051
-                    <div class="inline_block" style="flex: 1">
1051
+                    <!-- <div class="inline_block" style="flex: 1">
1052
                       透析中入量(g):
1052
                       透析中入量(g):
1053
                       <div class="under_line"
1053
                       <div class="under_line"
1054
                         style="width: 70px; text-align: center"
1054
                         style="width: 70px; text-align: center"
1063
                       </div>
1063
                       </div>
1064
 
1064
 
1065
                       {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
1065
                       {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
1066
-                    </div>
1066
+                    </div> -->
1067
 
1067
 
1068
                     <div class="inline_block" style="flex: 1">
1068
                     <div class="inline_block" style="flex: 1">
1069
                       实际超滤量:
1069
                       实际超滤量:
2196
           if (Object.keys(monitor).length > 0 && index > 1) {
2196
           if (Object.keys(monitor).length > 0 && index > 1) {
2197
             if ((this.dialysisOrder &&monitor.operate_time == this.dialysisOrder.end_time)&&(this.org_id!=10414)) {
2197
             if ((this.dialysisOrder &&monitor.operate_time == this.dialysisOrder.end_time)&&(this.org_id!=10414)) {
2198
               if(this.org_id!=10683){
2198
               if(this.org_id!=10683){
2199
-                this.monitors[index].end = "【结束透析】";
2199
+                this.monitors[index].end = "";
2200
               }
2200
               }
2201
 
2201
 
2202
               tempmonitorflag = false;
2202
               tempmonitorflag = false;
2203
             }
2203
             }
2204
             if ((tempmonitorflag && index == this.monitors.length - 1)&&(this.org_id!=10414)) {
2204
             if ((tempmonitorflag && index == this.monitors.length - 1)&&(this.org_id!=10414)) {
2205
               if(this.org_id!=10683){
2205
               if(this.org_id!=10683){
2206
-                this.monitors[index].end = "【结束透析】";
2206
+                this.monitors[index].end = "";
2207
               }
2207
               }
2208
             }
2208
             }
2209
           }
2209
           }

+ 1 - 0
src/xt_pages/hospitalStation/recordTemplate/printOne.vue View File

15
               <span v-if="patient.marital_status == 1">未婚</span>
15
               <span v-if="patient.marital_status == 1">未婚</span>
16
               <span v-if="patient.marital_status == 2">已婚</span>
16
               <span v-if="patient.marital_status == 2">已婚</span>
17
               <span v-if="patient.marital_status == 3">离异</span>
17
               <span v-if="patient.marital_status == 3">离异</span>
18
+              <span v-if="patient.marital_status == 4">丧偶</span>
18
             </div>
19
             </div>
19
             <div>职业:{{getProfession(patient.profession)?getProfession(patient.profession):''}}</div>
20
             <div>职业:{{getProfession(patient.profession)?getProfession(patient.profession):''}}</div>
20
         </div>
21
         </div>

+ 1 - 0
src/xt_pages/outpatientDoctorStation/recordTemplate/printFour.vue View File

15
                   <span v-if="patient.marital_status == 1">未婚</span>
15
                   <span v-if="patient.marital_status == 1">未婚</span>
16
                   <span v-if="patient.marital_status == 2">已婚</span>
16
                   <span v-if="patient.marital_status == 2">已婚</span>
17
                   <span v-if="patient.marital_status == 3">离异</span>
17
                   <span v-if="patient.marital_status == 3">离异</span>
18
+                  <span v-if="patient.marital_status == 4">丧偶</span>
18
                 </div>
19
                 </div>
19
                 <div>职业:{{getProfession(patient.profession)?getProfession(patient.profession):''}}</div>
20
                 <div>职业:{{getProfession(patient.profession)?getProfession(patient.profession):''}}</div>
20
                 <div>病历编号:{{patient.id?patient.id:''}}</div>
21
                 <div>病历编号:{{patient.id?patient.id:''}}</div>

+ 1 - 0
src/xt_pages/outpatientDoctorStation/recordTemplate/printOne.vue View File

15
               <span v-if="patient.marital_status == 1">未婚</span>
15
               <span v-if="patient.marital_status == 1">未婚</span>
16
               <span v-if="patient.marital_status == 2">已婚</span>
16
               <span v-if="patient.marital_status == 2">已婚</span>
17
               <span v-if="patient.marital_status == 3">离异</span>
17
               <span v-if="patient.marital_status == 3">离异</span>
18
+              <span v-if="patient.marital_status == 4">丧偶</span>
18
             </div>
19
             </div>
19
             <div>职业:{{getProfession(patient.profession)?getProfession(patient.profession):''}}</div>
20
             <div>职业:{{getProfession(patient.profession)?getProfession(patient.profession):''}}</div>
20
         </div>
21
         </div>

File diff suppressed because it is too large
+ 175 - 1153
src/xt_pages/stock/drugs/components/purchaseDrugQuery.vue


+ 3 - 2
src/xt_pages/stock/drugs/drugNewQuery.vue View File

14
                <PurchaseNewDrugQuery ref="mychildfive"></PurchaseNewDrugQuery>
14
                <PurchaseNewDrugQuery ref="mychildfive"></PurchaseNewDrugQuery>
15
             </el-tab-pane>
15
             </el-tab-pane>
16
         
16
         
17
-            <!-- <el-tab-pane label="进销存查询" name="second">
18
-              <PurchaseDrugQuery ref="mychild"></PurchaseDrugQuery>
17
+            <!-- <el-tab-pane label="进销存查询2" name="second">
18
+               <PurchaseDrugQuery ref="mychild"></PurchaseDrugQuery>
19
             </el-tab-pane>  -->
19
             </el-tab-pane>  -->
20
 
20
 
21
             <el-tab-pane label="有效期查询" name="third">
21
             <el-tab-pane label="有效期查询" name="third">
73
       if(val.name =="five"){
73
       if(val.name =="five"){
74
        this.$refs.mychildfive.open()
74
        this.$refs.mychildfive.open()
75
       }
75
       }
76
+     
76
     }
77
     }
77
   },
78
   },
78
   created(){
79
   created(){

+ 26 - 1
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue View File

440
       @open="openDialog"
440
       @open="openDialog"
441
       :visible.sync="dialogVisible"
441
       :visible.sync="dialogVisible"
442
       width="40%">
442
       width="40%">
443
+
444
+      <div style="margin-bottom: 10px;">
445
+        <span >追溯码个数:{{getTotal() }} 个</span>
446
+      </div>
443
       <span>
447
       <span>
444
         <el-input
448
         <el-input
445
         
449
         
595
       dialogVisible:false,
599
       dialogVisible:false,
596
       currentRow:{},
600
       currentRow:{},
597
       currentIndex:0,
601
       currentIndex:0,
598
-      textarea:""
602
+      textarea:"",
603
+      textAreaList:[]
599
     };
604
     };
600
   },
605
   },
601
   methods: {
606
   methods: {
607
+    getTotal(){
608
+      if(this.textarea!=null){
609
+        var  textAreaList = this.textarea.split(",")
610
+        console.log("textArrleti",textAreaList)
611
+        var arr = []
612
+        if(textAreaList!=null && textAreaList.length>0){
613
+          for(let i=0;i<textAreaList.length;i++){
614
+            if(textAreaList[i]!=""){
615
+              arr.push(textAreaList[i])
616
+            }
617
+          }
618
+          return  arr.length
619
+        }else{
620
+          return ""
621
+        }
622
+      
623
+      }
624
+
625
+    },
602
     openDialog(){
626
     openDialog(){
603
       this.$nextTick(() => {
627
       this.$nextTick(() => {
604
         this.$refs.inputRef.focus()
628
         this.$refs.inputRef.focus()
1257
         this.textarea = textarea
1281
         this.textarea = textarea
1258
 
1282
 
1259
       }
1283
       }
1284
+      this.getTotal()
1260
    },
1285
    },
1261
   },
1286
   },
1262
 
1287
 

+ 14 - 3
src/xt_pages/stock/drugs/inventoryPrint.vue View File

19
                         <td align="center">批号</td>
19
                         <td align="center">批号</td>
20
                         <td style="width: 100px;" align="center">生产日期</td>
20
                         <td style="width: 100px;" align="center">生产日期</td>
21
                         <td align="center">有效日期</td>
21
                         <td align="center">有效日期</td>
22
-                        <td align="center">生产企业</td>
22
+                        <td align="center" style="width: 100px;">生产企业</td>
23
                         <td align="center">国药准字</td>
23
                         <td align="center">国药准字</td>
24
                         <td align="center">单位</td>
24
                         <td align="center">单位</td>
25
-                        <td style="width:200px" align="center">库存量</td>
25
+                        <td style="width:100px" align="center">剩余库存</td>
26
+                        <td style="width: 100px;" align="center">盘点数量</td>
26
                     </tr>
27
                     </tr>
27
                     <tr v-for="(item,index) in tableData" :key="index">
28
                     <tr v-for="(item,index) in tableData" :key="index">
28
                         <td align="center">{{index+1}}</td>
29
                         <td align="center">{{index+1}}</td>
34
                         <td align="center">{{getManufacturerName(item.manufacturer)}}</td>
35
                         <td align="center">{{getManufacturerName(item.manufacturer)}}</td>
35
                         <td align="center">{{item.number}}</td>
36
                         <td align="center">{{item.number}}</td>
36
                         <td align="center">{{item.max_unit}}</td>
37
                         <td align="center">{{item.max_unit}}</td>
37
-                        <td align="center"></td>
38
+                        <td align="center">
39
+                          <span v-if="item.stock_max_number>0">
40
+                            {{ item.stock_max_number }}{{ item.max_unit }}
41
+                          </span>
42
+                           <span v-if="item.stock_min_number>0">
43
+                            {{ item.stock_min_number }}{{ item.min_unit }}
44
+                           </span>
45
+                        </td>
46
+                        <td align="center">
47
+
48
+                        </td>
38
                     </tr>
49
                     </tr>
39
                 </table>
50
                 </table>
40
 
51
 

+ 3 - 1
src/xt_pages/stock/inventoryPrint.vue View File

22
                         <td style="width: 100px;" align="center">生产企业</td>
22
                         <td style="width: 100px;" align="center">生产企业</td>
23
                         <td align="center">国药准字</td>
23
                         <td align="center">国药准字</td>
24
                         <td align="center">单位</td>
24
                         <td align="center">单位</td>
25
-                        <td style="width:200px" align="center">库存量</td>
25
+                        <td style="width:100px" align="center">剩余库存</td>
26
+                        <td style="width:200px" align="center">盘点数量</td>
26
                     </tr>
27
                     </tr>
27
                     <tr v-for="(item,index) in tableData" :key="index">
28
                     <tr v-for="(item,index) in tableData" :key="index">
28
                         <td align="center">{{index+1}}</td>
29
                         <td align="center">{{index+1}}</td>
34
                         <td align="center">{{getManufacturerName(item.manufacturer)}}</td>
35
                         <td align="center">{{getManufacturerName(item.manufacturer)}}</td>
35
                         <td align="center">{{item.remark}}</td>
36
                         <td align="center">{{item.remark}}</td>
36
                         <td align="center">{{item.packing_unit}}</td>
37
                         <td align="center">{{item.packing_unit}}</td>
38
+                        <td align="center">{{ item.stock_count }}</td>
37
                         <td align="center"></td>
39
                         <td align="center"></td>
38
                     </tr>
40
                     </tr>
39
                 </table>
41
                 </table>

+ 22 - 14
src/xt_pages/stock/query/purchaseNewStockQuery.vue View File

267
             this.loading = false
267
             this.loading = false
268
             for(let i=0;i<list.length;i++){
268
             for(let i=0;i<list.length;i++){
269
                
269
                
270
-              if(this.org_id ==10210 || this.org_id ==10215 || this.org_id == 10265){
270
+              if(this.org_id ==10210 || this.org_id ==10215 || this.org_id == 10265 || this.org_id ==0){
271
                 list[i].stockIn = list[i].GoodStartFlowInfo.over_count
271
                 list[i].stockIn = list[i].GoodStartFlowInfo.over_count
272
               }else{
272
               }else{
273
                 console.log("HHAHHAHA",list[i].id)
273
                 console.log("HHAHHAHA",list[i].id)
292
                if(this.org_id ==10697){
292
                if(this.org_id ==10697){
293
                   list[i].stock_in_price = list[i].buy_price
293
                   list[i].stock_in_price = list[i].buy_price
294
                   list[i].stockMoney = (list[i].buy_price * list[i].stockIn).toFixed(2)
294
                   list[i].stockMoney = (list[i].buy_price * list[i].stockIn).toFixed(2)
295
-               }else if(this.org_id == 0 || this.org_id == 10644 || this.org_id == 10752){
295
+               }else if(this.org_id ==0){
296
+                list[i].stock_in_price = list[i].buy_price
297
+                list[i].stockMoney = (list[i].buy_price * list[i].stockIn).toFixed(2)
298
+               }else if(this.org_id == 10644 || this.org_id == 10752){
296
                  list[i].stock_in_price = "/"
299
                  list[i].stock_in_price = "/"
297
-                 console.log("val1",this.getAllStockInPrice(list[i].StWarehousingInfoTwo))
298
-                 console.log("val2",this.getAllStockInFlowPrice(list[i].WareStartInStockFlow))
299
-                 console.log("val3",this.getAllOutStockInPrice(list[i].WarehouseOutInfoTenty) )
300
-                 console.log("val4",this.getAllStockOutFlowPrice(list[i].WareStartOutStockFlow))
300
+                //  console.log("val1",this.getAllStockInPrice(list[i].StWarehousingInfoTwo))
301
+                //  console.log("val2",this.getAllStockInFlowPrice(list[i].WareStartInStockFlow))
302
+                //  console.log("val3",this.getAllOutStockInPrice(list[i].WarehouseOutInfoTenty) )
303
+                //  console.log("val4",this.getAllStockOutFlowPrice(list[i].WareStartOutStockFlow))
301
 
304
 
302
                 list[i].stockMoney = parseFloat(this.getAllStockInPrice(list[i].StWarehousingInfoTwo))  +parseFloat(this.getAllStockInFlowPrice(list[i].WareStartInStockFlow))  - parseFloat(this.getAllOutStockInPrice(list[i].WarehouseOutInfoTenty))  - parseFloat(this.getAllStockOutFlowPrice(list[i].WareStartOutStockFlow)) 
305
                 list[i].stockMoney = parseFloat(this.getAllStockInPrice(list[i].StWarehousingInfoTwo))  +parseFloat(this.getAllStockInFlowPrice(list[i].WareStartInStockFlow))  - parseFloat(this.getAllOutStockInPrice(list[i].WarehouseOutInfoTenty))  - parseFloat(this.getAllStockOutFlowPrice(list[i].WareStartOutStockFlow)) 
303
                 if(list[i].stockMoney>0){
306
                 if(list[i].stockMoney>0){
317
               if(this.org_id ==10697){
320
               if(this.org_id ==10697){
318
                list[i].addStockMoney = list[i].buy_price 
321
                list[i].addStockMoney = list[i].buy_price 
319
                 list[i].saleStockMoney = (list[i].buy_price *list[i].stockAdd).toFixed(2)
322
                 list[i].saleStockMoney = (list[i].buy_price *list[i].stockAdd).toFixed(2)
320
-              }else if(this.org_id == 0 || this.org_id == 10644 || this.org_id == 10752){
323
+              }else if(this.org_id == 0){
324
+                list[i].addStockMoney = list[i].buy_price 
325
+                list[i].saleStockMoney = (list[i].buy_price *list[i].stockAdd).toFixed(2)
326
+              } else if(this.org_id == 10644 || this.org_id == 10752){
321
                 list[i].addStockMoney = "/"
327
                 list[i].addStockMoney = "/"
322
                 list[i].saleStockMoney = this.getWarehouseInfoOnePrice(list[i].StartFlowWarehouseInfo,list[i].WareStartEndStockInventoryProfit)
328
                 list[i].saleStockMoney = this.getWarehouseInfoOnePrice(list[i].StartFlowWarehouseInfo,list[i].WareStartEndStockInventoryProfit)
323
               } else{
329
               } else{
330
               if(this.org_id == 10697){
336
               if(this.org_id == 10697){
331
                 list[i].stockOutprice = list[i].packing_price
337
                 list[i].stockOutprice = list[i].packing_price
332
                 list[i].saleOutMoney = (list[i].packing_price * list[i].outStock).toFixed(2)
338
                 list[i].saleOutMoney = (list[i].packing_price * list[i].outStock).toFixed(2)
333
-              }else if(this.org_id == 0 || this.org_id == 10644 || this.org_id == 10752){
339
+              }else if(this.org_id == 0){
340
+                list[i].stockOutprice = list[i].packing_price
341
+                list[i].saleOutMoney = (list[i].packing_price * list[i].outStock).toFixed(2)
342
+              }else if(this.org_id == 10644 || this.org_id == 10752){
334
                 list[i].stockOutprice = "/"
343
                 list[i].stockOutprice = "/"
335
                 list[i].saleOutMoney = this.getWarehosueOutInfoPrice(list[i].WarehouseOutInfoStart,list[i].WareStartEndStockInventoryLosses,list[i].StartEndCancelFLowInfo)
344
                 list[i].saleOutMoney = this.getWarehosueOutInfoPrice(list[i].WarehouseOutInfoStart,list[i].WareStartEndStockInventoryLosses,list[i].StartEndCancelFLowInfo)
336
                 if(list[i].saleOutMoney == "NaN"){
345
                 if(list[i].saleOutMoney == "NaN"){
344
 
353
 
345
 
354
 
346
              
355
              
347
-              if(this.org_id == 10265){
356
+              if(this.org_id == 10265 || this.org_id == 0){
348
                 list[i].overStock = list[i].GoodEndFlowInfo.over_count
357
                 list[i].overStock = list[i].GoodEndFlowInfo.over_count
349
               }else{
358
               }else{
350
                 if((list[i].stockIn + list[i].stockAdd - list[i].outStock)>0 ){
359
                 if((list[i].stockIn + list[i].stockAdd - list[i].outStock)>0 ){
358
               if(this.org_id ==10697){
367
               if(this.org_id ==10697){
359
                 list[i].overPrice = list[i].packing_price
368
                 list[i].overPrice = list[i].packing_price
360
                 list[i].overMoney = (list[i].packing_price*list[i].overStock).toFixed(2)
369
                 list[i].overMoney = (list[i].packing_price*list[i].overStock).toFixed(2)
361
-              }else if(this.org_id == 0 || this.org_id ==10644 || this.org_id == 10752){
370
+              }else if(this.org_id == 0){
371
+                list[i].overPrice = list[i].GoodEndFlowInfo.buy_price
372
+                list[i].overMoney = (list[i].GoodEndFlowInfo.buy_price*list[i].overStock).toFixed(2)
373
+              } else if(this.org_id ==10644 || this.org_id == 10752){
362
                 list[i].overPrice = "/"
374
                 list[i].overPrice = "/"
363
-                // console.log("stockMoney-00000000000000",list[i].stockMoney)
364
-                // console.log("saleStockMoney-00000000000000",list[i].saleStockMoney)
365
-                // console.log("saleOutMoney-00000000000000",list[i].saleOutMoney)
366
                 list[i].overMoney = (parseFloat(list[i].stockMoney)  + parseFloat(list[i].saleStockMoney) - parseFloat(list[i].saleOutMoney)).toFixed(2)
375
                 list[i].overMoney = (parseFloat(list[i].stockMoney)  + parseFloat(list[i].saleStockMoney) - parseFloat(list[i].saleOutMoney)).toFixed(2)
367
-                // console.log("hahahha",list[i].overMoney)
368
               }else{
376
               }else{
369
                 list[i].overPrice = "/"
377
                 list[i].overPrice = "/"
370
                 list[i].overMoney = "/"
378
                 list[i].overMoney = "/"

+ 1 - 1
src/xt_pages/stock/stockOutOrder.vue View File

1064
       manufacturer: [],
1064
       manufacturer: [],
1065
       selectedTableData: [],
1065
       selectedTableData: [],
1066
       dealer: [],
1066
       dealer: [],
1067
-      type: 0,
1067
+      type: 1,
1068
       drug_id: 0,
1068
       drug_id: 0,
1069
       dialogVisible: false,
1069
       dialogVisible: false,
1070
       editdialogVisible: false,
1070
       editdialogVisible: false,

+ 2 - 0
src/xt_pages/upload/fast/basicInfo.vue View File

169
                 this.form.marital_status = '已婚'
169
                 this.form.marital_status = '已婚'
170
             }else if(this.form.marital_status == 3){
170
             }else if(this.form.marital_status == 3){
171
                 this.form.marital_status = '离异'
171
                 this.form.marital_status = '离异'
172
+            }else if(this.form.marital_status == 4){
173
+                this.form.marital_status = '丧偶'
172
             }else if(this.form.marital_status == 0){
174
             }else if(this.form.marital_status == 0){
173
                 this.form.marital_status = ''
175
                 this.form.marital_status = ''
174
             }
176
             }

+ 1 - 1
src/xt_pages/user/components/PatientDetail.vue View File

662
 
662
 
663
             <div v-show="!generic_info_fold">
663
             <div v-show="!generic_info_fold">
664
               <el-col :span="8">
664
               <el-col :span="8">
665
-                <el-form-item label="别名 : " prop="alias">
665
+                <el-form-item label="血型 : " prop="alias">
666
                   <el-input v-model="form.alias" disabled></el-input>
666
                   <el-input v-model="form.alias" disabled></el-input>
667
                 </el-form-item>
667
                 </el-form-item>
668
               </el-col>
668
               </el-col>

+ 2 - 1
src/xt_pages/user/components/PatientForm.vue View File

704
 
704
 
705
               <div v-show="!generic_info_fold">
705
               <div v-show="!generic_info_fold">
706
                 <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
706
                 <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
707
-                  <el-form-item label="别名 : " prop="alias">
707
+                  <el-form-item label="血型 : " prop="alias">
708
                     <el-input v-model="form.alias"></el-input>
708
                     <el-input v-model="form.alias"></el-input>
709
                   </el-form-item>
709
                   </el-form-item>
710
                 </el-col>
710
                 </el-col>
1593
     // this.styleOptions = this.$store.getters.patient_types;
1593
     // this.styleOptions = this.$store.getters.patient_types;
1594
     // this.partitionOptions = this.$store.getters.partitions;
1594
     // this.partitionOptions = this.$store.getters.partitions;
1595
     this.maritalOptions = getDataConfig("patient", "marital_options");
1595
     this.maritalOptions = getDataConfig("patient", "marital_options");
1596
+    console.log("maritalOptians==============",this.maritalOptions)
1596
     this.wayOptions = getDataConfig("patient", "reimbursement_ways");
1597
     this.wayOptions = getDataConfig("patient", "reimbursement_ways");
1597
     // this.typeOptions = this.$store.getters.blood_types;
1598
     // this.typeOptions = this.$store.getters.blood_types;
1598
     // this.rhOptions = this.$store.getters.rh;
1599
     // this.rhOptions = this.$store.getters.rh;

+ 4 - 1
src/xt_pages/user/doctorAdvice.vue View File

2096
 import { jsGetAge, uParseTime } from "@/utils/tools";
2096
 import { jsGetAge, uParseTime } from "@/utils/tools";
2097
 import { getDataConfig } from "@/utils/data";
2097
 import { getDataConfig } from "@/utils/data";
2098
 import { getSelfMedicalList,getDrugDescByDrugName } from "@/api/drug/drug"
2098
 import { getSelfMedicalList,getDrugDescByDrugName } from "@/api/drug/drug"
2099
+import patient from "../../router/modules/patient";
2099
 let rowIndex = 1;
2100
 let rowIndex = 1;
2100
 const rowKey = 0;
2101
 const rowKey = 0;
2101
 
2102
 
2921
     },
2922
     },
2922
     DeleteGroupAdvice(groupno, row) {
2923
     DeleteGroupAdvice(groupno, row) {
2923
       console.log("patinet_id =======",row)
2924
       console.log("patinet_id =======",row)
2925
+      var patient_id = row.patient_id
2926
+      var advice_date = row.advice_date
2924
       this.$confirm("确认删除这组医嘱?", "医嘱删除", {
2927
       this.$confirm("确认删除这组医嘱?", "医嘱删除", {
2925
         confirmButtonText: "确定",
2928
         confirmButtonText: "确定",
2926
         cancelButtonText: "取消",
2929
         cancelButtonText: "取消",
2944
             }
2947
             }
2945
           }
2948
           }
2946
 
2949
 
2947
-          DeleteNewGroupAdvice(groupno, mode).then(response => {
2950
+          DeleteNewGroupAdvice(groupno, mode,patient_id,advice_date).then(response => {
2948
             if (response.data.state == 0) {
2951
             if (response.data.state == 0) {
2949
               this.$message.error(response.data.msg)``;
2952
               this.$message.error(response.data.msg)``;
2950
               return false;
2953
               return false;

+ 23 - 4
src/xt_pages/user/physiqueprinting.vue View File

54
                 <div style="flex: 1;">
54
                 <div style="flex: 1;">
55
                   首次透析日期:{{ patient.first_dialysis_date ? getTime(patient.first_dialysis_date, '{y}-{m}-{d}') : '' }}
55
                   首次透析日期:{{ patient.first_dialysis_date ? getTime(patient.first_dialysis_date, '{y}-{m}-{d}') : '' }}
56
                 </div>
56
                 </div>
57
-                <div style="flex: 1;">血型:{{ getBloodType(patient.blood_type) }}</div>
57
+                <div style="flex: 1;">血型:{{ patient.alias }}</div>
58
                 <div style="flex: 1;">报销方式:{{ getWayOptions(patient.reimbursement_way_id) }}</div>
58
                 <div style="flex: 1;">报销方式:{{ getWayOptions(patient.reimbursement_way_id) }}</div>
59
               </div>
59
               </div>
60
               <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
60
               <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
137
               {{index+1}}.<span>{{ item }}</span><br/>
137
               {{index+1}}.<span>{{ item }}</span><br/>
138
             </div>
138
             </div>
139
             <div style="text-align: right;margin-bottom: 10px;">
139
             <div style="text-align: right;margin-bottom: 10px;">
140
-              <span style="font-weight: bold;">病历书写者:</span>
141
-              {{getDoctorName(item.doctor_id)}}
140
+
141
+             <span style="font-weight: bold;">病历书写者:</span>
142
+              <span v-if="getUrl(item.doctor_id)!=''">
143
+                <img :src="getUrl(item.doctor_id)" style="height: 50px">
144
+              </span>
145
+              <span v-if="getUrl(item.doctor_id)==''">
146
+                {{getDoctorName(item.doctor_id)}}
147
+              </span>
148
+             
142
             </div>
149
             </div>
143
           </div>
150
           </div>
144
           <div style="float: right;">
151
           <div style="float: right;">
219
       },
226
       },
220
       diagnosis: [],
227
       diagnosis: [],
221
       treatment_plan_list:[],
228
       treatment_plan_list:[],
222
-      org_id:0
229
+      org_id:0,
230
+      signatureList:[]
223
     }
231
     }
224
   },
232
   },
225
   components: {
233
   components: {
230
       fetchAllDoctorAndNurse().then(response => {
238
       fetchAllDoctorAndNurse().then(response => {
231
         if (response.data.state == 1) {
239
         if (response.data.state == 1) {
232
           this.doctorOptions = response.data.data.doctors;
240
           this.doctorOptions = response.data.data.doctors;
241
+          var signature = response.data.data.signature
242
+          this.signatureList = signature
233
         }
243
         }
234
       });
244
       });
235
     },
245
     },
246
+    getUrl(creator){
247
+      var url = ""
248
+      for(let i=0;i<this.signatureList.length;i++){
249
+         if(creator == this.signatureList[i].admin_user_id){
250
+             url = this.signatureList[i].url
251
+         }
252
+      }
253
+      return url
254
+    },
236
     getDoctorName: function(doctor_id) {
255
     getDoctorName: function(doctor_id) {
237
       for (let index = 0; index < this.doctorOptions.length; index++) {
256
       for (let index = 0; index < this.doctorOptions.length; index++) {
238
         const doctor = this.doctorOptions[index]
257
         const doctor = this.doctorOptions[index]

+ 25 - 0
src/xt_pages/workforce/remind_print_setting.vue View File

125
                   <span v-if="main_collection.dialysissolution.anticoagulant == 11">
125
                   <span v-if="main_collection.dialysissolution.anticoagulant == 11">
126
                     {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
126
                     {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
127
                    </span>
127
                    </span>
128
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 12">
129
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
130
+                   </span>
131
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 13">
132
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
133
+                   </span>
134
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 14">
135
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
136
+                   </span>
137
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 15">
138
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
139
+                   </span>
140
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 16">
141
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
142
+                   </span>
143
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 17">
144
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
145
+                   </span>
146
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 18">
147
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
148
+                   </span>
149
+                   <span v-if="main_collection.dialysissolution.anticoagulant == 19">
150
+                    {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
151
+                   </span>
128
                 </div>
152
                 </div>
129
 
153
 
130
                 <div v-if="org_id==0 || org_id ==10460">
154
                 <div v-if="org_id==0 || org_id ==10460">
358
     this.printDate = moment().format("YYYY-MM-DD HH:mm:ss")
382
     this.printDate = moment().format("YYYY-MM-DD HH:mm:ss")
359
     this.modeOptions = this.$store.getters.treatment_mode
383
     this.modeOptions = this.$store.getters.treatment_mode
360
     this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
384
     this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
385
+    console.log("anticoagulants_confit---------------",this.anticoagulants_confit)
361
     this.week_type = this.$route.query.week_type
386
     this.week_type = this.$route.query.week_type
362
     this.week_time  = this.$route.query.week_time
387
     this.week_time  = this.$route.query.week_time
363
     this.zone = this.$route.query.zone
388
     this.zone = this.$route.query.zone