see999 3 lat temu
rodzic
commit
181a52289f

+ 1 - 1
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Wyświetl plik

@@ -2549,7 +2549,7 @@
2549 2549
       this.getSelfMedicalList()
2550 2550
     },mounted(){
2551 2551
       console.log("~~~~~")
2552
-      console.log(this.his_is_open)
2552
+      console.log(this.doctor_advices)
2553 2553
       console.log("~~~~~")
2554 2554
 
2555 2555
 

+ 1 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Wyświetl plik

@@ -1546,7 +1546,7 @@
1546 1546
       getAfterWeight(record) {
1547 1547
         if (record.id > 0) {
1548 1548
           if (record.weight_after > 0) {
1549
-            return record.weight_after - this.predialysis.additional_weight
1549
+            return parseFloat(record.weight_after - this.predialysis.additional_weight).toFixed(1)
1550 1550
           } else {
1551 1551
             return ''
1552 1552
           }

+ 7 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue Wyświetl plik

@@ -1,5 +1,5 @@
1 1
 <template>
2
-  <div id="dialysis-print-box-1" style="width:920px">
2
+  <div id="dialysis-print-box-1" style="width:940px">
3 3
     <div
4 4
       id="dialysis-print-box-1-1"
5 5
       class="dialysis-print-order print-template-two print_page_main_content"
@@ -39,9 +39,10 @@
39 39
           </div>
40 40
         </div>
41 41
         <div class="inline_block">
42
-          门诊:
43
-          <div class="under_line" style="width: 30px;text-align: center;">
44
-            <check-box :checked="receiverTreatmentAccess.condition == 2 ? true : false"></check-box>
42
+          <div class="under_line" style="width: 50px;text-align: center;">
43
+            <!-- <check-box :checked="receiverTreatmentAccess.condition == 2 ? true : false"></check-box> -->
44
+            <span v-if="receiverTreatmentAccess.condition == 2">门诊</span>
45
+            <span v-if="receiverTreatmentAccess.condition == 1">住院</span>
45 46
           </div>
46 47
         </div>
47 48
         <div class="inline_block">
@@ -583,7 +584,7 @@
583 584
                 <table class="inside_table">
584 585
                   <tbody>
585 586
                     <tr>
586
-                      <td colspan="9" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 0px 8px;line-height: 30px;">
587
+                      <td colspan="11" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 0px 8px;line-height: 30px;">
587 588
                         监测记录
588 589
                       </td>
589 590
                     </tr>
@@ -633,7 +634,7 @@
633 634
                       </td>
634 635
                     </tr>
635 636
                     <tr>
636
-                      <td colspan="10" style="line-height:25px;text-align:left;">
637
+                      <td colspan="11" style="line-height:25px;text-align:left;">
637 638
                         医师记录:{{ summary.special_record ? summary.special_record : '' }}
638 639
                       </td>
639 640
                     </tr>

+ 2 - 1
src/xt_pages/outpatientCharges/summary.vue Wyświetl plik

@@ -205,7 +205,8 @@
205 205
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
206 206
   import { getDoctorList, getExportConsumeDetailList, getHisOrderList, Refund } from '@/api/his/his'
207 207
   import { uParseTime } from '@/utils/tools'
208
-  import NewStatementPrint from './newStatementPrint'
208
+  // import NewStatementPrint from './newStatementPrint'
209
+  import NewStatementPrint from './statementPrint.vue'
209 210
   import listPrint from './listPrint'
210 211
   import allListPrint from './allListPrint'
211 212
   import NewStatementPrintTwo from './newStatementPrintTwo'

+ 30 - 1
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue Wyświetl plik

@@ -1474,7 +1474,23 @@
1474 1474
       }, changeAllGoodInfoTableDataTwo(row) {
1475 1475
         this.teamList = row
1476 1476
       },
1477
-      selectChange(row) {
1477
+      selectChange(selection, row) {
1478
+        console.log('row',row)
1479
+        if(row.total <= 0){
1480
+          if(row.type == 3){
1481
+            if (selection) {
1482
+              selection.forEach(row => {
1483
+                if(row.total <= 0){
1484
+                  this.$refs.tables.toggleRowSelection(row);
1485
+                }
1486
+              });
1487
+            } else {
1488
+              this.$refs.tables.clearSelection();
1489
+            }
1490
+            this.$message.error(row.project_name + '库存不足')
1491
+            return
1492
+          }
1493
+        }
1478 1494
         this.teamList = row
1479 1495
       }, getPrescriptionTemplateInfo() {
1480 1496
         let params = {
@@ -1640,6 +1656,7 @@
1640 1656
                 price: good_info[i].retail_price,
1641 1657
                 medical_code: good_info[i].medical_insurance_number,
1642 1658
                 unit: this.getGoodUnit(good_info[i].good_unit),
1659
+                total: good_info[i].total,
1643 1660
                 type: 3
1644 1661
               }
1645 1662
               this.tabProject.push(obj)
@@ -1715,6 +1732,7 @@
1715 1732
         getPojectListById(params).then(response => {
1716 1733
           if (response.data.state == 1) {
1717 1734
             this.teamList = []
1735
+            let num = 0
1718 1736
             var project = response.data.data.project
1719 1737
             for (let i = 0; i < project.length; i++) {
1720 1738
               if (project[i].type == 2) {
@@ -1740,6 +1758,17 @@
1740 1758
 
1741 1759
                 this.teamList.push(obj)
1742 1760
               } else if (project[i].type == 3) {
1761
+                if(project[i].good_info.total <= 0){
1762
+                  num++
1763
+                  this.$refs.tabProjectTeam.toggleRowSelection(row);
1764
+                  setTimeout(() => {
1765
+                    this.$message.error(project[i].good_info.good_name + '库存不足')
1766
+                  },100)
1767
+                }
1768
+                if(num > 0){
1769
+                  this.$refs.tabProjectTeam.clearSelection();
1770
+                }
1771
+
1743 1772
                 let obj = {
1744 1773
                   id: project[i].project_id,
1745 1774
                   project_name: project[i].good_info.good_name,