Bläddra i källkod

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

yq1 6 månader sedan
förälder
incheckning
f992b2add7
28 ändrade filer med 795 tillägg och 234 borttagningar
  1. 9 0
      src/api/project/project.js
  2. 9 0
      src/api/qcd.js
  3. 30 0
      src/store/modules/globalConfig.js
  4. 7 6
      src/xt_pages/Dialysisanalysis/weightblood/components/dry_denominator.vue
  5. 5 5
      src/xt_pages/Dialysisanalysis/weightblood/components/dry_weight.vue
  6. 8 7
      src/xt_pages/Dialysisanalysis/weightblood/components/list_denominator.vue
  7. 19 4
      src/xt_pages/data/components/addDrugs.vue
  8. 22 12
      src/xt_pages/data/components/drugs.vue
  9. 44 29
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  10. 2 2
      src/xt_pages/dialysis/bloodPresssWatch.vue
  11. 26 5
      src/xt_pages/dialysis/details/consumable/dialysisGather.vue
  12. 18 3
      src/xt_pages/dialysis/details/consumable/dialysisGatherPrint.vue
  13. 35 38
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  14. 1 1
      src/xt_pages/dialysis/dialysisPrintOrder.vue
  15. 91 87
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  16. 243 0
      src/xt_pages/stock/config/goodList.vue
  17. 2 0
      src/xt_pages/stock/detail/stockInDetail.vue
  18. 3 2
      src/xt_pages/stock/detail/stockOutDetail.vue
  19. 2 0
      src/xt_pages/stock/drugs/components/drugInOrder.vue
  20. 8 3
      src/xt_pages/stock/drugs/components/drugOutDetail.vue
  21. 2 0
      src/xt_pages/stock/drugs/drugOutOrderPrint.vue
  22. 6 2
      src/xt_pages/stock/index.vue
  23. 7 0
      src/xt_pages/stock/stockInOrder.vue
  24. 67 5
      src/xt_pages/stock/stockInOrderAdd.vue
  25. 81 1
      src/xt_pages/stock/stockInOrderEdit.vue
  26. 28 3
      src/xt_pages/stock/stockOutOrderAdd.vue
  27. 18 16
      src/xt_pages/user/components/PatientDetail.vue
  28. 2 3
      src/xt_pages/workforce/appointment.vue

+ 9 - 0
src/api/project/project.js Visa fil

@@ -541,3 +541,12 @@ export function getInvoice(params){
541 541
     params:params
542 542
   })
543 543
 }
544
+
545
+export function getAllGoodInfoList(params){
546
+
547
+  return request({
548
+    url:"/api/getallgoodinforlist",
549
+    method:"Get",
550
+    params:params
551
+  })
552
+}

+ 9 - 0
src/api/qcd.js Visa fil

@@ -293,3 +293,12 @@ export function Getbpdetail(params) {
293 293
     params: params
294 294
   })
295 295
 }
296
+
297
+//干体重详情
298
+export function Getdryweightdetail(params) {
299
+  return request({
300
+    url: '/api/commonqc/dryweight/detail',
301
+    method: 'get',
302
+    params: params
303
+  })
304
+}

+ 30 - 0
src/store/modules/globalConfig.js Visa fil

@@ -864,6 +864,21 @@ const global_config = {
864 864
         calcium: 1,
865 865
         bicarbonate: 1
866 866
       },
867
+      44: {
868
+        id: 44,
869
+        name: '导管溶栓',
870
+        dialysis_duration: 1,
871
+        replacement_way: 1,
872
+        hemodialysis_machine: 2,
873
+        blood_filter: 1,
874
+        perfusion_apparatus: 2,
875
+        blood_flow_volume: 1,
876
+        dialysate_flow: 1,
877
+        kalium: 1,
878
+        sodium: 1,
879
+        calcium: 1,
880
+        bicarbonate: 1
881
+      },
867 882
     },
868 883
     anticoagulants_confit: { // 抗凝剂
869 884
       1: {
@@ -1136,6 +1151,21 @@ const global_config = {
1136 1151
         gaimingcheng_unit: '',
1137 1152
         gaijiliang_unit: ''
1138 1153
       },
1154
+      19: {
1155
+        id: 19,
1156
+        name: '低分子量肝素钠',
1157
+        type: 1,
1158
+        shouji: 1,
1159
+        weichi: 1,
1160
+        zongliang: 1,
1161
+        gaimingcheng: -1,
1162
+        gaijiliang: -1,
1163
+        shouji_unit: 'iu',
1164
+        weichi_unit: 'iu/h',
1165
+        zongliang_unit: 'iu',
1166
+        gaimingcheng_unit: '',
1167
+        gaijiliang_unit: ''
1168
+      },
1139 1169
     },
1140 1170
     anticoagulants_set: {
1141 1171
       type: 2

+ 7 - 6
src/xt_pages/Dialysisanalysis/weightblood/components/dry_denominator.vue Visa fil

@@ -360,7 +360,7 @@ import html2canvas from "html2canvas"
360 360
                   this.weight_value = this.weight_gain[i].value
361 361
                 }
362 362
               }
363
-              this.Getdialyzerdetail(this.weight_value)
363
+              this.Getdialyzerdetail(this.weight_value,2)
364 364
             })
365 365
           }
366 366
 
@@ -404,7 +404,7 @@ import html2canvas from "html2canvas"
404 404
       // 详情查询
405 405
       deil_click(){
406 406
         this.currentPage = 1
407
-        this.Getdialyzerdetail(this.weight_value)
407
+        this.Getdialyzerdetail(this.weight_value,2)
408 408
       },
409 409
        // 下载
410 410
       Download_click(){
@@ -498,7 +498,7 @@ import html2canvas from "html2canvas"
498 498
         console.log('eve',eve);
499 499
       },
500 500
       // 详情数据源
501
-      Getdialyzerdetail(add){
501
+      Getdialyzerdetail(add,type){
502 502
         const params ={
503 503
           start_time:this.start_date,
504 504
           end_time:this.end_date,
@@ -508,6 +508,7 @@ import html2canvas from "html2canvas"
508 508
           keyword:this.Patient_name,
509 509
           page:this.currentPage,
510 510
           limit:this.limit,
511
+          item_type:type,
511 512
         }
512 513
         this.loading = true
513 514
         Getweightdetail(params).then(response =>{
@@ -526,7 +527,7 @@ import html2canvas from "html2canvas"
526 527
                   dry_weight:item.dry_weight,
527 528
                   last_weight_after:item.last_weight_after,
528 529
                   weight_before:item.weight_before,
529
-                  weight_add:(item.weight_add*1).toFixed(2),
530
+                  weight_add:((item.weight_before - item.dry_weight) / item.dry_weight).toFixed(3)  ,
530 531
                   weight_after:item.weight_after
531 532
                 }
532 533
                 table.push(obj)
@@ -641,11 +642,11 @@ import html2canvas from "html2canvas"
641 642
       },
642 643
       handleCurrentChange(val){
643 644
         this.currentPage = val
644
-        this.Getdialyzerdetail(this.weight_value)
645
+        this.Getdialyzerdetail(this.weight_value,2)
645 646
       },
646 647
       handleSizeChange(val){
647 648
         this.limit = val
648
-        this.Getdialyzerdetail(this.weight_value)
649
+        this.Getdialyzerdetail(this.weight_value,2)
649 650
       },
650 651
       // 性别
651 652
       getgender(ids){

+ 5 - 5
src/xt_pages/Dialysisanalysis/weightblood/components/dry_weight.vue Visa fil

@@ -181,7 +181,7 @@
181 181
 import * as echarts from 'echarts';
182 182
 import XLSX from 'xlsx';
183 183
 import { uParseTime } from "@/utils/tools";
184
-import {Getpatinetweight,Getweightdetail} from '../../../../api/qcd'
184
+import {Getpatinetweight,Getdryweightdetail} from '../../../../api/qcd'
185 185
 import {getAllNurseList} from '@/api/fallassement'
186 186
 import { getAllDoctorList} from "@/api/device"
187 187
 import html2canvas from "html2canvas"
@@ -340,15 +340,15 @@ import html2canvas from "html2canvas"
340 340
       },
341 341
       // 查询
342 342
       sete_click(){
343
-        
343
+
344 344
         this.getecharts()
345 345
       },
346 346
       // 详情查询
347 347
       detil_click(){
348
-        
348
+
349 349
         this.currentPage =1
350 350
         this.getdetail(this.status_value)
351
-        
351
+
352 352
       },
353 353
        // 下载
354 354
       Download_click(){
@@ -411,7 +411,7 @@ import html2canvas from "html2canvas"
411 411
           limit:this.limit,
412 412
         }
413 413
         this.loading = true
414
-        Getweightdetail(params).then(response =>{
414
+        Getdryweightdetail(params).then(response =>{
415 415
           if(response.data.state ==1){
416 416
             const list = response.data.data.list
417 417
             // const xAxis = []

+ 8 - 7
src/xt_pages/Dialysisanalysis/weightblood/components/list_denominator.vue Visa fil

@@ -357,12 +357,12 @@ import html2canvas from "html2canvas"
357 357
               for(let i in this.weight_gain){
358 358
                 if(params.name == this.weight_gain[i].label){
359 359
                   this.weight_value = this.weight_gain[i].value
360
-                  
360
+
361 361
                 }
362 362
               }
363
-              // this.Getdialyzerdetail(params.name)              
363
+              // this.Getdialyzerdetail(params.name)
364 364
               // console.log('this.weight_value',this.weight_value);
365
-              this.Getdialyzerdetail(this.weight_value)
365
+              this.Getdialyzerdetail(this.weight_value,1)
366 366
             })
367 367
           }
368 368
 
@@ -406,7 +406,7 @@ import html2canvas from "html2canvas"
406 406
       // 详情查询
407 407
       deil_click(){
408 408
         this.currentPage = 1
409
-        this.Getdialyzerdetail(this.weight_value)
409
+        this.Getdialyzerdetail(this.weight_value,1)
410 410
       },
411 411
        // 下载
412 412
       Download_click(){
@@ -500,7 +500,7 @@ import html2canvas from "html2canvas"
500 500
         console.log('eve',eve);
501 501
       },
502 502
       // 详情数据源
503
-      Getdialyzerdetail(add){
503
+      Getdialyzerdetail(add,type){
504 504
         const params ={
505 505
           start_time:this.start_date,
506 506
           end_time:this.end_date,
@@ -510,6 +510,7 @@ import html2canvas from "html2canvas"
510 510
           keyword:this.Patient_name,
511 511
           page:this.currentPage,
512 512
           limit:this.limit,
513
+          item_type:type
513 514
         }
514 515
         this.loading = true
515 516
         Getweightdetail(params).then(response =>{
@@ -644,11 +645,11 @@ import html2canvas from "html2canvas"
644 645
       },
645 646
       handleCurrentChange(val){
646 647
         this.currentPage = val
647
-        this.Getdialyzerdetail(this.weight_value)
648
+        this.Getdialyzerdetail(this.weight_value,1)
648 649
       },
649 650
       handleSizeChange(val){
650 651
         this.limit = val
651
-        this.Getdialyzerdetail(this.weight_value)
652
+        this.Getdialyzerdetail(this.weight_value,1)
652 653
       },
653 654
       // 性别
654 655
       getgender(ids){

+ 19 - 4
src/xt_pages/data/components/addDrugs.vue Visa fil

@@ -26,6 +26,13 @@
26 26
                                       maxlength="30"></el-input>
27 27
                         </el-form-item>
28 28
                       </div>
29
+                      
30
+                      <!-- <div v-if="org_id == 0">
31
+                        <el-form-item label="药品规格 : ">
32
+                            <el-input v-model="form.specification_name" style="width:160px;" placeholder=""
33
+                                      maxlength="30"></el-input>
34
+                        </el-form-item>
35
+                      </div> -->
29 36
                         <el-form-item label="药品类别 : " prop="drug_category">
30 37
                             <el-select v-model="form.drug_category" style="width:160px;" placeholder="请选择">
31 38
                                 <el-option
@@ -55,7 +62,7 @@
55 62
                             </el-form-item>
56 63
                             <span style="margin-bottom:20px;font-size:20px;padding:0 10px;">*</span>
57 64
                             <el-form-item prop="min_number" class="noMargin">
58
-                              <el-input v-model="form.min_number" style="width:100px;margin-right:5px;"  type="number" placeholder="拆零"> </el-input>
65
+                              <el-input v-model="form.min_number" style="width:100px;margin-right:5px;"  type="number" placeholder="拆零" @keyup.native="changeTextOne(form.min_number)"> </el-input>
59 66
                             </el-form-item>
60 67
                             <el-form-item prop="min_unit" class="noMargin">
61 68
                               <el-select v-model="form.min_unit" style="width:160px;"  placeholder="拆零单位">
@@ -206,7 +213,7 @@
206 213
                         </el-form-item>
207 214
                         <el-form-item label="包装零售价(元) : " prop="retail_price">
208 215
                           <el-input v-model="form.retail_price" style="width:160px;" placeholder=""
209
-                                      maxlength="30"></el-input>
216
+                                      maxlength="30"  @keyup.native="changeText(form.retail_price)"></el-input>
210 217
                         </el-form-item>
211 218
                         <el-form-item label="进货价(元) : " prop="last_price">
212 219
                             <el-input v-model="form.last_price" style="width:160px;" placeholder=""
@@ -226,7 +233,7 @@
226 233
                             <el-input v-model="form.number" style="width:160px;" placeholder=""
227 234
                                       maxlength="30"></el-input>
228 235
                         </el-form-item>
229
-                        <el-form-item label="药物分类 : " prop="drug_classify">
236
+                        <el-form-item label="药物分类 : ">
230 237
                             <el-select v-model="form.drug_classify" style="width:160px;" placeholder="请选择">
231 238
                                 <el-option
232 239
                                         v-for="(item, index) in drugClassifyList"
@@ -666,7 +673,8 @@
666 673
           bby01:"",
667 674
           is_project:"",
668 675
           is_show:"",
669
-          is_self_drug:"2"
676
+          is_self_drug:"2",
677
+        
670 678
         },
671 679
 
672 680
         rules: {
@@ -749,6 +757,13 @@
749 757
 
750 758
     },
751 759
     methods: {
760
+      changeText(retail_price){
761
+       
762
+        this.form.min_price = (retail_price/this.form.min_number).toFixed(2)
763
+      },
764
+      changeTextOne(min_number){
765
+        this.form.min_price = (this.form.retail_price/min_number).toFixed(2)
766
+      },
752 767
       cancle: function(formName) {
753 768
         this.$emit('dialog-cancle', this.getValue())
754 769
       },

+ 22 - 12
src/xt_pages/data/components/drugs.vue Visa fil

@@ -74,14 +74,14 @@
74 74
         >点击导出
75 75
         </el-button>
76 76
 
77
-        <!-- <el-button
77
+        <el-button
78 78
           style="margin-left:10px;"
79 79
           @click="jiaoBen()"
80 80
           class="filter-item"
81 81
           type="primary"
82 82
           size="small"
83 83
         >脚本
84
-        </el-button> -->
84
+        </el-button>
85 85
       </div>
86 86
     <el-table :data="list" border style="width: 100%" :row-style="{ color: '#303133' }"
87 87
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"
@@ -511,21 +511,31 @@
511 511
          this.getList()
512 512
       },
513 513
       getName(id) {
514
-        for (let i = 0; i < this.manufacturers.length; i++) {
515
-          if (this.manufacturers[i].id == id) {
516
-            return this.manufacturers[i].manufacturer_name
517
-          }
514
+        if(id == 0){
515
+          return ''
516
+        }else{
517
+          for (let i = 0; i < this.manufacturers.length; i++) {
518
+            if (this.manufacturers[i].id == id) {
519
+              return this.manufacturers[i].manufacturer_name
520
+            }
521
+         }
522
+          return ''
518 523
         }
519
-        return ''
524
+        
520 525
       },
521 526
       getDealer(id){
522
-        var name = "";
523
-        for(let i=0;i<this.dealer.length;i++){
524
-          if(this.dealer[i].id == id){
525
-             name = this.dealer[i].dealer_name
527
+        if (id == 0) {
528
+          return ""
529
+        }else{
530
+          var name = "";
531
+          for(let i=0;i<this.dealer.length;i++){
532
+            if(this.dealer[i].id == id){
533
+              name = this.dealer[i].dealer_name
534
+            }
526 535
           }
536
+          return name
527 537
         }
528
-        return name
538
+       
529 539
       },
530 540
       goodInfoDialogComfirm: function(val) {
531 541
 

+ 44 - 29
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Visa fil

@@ -934,7 +934,7 @@
934 934
                               : "/"
935 935
                            }}
936 936
                           </span>
937
-                        
937
+
938 938
 
939 939
                           <span v-if="org_id!=10206&&org_id!=10510">
940 940
                             {{
@@ -1415,6 +1415,8 @@
1415 1415
                         <span v-if="record.prescription.anticoagulant == 17"
1416 1416
                           >U</span
1417 1417
                         >
1418
+                        <span v-if="record.prescription.anticoagulant == 19"
1419
+                        >iu</span>
1418 1420
                       </div>
1419 1421
                       <div class="inline_block" style="margin-left: 20px">
1420 1422
                         维持:
@@ -1488,6 +1490,8 @@
1488 1490
                         <span v-if="record.prescription.anticoagulant == 17"
1489 1491
                           >U/h</span
1490 1492
                         >
1493
+                        <span v-if="record.prescription.anticoagulant == 19"
1494
+                        >iu/h</span>
1491 1495
                       </div>
1492 1496
                       <div class="inline_block" style="margin-left: 20px">
1493 1497
                         总量:
@@ -1540,6 +1544,9 @@
1540 1544
                         >
1541 1545
                         <span v-if="record.prescription.anticoagulant == 17"
1542 1546
                           >U</span>
1547
+
1548
+                        <span v-if="record.prescription.anticoagulant == 19"
1549
+                          >iu</span>
1543 1550
                       </div>
1544 1551
                       <div class="inline_block" style="margin-left: 20px">
1545 1552
                         透析机号:
@@ -1558,7 +1565,7 @@
1558 1565
                         </div>
1559 1566
                       </div>
1560 1567
 
1561
-                    
1568
+
1562 1569
                       <div  class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1563 1570
                        <div class="inline_block">
1564 1571
                         上机时间:
@@ -1705,7 +1712,9 @@
1705 1712
                               org_id != 9675 &&
1706 1713
                               org_id!=10490  &&
1707 1714
                               org_id!=10600 &&
1708
-                              org_id!=10644
1715
+                              org_id!=10644 &&
1716
+                              org_id!=0&&
1717
+                              org_id!=10567
1709 1718
                             "
1710 1719
                           >
1711 1720
                             电导度<br />(ms/cm)
@@ -1721,7 +1730,7 @@
1721 1730
                           <td
1722 1731
                             width="50"
1723 1732
                             v-if="
1724
-                              org_id ==  10469
1733
+                              org_id ==  10469 || org_id == 0 || org_id ==10567
1725 1734
                             "
1726 1735
                           >
1727 1736
                             钠浓度<br />(mmol/L)
@@ -1740,7 +1749,7 @@
1740 1749
                             <span v-if="org_id!=10471"> (ml)</span>
1741 1750
                             <span v-if="org_id==10471">L</span>
1742 1751
                           </td>
1743
-                          <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0">超滤率<br />(ml/h)</td>
1752
+                          <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0 || org_id == 10567">超滤率<br />(ml/h)</td>
1744 1753
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1745 1754
                           <td
1746 1755
                             v-if="
@@ -1750,8 +1759,8 @@
1750 1759
                             "
1751 1760
                             width="50"
1752 1761
                           >
1753
-                          <span v-if="org_id!=0&&org_id!=10683">置换量</span> 
1754
-                          <span v-if="org_id ==0||org_id==10683">置换液速度</span> 
1762
+                          <span v-if="org_id!=0&&org_id!=10683">置换量</span>
1763
+                          <span v-if="org_id ==0||org_id==10683">置换液速度</span>
1755 1764
                             <br />
1756 1765
                             <span v-if="org_id!=10598 && org_id!=10567">
1757 1766
                               <span v-if="org_id!=0&&org_id!=10683">(ml)</span>
@@ -1771,7 +1780,8 @@
1771 1780
                               org_id ==10629 ||
1772 1781
                               org_id == 10510 ||
1773 1782
                               org_id == 0 ||
1774
-                              org_id == 10598
1783
+                              org_id == 10598 ||
1784
+                              org_id == 10567
1775 1785
 
1776 1786
                             "
1777 1787
                           >
@@ -1826,7 +1836,7 @@
1826 1836
                                 : ""
1827 1837
                             }}
1828 1838
                           </td>
1829
-                          
1839
+
1830 1840
                           <td>
1831 1841
                             {{
1832 1842
                               monitor_record.pulse_frequency
@@ -1849,7 +1859,7 @@
1849 1859
                                 : ""
1850 1860
                             }}
1851 1861
                           </td>
1852
-                         
1862
+
1853 1863
                           <td v-if="org_id == 10478 || org_id ==10510">
1854 1864
                             {{
1855 1865
                               monitor_record.arterial_pressure
@@ -1875,7 +1885,7 @@
1875 1885
                             </span>
1876 1886
 
1877 1887
                           </td>
1878
-                        
1888
+
1879 1889
                           <td>
1880 1890
                             {{
1881 1891
                               monitor_record.transmembrane_pressure
@@ -1906,8 +1916,11 @@
1906 1916
                               org_id != 9675 &&
1907 1917
                               org_id!=10490 &&
1908 1918
                               org_id!=10600 &&
1909
-                              org_id!=10644 
1910
-                             
1919
+                              org_id!=10644 &&
1920
+                              org_id!=0 &&
1921
+                              org_id!=10567
1922
+
1923
+
1911 1924
                             "
1912 1925
                           >
1913 1926
                             {{
@@ -1931,7 +1944,7 @@
1931 1944
 
1932 1945
                           <td
1933 1946
                             v-if="
1934
-                              org_id == 10469
1947
+                              org_id == 10469 || org_id ==0 || org_id == 10567
1935 1948
                             "
1936 1949
                           >
1937 1950
                             {{
@@ -1964,7 +1977,7 @@
1964 1977
                             {{ monitor_record.replacement_rate?monitor_record.replacement_rate:"0" }}
1965 1978
                           </td>
1966 1979
                           <td width="50" v-if="org_id == 10489 || org_id ==0"><br />
1967
-                                   
1980
+
1968 1981
                                    {{
1969 1982
                                      monitor_record.ultrafiltration_rate
1970 1983
                                        ? monitor_record.ultrafiltration_rate
@@ -1986,11 +1999,11 @@
1986 1999
                                 : ""
1987 2000
                             }}
1988 2001
                             </span>
1989
-                            
2002
+
1990 2003
                           </td>
1991 2004
 
1992
-                          <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0"><br />
1993
-                                   
2005
+                          <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0 || org_id == 10567"><br />
2006
+
1994 2007
                                     {{
1995 2008
                                       monitor_record.ultrafiltration_rate
1996 2009
                                         ? monitor_record.ultrafiltration_rate
@@ -2012,13 +2025,13 @@
2012 2025
                                 ? monitor_record.replacement_total
2013 2026
                                 : ""
2014 2027
                             }}
2015
-                            </span> 
2028
+                            </span>
2016 2029
                             <span v-if="org_id==0||org_id==10683">{{
2017 2030
                               monitor_record.replacement_speed
2018 2031
                                 ? monitor_record.replacement_speed
2019 2032
                                 : ""
2020 2033
                             }}
2021
-                            </span> 
2034
+                            </span>
2022 2035
                           </td>
2023 2036
                           <td v-if="org_id == 3877  || org_id == 10449">
2024 2037
                             {{
@@ -2038,7 +2051,8 @@
2038 2051
                               org_id ==10629 ||
2039 2052
                               org_id ==10510 ||
2040 2053
                               org_id== 0 ||
2041
-                              org_id ==10598
2054
+                              org_id ==10598 ||
2055
+                              org_id == 10567
2042 2056
                             "
2043 2057
                           >
2044 2058
                             {{ monitor_record.ktv }}
@@ -2130,6 +2144,7 @@
2130 2144
                         <td></td>
2131 2145
                         <td></td>
2132 2146
                         <td></td>
2147
+                        <td v-if="org_id == 0"></td>
2133 2148
                         <td  v-if="org_id == 0 || org_id == 10375"> </td>
2134 2149
                         <td v-if="org_id == 9671 || org_id == 9919"></td>
2135 2150
                         <td
@@ -3089,7 +3104,7 @@
3089 3104
                           //    : "/"
3090 3105
                           //     }}
3091 3106
                             </span> -->
3092
-                        
3107
+
3093 3108
 
3094 3109
                         </div>
3095 3110
                         kg
@@ -3412,7 +3427,7 @@
3412 3427
 
3413 3428
 
3414 3429
                     </div>
3415
-                    
3430
+
3416 3431
                   <div
3417 3432
                     class="row"
3418 3433
                     style="padding: 2px 0; line-height: 23px; display: flex"
@@ -3438,7 +3453,7 @@
3438 3453
                     </div>
3439 3454
                   </div>
3440 3455
 
3441
-                   
3456
+
3442 3457
                   </td>
3443 3458
                 </tr>
3444 3459
                 <tr>
@@ -3782,7 +3797,7 @@
3782 3797
                           class="under_line"
3783 3798
                           style="width: 80px; text-align: center"
3784 3799
                         >
3785
-                          
3800
+
3786 3801
                         </div>
3787 3802
                       </div>
3788 3803
                       <div class="inline_block" style="flex: 1">
@@ -3910,7 +3925,7 @@ export default {
3910 3925
     };
3911 3926
   },
3912 3927
   created() {
3913
-   
3928
+
3914 3929
     var bloodAccessParOpera = getDataConfig(
3915 3930
       "hemodialysis",
3916 3931
       "vascular_access_desc"
@@ -3945,7 +3960,7 @@ export default {
3945 3960
     // }
3946 3961
     console.log(this.bloodAccessParOpera, "this.bloodAccessParOpera");
3947 3962
 
3948
-   
3963
+
3949 3964
 
3950 3965
     this.blood_access_part = getDataConfig("hemodialysis", "vascular_access");
3951 3966
 
@@ -4210,7 +4225,7 @@ export default {
4210 4225
 
4211 4226
 
4212 4227
           if(this.records!=null && this.records.length>0){
4213
-           
4228
+
4214 4229
             for(let i=0;i<this.records.length;i++){
4215 4230
               this.records[i].new_his_advices = []
4216 4231
                 for(let j=0;j<this.records[i].his_advices.length;j++){
@@ -4551,7 +4566,7 @@ export default {
4551 4566
            name = this.bloodAccessParOpera[i].name
4552 4567
         }
4553 4568
       }
4554
-      
4569
+
4555 4570
       return name
4556 4571
       // if (id in this.bloodAccessParOpera) {
4557 4572
 

+ 2 - 2
src/xt_pages/dialysis/bloodPresssWatch.vue Visa fil

@@ -1921,7 +1921,7 @@ export default {
1921 1921
           this.$message.error(response.data.msg);
1922 1922
           return false;
1923 1923
         } else {
1924
-          if(this.org_id ==0 ||this.org_id ==10206){
1924
+          if(this.org_id ==10206){
1925 1925
             this.template_id = 80
1926 1926
             // this.template_id = 81
1927 1927
             console.log("templage-i233232323232322323233232323223",this.template_id)
@@ -1929,7 +1929,7 @@ export default {
1929 1929
             var template = response.data.data.template;
1930 1930
             this.template_id = template.template_id;
1931 1931
           }
1932
-          
1932
+
1933 1933
         }
1934 1934
       });
1935 1935
     },

+ 26 - 5
src/xt_pages/dialysis/details/consumable/dialysisGather.vue Visa fil

@@ -266,14 +266,14 @@
266 266
           <el-table-column align="center" label="葡萄糖酸钙" v-if="gatherSetting.putaosuangai == 1">
267 267
              <template slot-scope="scope">
268 268
               <span v-if="scope.row.schedule_date <= timenow"> {{ scope.row.advice_spc_three }}</span>
269
-              <span v-if="scope.row.schedule_date <= timenow">{{ getLongAdviceThree(scope.row.long_doctor_advice,scope.row.schedule_date) }}</span>
269
+              <span v-if="scope.row.schedule_date > timenow">{{ getLongAdviceThree(scope.row.long_doctor_advice,scope.row.schedule_date) }}</span>
270 270
              </template>
271 271
           </el-table-column>
272 272
 
273 273
           <el-table-column align="center" label="肝素钠" v-if="org_id == 0 || org_id == 10683">
274 274
              <template slot-scope="scope">
275 275
               <span v-if="scope.row.schedule_date <= timenow"> {{ scope.row.advice_spc_four }}</span>
276
-              <span v-if="scope.row.schedule_date <= timenow">{{ getLongAdviceFour(scope.row.long_doctor_advice,scope.row.schedule_date)  }}</span>
276
+              <span v-if="scope.row.schedule_date > timenow">{{ getLongAdviceFour(scope.row.long_doctor_advice,scope.row.schedule_date)  }}</span>
277 277
              </template>
278 278
           </el-table-column>
279 279
           
@@ -736,6 +736,7 @@
736 736
                   list[i].advice_spc_two =""
737 737
                   list[i].advice_spc_three = ""
738 738
                   list[i].advice_spc_four = ""
739
+                  list[i].advice_spc_five = 0
739 740
                   for(let j=0;j<list[i].advice.length;j++){
740 741
                        if((list[i].advice[j].advice_name).indexOf("促红")!=-1){
741 742
                           list[i].advice_spc+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
@@ -754,9 +755,19 @@
754 755
                        }
755 756
 
756 757
                        if((list[i].advice[j].advice_name).indexOf("肝素钠")!=-1){
757
-                          list[i].advice_spc_four+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
758
+                          // list[i].advice_spc_four+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
759
+                         
760
+                          if(parseInt(list[i].advice[j].prescribing_number) >0){
761
+                            list[i].advice_spc_five += parseInt(list[i].advice[j].prescribing_number) 
762
+                            
763
+                            list[i].advice_spc_four =  list[i].advice_spc_five + "支"
764
+                          }else{
765
+                            list[i].advice_spc_four+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
766
+                          }
758 767
                        }
759 768
 
769
+
770
+
760 771
                    }
761 772
                 }
762 773
                 console.log("listwowowowowowo日本",this.list)
@@ -2266,6 +2277,7 @@
2266 2277
         var newArrList = []
2267 2278
         var newArr = []
2268 2279
         var advice_name = ""
2280
+        var count = 0
2269 2281
          if(val!=null && val.length>0){
2270 2282
             for(let i=0;i<val.length;i++){
2271 2283
               if(val[i].advice_name.indexOf("左卡")!=-1){
@@ -2286,6 +2298,7 @@
2286 2298
          if(newArr!=null && newArr.length>0){
2287 2299
            for(let i=0;i<newArr.length;i++){
2288 2300
              advice_name += (newArr[i].single_dose + newArr[i].single_dose_unit+"/"+ newArr[i].prescribing_number_unit)+","
2301
+             
2289 2302
            }
2290 2303
          }
2291 2304
          return advice_name
@@ -2351,6 +2364,7 @@
2351 2364
         var newArrList = []
2352 2365
         var newArr = []
2353 2366
         var advice_name = ""
2367
+        var count =0
2354 2368
          if(val!=null && val.length>0){
2355 2369
             for(let i=0;i<val.length;i++){
2356 2370
               if(val[i].advice_name.indexOf("肝素钠")!=-1){
@@ -2370,10 +2384,17 @@
2370 2384
        
2371 2385
          if(newArr!=null && newArr.length>0){
2372 2386
            for(let i=0;i<newArr.length;i++){
2373
-             advice_name += (newArr[i].single_dose + newArr[i].single_dose_unit+"/"+ newArr[i].prescribing_number_unit)+","
2387
+            //  
2388
+             count += newArr[i].prescribing_number
2374 2389
            }
2375 2390
          }
2376
-         return advice_name
2391
+         if(count >0){
2392
+          return count +"支"
2393
+         }else{
2394
+          advice_name  += (newArr[i].single_dose + newArr[i].single_dose_unit+"/"+ newArr[i].prescribing_number_unit)+","
2395
+          return  advice_name
2396
+         }
2397
+        
2377 2398
        },
2378 2399
        getweekday(date){
2379 2400
           var weekArray = new Array("周日", "周一", "周二", "周三", "周四", "周五", "周六");

+ 18 - 3
src/xt_pages/dialysis/details/consumable/dialysisGatherPrint.vue Visa fil

@@ -308,6 +308,7 @@
308 308
                   list[i].advice_spc_two =""
309 309
                   list[i].advice_spc_three = ""
310 310
                    list[i].advice_spc_four = ""
311
+                   list[i].advice_spc_five = 0
311 312
                    for(let j=0;j<list[i].advice.length;j++){
312 313
                        if((list[i].advice[j].advice_name).indexOf("促红")!=-1){
313 314
                           list[i].advice_spc+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
@@ -326,7 +327,14 @@
326 327
                        }
327 328
 
328 329
                        if((list[i].advice[j].advice_name).indexOf("肝素钠")!=-1){
329
-                          list[i].advice_spc_four+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
330
+                          // list[i].advice_spc_four+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
331
+                          if(parseInt(list[i].advice[j].prescribing_number) >0){
332
+                            list[i].advice_spc_five += parseInt(list[i].advice[j].prescribing_number) 
333
+                            
334
+                            list[i].advice_spc_four =  list[i].advice_spc_five + "支"
335
+                          }else{
336
+                            list[i].advice_spc_four+= (list[i].advice[j].single_dose + list[i].advice[j].single_dose_unit+"/"+ list[i].advice[j].prescribing_number_unit)+","
337
+                          }
330 338
                        }
331 339
 
332 340
                    }
@@ -566,6 +574,7 @@
566 574
         var newArrList = []
567 575
         var newArr = []
568 576
         var advice_name = ""
577
+        var count = 0
569 578
          if(val!=null && val.length>0){
570 579
             for(let i=0;i<val.length;i++){
571 580
               if(val[i].advice_name.indexOf("肝素钠")!=-1){
@@ -585,10 +594,16 @@
585 594
        
586 595
          if(newArr!=null && newArr.length>0){
587 596
            for(let i=0;i<newArr.length;i++){
588
-              advice_name += (newArr[i].single_dose + newArr[i].single_dose_unit+"/"+ newArr[i].prescribing_number_unit)+","
597
+            count += newArr[i].prescribing_number
598
+              // advice_name += (newArr[i].single_dose + newArr[i].single_dose_unit+"/"+ newArr[i].prescribing_number_unit)+","
589 599
            }
590 600
          }
591
-         return advice_name
601
+         if(count >0){
602
+          return count +"支"
603
+         }else{
604
+          return ""
605
+         }
606
+        
592 607
        },
593 608
        getweekday(date){
594 609
           var weekArray = new Array("周日", "周一", "周二", "周三", "周四", "周五", "周六");

+ 35 - 38
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Visa fil

@@ -10,7 +10,7 @@
10 10
                 class="newDialog"
11 11
         >
12 12
             <el-button style="position: absolute;left: 12%;top: 2%" @click="handlePatientInfo(patient.id)">{{ patient.name }}</el-button>
13
-           
13
+
14 14
             <span style="position: absolute;left: 20%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id!=0&&this.$store.getters.xt_user.template_info.org_id!=10702">
15 15
               透前称重:{{predialysis&&predialysis.weight_before?predialysis.weight_before:"" }} kg
16 16
             </span>
@@ -19,8 +19,8 @@
19 19
               透前体重:{{predialysis&&(predialysis.weight_before-predialysis.additional_weight).toFixed(2)?(predialysis.weight_before-predialysis.additional_weight).toFixed(2):"" }} kg
20 20
             </span>
21 21
 
22
-          
23
-           
22
+
23
+
24 24
             <span style="position: absolute;left: 30%;top: 3%">
25 25
               干体重:{{predialysis&&predialysis.dry_weight?predialysis.dry_weight:""}}kg
26 26
             </span>
@@ -29,8 +29,8 @@
29 29
             </span> -->
30 30
             <span style="position: absolute;left:38%;top: 3%">
31 31
               上次透后体重:
32
-               <span v-if="this.$store.getters.xt_user.template_info.org_id!=0 && this.$store.getters.xt_user.template_info.org_id!=10702">{{last_record&&last_record.weight_after?last_record.weight_after:""}}kg</span> 
33
-               <span v-if="this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id==10702">{{last_record&&(last_record.weight_after-last_record.additional_weight).toFixed(2)?(last_record.weight_after-last_record.additional_weight).toFixed(2):""}}kg</span> 
32
+               <span v-if="this.$store.getters.xt_user.template_info.org_id!=0 && this.$store.getters.xt_user.template_info.org_id!=10702">{{last_record&&last_record.weight_after?last_record.weight_after:""}}kg</span>
33
+               <span v-if="this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id==10702">{{last_record&&(last_record.weight_after-last_record.additional_weight).toFixed(2)?(last_record.weight_after-last_record.additional_weight).toFixed(2):""}}kg</span>
34 34
             </span>
35 35
 
36 36
             <span style="position: absolute;left:51%;top: 3%">
@@ -51,8 +51,8 @@
51 51
               <span v-if="predialysis!=null && last_record!=null">
52 52
                 {{predialysis&&last_record&&((predialysis.weight_before - predialysis.additional_weight)-(last_record.weight_after-last_record.additional_weight)).toFixed(2)?((predialysis.weight_before - predialysis.additional_weight)-(last_record.weight_after-last_record.additional_weight)).toFixed(2):"" }} kg
53 53
               </span>
54
-            
55
-            
54
+
55
+
56 56
             </span>
57 57
             <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
58 58
             <el-form
@@ -560,7 +560,7 @@
560 560
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
561 561
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
562 562
                             </el-form-item>
563
-                            <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '" 
563
+                            <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
564 564
                             v-if="dialysisPrescription.anticoagulant != 2 && dialysisPrescription.anticoagulant != 11 && dialysisPrescription.anticoagulant != 13"
565 565
                             prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
566 566
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
@@ -953,7 +953,7 @@
953 953
                     </el-col>
954 954
 
955 955
                     <el-col :span="8"
956
-                            v-if="isShows('置换液总量') && (((this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id ==24 || this.$store.getters.xt_user.template_info.template_id ==53) && this.$store.getters.xt_user.template_info.org_id != 10249) && this.$store.getters.xt_user.template_info.org_id != 10441)"
956
+                            v-if="isShows('置换液总量') && (((this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id ==24 || this.$store.getters.xt_user.template_info.template_id ==53 || this.$store.getters.xt_user.template_info.org_id == 10206) && this.$store.getters.xt_user.template_info.org_id != 10249) && this.$store.getters.xt_user.template_info.org_id != 10441)"
957 957
                             v-show="totalShow">
958 958
                         <el-form-item label="置换液总量(ml)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')" v-if="dialysisPrescription.mode_id!=26">
959 959
                             <el-input v-model="dialysisPrescription.displace_liqui_value"></el-input>
@@ -964,9 +964,9 @@
964 964
                         </el-form-item>
965 965
                     </el-col>
966 966
                     <el-col :span="8"
967
-                            v-if="isShows('置换液总量') && (this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id !=24 && this.$store.getters.xt_user.template_info.template_id !=53) || this.$store.getters.xt_user.template_info.org_id  == 10249 || this.$store.getters.xt_user.template_info.org_id == 10441 "
967
+                            v-if="isShows('置换液总量') && (this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id !=24 && this.$store.getters.xt_user.template_info.template_id !=53 && this.$store.getters.xt_user.template_info.org_id != 10206) || this.$store.getters.xt_user.template_info.org_id  == 10249 || this.$store.getters.xt_user.template_info.org_id == 10441 "
968 968
                             v-show="totalShow">
969
-                        <el-form-item label="置换液总量(L)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')"  v-if="dialysisPrescription.mode_id!=26">
969
+                        <el-form-item label="置换液总量(L)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')"  v-if="dialysisPrescription.mode_id!=26"
970 970
                             <el-input  v-model="dialysisPrescription.displace_liqui_value"></el-input>
971 971
                         </el-form-item>
972 972
                         <el-form-item label="置换液总量(L/h)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')"  v-if="dialysisPrescription.mode_id ==26">
@@ -1389,7 +1389,7 @@
1389 1389
                 <span>上次透后称重(kg)</span>
1390 1390
                 <span>{{ getLastAfterWeight(last_record) }}</span>
1391 1391
             </div>
1392
-          
1392
+
1393 1393
           <div  class="newLine"><span>近五次数据展示:</span></div>
1394 1394
            <div>
1395 1395
             <el-table
@@ -2282,7 +2282,7 @@ mu
2282 2282
            }else{
2283 2283
                this.dialysisPrescription.dialysis_remark=""
2284 2284
            }
2285
-          
2285
+
2286 2286
           } else {
2287 2287
             this.zhiShow = false
2288 2288
             this.huShow = false
@@ -2634,18 +2634,18 @@ mu
2634 2634
         }
2635 2635
       },
2636 2636
       show(pre, schedual, last, his_is_open,is_advice_open,admins) {
2637
-      
2637
+
2638 2638
         if(this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635){
2639 2639
           if(this.predialysis!=undefined){
2640 2640
             if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
2641 2641
               this.dialysisPrescription.target_ultrafiltration = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)
2642 2642
             }
2643
-          
2643
+
2644 2644
             if(this.dialysisPrescription.prescription_water==0 || this.dialysisPrescription.prescription_water==""){
2645 2645
               if((this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)>0){
2646 2646
                 this.dialysisPrescription.prescription_water = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)
2647 2647
               }
2648
-            
2648
+
2649 2649
             }
2650 2650
          }
2651 2651
         }
@@ -3200,13 +3200,10 @@ mu
3200 3200
         if(moment().weekday() == 0){
3201 3201
            total_day ="周日"
3202 3202
         }
3203
-         
3204
-        console.log("hhhhhhhhhhhhhhhhhhhhhhhhhhh",this.targetAdvices)
3203
+
3205 3204
         if(this.targetAdvices!=null && this.targetAdvices.length >0){
3206 3205
             for (let i = 0; i < this.targetAdvices.length; i++) {
3207
-              console.log("WOOWOWOWOWOWOW",this.targetAdvices[i].week_day.indexOf(total_day))
3208 3206
               if(this.targetAdvices[i].week_day.indexOf(total_day)!=-1){
3209
-                console.log("尽力啊=--------------------")
3210 3207
                 this.targetAdvices[i].isCheck = 1
3211 3208
               }
3212 3209
               if(this.targetAdvices[i].frequency_type == 1){
@@ -3284,7 +3281,7 @@ mu
3284 3281
              return false
3285 3282
          }
3286 3283
         }
3287
-         
3284
+
3288 3285
         this.$refs[formName].validate((valid)=>{
3289 3286
           if(valid){
3290 3287
             if(!this.isLoading){
@@ -4601,8 +4598,8 @@ mu
4601 4598
       }else{
4602 4599
         this.dialysisPrescription.dialysis_remark = ""
4603 4600
       }
4604
-       
4605
-      
4601
+
4602
+
4606 4603
 
4607 4604
       const ParamsQuery = {}
4608 4605
       ParamsQuery['patient_id'] = this.$route.query.patient_id
@@ -4759,25 +4756,25 @@ mu
4759 4756
 
4760 4757
     },
4761 4758
     handlePatientInfo(id) {
4762
-      
4759
+
4763 4760
       getPatientRecordList(id).then(response=>{
4764 4761
         if(response.data.state ==1){
4765 4762
           this.isVisibility = false
4766 4763
           this.msgtip_visibility = true
4767 4764
 
4768
-          
4765
+
4769 4766
           var beforList = response.data.data.beforList
4770
-       
4767
+
4771 4768
           this.tableData = beforList
4772 4769
 
4773 4770
           var afterList =  response.data.data.afterList
4774
-       
4771
+
4775 4772
           this.afterList = afterList
4776 4773
 
4777 4774
           this.monitorList = response.data.data.monitorList
4778 4775
         }
4779 4776
       })
4780
-     
4777
+
4781 4778
     },
4782 4779
     GetLast(date){
4783 4780
       var weight_after = ""
@@ -4798,23 +4795,23 @@ mu
4798 4795
       return cruor
4799 4796
     },
4800 4797
     GetMonitorList(monitor_date){
4801
-     
4798
+
4802 4799
         var str = ""
4803 4800
         var newArr = []
4804 4801
         for(let i=0;i<this.monitorList.length;i++){
4805 4802
           for(let j=0;j<this.monitorList[i].child.length;j++){
4806 4803
             if(monitor_date == this.monitorList[i].monitoring_date){
4807
-              newArr.push(this.monitorList[i].child[j]) 
4804
+              newArr.push(this.monitorList[i].child[j])
4808 4805
             }
4809 4806
           }
4810 4807
         }
4811
-       
4808
+
4812 4809
         if(newArr!=null && newArr.length>0){
4813 4810
         for(let i=0;i<newArr.length;i++){
4814 4811
             str += newArr[i].systolic_blood_pressure +"/"+newArr[i].diastolic_blood_pressure+","
4815 4812
         }
4816 4813
         }
4817
-      
4814
+
4818 4815
         return str
4819 4816
     },
4820 4817
     handlePatientInfoOne(){
@@ -5480,18 +5477,18 @@ mu
5480 5477
       },
5481 5478
       'dialysisPrescription.prescription_water':function(){
5482 5479
         if(this.$store.getters.xt_user.template_info.org_id==10598){
5483
-           
5480
+
5484 5481
           if(this.dialysisPrescription.mode_id == 2 || this.dialysisPrescription.mode_id == 3){
5485 5482
              this.dialysisPrescription.target_ultrafiltration = parseFloat(this.dialysisPrescription.prescription_water)  + 0.3
5486 5483
           }else{
5487 5484
             if(this.dialysisPrescription.prescription_water > this.dialysisPrescription.target_ultrafiltration){
5488
-              this.dialysisPrescription.target_ultrafiltration =  this.dialysisPrescription.prescription_water 
5485
+              this.dialysisPrescription.target_ultrafiltration =  this.dialysisPrescription.prescription_water
5489 5486
             }
5490 5487
           }
5491
-          
5492
-           
5488
+
5489
+
5493 5490
         }
5494
-        
5491
+
5495 5492
       },
5496 5493
       stockType: function() {
5497 5494
         console.log('stockType', this.stockType)
@@ -5544,7 +5541,7 @@ mu
5544 5541
         }
5545 5542
         console.log(" 人员",this.adminRoles)
5546 5543
       },
5547
-     
5544
+
5548 5545
     },
5549 5546
     created() {
5550 5547
 

+ 1 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue Visa fil

@@ -2669,7 +2669,7 @@ export default {
2669 2669
           this.patient_id = response.data.data.patientInfo.DialysisSchedule.patient_id
2670 2670
           this.patient_name = response.data.data.patientInfo.name
2671 2671
 
2672
-          if(this.org_id !=10206&&this.org_id !=0){
2672
+          if(this.org_id !=10206){
2673 2673
             this.org_template_info.template_id= response.data.data.org_template_info.template_id
2674 2674
             this.org_template_info = response.data.data.org_template_info;
2675 2675
           }else{

+ 91 - 87
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Visa fil

@@ -92,7 +92,7 @@
92 92
           </div>
93 93
           <div class="inline_block" v-if="org_id!=10460&&org_id!=10624">
94 94
             床号:
95
-            <div class="under_line" style="width: 50px; text-align: center">
95
+            <div class="under_line" style="width: 100px; text-align: center">
96 96
               <span v-if="org_id!=9538 && org_id!=0">{{
97 97
                 dialysisOrder &&
98 98
                 dialysisOrder.DeviceNumber &&
@@ -517,7 +517,7 @@
517 517
                         style="
518 518
                           width: 100px;
519 519
                           text-align: center;
520
-                         
520
+
521 521
                         "
522 522
                         v-if="prescription.mode_id == 1"
523 523
                       >
@@ -528,7 +528,7 @@
528 528
                         style="
529 529
                           width: 100px;
530 530
                           text-align: center;
531
-                        
531
+
532 532
                         "
533 533
                         v-if="prescription.mode_id == 2"
534 534
                       >
@@ -539,7 +539,7 @@
539 539
                         style="
540 540
                           width: 100px;
541 541
                           text-align: center;
542
-                         
542
+
543 543
                         "
544 544
                         v-if="prescription.mode_id == 3"
545 545
                       >
@@ -550,7 +550,7 @@
550 550
                         style="
551 551
                           width: 100px;
552 552
                           text-align: center;
553
-                          
553
+
554 554
                         "
555 555
                         v-if="prescription.mode_id == 4"
556 556
                       >
@@ -561,7 +561,7 @@
561 561
                         style="
562 562
                           width: 100px;
563 563
                           text-align: center;
564
-                         
564
+
565 565
                         "
566 566
                         v-if="prescription.mode_id == 5"
567 567
                       >
@@ -572,7 +572,7 @@
572 572
                         style="
573 573
                           width: 100px;
574 574
                           text-align: center;
575
-                         
575
+
576 576
                         "
577 577
                         v-if="prescription.mode_id == 6"
578 578
                       >
@@ -583,7 +583,7 @@
583 583
                         style="
584 584
                           width: 100px;
585 585
                           text-align: center;
586
-                          
586
+
587 587
                         "
588 588
                         v-if="prescription.mode_id == 7"
589 589
                       >
@@ -594,7 +594,7 @@
594 594
                         style="
595 595
                           width: 100px;
596 596
                           text-align: center;
597
-                         
597
+
598 598
                         "
599 599
                         v-if="prescription.mode_id == 8"
600 600
                       >
@@ -605,7 +605,7 @@
605 605
                         style="
606 606
                           width: 100px;
607 607
                           text-align: center;
608
-                          
608
+
609 609
                         "
610 610
                         v-if="prescription.mode_id == 9"
611 611
                       >
@@ -616,7 +616,7 @@
616 616
                         style="
617 617
                           width: 100px;
618 618
                           text-align: center;
619
-                          
619
+
620 620
                         "
621 621
                         v-if="prescription.mode_id == 10"
622 622
                       >
@@ -627,7 +627,7 @@
627 627
                         style="
628 628
                           width: 100px;
629 629
                           text-align: center;
630
-                         
630
+
631 631
                         "
632 632
                         v-if="prescription.mode_id == 11"
633 633
                       >
@@ -638,7 +638,7 @@
638 638
                         style="
639 639
                           width: 100px;
640 640
                           text-align: center;
641
-                          
641
+
642 642
                         "
643 643
                         v-if="prescription.mode_id == 12"
644 644
                       >
@@ -649,7 +649,7 @@
649 649
                         style="
650 650
                           width: 100px;
651 651
                           text-align: center;
652
-                         
652
+
653 653
                         "
654 654
                         v-if="prescription.mode_id == 13"
655 655
                       >
@@ -660,7 +660,7 @@
660 660
                         style="
661 661
                           width: 100px;
662 662
                           text-align: center;
663
-                         
663
+
664 664
                         "
665 665
                         v-if="prescription.mode_id == 14"
666 666
                       >
@@ -671,7 +671,7 @@
671 671
                         style="
672 672
                           width: 100px;
673 673
                           text-align: center;
674
-                         
674
+
675 675
                         "
676 676
                         v-if="prescription.mode_id == 15"
677 677
                       >
@@ -682,7 +682,7 @@
682 682
                         style="
683 683
                           width: 100px;
684 684
                           text-align: center;
685
-                          
685
+
686 686
                         "
687 687
                         v-if="prescription.mode_id == 16"
688 688
                       >
@@ -693,7 +693,7 @@
693 693
                         style="
694 694
                           width: 100px;
695 695
                           text-align: center;
696
-                          
696
+
697 697
                         "
698 698
                         v-if="prescription.mode_id == 17"
699 699
                       >
@@ -704,7 +704,7 @@
704 704
                         style="
705 705
                           width: 100px;
706 706
                           text-align: center;
707
-                          
707
+
708 708
                         "
709 709
                         v-if="prescription.mode_id == 18"
710 710
                       >
@@ -715,7 +715,7 @@
715 715
                         style="
716 716
                           width: 100px;
717 717
                           text-align: center;
718
-                          
718
+
719 719
                         "
720 720
                         v-if="prescription.mode_id == 19"
721 721
                       >
@@ -726,7 +726,7 @@
726 726
                         style="
727 727
                           width: 150px;
728 728
                           text-align: center;
729
-                         
729
+
730 730
                         "
731 731
                         v-if="prescription.mode_id == 22"
732 732
                       >
@@ -737,7 +737,7 @@
737 737
                         style="
738 738
                           width: 150px;
739 739
                           text-align: center;
740
-                          
740
+
741 741
                         "
742 742
                         v-if="prescription.mode_id == 23"
743 743
                       >
@@ -748,7 +748,7 @@
748 748
                         style="
749 749
                           width: 150px;
750 750
                           text-align: center;
751
-                         
751
+
752 752
                         "
753 753
                         v-if="prescription.mode_id == 24"
754 754
                       >
@@ -758,7 +758,7 @@
758 758
                         class="under_line"
759 759
                         style="width: 100px;
760 760
                           text-align: center;
761
-                         
761
+
762 762
                         "
763 763
                         v-if="prescription.mode_id == 25"
764 764
                       >
@@ -769,7 +769,7 @@
769 769
                         style="
770 770
                           width: 100px;
771 771
                           text-align: center;
772
-                         
772
+
773 773
                         "
774 774
                         v-if="prescription.mode_id == 29"
775 775
                       >
@@ -780,7 +780,7 @@
780 780
                         style="
781 781
                           width: 100px;
782 782
                           text-align: center;
783
-                          
783
+
784 784
                         "
785 785
                         v-if="prescription.mode_id == 30"
786 786
                       >
@@ -791,7 +791,7 @@
791 791
                         style="
792 792
                           width: 100px;
793 793
                           text-align: center;
794
-                          
794
+
795 795
                         "
796 796
                         v-if="prescription.mode_id == 31"
797 797
                       >
@@ -802,7 +802,7 @@
802 802
                         style="
803 803
                           width: 100px;
804 804
                           text-align: center;
805
-                          
805
+
806 806
                         "
807 807
                         v-if="prescription.mode_id == 32"
808 808
                       >
@@ -813,7 +813,7 @@
813 813
                         style="
814 814
                           width: 100px;
815 815
                           text-align: center;
816
-                          
816
+
817 817
                         "
818 818
                         v-if="prescription.mode_id == 33"
819 819
                       >
@@ -824,7 +824,7 @@
824 824
                         style="
825 825
                           width: 100px;
826 826
                           text-align: center;
827
-                          
827
+
828 828
                         "
829 829
                         v-if="prescription.mode_id == 34"
830 830
                       >
@@ -835,7 +835,7 @@
835 835
                         style="
836 836
                           width: 100px;
837 837
                           text-align: center;
838
-                         
838
+
839 839
                         "
840 840
                         v-if="prescription.mode_id == 35"
841 841
                       >
@@ -846,7 +846,7 @@
846 846
                         style="
847 847
                           width: 100px;
848 848
                           text-align: center;
849
-                          
849
+
850 850
                         "
851 851
                         v-if="prescription.mode_id == 36"
852 852
                       >
@@ -857,7 +857,7 @@
857 857
                         style="
858 858
                           width: 100px;
859 859
                           text-align: center;
860
-                         
860
+
861 861
                         "
862 862
                         v-if="prescription.mode_id == 37"
863 863
                       >
@@ -868,7 +868,7 @@
868 868
                         style="
869 869
                           width: 100px;
870 870
                           text-align: center;
871
-                         
871
+
872 872
                         "
873 873
                         v-if="prescription.mode_id == 38"
874 874
                       >
@@ -879,7 +879,7 @@
879 879
                         style="
880 880
                           width: 100px;
881 881
                           text-align: center;
882
-                          
882
+
883 883
                         "
884 884
                         v-if="prescription.mode_id == 39"
885 885
                       >
@@ -891,7 +891,7 @@
891 891
                         style="
892 892
                           width: 100px;
893 893
                           text-align: center;
894
-                          
894
+
895 895
                         "
896 896
                         v-if="prescription.mode_id == 40"
897 897
                       >
@@ -903,7 +903,7 @@
903 903
                         style="
904 904
                           width: 100px;
905 905
                           text-align: center;
906
-                         
906
+
907 907
                         "
908 908
                         v-if="prescription.mode_id == 41"
909 909
                       >
@@ -915,7 +915,7 @@
915 915
                         style="
916 916
                           width: 100px;
917 917
                           text-align: center;
918
-                         
918
+
919 919
                         "
920 920
                         v-if="prescription.mode_id == 42"
921 921
                       >
@@ -927,7 +927,7 @@
927 927
                         style="
928 928
                           width: 100px;
929 929
                           text-align: center;
930
-                          
930
+
931 931
                         "
932 932
                         v-if="prescription.mode_id == 43"
933 933
                       >
@@ -1444,9 +1444,9 @@
1444 1444
                       <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg</span>
1445 1445
                       <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
1446 1446
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1447
-                      <span v-if="prescription.anticoagulant == 14">
1448
-                       <span v-if="org_id!=10644">mg</span> 
1449
-                       <span v-if="org_id==10644">iu</span> 
1447
+                      <span v-if="prescription.anticoagulant == 14 || prescription.anticoagulant == 19">
1448
+                       <span v-if="org_id!=10644">mg</span>
1449
+                       <span v-if="org_id==10644">iu</span>
1450 1450
                       </span>
1451 1451
                       <span v-if="prescription.anticoagulant == 17">U</span>
1452 1452
                     </span>
@@ -1463,9 +1463,9 @@
1463 1463
                      <span v-if="prescription.anticoagulant == 10">iu</span>
1464 1464
                      <span v-if="prescription.anticoagulant == 11">iu</span>
1465 1465
                      <span v-if="prescription.anticoagulant == 13">iu</span>
1466
-                     <span v-if="prescription.anticoagulant == 14">
1467
-                      <span v-if="org_id!=10644">mg</span> 
1468
-                      <span v-if="org_id==10644">iu</span> 
1466
+                     <span v-if="prescription.anticoagulant == 14 || prescription.anticoagulant == 19">
1467
+                      <span v-if="org_id!=10644">mg</span>
1468
+                      <span v-if="org_id==10644">iu</span>
1469 1469
                      </span>
1470 1470
                      <span v-if="prescription.anticoagulant == 17">U</span>
1471 1471
 
@@ -1509,9 +1509,9 @@
1509 1509
                         <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg/h</span>
1510 1510
                         <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
1511 1511
                           <span v-if="prescription.anticoagulant == 1">mg/h</span>
1512
-                          <span v-if="prescription.anticoagulant == 14">
1513
-                            <span v-if="org_id!=10644">mg/h</span> 
1514
-                            <span v-if="org_id==10644">iu/h</span> 
1512
+                          <span v-if="prescription.anticoagulant == 14 || prescription.anticoagulant == 19">
1513
+                            <span v-if="org_id!=10644">mg/h</span>
1514
+                            <span v-if="org_id==10644">iu/h</span>
1515 1515
                           </span>
1516 1516
                           <span v-if="prescription.anticoagulant == 17">U/h</span>
1517 1517
                       </span>
@@ -1527,9 +1527,9 @@
1527 1527
                           <span v-if="prescription.anticoagulant == 10">iu/h</span>
1528 1528
                           <span v-if="prescription.anticoagulant == 11">iu/h</span>
1529 1529
                           <span v-if="prescription.anticoagulant == 13">iu/h</span>
1530
-                          <span v-if="prescription.anticoagulant == 14">
1531
-                            <span v-if="org_id!=10644">mg/h</span> 
1532
-                            <span v-if="org_id==10644">iu/h</span> 
1530
+                          <span v-if="prescription.anticoagulant == 14 || prescription.anticoagulant == 19">
1531
+                            <span v-if="org_id!=10644">mg/h</span>
1532
+                            <span v-if="org_id==10644">iu/h</span>
1533 1533
                           </span>
1534 1534
                           <span v-if="prescription.anticoagulant == 17">U/h</span>
1535 1535
                       </span>
@@ -1600,9 +1600,9 @@
1600 1600
                       <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg</span>
1601 1601
                       <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
1602 1602
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1603
-                      <span v-if="prescription.anticoagulant == 14">
1604
-                        <span v-if="org_id!=10644">mg</span> 
1605
-                        <span v-if="org_id==10644">iu</span> 
1603
+                      <span v-if="prescription.anticoagulant == 14 || prescription.anticoagulant == 19">
1604
+                        <span v-if="org_id!=10644">mg</span>
1605
+                        <span v-if="org_id==10644">iu</span>
1606 1606
                       </span>
1607 1607
                       <span v-if="prescription.anticoagulant == 17">U</span>
1608 1608
                      </span>
@@ -1618,9 +1618,9 @@
1618 1618
                        <span v-if="prescription.anticoagulant == 10">iu</span>
1619 1619
                       <span v-if="prescription.anticoagulant == 11">iu</span>
1620 1620
                       <span v-if="prescription.anticoagulant == 13">iu</span>
1621
-                      <span v-if="prescription.anticoagulant == 14">
1622
-                        <span v-if="org_id!=10644">mg</span> 
1623
-                        <span v-if="org_id==10644">iu</span> 
1621
+                      <span v-if="prescription.anticoagulant == 14 || prescription.anticoagulant == 19">
1622
+                        <span v-if="org_id!=10644">mg</span>
1623
+                        <span v-if="org_id==10644">iu</span>
1624 1624
                       </span>
1625 1625
                       <span v-if="prescription.anticoagulant == 17">U</span>
1626 1626
                     </span>
@@ -1839,8 +1839,8 @@
1839 1839
                         <td width="60" v-if="org_id == 9671">血温(°C)</td>
1840 1840
                         <td width="60" v-if="org_id!=9836&&org_id!=9919&&org_id!=9671 && org_id!=10644">透析液温度(°C)</td>
1841 1841
                         <td width="50" v-if="org_id != 10121 &&  org_id!=10600 && org_id!=10644">
1842
-                          <span v-if="org_id !=10469 && org_id!=10490 "> 电导度<br />(ms/cm)</span>
1843
-                          <span v-if="org_id ==10469"> 钠浓度<br />(mmol/L)</span>
1842
+                          <span v-if="org_id !=10469 && org_id!=10490 && org_id!=10567 && org_id!=0 "> 电导度<br />(ms/cm)</span>
1843
+                          <span v-if="org_id ==10469 || org_id == 0 || org_id == 10567"> 钠浓度<br />(mmol/L)</span>
1844 1844
                           <span v-if="org_id == 10490"> 置换液的速度<br />(ml/h)</span>
1845 1845
                         </td>
1846 1846
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
@@ -1851,7 +1851,7 @@
1851 1851
                          <span v-if="org_id == 10471">L</span>
1852 1852
                          <span v-if="org_id != 10471"> (ml)</span>
1853 1853
                         </td>
1854
-                        <td width="50" v-if="org_id == 10600 || org_id ==10598 || org_id ==10683">超滤率<br/>(ml/h)</td>
1854
+                        <td width="50" v-if="org_id == 10600 || org_id ==10598 || org_id ==10683 || org_id ==10567 || org_id == 0">超滤率<br/>(ml/h)</td>
1855 1855
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 ">累计超滤量<br />(ml)</td>
1856 1856
                         <td v-if="(prescription.mode_id == 2 ||prescription.mode_id == 5 ||prescription.mode_id == 12) &&org_id!=10478 && org_id!=0 && org_id!=10206" width="50">
1857 1857
                           <span v-if="org_id == 10683">置换液速度</span>
@@ -1864,7 +1864,7 @@
1864 1864
                           <span v-if="org_id==10598 || org_id == 10567">(L)</span>
1865 1865
                         </td>
1866 1866
                         <td width="50" v-if="org_id == 3877 || org_id == 10449">滤前压(mmHg)</td>
1867
-                        <td width="50" v-if="org_id == 9538 || org_id ==10600 || org_id ==10629 || org_id ==10510 || org_id == 10580 || org_id == 10598">KT/V</td>
1867
+                        <td width="50" v-if="org_id == 9538 || org_id ==10600 || org_id ==10629 || org_id ==10510 || org_id == 10580 || org_id == 10598 || org_id == 10567 || org_id == 0">KT/V</td>
1868 1868
                         <td width="50" v-if="org_id == 9919">在线尿素监测</td>
1869 1869
                         <td width="50" v-if="org_id == 9671">在线尿素监测</td>
1870 1870
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
@@ -1962,8 +1962,8 @@
1962 1962
 
1963 1963
 
1964 1964
                         <td v-if="org_id != 9538 &&org_id != 10121 &&org_id!=10600 && org_id!=10644">
1965
-                          <span v-if="org_id!=0&&org_id!=10469 && org_id!=10490"> {{ monitor.conductivity ? monitor.conductivity : "" }}</span>
1966
-                          <span v-if="org_id==10469"> {{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</span>
1965
+                          <span v-if="org_id!=0&&org_id!=10469 && org_id!=10490 && org_id!=10567"> {{ monitor.conductivity ? monitor.conductivity : "" }}</span>
1966
+                          <span v-if="org_id==10469 || org_id == 10567 || org_id == 0"> {{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</span>
1967 1967
                           <span v-if="org_id==10490"> {{ monitor.replacement_speed ? monitor.replacement_speed : "" }}</span>
1968 1968
                         </td>
1969 1969
 
@@ -1983,7 +1983,7 @@
1983 1983
                               <span v-if="org_id !=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1984 1984
                            </span>
1985 1985
                         </td>
1986
-                        <td width="50" v-if="org_id == 10600 || org_id == 10598 || org_id==10644 || org_id == 10683 "><br/>
1986
+                        <td width="50" v-if="org_id == 10600 || org_id == 10598 || org_id==10644 || org_id == 10683 || org_id ==10567 || org_id == 0"><br/>
1987 1987
                            <span v-if="org_id!=10644 && org_id!=0">{{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: ""}}</span>
1988 1988
                            <span v-if="org_id==10644 ">
1989 1989
                               <span v-if="monindex == 0">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
@@ -2018,7 +2018,7 @@
2018 2018
                           </span>
2019 2019
                         </td>
2020 2020
                         <td width="50" v-if="org_id == 3877 || org_id == 10449">{{ monitor.filter_pressure?monitor.filter_pressure:""}}</td>
2021
-                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600 || org_id ==10629 || org_id ==10510 || org_id ==10580 || org_id ==10598">
2021
+                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600 || org_id ==10629 || org_id ==10510 || org_id ==10580 || org_id ==10598 || org_id == 10567 || org_id == 0">
2022 2022
                           {{ monitor.ktv?monitor.ktv:"" }}
2023 2023
                         </td>
2024 2024
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id == 9671">
@@ -2059,7 +2059,7 @@
2059 2059
                         <td v-if="org_id == 0||org_id == 9829">
2060 2060
                           {{monitor.blood_oxygen_saturation? monitor.blood_oxygen_saturation: ""}}
2061 2061
                         </td>
2062
-                       
2062
+
2063 2063
                         <td style="line-height: 16px; padding: 0px">
2064 2064
                           <div
2065 2065
                             style="
@@ -2237,6 +2237,7 @@
2237 2237
                             "
2238 2238
                             >({{ advice.remark }})</span
2239 2239
                           >
2240
+                          <span v-if="org_id == 0 || org_id == 10644">({{ advice.remark }})</span>
2240 2241
                         </td>
2241 2242
 
2242 2243
                         <td height="32px">
@@ -2255,7 +2256,7 @@
2255 2256
                           </span>
2256 2257
 
2257 2258
                         </td>
2258
-                     
2259
+
2259 2260
                         <td height="32px">
2260 2261
                           <span v-if="advice!=null && advice.execution_staff>0">
2261 2262
                             <span
@@ -2290,7 +2291,7 @@
2290 2291
                               getTime(advice.execution_time, "{h}:{i}")
2291 2292
                              }}</span>
2292 2293
                           </span>
2293
-                         
2294
+
2294 2295
                         </td>
2295 2296
                         <td height="32px">
2296 2297
                           <span v-if="org_id!=10489">
@@ -2310,7 +2311,7 @@
2310 2311
                               />
2311 2312
                             </span>
2312 2313
                           </span>
2313
-                         
2314
+
2314 2315
                         </td>
2315 2316
                         <td height="32px" v-if="org_id == 10223 || org_id == 9538  ||
2316 2317
                             org_id ==10375 || org_id ==10571 || org_id ==10600">
@@ -2353,8 +2354,8 @@
2353 2354
 
2354 2355
                         "
2355 2356
                         >
2356
-                          <span v-if="advice.type == 2"> {{advice && advice.project? advice.project.project_name: ""}} {{ advice.count }} {{ advice.unit }}</span>
2357
-                          <span v-if="advice.type == 3"> {{advice && advice.good_info? advice.good_info.good_name: ""}} {{ advice.count }} {{ advice.unit }}</span>
2357
+                          <span v-if="advice.type == 2"> {{advice && advice.project? advice.project.project_name: ""}} {{ advice.count }} {{ advice.unit }} {{ advice.remark }}</span>
2358
+                          <span v-if="advice.type == 3"> {{advice && advice.good_info? advice.good_info.good_name: ""}} {{ advice.count }} {{ advice.unit }}  {{ advice.remark }}</span>
2358 2359
                         </td>
2359 2360
                       <td height="32px">
2360 2361
                         <span
@@ -2387,7 +2388,7 @@
2387 2388
                         />
2388 2389
                       </td>
2389 2390
                         <td height="32px">
2390
-                          
2391
+
2391 2392
                           <span v-if="advice.execution_time">{{
2392 2393
                             getTime(advice.execution_time, "{h}:{i}")
2393 2394
                           }}</span>
@@ -2550,7 +2551,7 @@
2550 2551
 
2551 2552
 
2552 2553
                       <tr
2553
-                      v-if="org_id == 0 || org_id ==10206 || org_id ==10633 || org_id == 10489"
2554
+                      v-if="org_id ==10206 || org_id ==10633 || org_id == 10489"
2554 2555
                       v-for="(advice, advice_index) in projectsOne"
2555 2556
                       :key="advice_index"
2556 2557
                     >
@@ -2573,8 +2574,8 @@
2573 2574
 
2574 2575
                         "
2575 2576
                         >
2576
-                          <span v-if="advice.type == 2"> {{advice && advice.project? advice.project.project_name: ""}} {{ advice.count }} {{ advice.unit }}</span>
2577
-                          <span v-if="advice.type == 3"> {{advice && advice.good_info? advice.good_info.good_name: ""}} {{ advice.count }} {{ advice.unit }}</span>
2577
+                          <span v-if="advice.type == 2"> {{advice && advice.project? advice.project.project_name: ""}} {{ advice.count }} {{ advice.unit }}{{ advice.remark }}</span>
2578
+                          <span v-if="advice.type == 3"> {{advice && advice.good_info? advice.good_info.good_name: ""}} {{ advice.count }} {{ advice.unit }}{{ advice.remark }}</span>
2578 2579
                         </td>
2579 2580
                       <td height="32px">
2580 2581
                         <span
@@ -3918,8 +3919,10 @@
3918 3919
                             v-if="
3919 3920
                               advice.parent_id == 0 && advice.remark.length > 0
3920 3921
                             "
3921
-                            >({{ advice.remark }})</span
3922
-                          >
3922
+                            >({{ advice.remark }})
3923
+
3924
+                            
3925
+                          </span>
3923 3926
                         </td>
3924 3927
 
3925 3928
                         <td height="32px">
@@ -5409,11 +5412,11 @@ export default {
5409 5412
         }
5410 5413
 
5411 5414
         this.jilurow = this.monitors.length + 1;
5412
-        
5415
+
5413 5416
         if(this.advices!=null && this.advices.length>0){
5414 5417
           this.advice_jilurow = this.advices.length + 1;
5415 5418
         }
5416
-       
5419
+
5417 5420
 
5418 5421
         var childMap = {};
5419 5422
         for (const index in this.advices) {
@@ -5477,7 +5480,7 @@ export default {
5477 5480
 
5478 5481
         console.log("haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",this.doctor_advices)
5479 5482
 
5480
-        if(this.org_id ==10206 || this.org_id ==10644 || this.org_id ==10633 || this.org_id == 10489 || this.org_id == 0){
5483
+        if(this.org_id ==10206 || this.org_id ==10644 || this.org_id ==10633 || this.org_id == 10489){
5481 5484
           let projectsOne = [];
5482 5485
           response.data.data.projects.map((item) => {
5483 5486
               projectsOne.push(item);
@@ -5525,7 +5528,7 @@ export default {
5525 5528
             }
5526 5529
          }
5527 5530
 
5528
-      
5531
+
5529 5532
 
5530 5533
          let projects = [];
5531 5534
         response.data.data.projects.map((item) => {
@@ -5551,7 +5554,7 @@ export default {
5551 5554
                 this.projects[i].project_team_id = 0
5552 5555
 
5553 5556
                 if(this.projects[i].team!= "undefined" && this.projects[i].team.id >0){
5554
-                 
5557
+
5555 5558
                   this.projects[i].project_team = this.projects[i].team.project_team
5556 5559
                   this.projects[i].project_team_id = this.projects[i].team.id
5557 5560
                   this.projects[i].start_time = this.projects[i].start_time
@@ -5561,8 +5564,8 @@ export default {
5561 5564
                   this.projects[i].execution_staff= this.projects[i].execution_staff
5562 5565
                   this.projects[i].advice_name =  this.projects[i].team.project_team
5563 5566
                   this.projects[i].advice_doctor = this.projects[i].doctor
5567
+                  this.projects[i].remark = this.projects[i].remark
5564 5568
 
5565
-             
5566 5569
                   newHisArr.push(this.projects[i])
5567 5570
                   // this.doctor_advices_2.push(this.project[i])
5568 5571
                 }else{
@@ -5574,20 +5577,21 @@ export default {
5574 5577
                   this.projects[i].execution_time = this.projects[i].execution_time
5575 5578
                   this.projects[i].execution_staff= this.projects[i].execution_staff
5576 5579
                   this.projects[i].advice_doctor = this.projects[i].doctor
5580
+                  this.projects[i].remark = this.projects[i].remark
5577 5581
                   newHisArr.push(this.projects[i])
5578 5582
 
5579 5583
 
5580 5584
                   // this.doctor_advices_2.push(this.projects[i])
5581 5585
                 }
5582 5586
 
5583
-                
5587
+
5584 5588
 
5585 5589
               }
5586 5590
 
5587 5591
             }
5588 5592
             }
5589 5593
 
5590
-          
5594
+
5591 5595
 
5592 5596
             for(let i=0;i<newHisArr.length;i++){
5593 5597
               newHisArr[i].advice_name_str = ""
@@ -5603,7 +5607,7 @@ export default {
5603 5607
 
5604 5608
         }
5605 5609
 
5606
-       
5610
+
5607 5611
 
5608 5612
         //针对内蒙古阿拉善
5609 5613
         if(this.org_id ==10206){
@@ -5706,7 +5710,7 @@ export default {
5706 5710
         this.totollength = this.doctor_advices.length + this.monitors.length;
5707 5711
         console.log("this.totollength",this.totollength)
5708 5712
 
5709
-        
5713
+
5710 5714
         if (this.totollength > 18) {
5711 5715
           var temp_advice_length = this.doctor_advices.length
5712 5716
           var doctor_advices_1 = [];

+ 243 - 0
src/xt_pages/stock/config/goodList.vue Visa fil

@@ -0,0 +1,243 @@
1
+<template>
2
+    <div>
3
+     <div class="page_inspection">
4
+        <div style="display:flex;justify-content: space-between;width:100%;margin-bottom:20px;">
5
+            <div class="cell clearfix" style="margin-bottom:0;">
6
+                <el-input style="width: 180px;margin-right:10px;" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
7
+                <el-button style="margin-right:10px;" class="filter-item" type="primary" icon="el-icon-search" @click="searchAction">搜索</el-button>
8
+            </div>
9
+            <el-button type="primary" @click="openForm(0)">新增</el-button>
10
+        </div>
11
+        <el-table :data="tableData" border style="width: 100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}">
12
+            <el-table-column prop="date" label="序号" width="80" align="center">
13
+                <template slot-scope="scope">
14
+                    {{scope.$index + 1}}
15
+                </template>
16
+            </el-table-column>
17
+            <el-table-column prop="date" label="名称" align="center">
18
+                <template slot-scope="scope">
19
+                    {{scope.row.project_team}}
20
+                </template>
21
+            </el-table-column>
22
+            <el-table-column prop="date" label="拼音助记符" width="140" align="center">
23
+                <template slot-scope="scope">
24
+                    {{scope.row.pinyin}}
25
+                </template>
26
+            </el-table-column>
27
+            <el-table-column prop="date" label="五笔助记符" width="140" align="center">
28
+                <template slot-scope="scope">
29
+                   {{scope.row.wubi}}
30
+                </template>
31
+            </el-table-column>
32
+            <el-table-column label="价格" width="100" align="center">
33
+                <template slot-scope="scope">
34
+                   {{scope.row.price}}
35
+                </template>
36
+            </el-table-column>
37
+            <el-table-column label="排序" width="100" align="center">
38
+                <template slot-scope="scope">
39
+                   {{scope.row.sort}}
40
+                </template>
41
+            </el-table-column>
42
+            <el-table-column prop="date" label="备注" align="center">
43
+                <template slot-scope="scope">
44
+                   {{scope.row.remark}}
45
+                </template>
46
+            </el-table-column>
47
+            <el-table-column prop="date" label="操作" width="300" align="center">
48
+                <template slot-scope="scope">
49
+                    <el-button @click="editProjectTeam(scope.row.id)" type="primary" size="small">编辑</el-button>
50
+                    <el-button type="danger" size="small" @click="DeleteProjectTeam(scope.row.id,scope.$index)">删除</el-button>
51
+                </template>
52
+            </el-table-column>
53
+        </el-table>
54
+          <el-pagination
55
+            @size-change="handleSizeChange"
56
+            @current-change="handleCurrentChange"
57
+            :page-sizes="[10, 50, 100]"
58
+            :page-size="10"
59
+            background
60
+            align="right"
61
+            style="margin-top:20px;"
62
+            layout="total, sizes, prev, pager, next, jumper"
63
+            :total="total"
64
+         >
65
+        </el-pagination> 
66
+
67
+        <el-dialog
68
+        title="组套详情"
69
+        :visible.sync="dialogVisible"
70
+        width="50%"
71
+       >
72
+        <span>
73
+        <el-form :model="form">
74
+          <el-row>
75
+            <el-col :span="24">
76
+                <el-form-item
77
+                    label="组套名称 : "
78
+                    prop="project_team"
79
+                    style="width: 100%"
80
+                    >
81
+                    <el-input
82
+                        style="width:200px"
83
+                        v-model="form.project_name"
84
+                        placeholder=""
85
+                        maxlength="30"
86
+                    ></el-input>
87
+              </el-form-item>
88
+            </el-col>
89
+
90
+          </el-row> 
91
+          <el-row>
92
+             <el-col :span="24">
93
+                <el-form-item
94
+                    label="排序 : "
95
+                    prop="project_team"
96
+                    style="width: 100%"
97
+                    >
98
+                    <el-input
99
+                        style="width:200px"
100
+                        v-model="form.sort"
101
+                        placeholder=""
102
+                        maxlength="30"
103
+                    ></el-input>
104
+                </el-form-item>
105
+             </el-col>
106
+          </el-row>
107
+        
108
+     
109
+            <el-form-item label="组套明细:" style="width: 50%">
110
+                <el-select
111
+                    v-model="form.project_detail"
112
+                    filterable
113
+                    placeholder="请选择"
114
+                    @change="changeProject"
115
+                    
116
+                >
117
+                    <el-option
118
+                    v-for="item in goodList"
119
+                    :key="item.id"
120
+                    :label="item.good_str"
121
+                    :value="item.id"
122
+                    >
123
+                    </el-option>
124
+                </el-select>
125
+            </el-form-item>
126
+
127
+            <el-form-item label="数量" style="width: 50%">
128
+                    <div style="display: flex">
129
+                        <el-input
130
+                        v-model="form.number"
131
+                        style="margin-right: 10px"
132
+                        ></el-input>
133
+                        <el-button type="primary" @click="addProjectList">添加</el-button>
134
+                    </div>
135
+            </el-form-item>
136
+            
137
+            <el-form-item>
138
+              <el-table
139
+                :data="tableData"
140
+                border
141
+                style="width: 100%">
142
+                <el-table-column
143
+                prop="date"
144
+                label="耗材名称&规格"
145
+                width="180">
146
+                </el-table-column>
147
+                <el-table-column
148
+                  prop="name"
149
+                  label="数量"
150
+                  width="180">
151
+                </el-table-column>
152
+                <el-table-column
153
+                 prop="address"
154
+                  label="操作">
155
+                </el-table-column>
156
+              </el-table>
157
+            </el-form-item>
158
+
159
+        </el-form>
160
+        </span>
161
+        <span slot="footer" class="dialog-footer">
162
+            <el-button @click="dialogVisible = false">取 消</el-button>
163
+            <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
164
+        </span>
165
+    </el-dialog>
166
+    </div>
167
+    
168
+  </div>
169
+</template>
170
+
171
+<script>
172
+import { getDictionaryDataConfig,getDataConfig } from "@/utils/data";
173
+import { getAllGoodInfoList,DeleteProjectTeam } from "@/api/project/project"
174
+export default {
175
+   
176
+    data(){
177
+        return{
178
+            search_input:'',
179
+            options: [{
180
+            value: '1',
181
+            label: '是'
182
+            }, {
183
+            value: '2',
184
+            label: '否'
185
+            },],
186
+            value: '',
187
+            tableData: [],
188
+            limit:10,
189
+            page:1,
190
+            total:0,
191
+            dialogVisible:false,
192
+            form:{
193
+                project_name:"",
194
+                sort:"", 
195
+                number:"",
196
+                project_detail:""
197
+            },
198
+            projectList:[],
199
+            goodList:[]
200
+        }
201
+    },
202
+    methods:{
203
+        changeProject(){
204
+            
205
+        },
206
+        getlist(){
207
+
208
+        },
209
+        handleCurrentChange(){
210
+
211
+        },
212
+        handleSizeChange(){
213
+
214
+        },
215
+        searchAction(){
216
+
217
+        },
218
+        addProjectList(){
219
+            
220
+        },
221
+        openForm(){
222
+         getAllGoodInfoList().then(response=>{
223
+            if(response.data.state ==1){
224
+               var goodList = response.data.data.goodList
225
+               if(goodList!=null && goodList.length>0){
226
+                 for(let i=0;i<goodList.length;i++){
227
+                   goodList[i].good_str = goodList[i].good_name+ " " + goodList[i].specification_name
228
+                 }
229
+               }
230
+               this.goodList = goodList
231
+               this.dialogVisible = true
232
+            }
233
+         })
234
+         
235
+        }
236
+    },
237
+    created(){
238
+     
239
+       this.getlist() 
240
+      
241
+    }
242
+}
243
+</script>

+ 2 - 0
src/xt_pages/stock/detail/stockInDetail.vue Visa fil

@@ -911,6 +911,7 @@ export default {
911 911
           start_time:this.start_time,
912 912
           end_time:this.end_time,
913 913
           type:1,
914
+          storehouse_id:this.storehouse_id,
914 915
         }
915 916
       getGoodDetailPrintList(params).then(response=>{
916 917
         if(response.data.state == 1){
@@ -936,6 +937,7 @@ export default {
936 937
      changeHouseList(){
937 938
        this.houseList = []
938 939
        this.GetCancelStock()
940
+       this.getGoodDetailPrintList()
939 941
      }
940 942
   }
941 943
 };

+ 3 - 2
src/xt_pages/stock/detail/stockOutDetail.vue Visa fil

@@ -987,6 +987,7 @@ export default {
987 987
           this.tableDataList[i].specification_name = this.specificationName(this.tableDataList[i].good_id)
988 988
           this.tableDataList[i].time = this.getTime(this.tableDataList[i].WarehouseOut.warehouse_out_time)
989 989
           this.tableDataList[i].user_name = this.getXuserName(this.tableDataList[i].WarehouseOut.creater)
990
+          this.tableDataList[i].patient_name = this.getPatientName(this.tableDataList[i].patient_id)
990 991
           this.tableDataList[i].out_count = this.tableDataList[i].count
991 992
           this.tableDataList[i].manufacturer_name = this.getManufacturerNameOne(this.tableDataList[i].GoodInfo.manufacturer)
992 993
           this.tableDataList[i].dealer_name = this.getDealerNameOne(this.tableDataList[i].GoodInfo.dealer)
@@ -1009,8 +1010,8 @@ export default {
1009 1010
       
1010 1011
         this.tableDataList.push(obj)
1011 1012
        import('@/vendor/Export2Excel').then(excel => {
1012
-       const tHeader = ['序号','单据编号', '耗材类型', '耗材名称','规格型号','生产厂商','进销商','批号','生产日期','有效日期','操作时间','制单人','进货价','出货价','数量','总价']
1013
-       const filterVal = ['index','warehouse_out_order_number', 'good_type_name', 'good_name','specification_name','manufacturer_name','dealer_name','time','number','product_date_name','expiry_date_name','user_name','in_price','price','out_count','total_price']
1013
+       const tHeader = ['序号','单据编号', '耗材类型', '耗材名称','规格型号','生产厂商','进销商','批号','生产日期','有效日期','操作时间','制单人','进货价','出货价','使用患者','数量','总价']
1014
+       const filterVal = ['index','warehouse_out_order_number', 'good_type_name', 'good_name','specification_name','manufacturer_name','dealer_name','number','product_date_name','expiry_date_name','time','user_name','in_price','price','patient_name','out_count','total_price']
1014 1015
 
1015 1016
        const data = this.formatJson(filterVal, this.tableDataList)
1016 1017
 

+ 2 - 0
src/xt_pages/stock/drugs/components/drugInOrder.vue Visa fil

@@ -468,6 +468,7 @@ export default {
468 468
         start_time:this.start_time,
469 469
         end_time:this.end_time,
470 470
         order_type:this.order_type,
471
+        storehouse_id:this.storehouse_id,
471 472
       }
472 473
     
473 474
      getDrugWarehouseInfoPrint(params).then(response=>{
@@ -616,6 +617,7 @@ export default {
616 617
      changeHouseList(){
617 618
        this.houseList = []
618 619
        this.getlist()
620
+       this.getDrugWarehouseInfoPrint()
619 621
      }
620 622
   }
621 623
 };

+ 8 - 3
src/xt_pages/stock/drugs/components/drugOutDetail.vue Visa fil

@@ -318,10 +318,12 @@ export default {
318 318
     changeType: function(val) {
319 319
       this.order_type = val;
320 320
       this.getlist()
321
+      this.getDrugOutOrderPrint()
321 322
     },
322 323
     changeManufacturer: function(val) {
323 324
       this.manufacturer_id = val;
324 325
       this.getlist()
326
+      this.getDrugOutOrderPrint()
325 327
     },
326 328
     getTypeName: function(row) {
327 329
       let name = "";
@@ -443,7 +445,7 @@ export default {
443 445
     PrintAction: function() {
444 446
       //  window.sessionStorage.setItem('start_out_time',this.start_time)
445 447
       //  window.sessionStorage.setItem('end_out_time',this.end_time)
446
-       this.$router.push("/stock/drugoutorderprint?start_time="+this.start_time+"&end_time="+this.end_time+"&order_type="+2+"&manufacturer_id="+this.manufacturer_id+"&keyword="+this.keyword+"&limit="+this.limit+"&page="+this.page)
448
+       this.$router.push("/stock/drugoutorderprint?start_time="+this.start_time+"&end_time="+this.end_time+"&order_type="+2+"&manufacturer_id="+this.manufacturer_id+"&keyword="+this.keyword+"&limit="+this.limit+"&page="+this.page+"&storehouse_id="+this.storehouse_id)
447 449
     },
448 450
     getlist(){
449 451
       var params = {
@@ -733,8 +735,8 @@ export default {
733 735
       console.log("hwhhwhwhwhwhw",this.tableData)
734 736
      
735 737
       import('@/vendor/Export2Excel').then(excel => {
736
-       const tHeader = ['序号','单据编号', '药品类型', '药品名称','规格型号','生产厂商','进销商','批号','生产日期','有效日期','操作时间','制单人','进货价','出货价','数量','总价']
737
-       const filterVal = ['index','warehouse_out_order_number', 'drugtype', 'drug_name','specification_name','manufacturer_name','dealer_name','number_bath','product_date_name','expiry_date_name','time','user_name','in_price','price','count','total_price']
738
+       const tHeader = ['序号','单据编号', '药品类型', '药品名称','规格型号','生产厂商','进销商','批号','生产日期','有效日期','操作时间','制单人','进货价','出货价','使用人','数量','总价']
739
+       const filterVal = ['index','warehouse_out_order_number', 'drugtype', 'drug_name','specification_name','manufacturer_name','dealer_name','number_bath','product_date_name','expiry_date_name','time','user_name','in_price','price','patient_name','count','total_price']
738 740
 
739 741
        for(let i=0;i<this.tableData.length;i++){
740 742
          if(this.tableData[i].is_total == 0){
@@ -753,6 +755,7 @@ export default {
753 755
             this.tableData[i].user_name = this.getAdminUser(this.tableData[i].creater)
754 756
             this.tableData[i].manufacturer_name = this.getManufacturerName(this.tableData[i].manufacturer)
755 757
             this.tableData[i].dealer_name = this.getDealerName(this.tableData[i].dealer)
758
+            this.tableData[i].patient_name = this.getPatientName(this.tableData[i].patient_id) 
756 759
             if(this.org_id == 9919){
757 760
               this.tableData[i].total = (this.tableData[i].count * this.tableData[i].last_price)
758 761
               if(this.tableData[i].count >=this.tableData[i].min_number){
@@ -970,6 +973,7 @@ export default {
970 973
          start_time:this.start_time,
971 974
          end_time:this.end_time,
972 975
          order_type:2,
976
+         storehouse_id:this.storehouse_id,
973 977
       }
974 978
      getDrugOutOrderPrint(params).then(response=>{
975 979
         if(response.data.state == 1){
@@ -1166,6 +1170,7 @@ export default {
1166 1170
      changeHouseList(){
1167 1171
        this.houseList = []
1168 1172
        this.getlist()
1173
+       this.getDrugOutOrderPrint()
1169 1174
      }
1170 1175
   }
1171 1176
 };

+ 2 - 0
src/xt_pages/stock/drugs/drugOutOrderPrint.vue Visa fil

@@ -139,6 +139,7 @@
139 139
         keyword:this.$route.query.keyword,
140 140
         limit:this.$route.query.limit,
141 141
         page:this.$route.query.page,
142
+        storehouse_id:this.$route.query.storehouse_id,
142 143
         cancelStockDate:[],
143 144
         drugList:[],
144 145
         org_id:0,
@@ -230,6 +231,7 @@
230 231
           start_time:this.start_time,
231 232
           end_time:this.end_time,
232 233
           order_type:parseInt(this.order_type),
234
+          storehouse_id:parseInt(this.storehouse_id),
233 235
         }
234 236
       
235 237
         getDrugOutOrderPrint(params).then(response=>{

+ 6 - 2
src/xt_pages/stock/index.vue Visa fil

@@ -23,6 +23,10 @@
23 23
             <automatic-reduce></automatic-reduce>
24 24
           </el-tab-pane>
25 25
 
26
+          <!-- <el-tab-pane label="耗材套装">
27
+            <good-list></good-list>
28
+          </el-tab-pane> -->
29
+
26 30
         </el-tabs>
27 31
 
28 32
       </div>
@@ -37,7 +41,7 @@
37 41
   import GoodType from './config/goodType'
38 42
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
39 43
   import AutomaticReduce from './config/automaticReduce'
40
-  
44
+  import GoodList from './config/goodList'
41 45
   export default {
42 46
     name: 'service',
43 47
     components: {
@@ -47,7 +51,7 @@
47 51
       Manufacturer,
48 52
       Dealer,
49 53
       BreadCrumb,
50
-      
54
+      GoodList,
51 55
     },
52 56
     data() {
53 57
       return {

+ 7 - 0
src/xt_pages/stock/stockInOrder.vue Visa fil

@@ -362,6 +362,13 @@
362 362
             </span>
363 363
           </template>
364 364
         </el-table-column>
365
+        <el-table-column label="耗材追溯码" align="center">
366
+          <template slot-scope="scope">
367
+            <span v-if="scope.row.is_total == 0">
368
+               {{ scope.row.good_code}}
369
+            </span>
370
+          </template>
371
+        </el-table-column>
365 372
         <el-table-column label="备注" align="center">
366 373
           <template slot-scope="scope">
367 374
             <span v-if="scope.row.is_total == 0">

+ 67 - 5
src/xt_pages/stock/stockInOrderAdd.vue Visa fil

@@ -239,6 +239,16 @@
239 239
             </template>
240 240
           </el-table-column>
241 241
 
242
+          <el-table-column label="耗材追溯码" align="center" width="150">
243
+           
244
+              <template slot-scope="scope">
245
+               <div  @click="changeGoodCode(scope.row,scope.$index)">
246
+                <el-input v-model="scope.row.good_code"  placeholder="请输入耗材追溯码"></el-input>
247
+              </div>
248
+            </template>
249
+          
250
+          </el-table-column>
251
+
242 252
           <el-table-column label="备注" align="center" width="150">
243 253
             <template slot-scope="scope">
244 254
               <el-input placeholder="请输入备注" v-model="scope.row.remark"></el-input>
@@ -274,8 +284,28 @@
274 284
         <div style="margin-top: 20px;">合计金额: {{getTotalPirce() }} </div>
275 285
       </el-form>
276 286
 
277
-
287
+ 
278 288
     </div>
289
+
290
+    <el-dialog
291
+      title="耗材追溯码"
292
+      :visible.sync="dialogVisible"
293
+      width="40%">
294
+      <span>
295
+        <el-input
296
+         @keyup.native="changeText"
297
+          type="textarea"
298
+          placeholder="请输入内容"
299
+          v-model="textarea"
300
+          :rows="10"
301
+        >
302
+        </el-input>
303
+      </span>
304
+      <span slot="footer" class="dialog-footer">
305
+        <el-button @click="dialogVisible = false">取 消</el-button>
306
+        <el-button type="primary" @click="saveTextArea()">确 定</el-button>
307
+      </span>
308
+    </el-dialog>
279 309
   </div>
280 310
 
281 311
 </template>
@@ -380,8 +410,8 @@
380 410
             price: '',
381 411
             remark: '',
382 412
             dealer: '',
383
-            manufacturer: ''
384
-
413
+            manufacturer: '',
414
+            good_code:""
385 415
           },
386 416
           isCreated: 1
387 417
 
@@ -422,7 +452,12 @@
422 452
         showCheck:false,
423 453
         showReturnCheck:false,
424 454
         warehousing_info_id:0,
425
-        org_id:0
455
+        org_id:0,
456
+        dialogVisible:false,
457
+        currentRow:{},
458
+        currentIndex:0,
459
+        textarea:""
460
+
426 461
       }
427 462
     },
428 463
     methods: {
@@ -579,6 +614,7 @@
579 614
         tempObj["packing_price"] = ""
580 615
         tempObj["id"] = 0
581 616
         tempObj['register_number'] = ''
617
+        tempObj['good_code'] = ""
582 618
         this.recordInfo.recordData.push(tempObj)
583 619
       }, handleDelete: function(index, row) {
584 620
         if (this.recordInfo.recordData.length <= 1) {
@@ -795,6 +831,7 @@
795 831
                   list[i].product_date = this.getTimeOne(list[i].product_date)
796 832
                   list[i].good_name = list[i].GoodInfo.good_name
797 833
                   list[i].name = list[i].GoodInfo.specification_name +"/"+ list[i].GoodInfo.packing_unit
834
+                  list[i].good_code = list[i].good_code
798 835
                 }
799 836
                 this.recordInfo.recordData = []
800 837
                 this.recordInfo.recordData = list
@@ -969,7 +1006,31 @@
969 1006
           return ""
970 1007
          }
971 1008
        }
972
-     }
1009
+     },
1010
+     changeGoodCode(row,index){
1011
+        this.textarea=""
1012
+        this.textarea = row.drug_code
1013
+        this.currentRow = row
1014
+        this.currentIndex =index
1015
+        this.dialogVisible = true
1016
+     },
1017
+     changeText(event){
1018
+      // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1019
+      if (event.key === 'Enter') {
1020
+        var textarea = ""
1021
+        textarea += this.textarea + ","
1022
+        this.textarea = textarea
1023
+
1024
+      }
1025
+     },
1026
+     saveTextArea(){
1027
+        for(let i=0;i<this.recordInfo.recordData.length;i++){
1028
+          if(this.currentIndex == i){
1029
+            this.recordInfo.recordData[i].good_code = this.textarea 
1030
+          }
1031
+        }
1032
+        this.dialogVisible = false
1033
+      },
973 1034
     }
974 1035
     ,
975 1036
     created() {
@@ -1003,6 +1064,7 @@
1003 1064
       tempObj['packing_price']= ''
1004 1065
       tempObj['id']= 0
1005 1066
       tempObj['register_number'] = ''
1067
+      tempObj['good_code'] = ''
1006 1068
       this.recordInfo.recordData.push(tempObj)
1007 1069
       this.GetConfigInfo()
1008 1070
       this.propForm.goodUnit = this.$store.getters.good_unit

+ 81 - 1
src/xt_pages/stock/stockInOrderEdit.vue Visa fil

@@ -301,6 +301,18 @@
301 301
                </el-select>
302 302
             </template>
303 303
           </el-table-column>
304
+
305
+          <el-table-column label="耗材追溯码" align="center" width="150">
306
+           
307
+           <template slot-scope="scope">
308
+              <div  @click="changeGoodCode(scope.row,scope.$index)">
309
+                <el-input v-model="scope.row.good_code"  placeholder="请输入耗材追溯码"></el-input>
310
+              </div>
311
+           </template>
312
+       
313
+         </el-table-column>
314
+
315
+
304 316
           <el-table-column label="备注" width="150" align="center">
305 317
             <template slot-scope="scope">
306 318
               <el-input v-model="scope.row.remark"  :disabled ="disabled"></el-input>
@@ -349,6 +361,26 @@
349 361
         <div style="margin-top: 20px;">合计金额: {{getTotalPirce() }} </div>
350 362
       </el-form>
351 363
     </div>
364
+
365
+    <el-dialog
366
+      title="耗材追溯码"
367
+      :visible.sync="dialogVisible"
368
+      width="40%">
369
+      <span>
370
+        <el-input
371
+         @keyup.native="changeText"
372
+          type="textarea"
373
+          placeholder="请输入内容"
374
+          v-model="textarea"
375
+          :rows="10"
376
+        >
377
+        </el-input>
378
+      </span>
379
+      <span slot="footer" class="dialog-footer">
380
+        <el-button @click="dialogVisible = false">取 消</el-button>
381
+        <el-button type="primary" @click="saveTextArea()">确 定</el-button>
382
+      </span>
383
+    </el-dialog>
352 384
   </div>
353 385
 </template>
354 386
 
@@ -451,6 +483,11 @@ export default {
451 483
       list:[],
452 484
       is_check:0,
453 485
       order_id:0,
486
+      org_id:0,
487
+      dialogVisible:false,
488
+      currentRow:{},
489
+      currentIndex:0,
490
+      textarea:""
454 491
     };
455 492
   },
456 493
   methods: {
@@ -482,6 +519,7 @@ export default {
482 519
             tempForm["remark"] = "";
483 520
             tempForm["dealer"] = "";
484 521
             tempForm["manufacturer"] = "";
522
+            tempForm["good_code"] = ""
485 523
             this.recordInfo.recordData.splice(
486 524
               this.currentIndex + 1,
487 525
               0,
@@ -570,6 +608,7 @@ export default {
570 608
       tempObj["manufacturer"] = "";
571 609
       tempObj["license_number"] = ""
572 610
       tempObj["packing_price"] = ""
611
+      tempObj["good_code"] = ""
573 612
       this.recordInfo.recordData.push(tempObj);
574 613
     },
575 614
     handleDelete: function(index, row) {
@@ -775,6 +814,7 @@ export default {
775 814
                 list[i].product_date = this.getTimeOne(list[i].product_date)
776 815
                 list[i].good_name = list[i].GoodInfo.good_name
777 816
                 list[i].name = list[i].GoodInfo.specification_name
817
+                list[i].good_code = list[i].good_code
778 818
                }
779 819
               this.recordInfo.recordData = []
780 820
               this.recordInfo.recordData = list
@@ -848,6 +888,7 @@ export default {
848 888
             tempObj["manufacturer"] = "";
849 889
             tempObj["license_number"] = ""
850 890
             tempObj["register_number"] = ""
891
+            tempObj["good_code"] = ""
851 892
             this.recordInfo.recordData.push(tempObj);
852 893
           }
853 894
         }
@@ -906,6 +947,11 @@ export default {
906 947
             }else{
907 948
                this.recordInfo.recordData[i].price = val.buy_price
908 949
             }
950
+
951
+            if(this.org_id == 0 || this.org_id == 10633){
952
+               this.recordInfo.recordData[i].price = val.first_xt_warehouse_info.packing_price
953
+            }
954
+
909 955
             if(val.packing_price == 0){
910 956
               this.recordInfo.recordData[i].packing_price = "0"
911 957
             }else{
@@ -920,6 +966,15 @@ export default {
920 966
             }else{
921 967
               this.recordInfo.recordData[i].dealer = val.dealer
922 968
             }
969
+
970
+
971
+
972
+            // for(let i=0;i<this.recordInfo.recordData.length;i++){
973
+            //   this.recordInfo.recordData[i].warehouse_info_str = ""
974
+            //   for(let j=0;j<this.recordInfo.recordData[i].xt_warehouse_info.length;j++){
975
+            //     this.recordInfo.recordData[i].warehouse_info_str += "批次:"+this.recordInfo.recordData[i].xt_warehouse_info[j].number+" " + "剩余:"+this.recordInfo.recordData[i].xt_warehouse_info[j].stock_count+this.recordInfo.recordData[i].packing_unit +"\n"
976
+            //   }
977
+            // }
923 978
           
924 979
           }
925 980
         }
@@ -995,10 +1050,35 @@ export default {
995 1050
          return ""
996 1051
         }
997 1052
       }
998
-    }
1053
+    },
1054
+    changeGoodCode(row,index){
1055
+        this.textarea=""
1056
+        this.textarea = row.drug_code
1057
+        this.currentRow = row
1058
+        this.currentIndex =index
1059
+        this.dialogVisible = true
1060
+     },
1061
+     changeText(event){
1062
+      // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1063
+      if (event.key === 'Enter') {
1064
+        var textarea = ""
1065
+        textarea += this.textarea + ","
1066
+        this.textarea = textarea
1067
+
1068
+      }
1069
+     },
1070
+     saveTextArea(){
1071
+        for(let i=0;i<this.recordInfo.recordData.length;i++){
1072
+          if(this.currentIndex == i){
1073
+            this.recordInfo.recordData[i].good_code = this.textarea 
1074
+          }
1075
+        }
1076
+        this.dialogVisible = false
1077
+      },
999 1078
      
1000 1079
   },
1001 1080
   created() {
1081
+    this.org_id = this.$store.getters.xt_user.org.id
1002 1082
     this.GetConfigInfo();
1003 1083
     this.propForm.goodUnit = this.$store.getters.good_unit;
1004 1084
     const order_id = this.$route.query.id;

+ 28 - 3
src/xt_pages/stock/stockOutOrderAdd.vue Visa fil

@@ -148,10 +148,20 @@
148 148
                   type="number"
149 149
                   v-model="scope.row.stock_count"
150 150
                 ></el-input>
151
+                
151 152
               </el-form-item>
152 153
             </template>
153 154
           </el-table-column>
154 155
 
156
+          <!-- <el-table-column width="150" align="center">
157
+            <template slot="header" slot-scope="scope">
158
+              <span>剩余批次详情</span>
159
+            </template>
160
+            <template slot-scope="scope">
161
+              {{ scope.row.warehouse_info_str }} 
162
+            </template>
163
+          </el-table-column> -->
164
+
155 165
 
156 166
          <el-table-column  width="150" align="center">
157 167
             <template slot="header" slot-scope="scope">
@@ -450,7 +460,8 @@ export default {
450 460
       loading:false,
451 461
       patients:[],
452 462
       classType:[{id:1,name:"上午"},{id:2,name:"下午"},{id:3,name:"晚上"}],
453
-
463
+      tableWarehouseInfoList:[],
464
+      org_id:0,
454 465
     };
455 466
   },
456 467
   methods: {
@@ -830,6 +841,7 @@ export default {
830 841
                     warehouseOutInfoList[i].expiry_date = this.getTimeOne(warehouseOutInfoList[i].expiry_date)
831 842
                     warehouseOutInfoList[i].product_date = this.getTimeOne(warehouseOutInfoList[i].product_date)
832 843
                     warehouseOutInfoList[i].patient_id = warehouseOutInfoList[i].patient_id
844
+                    
833 845
 
834 846
                  }
835 847
                  this.recordInfo.recordData = warehouseOutInfoList
@@ -921,7 +933,8 @@ export default {
921 933
             this.recordInfo.recordData[i].license_number = val.number
922 934
             this.recordInfo.recordData[i].register_number = val.register_number
923 935
             this.recordInfo.recordData[i].patient_id = 0
924
-             
936
+            this.recordInfo.recordData[i].xt_warehouse_info = val.xt_warehouse_info
937
+            this.recordInfo.recordData[i].packing_unit = val.packing_unit
925 938
             if( val.first_xt_warehouse_info!=null&&val.first_xt_warehouse_info.expiry_date >0){
926 939
               this.recordInfo.recordData[i].expiry_date = this.getTimeOne(val.first_xt_warehouse_info.expiry_date)
927 940
             }else{
@@ -941,6 +954,10 @@ export default {
941 954
               this.recordInfo.recordData[i].price = val.packing_price
942 955
             }
943 956
 
957
+            if(this.org_id == 0 || this.org_id == 10633){
958
+               this.recordInfo.recordData[i].price = val.first_xt_warehouse_info.packing_price
959
+            }
960
+
944 961
             this.recordInfo.recordData[i].specification_name = val.specification_name
945 962
             this.recordInfo.recordData[i].good_id = val.id
946 963
             if(val.dealer == 0){
@@ -949,6 +966,13 @@ export default {
949 966
              this.recordInfo.recordData[i].dealer = val.dealer
950 967
             }
951 968
 
969
+            for(let i=0;i<this.recordInfo.recordData.length;i++){
970
+              this.recordInfo.recordData[i].warehouse_info_str = ""
971
+              for(let j=0;j<this.recordInfo.recordData[i].xt_warehouse_info.length;j++){
972
+                this.recordInfo.recordData[i].warehouse_info_str += "批次:"+this.recordInfo.recordData[i].xt_warehouse_info[j].number+" " + "剩余:"+this.recordInfo.recordData[i].xt_warehouse_info[j].stock_count+this.recordInfo.recordData[i].packing_unit +"\n"
973
+              }
974
+            }
975
+
952 976
             console.log("日期我我我哦我",  this.recordInfo.recordData)
953 977
          }
954 978
 
@@ -967,6 +991,7 @@ export default {
967 991
           var list = response.data.data.list
968 992
           this.numberList = list
969 993
           // var lastWarehouseInfoTwo = response.data.data.lastWarehouseInfoTwo
994
+          // this.tableWarehouseInfoList = lastWarehouseInfoTwo
970 995
         }
971 996
      })
972 997
     },
@@ -1062,7 +1087,7 @@ export default {
1062 1087
 
1063 1088
   },
1064 1089
   created() {
1065
-
1090
+    this.org_id = this.$store.getters.xt_user.org.id
1066 1091
     var nowDate = new Date();
1067 1092
     var nowYear = nowDate.getFullYear();
1068 1093
     var nowMonth = nowDate.getMonth() + 1;

+ 18 - 16
src/xt_pages/user/components/PatientDetail.vue Visa fil

@@ -286,7 +286,7 @@
286 286
                 <el-input v-model="form.homeAddress" disabled style="width: 350px;"></el-input>
287 287
               </el-form-item>
288 288
             </el-col>
289
-            
289
+
290 290
              <el-col :span="8" :style="isEdit ? 'width:280px' : ''">
291 291
                 <el-form-item
292 292
                   label="打印日期:"
@@ -639,7 +639,7 @@
639 639
                 ></el-input>
640 640
               </el-form-item>
641 641
             </el-col>
642
-           
642
+
643 643
 
644 644
             <div v-show="!generic_info_fold">
645 645
               <el-col :span="8">
@@ -1209,12 +1209,12 @@
1209 1209
                   <td colspan="8">
1210 1210
                     <div
1211 1211
                       class="td_proj_content td_align_left"
1212
-                     
1212
+
1213 1213
                     >  {{ patientPrint.remark }}</div>
1214 1214
                   </td>
1215 1215
                 </tr>
1216 1216
 
1217
-              
1217
+
1218 1218
 
1219 1219
                 <tr>
1220 1220
                   <td>
@@ -1235,7 +1235,7 @@
1235 1235
                   <td colspan="7">
1236 1236
                     <div
1237 1237
                       class="td_proj_content td_align_left"
1238
-                     
1238
+
1239 1239
                     >
1240 1240
                      {{ patientPrint.treatment_plan }}
1241 1241
                    </div>
@@ -1251,8 +1251,8 @@
1251 1251
                 {{getTime(patientPrint.created_time)}}</span>
1252 1252
                 <span v-else>{{ printDate }}</span> -->
1253 1253
 
1254
-                <span v-if="patientPrint.print_date>0">{{getTime(patientPrint.print_date)}}</span> 
1255
-                <span v-if="patientPrint.print_date<=0">{{getTime(patientPrint.created_time)}}</span> 
1254
+                <span v-if="patientPrint.print_date>0">{{getTime(patientPrint.print_date)}}</span>
1255
+                <span v-if="patientPrint.print_date<=0">{{getTime(patientPrint.created_time)}}</span>
1256 1256
 
1257 1257
               </div>
1258 1258
               <div class="proj">
@@ -1356,10 +1356,10 @@
1356 1356
                     血管通路
1357 1357
                   </td>
1358 1358
                   <td colspan="3" style="padding: 3px 0px;font-size: 17px;">
1359
-                    
1359
+                     {{ patientVascularAccessOne.blood_access_part_id }} {{ patientVascularAccessOne.blood_access_part_opera_id }}
1360 1360
                   </td>
1361 1361
                 </tr>
1362
-                
1362
+
1363 1363
                 <tr>
1364 1364
                   <td style="padding: 3px 0px;font-size: 17px; font-weight: 500;">
1365 1365
                     主诉
@@ -1403,7 +1403,7 @@
1403 1403
                   </td>
1404 1404
                   <td colspan="3">
1405 1405
                     <div class="td_proj_content td_align_left">
1406
-                     
1406
+
1407 1407
                     </div>
1408 1408
                   </td>
1409 1409
                 </tr>
@@ -1443,7 +1443,7 @@
1443 1443
                   <td colspan="9">
1444 1444
                     <div
1445 1445
                       class="td_proj_content td_align_left"
1446
-                      
1446
+
1447 1447
                     ></div>
1448 1448
                   </td>
1449 1449
                 </tr>
@@ -1468,7 +1468,7 @@
1468 1468
                       v-html="patientPrint.treatment_plan"
1469 1469
                     ></div>
1470 1470
                   </td>
1471
-                </tr>  
1471
+                </tr>
1472 1472
               </tbody>
1473 1473
             </table>
1474 1474
             <div class="print_footnote_panel">
@@ -1482,8 +1482,8 @@
1482 1482
               </div>
1483 1483
               <div class="proj" style="text-align: right;">
1484 1484
                 <span class="proj_title">日期:</span>
1485
-                <span v-if="patientPrint.print_date>0">{{getTime(patientPrint.print_date)}}</span> 
1486
-                <span v-if="patientPrint.print_date<=0">{{getTime(patientPrint.created_time)}}</span> 
1485
+                <span v-if="patientPrint.print_date>0">{{getTime(patientPrint.print_date)}}</span>
1486
+                <span v-if="patientPrint.print_date<=0">{{getTime(patientPrint.created_time)}}</span>
1487 1487
               </div>
1488 1488
             </div>
1489 1489
           </div>
@@ -1728,6 +1728,7 @@ export default {
1728 1728
       ],
1729 1729
       operators:[],
1730 1730
       liuAddresslist:[],
1731
+      patientVascularAccessOne:{},
1731 1732
     };
1732 1733
   },
1733 1734
   computed: {
@@ -1822,6 +1823,7 @@ export default {
1822 1823
           if (response.data.state === 1) {
1823 1824
             this.$emit("tran-patient-info", response.data.data.patient);
1824 1825
             var patietInfo = response.data.data.patient;
1826
+            this.patientVascularAccessOne = response.data.data.patientVascularAccessOne
1825 1827
             console.log("触发了吗无222222", patietInfo);
1826 1828
             this.form.avatar = patietInfo.avatar;
1827 1829
             this.form.name = patietInfo.name;
@@ -2108,8 +2110,8 @@ export default {
2108 2110
               /\n/g,
2109 2111
               "<br/>"
2110 2112
             );
2111
-            
2112
-            
2113
+
2114
+
2113 2115
 
2114 2116
             this.patientPrint.sch_remark = patietInfo.sch_remark.replace(
2115 2117
               /\n/g,

+ 2 - 3
src/xt_pages/workforce/appointment.vue Visa fil

@@ -91,7 +91,7 @@
91 91
       </div>
92 92
     </div>
93 93
     <div>
94
-      
94
+
95 95
       <div class="app-container" style="padding: 0 20px 20px 20px;">
96 96
         <div>
97 97
           <div style="position: relative;height: 57px">
@@ -1216,7 +1216,7 @@ export default {
1216 1216
 
1217 1217
           })
1218 1218
           console.log("tablesit",this.tableList)
1219
-      
1219
+
1220 1220
           const filename = '排班模版'
1221 1221
 
1222 1222
           if (this.$store.getters.xt_user.org.id == 10234) {
@@ -5075,7 +5075,6 @@ export default {
5075 5075
           mode_name = this.mode[i].name
5076 5076
         }
5077 5077
       }
5078
-      console.log("mode_name--",mode_name)
5079 5078
       return mode_name
5080 5079
     }
5081 5080
   },