Browse Source

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

XMLWAN 2 years ago
parent
commit
c80dc09a84

+ 5 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_fortyThree.vue View File

@@ -346,7 +346,7 @@
346 346
                             </span>
347 347
                         </td>
348 348
                         <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}</span></td>
349
-                        <td>&nbsp;<span v-if="monitor.operate_time && org_id!=10215" >{{ monitor.ktv ? monitor.ktv : "/" }}</span></td>
349
+                        <td v-if="org_id!=10215">&nbsp;<span v-if="monitor.operate_time" >{{ monitor.ktv ? monitor.ktv : "/" }}</span></td>
350 350
                         <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "/" }}</span></td>
351 351
                         <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.venous_pressure ? monitor.venous_pressure : "/" }}</span></td>
352 352
                         <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.arterial_pressure ? monitor.arterial_pressure : "/" }}</span></td>
@@ -357,7 +357,7 @@
357 357
                         <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "/" }}</span></td>
358 358
 <!--                        <td v-if="record.prescription.mode_id == 2">&nbsp;<span v-if="monitor.operate_time">{{ monitor.replacement_rate ? monitor.replacement_rate : '/'}}</span></td>-->
359 359
 <!--                        <td v-if="record.prescription.mode_id == 2">&nbsp;<span v-if="monitor.operate_time">{{ monitor.displacement_quantity ? monitor.displacement_quantity : "/" }}</span></td>-->
360
-                        <td>&nbsp;<span v-if="monitor.operate_time && org_id!=10215">{{ monitor.accumulated_blood_volume ? monitor.accumulated_blood_volume : "/" }}</span></td>
360
+                        <td v-if="org_id!=10215">&nbsp;<span v-if="monitor.operate_time">{{ monitor.accumulated_blood_volume ? monitor.accumulated_blood_volume : "/" }}</span></td>
361 361
                         <td style="text-align:left;padding-left:10px;">
362 362
                             <div style="line-height:20px;text-align: left;display: inline-block;">
363 363
                                 &nbsp;{{ monitor.symptom }}{{ monitor.dispose }}{{ monitor.result }}
@@ -654,7 +654,8 @@ export default {
654 654
         "出血",
655 655
         "心衰",
656 656
         "腹痛"
657
-      ]
657
+      ],
658
+      org_id: "",
658 659
     };
659 660
   },
660 661
   created() {
@@ -666,7 +667,7 @@ export default {
666 667
     this.precaution_arr = getDataConfig("hemodialysis", "precaution");
667 668
     this.intake_arr = getDataConfig("hemodialysis", "intake");
668 669
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
669
-
670
+    this.org_id = this.$store.getters.xt_user.org.id;
670 671
     var xtuser = this.$store.getters.xt_user;
671 672
     this.orgname = xtuser.org.org_name;
672 673
     //   this.orgname = "遂溪方济医院";

+ 99 - 90
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -1539,104 +1539,113 @@
1539 1539
                           <td style="font-size: 16px" width="10%">时间</td>
1540 1540
                         </tr>
1541 1541
                         <!-- <template v-for="group in doctor_advices" > -->
1542
-                          
1543
-                        <template v-if="record.his_advices">
1544
-                          <tr
1545
-                          v-for="(advice, advice_index) in record.his_advices"
1546
-                          :key="advice_index"
1547
-                        >
1548
-                          <td height="35px">
1549
-                            <span v-if="advice.start_time">
1550
-                              {{ getTime(advice.start_time, "{h}:{i}") }}
1551
-                            </span>
1552
-                          </td>
1553 1542
 
1554
-                          <td
1555
-                            height="35px"
1556
-                            colspan="2"
1557
-                            class="advice-name"
1558
-                            style="padding-left: 7px"
1543
+                        <template v-if="record.advices">
1544
+                          <tr
1545
+                            v-for="(advice, advice_index) in record.advices"
1546
+                            :key="advice_index"
1559 1547
                           >
1560
-                            <span v-if="advice.parent_id > 0">---></span>
1561
-                            <span>{{ advice.advice_name }}</span>
1548
+                            <td height="35px">
1549
+                              <span v-if="advice[0].start_time">
1550
+                                {{ getTime(advice[0].start_time, "{h}:{i}") }}
1551
+                              </span>
1552
+                            </td>
1562 1553
 
1563
-                            <span
1564
-                              v-if="
1565
-                                advice[advice_index] &&
1566
-                                advice.advice_desc != undefined
1567
-                              "
1554
+                            <td
1555
+                              height="35px"
1556
+                              colspan="2"
1557
+                              class="advice-name"
1558
+                              style="padding-left: 7px"
1568 1559
                             >
1569
-                              ({{ advice.advice_desc
1570
-                              }}{{ advice.drug_spec_unit }} )
1571
-                            </span>
1560
+                              <span v-if="advice[0].parent_id > 0">---></span>
1561
+                              <span>{{ advice[0].advice_name }}</span>
1572 1562
 
1573
-                            <span v-if="advice.prescribing_number"
1574
-                              >&nbsp;&nbsp; {{ advice.prescribing_number
1575
-                              }}{{ advice.prescribing_number_unit }}</span
1576
-                            >
1577
-                            <span v-if="advice.single_dose != 0">
1578
-                              {{ advice.single_dose
1579
-                              }}{{ advice.single_dose_unit }}</span
1580
-                            >
1563
+                              <span
1564
+                                v-if="
1565
+                                  advice[0] &&
1566
+                                  advice[0].advice_desc != undefined
1567
+                                "
1568
+                              >
1569
+                                ({{ advice[0].advice_desc
1570
+                                }}{{ advice[0].drug_spec_unit }} )
1571
+                              </span>
1581 1572
 
1582
-                            <span v-if="advice.parent_id == 0">{{
1583
-                              advice.delivery_way
1584
-                            }}</span>
1585
-                            <span v-if="advice.parent_id == 0">{{
1586
-                              advice.execution_frequency
1587
-                            }}</span>
1588
-                            <span
1589
-                              v-if="
1590
-                                advice.parent_id == 0 &&
1591
-                                advice.remark.length > 0
1592
-                              "
1593
-                              >({{ advice.remark }})</span
1594
-                            >
1595
-                          </td>
1573
+                              <span v-if="advice[0].prescribing_number"
1574
+                                >&nbsp;&nbsp; {{ advice[0].prescribing_number
1575
+                                }}{{ advice[0].prescribing_number_unit }}</span
1576
+                              >
1577
+                              <span v-if="advice[0].single_dose != 0">
1578
+                                {{ advice[0].single_dose
1579
+                                }}{{ advice[0].single_dose_unit }}</span
1580
+                              >
1596 1581
 
1597
-                          <td height="35px">
1598
-                            <span
1599
-                              v-if="
1600
-                                setAdminUserES(advice, 'advice_doctor') == ''
1601
-                              "
1602
-                              >{{ getAdminUser(advice, "advice_doctor") }}</span
1603
-                            >
1604
-                            <img
1605
-                              class="es-img"
1606
-                              :src="setAdminUserES(advice, 'advice_doctor')"
1607
-                              alt=""
1608
-                              srcset=""
1609
-                              v-else
1610
-                              style="height: 40px"
1611
-                            />
1612
-                          </td>
1582
+                              <span v-if="advice[0].parent_id == 0">{{
1583
+                                advice[0].delivery_way
1584
+                              }}</span>
1585
+                              <span v-if="advice[0].parent_id == 0">{{
1586
+                                advice[0].execution_frequency
1587
+                              }}</span>
1588
+                              <span
1589
+                                v-if="
1590
+                                  advice[0].parent_id == 0 &&
1591
+                                  advice[0].remark.length > 0
1592
+                                "
1593
+                                >({{ advice[0].remark }})</span
1594
+                              >
1595
+                            </td>
1613 1596
 
1614
-                          <td height="35px">
1615
-                            <span
1616
-                              v-if="
1617
-                                setAdminUserES(advice, 'execution_staff') == ''
1618
-                              "
1619
-                              >{{
1620
-                                getAdminUser(advice, "execution_staff")
1621
-                              }}</span
1622
-                            >
1623
-                            <img
1624
-                              class="es-img"
1625
-                              :src="setAdminUserES(advice, 'execution_staff')"
1626
-                              alt=""
1627
-                              srcset=""
1628
-                              v-else
1629
-                              style="height: 40px"
1630
-                            />
1631
-                          </td>
1632
-                          <td height="35px">
1633
-                            <span v-if="advice.execution_time">{{
1634
-                              getTime(advice.execution_time, " {h}:{i}")
1635
-                            }}</span>
1636
-                          </td>
1637
-                        </tr>
1597
+                            <td height="35px">
1598
+                              <span
1599
+                                v-if="
1600
+                                  setAdminUserES(advice[0], 'advice_doctor') ==
1601
+                                  ''
1602
+                                "
1603
+                                >{{
1604
+                                  getAdminUser(advice[0], "advice_doctor")
1605
+                                }}</span
1606
+                              >
1607
+                              <img
1608
+                                class="es-img"
1609
+                                :src="
1610
+                                  setAdminUserES(advice[0], 'advice_doctor')
1611
+                                "
1612
+                                alt=""
1613
+                                srcset=""
1614
+                                v-else
1615
+                                style="height: 40px"
1616
+                              />
1617
+                            </td>
1618
+
1619
+                            <td height="35px">
1620
+                              <span
1621
+                                v-if="
1622
+                                  setAdminUserES(
1623
+                                    advice[0],
1624
+                                    'execution_staff'
1625
+                                  ) == ''
1626
+                                "
1627
+                                >{{
1628
+                                  getAdminUser(advice[0], "execution_staff")
1629
+                                }}</span
1630
+                              >
1631
+                              <img
1632
+                                class="es-img"
1633
+                                :src="
1634
+                                  setAdminUserES(advice[0], 'execution_staff')
1635
+                                "
1636
+                                alt=""
1637
+                                srcset=""
1638
+                                v-else
1639
+                                style="height: 40px"
1640
+                              />
1641
+                            </td>
1642
+                            <td height="35px">
1643
+                              <span v-if="advice[0].execution_time">{{
1644
+                                getTime(advice[0].execution_time, " {h}:{i}")
1645
+                              }}</span>
1646
+                            </td>
1647
+                          </tr>
1638 1648
                         </template>
1639
-                        
1640 1649
                       </tbody>
1641 1650
                     </table>
1642 1651
                   </td>
@@ -2874,7 +2883,7 @@ export default {
2874 2883
               this.records[recordIndex].advices.push(item);
2875 2884
             }
2876 2885
           }
2877
-          console.log(this.records,'this.records')
2886
+          console.log(this.records, "this.records");
2878 2887
           // this.records.forEach(o => {
2879 2888
           //   console.log(o,'jj')
2880 2889
           //   this.blood_access_part_opera_name = this.bloodAccessParOperaName(

+ 5 - 0
src/xt_pages/stock/drugs/components/drugQuery.vue View File

@@ -94,6 +94,11 @@
94 94
                 {{getManufacturName(scope.row.manufacturer)}}
95 95
               </template>
96 96
             </el-table-column>
97
+            <el-table-column label="批准文号" align="center">
98
+              <template slot-scope="scope">
99
+                {{scope.row.medical_insurance_number}}
100
+              </template>
101
+            </el-table-column>
97 102
             <el-table-column label="国家编码" align="center">
98 103
               <template slot-scope="scope">
99 104
                 {{scope.row.medical_insurance_number}}

+ 7 - 4
src/xt_pages/stock/drugs/components/drugQueryPrint.vue View File

@@ -34,16 +34,17 @@
34 34
                   <td width="5%">序号</td>
35 35
                   <td width="6%">药品类型</td>
36 36
                   <td width="10%">药品名称</td>
37
-                  <td width="10%">规格&单位</td>
38
-                  <td width="15%">生产厂商</td>
39
-                  <td width="9%">国家编码</td>
37
+                  <td width="9%">规格&单位</td>
38
+                  <td width="13%">生产厂商</td>
39
+                  <td width="10%">批准文号</td>
40
+                  <td width="6%">国家编码</td>
40 41
                   <td width="6%">仓库名称</td>
41 42
                   <td width="6%">入库数量</td>
42 43
                   <td width="6%">出库数量</td>
43 44
                   <td width="6%">退库数量</td>
44 45
                   <td width="6%">实际出库</td>
45 46
                   <td width="6%">剩余库存</td>
46
-                  <td width="6%">总库存量</td>
47
+                  <td width="9%">总库存量</td>
47 48
                 </tr>
48 49
               </thead>
49 50
               <tbody>
@@ -58,6 +59,8 @@
58 59
                   <td>
59 60
                     {{ getManufacturName(item.manufacturer) }}
60 61
                   </td>
62
+                  <!-- 批准文号 -->
63
+                   <td ></td>
61 64
                   <td >{{ item.medical_insurance_number }}</td>
62 65
                   <!-- 仓库名称   -->
63 66
                   <td style="padding: 0;text-align:center;">

+ 5 - 0
src/xt_pages/stock/query/goodNewQuery.vue View File

@@ -68,6 +68,11 @@
68 68
                   {{getManufacturName(scope.row.manufacturer)}}
69 69
               </template>
70 70
             </el-table-column>
71
+            <el-table-column label="批准文号" align="center">
72
+              <template slot-scope="scope">
73
+                  {{getManufacturName(scope.row.manufacturer)}}
74
+              </template>
75
+            </el-table-column>
71 76
             <el-table-column label="国家编码" align="center">
72 77
               <template slot-scope="scope">
73 78
                 {{scope.row.social_security_directory_code}}

+ 5 - 0
src/xt_pages/stock/query/goodNewQueryPrint.vue View File

@@ -37,6 +37,7 @@
37 37
                   <td width="10%">耗材名称</td>
38 38
                   <td width="10%">规格&单位</td>
39 39
                   <td width="15%">生产厂商</td>
40
+                  <td width="9%">批准文号</td>
40 41
                   <td width="9%">国家编码</td>
41 42
                   <td width="6%">仓库名称</td>
42 43
                   <td width="6%">入库数量</td>
@@ -60,6 +61,10 @@
60 61
                     {{ item.specification_name }}/{{ item.packing_unit }}
61 62
                   </td>
62 63
                   <!--  生产厂商-->
64
+                  <td>
65
+                    {{ getManufacturName(item.manufacturer) }}
66
+                  </td>
67
+                   <!--  批准文号-->
63 68
                   <td>
64 69
                     {{ getManufacturName(item.manufacturer) }}
65 70
                   </td>