huangyw 2 years ago
parent
commit
78ed05b71f

+ 9 - 1
src/router/modules/hisTool.js View File

@@ -51,7 +51,7 @@ export default {
51 51
     }, {
52 52
       path: '/hisTool/summary',
53 53
       component: () => import('@/xt_pages/outpatientTool/summary'),
54
-      name: 'outpatientSickRecord',
54
+      name: 'summary_tool',
55 55
       meta: { title: 'summary_tool', noCache: true }
56 56
     },
57 57
     {
@@ -99,6 +99,14 @@ export default {
99 99
       hidden: true,
100 100
       is_menu: false,
101 101
       meta: { title: 'gatherPrint', noCache: true }
102
+    },
103
+    {
104
+      path: '/hisTool/gatherPrintInvoice',
105
+      component: () => import('@/xt_pages/outpatientTool/gatherPrintInvoice'),
106
+      name: 'gatherPrint',
107
+      hidden: true,
108
+      is_menu: false,
109
+      meta: { title: 'gatherPrint', noCache: true }
102 110
     }
103 111
   ]
104 112
 }

+ 0 - 3
src/xt_pages/DepositManagement/Template/RechargeDetails.vue View File

@@ -164,8 +164,6 @@ export default {
164 164
 
165 165
     // 查询操作
166 166
     search() {
167
-      // alert("gagaga")
168
-      console.log("value1",this.value1)
169 167
       if (this.value1 != null){
170 168
         if(this.value1[0] != undefined && this.value1[1] != undefined){
171 169
           this.start_time = this.value1[0]
@@ -180,7 +178,6 @@ export default {
180 178
         start_time: this.start_time,
181 179
         end_time: this.end_time,
182 180
       };
183
-      console.log("params",params)
184 181
       rechargedetails(params).then((res) => {
185 182
         if (res.data.state == 1){
186 183
           this.tableData = res.data.data.list;

+ 1 - 0
src/xt_pages/DepositManagement/print/printindex.vue View File

@@ -47,6 +47,7 @@
47 47
   </div>
48 48
 </template>
49 49
 <script>
50
+import print from "print-js";
50 51
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
51 52
 import {
52 53
   getorgname

+ 25 - 97
src/xt_pages/dialysis/template/DialysisPrintOrderFortyTwo.vue View File

@@ -86,10 +86,9 @@
86 86
 
87 87
                       <td></td>
88 88
                       <td width="50">意识:</td>
89
-                      <td width="230">
89
+                      <td width="250" style="white-space: nowrap;">
90 90
                         <div>
91 91
                           <label-box v-for="(item, index) in consciousness_arr" :key="index" :isChecked="receiverTreatmentAccess.consciousness == item.id ? true : false" :showValue="item.name"></label-box>
92
-
93 92
                           <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==1?true:false'-->
94 93
                           <!--showValue='清醒'></label-box>-->
95 94
                           <!--&nbsp;-->
@@ -103,13 +102,13 @@
103 102
                         </div>
104 103
                       </td>
105 104
                       <td></td>
106
-                      <td width="50">体温:</td>
105
+                      <!-- <td width="50">体温:</td>
107 106
                       <td width="100">
108 107
                         <div class="under-line">
109 108
                           &nbsp;{{ predialysis.temperature ? predialysis.temperature : "" }}
110 109
                         </div>
111
-                      </td>
112
-                      <td width="35">℃</td>
110
+                      </td> -->
111
+                      <!-- <td width="35">℃</td> -->
113 112
                     </tr>
114 113
                   </tbody>
115 114
                 </table>
@@ -490,14 +489,15 @@
490 489
                       <td width="50">
491 490
                         <label-box :isChecked="prescription.mode_id == 2 ? true : false" showValue="HDF"></label-box>
492 491
                       </td>
493
-                      <td width="50">
494
-                        <label-box :isChecked="prescription.mode_id == 5 ? true : false" showValue="HF"></label-box>
492
+                      <td width="60">
493
+                        <label-box :isChecked="prescription.mode_id == 8 ? true : false" showValue="I-HDF"></label-box>
495 494
                       </td>
496 495
                       <td width="50">
497
-                        <label-box :isChecked="prescription.mode_id == 4 ? true : false" showValue="HP"></label-box>
496
+                        <label-box :isChecked="prescription.mode_id == 24 ? true : false" showValue="HP"></label-box>
497
+                        <!-- <label-box :isChecked="prescription.mode_id == 4 ? true : false" showValue="HP"></label-box> -->
498 498
                       </td>
499
-                      <td width="80">
500
-                        <label-box :isChecked="prescription.mode_id == 3 ? true : false" showValue="HD+HP"></label-box>
499
+                      <td width="90">
500
+                        <label-box :isChecked="prescription.mode_id == 9 ? true : false" showValue="HFHD+HP"></label-box>
501 501
                       </td>
502 502
 
503 503
                       <td width="35">其他</td>
@@ -573,7 +573,7 @@
573 573
               <td width="40">呼吸<br />次/分</td>
574 574
               <td width="60">血流量<br />ml/min</td>
575 575
               <td width="60">超滤量<br />L</td>
576
-              <td width="60">置换量<br />L</td>
576
+              <!-- <td width="60">置换量<br />L</td> -->
577 577
               <td width="60">静脉压<br />mmHg</td>
578 578
               <td width="60">跨膜压<br />mmHg</td>
579 579
               <td width="60" v-if="org_id == 9987">ktv</td>
@@ -614,12 +614,12 @@
614 614
               <td v-else>
615 615
                 &nbsp;{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
616 616
               </td>
617
-              <td v-if="isShowZero && monitor.operate_time">
617
+              <!-- <td v-if="isShowZero && monitor.operate_time">
618 618
                 &nbsp;{{ monitor.displacement_quantity ? monitor.displacement_quantity : 0 }}
619 619
               </td>
620 620
               <td v-else>
621 621
                 &nbsp;{{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }}
622
-              </td>
622
+              </td> -->
623 623
               <td>
624 624
                 &nbsp;{{ monitor.venous_pressure ? monitor.venous_pressure : "" }}
625 625
               </td>
@@ -717,7 +717,7 @@
717 717
                   </tbody>
718 718
                 </table>
719 719
 
720
-                <table class="table-box">
720
+                <!-- <table class="table-box">
721 721
                   <tbody>
722 722
                     <tr>
723 723
                       <td width="55">并发症:</td>
@@ -738,7 +738,7 @@
738 738
                       <td></td>
739 739
                     </tr>
740 740
                   </tbody>
741
-                </table>
741
+                </table> -->
742 742
 
743 743
                 
744 744
                 <!--<table class="table-box">-->
@@ -751,7 +751,7 @@
751 751
                 <!--</tbody>-->
752 752
                 <!--</table>-->
753 753
 
754
-                <table class="table-box">
754
+                <!-- <table class="table-box">
755 755
                   <tbody>
756 756
                     <tr>
757 757
                       <td width="70">患者去向:</td>
@@ -775,9 +775,9 @@
775 775
                       </td>
776 776
                     </tr>
777 777
                   </tbody>
778
-                </table>
778
+                </table> -->
779 779
 
780
-                <table class="table-box">
780
+                <!-- <table class="table-box">
781 781
                   <tbody>
782 782
                     <tr>
783 783
                       <td width="530">
@@ -794,7 +794,7 @@
794 794
                       </td>
795 795
                     </tr>
796 796
                   </tbody>
797
-                </table>
797
+                </table> -->
798 798
 
799 799
                 <table class="table-box">
800 800
                   <tbody>
@@ -835,13 +835,13 @@
835 835
               <td width="80px">执行<br />护士</td>
836 836
               <td width="55px">执行<br />时间</td>
837 837
               <td width="75px">核对<br />护士</td>
838
-              <td width="10px"></td>
838
+              <!-- <td width="10px"></td>
839 839
               <td width="40px">时间</td>
840 840
               <td width="120px">医嘱<br />内容</td>
841 841
               <td width="80px">医生<br />签名</td>
842 842
               <td width="80px">执行<br />护士</td>
843 843
               <td width="55px">执行<br />时间</td>
844
-              <td width="75px">核对<br />护士</td>
844
+              <td width="75px">核对<br />护士</td> -->
845 845
             </tr>
846 846
             <tr v-for="(advice, index) in advices" :key="index">
847 847
               <td height="10px">
@@ -884,6 +884,7 @@
884 884
                 <span v-if="setAdminUserES(advice[0].execution_staff) == ''">{{ getAdminUser(advice[0].execution_staff) }}</span>
885 885
                 <img class="es-img" :src="setAdminUserES(advice[0].execution_staff)" alt="" srcset="" v-else />
886 886
               </td>
887
+
887 888
               <td>
888 889
                 <span v-if="advice[0].execution_time">
889 890
                   <!--{{advice[0].execution_time| parseTime('{y}-{m}-{d} {h}:{i}:{s}')}}-->
@@ -897,81 +898,7 @@
897 898
                 <span v-if="setAdminUserES(advice[0].checker) == ''">{{ getAdminUser(advice[0].checker) }}</span>
898 899
                 <img class="es-img" :src="setAdminUserES(advice[0].checker)" alt="" srcset="" v-else />
899 900
               </td>
900
-              <td></td>
901
-              <td v-if="advice[1] != undefined">
902
-                <span v-if="advice[1].start_time">
903
-                  <!-- {{advice[1].start_time | parseTime('{y}-{m}-{d} {h}:{i}')}} -->
904
-                  {{ getTime(advice[1].start_time, "{h}:{i}") }}
905
-                </span>
906
-              </td>
907
-              <td v-else>
908
-                <span></span>
909
-              </td>
910
-              <td class="advice-name" v-if="advice[1] != undefined">
911
-                <span>{{ advice[1].advice_name }}</span>
912
-                <span>{{ advice[1].advice_desc }}{{ advice[1].drug_spec_unit }}</span>
913
-                <!-- <span v-if="advice[1].drug_spec">{{advice[1].drug_spec}}{{advice[1].drug_spec_unit}}</span> -->
914
-                <span v-if="advice[1].prescribing_number">* {{ advice[1].prescribing_number }}{{ advice[1].prescribing_number_unit }}</span>
915
-                <span v-if="advice[1].single_dose != 0">单次用量 {{ advice[1].single_dose }}{{ advice[1].single_dose_unit }}</span>
916
-                <span>{{ advice[1].delivery_way }}</span>
917
-                <span>{{ advice[1].execution_frequency }}</span>
918
-
919
-                <div v-for="(child, childindex) in advice[1].children" :key="childindex" class="advice-children">
920
-                  <div>▲</div>
921
-                  <div>
922
-                    <span>{{ child.advice_name }}</span>
923
-                    <span>{{ child.advice_desc }}</span>
924
-                    <span v-if="child.advice_desc">{{ child.advice_desc }}{{ child.drug_spec_unit }}</span>
925
-                    <span v-if="child.prescribing_number">* {{ child.prescribing_number }}{{ child.prescribing_number_unit }}</span>
926
-                    <span v-if="child.single_dose != 0">单次用量 {{ child.single_dose }}{{ child.single_dose_unit }}</span>
927
-                  </div>
928
-                </div>
929
-              </td>
930
-              <td v-else>
931
-                <span></span>
932
-              </td>
933
-              <td v-if="advice[1] != undefined">
934
-                <!--<img class="es-img" :src="setAdminUserES(advice[1].advice_doctor)" alt="" srcset=""-->
935
-                <!--v-show="advice[1].advice_doctor>0"></td>-->
936
-
937
-                <span v-if="setAdminUserES(advice[1].advice_doctor) == ''">{{ getAdminUser(advice[1].advice_doctor) }}</span>
938
-                <img class="es-img" :src="setAdminUserES(advice[1].advice_doctor)" alt="" srcset="" v-else />
939
-              </td>
940
-
941
-              <td v-else>
942
-                <span></span>
943
-              </td>
944
-
945
-              <td v-if="advice[1] != undefined">
946
-                <!--<img class="es-img" :src="setAdminUserES(advice[1].execution_staff)" alt="" srcset=""-->
947
-                <!--v-show="advice[1].execution_staff>0">-->
948
-
949
-                <span v-if="setAdminUserES(advice[1].execution_staff) == ''">{{ getAdminUser(advice[1].execution_staff) }}</span>
950
-                <img class="es-img" :src="setAdminUserES(advice[1].execution_staff)" alt="" srcset="" v-else />
951
-              </td>
952
-              <!--<td><span v-if="advice[1].execution_time">{{advice[1].execution_time| parseTime('{y}-{m}-{d} {h}:{i}:{s}')}}</span>-->
953
-              <!--</td>-->
954
-              <td v-else>
955
-                <span></span>
956
-              </td>
957
-
958
-              <td v-if="advice[1] != undefined">
959
-                <span v-if="advice[1].execution_time">{{ getTime(advice[1].execution_time, "{h}:{i}") }}</span>
960
-              </td>
961
-              <td v-else>
962
-                <span></span>
963
-              </td>
964
-
965
-              <td v-if="advice[1] != undefined">
966
-                <!--<img class="es-img" :src="setAdminUserES(advice[1].checker)" alt="" srcset=""-->
967
-                <!--v-show="advice[1].checker>0">-->
968
-                <!--<span v-show="advice[1].checker>0">setAdminUserES(advice[1].checker)</span>-->
969
-                <span v-if="setAdminUserES(advice[1].checker) == ''">{{ getAdminUser(advice[1].checker) }}</span>
970
-                <img class="es-img" :src="setAdminUserES(advice[1].checker)" alt="" srcset="" v-else />
971
-              </td>
972
-              <td v-else>
973
-                <span></span>
974
-              </td>
901
+              
975 902
             </tr>
976 903
 
977 904
             <!-- 使整个表有5行以上 -->
@@ -998,7 +925,7 @@
998 925
                   
999 926
                     <tr>
1000 927
                       <!-- <td width="70">其他记录:</td> -->
1001
-                      <td width="70">透析小结:</td>
928
+                      <td width="85">透析小结:</td>
1002 929
                       <td width="">
1003 930
                         <div style="width: 95%;line-height: 25px;text-align: left;margin-left: 2px;text-underline-position: under; text-decoration: underline;">
1004 931
                           {{ summary.dialysis_summary }}
@@ -1763,6 +1690,7 @@ export default {
1763 1690
     this.orgname = xtuser.org.org_name
1764 1691
     // this.orgname = "遂溪方济医院";
1765 1692
     this.modeOptions = this.$store.getters.treatment_mode
1693
+    console.log(this.modeOptions,'this.modeOptions')
1766 1694
     this.replacementWays = this.$store.getters.replacement_ways
1767 1695
     this.perfusionApparatus = this.$store.getters.perfusion_apparatus
1768 1696
     this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit

+ 2 - 2
src/xt_pages/hospitalStation/invoicePrint.vue View File

@@ -19,9 +19,9 @@
19 19
           "
20 20
           :paramsObj="invoiceParams"
21 21
         ></printOne>
22
-        <printTwo v-if="org_id == 10215  || org_id == 0 " :paramsObj="invoiceParams"></printTwo>
22
+        <printTwo v-if="org_id == 10215" :paramsObj="invoiceParams"></printTwo>
23 23
         <printThree
24
-          v-if="org_id == 10265|| org_id == 4 || org_id == 9675"
24
+          v-if="org_id == 10265 || org_id == 4 || org_id == 9675|| org_id == 0"
25 25
           :paramsObj="invoiceParams"
26 26
         ></printThree>
27 27
       </div>

+ 2 - 2
src/xt_pages/hospitalStation/invoiceTemplate/printOne.vue View File

@@ -85,12 +85,12 @@
85 85
             </span>
86 86
             <span style="position: absolute;top:260px;left:340px">
87 87
                 <span v-if="zhongwen.indexOf('拾') > -1">
88
-                    {{ zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
88
+                    {{zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) == '佰' ||  !zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾'))? '壹' : zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
89 89
                 </span>
90 90
                 <span v-else>零</span>
91 91
             </span>
92 92
             <span  style="position: absolute;top:260px;left:380px">
93
-                <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) != '拾'">
93
+                <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(this.zhongwen.indexOf('元') - 1).substring(0,1)!= '拾'">
94 94
                     {{ zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) }}
95 95
                 </span>
96 96
                 <span v-else>零</span>

+ 2 - 2
src/xt_pages/hospitalStation/shouJuTemplate/shouJuPrintOne.vue View File

@@ -110,12 +110,12 @@
110 110
             </span>
111 111
             <span style="position: absolute;top:280px;left:340px">
112 112
                 <span v-if="zhongwen.indexOf('拾') > -1">
113
-                    {{ zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
113
+                    {{zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) == '佰' ||  !zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾'))? '壹' : zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
114 114
                 </span>
115 115
                 <span v-else>零</span>
116 116
             </span>
117 117
             <span  style="position: absolute;top:280px;left:380px">
118
-                <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) != '拾'">
118
+                <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(this.zhongwen.indexOf('元') - 1).substring(0,1)!= '拾'">
119 119
                     {{ zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) }}
120 120
                 </span>
121 121
                 <span v-else>零</span>

+ 2 - 2
src/xt_pages/outpatientCharges/invoicePrint.vue View File

@@ -17,10 +17,10 @@
17 17
             <printOne v-if="org_id != 10088 " :paramsObj="invoiceParams"></printOne>
18 18
             <printThree v-if="org_id == 10088" :paramsObj="invoiceParams"></printThree>
19 19
           </div>
20
-          <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
20
+          <printTwo v-if="org_id == 10106|| org_id == 0" :paramsObj="invoiceParams"></printTwo>
21 21
           <printFour v-if="org_id == 10215 || org_id == 4" :paramsObj="invoiceParams"></printFour>
22 22
           <printFive v-if="org_id == 10188 " :paramsObj="invoiceParams"></printFive>
23
-          <printSix v-if="org_id == 10217|| org_id == 0" :paramsObj="invoiceParams"></printSix>
23
+          <printSix v-if="org_id == 10217" :paramsObj="invoiceParams"></printSix>
24 24
           
25 25
         </div>
26 26
     </div>

+ 2 - 2
src/xt_pages/outpatientCharges/invoiceTemplate/printFour.vue View File

@@ -107,12 +107,12 @@
107 107
             </span>
108 108
             <span style="position: absolute;top:235px;left:320px">
109 109
                 <span v-if="zhongwen.indexOf('拾') > -1">
110
-                    {{ zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
110
+                    {{zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) == '佰' ||  !zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾'))? '壹' : zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
111 111
                 </span>
112 112
                 <span v-else>零</span>
113 113
             </span>
114 114
             <span  style="position: absolute;top:235px;left:350px">
115
-                <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) != '拾'">
115
+                <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(this.zhongwen.indexOf('元') - 1).substring(0,1)!= '拾'">
116 116
                     {{ zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) }}
117 117
                 </span>
118 118
                 <span v-else>零</span>

+ 2 - 2
src/xt_pages/outpatientCharges/invoiceTemplate/printOne.vue View File

@@ -85,12 +85,12 @@
85 85
             </span>
86 86
             <span style="position: absolute;top:260px;left:340px">
87 87
                 <span v-if="zhongwen.indexOf('拾') > -1">
88
-                    {{ zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
88
+                    {{zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) == '佰' ||  !zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾'))? '壹' : zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
89 89
                 </span>
90 90
                 <span v-else>零</span>
91 91
             </span>
92 92
             <span  style="position: absolute;top:260px;left:380px">
93
-                <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) != '拾'">
93
+                <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(this.zhongwen.indexOf('元') - 1).substring(0,1)!= '拾'">
94 94
                     {{ zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) }}
95 95
                 </span>
96 96
                 <span v-else>零</span>

+ 2 - 2
src/xt_pages/outpatientCharges/invoiceTemplate/printSeven.vue View File

@@ -85,12 +85,12 @@
85 85
             </span>
86 86
             <span style="position: absolute;top:260px;left:340px">
87 87
                 <span v-if="zhongwen.indexOf('拾') > -1">
88
-                    {{ zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
88
+                    {{zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) == '佰' ||  !zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾'))? '壹' : zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
89 89
                 </span>
90 90
                 <span v-else>零</span>
91 91
             </span>
92 92
             <span  style="position: absolute;top:260px;left:380px">
93
-                <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) != '拾'">
93
+                <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(this.zhongwen.indexOf('元') - 1).substring(0,1)!= '拾'">
94 94
                     {{ zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) }}
95 95
                 </span>
96 96
                 <span v-else>零</span>

+ 2 - 2
src/xt_pages/outpatientCharges/invoiceTemplate/printTwo.vue View File

@@ -79,12 +79,12 @@
79 79
             </span>
80 80
             <span style="position: absolute;top:250px;left:380px">
81 81
                 <span v-if="zhongwen.indexOf('拾') > -1">
82
-                    {{ zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
82
+                    {{zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) == '佰' ||  !zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾'))? '壹' : zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
83 83
                 </span>
84 84
                 <span v-else>零</span>
85 85
             </span>
86 86
             <span style="position: absolute;top:250px;left:440px">
87
-                <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) != '拾'">
87
+                <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(this.zhongwen.indexOf('元') - 1).substring(0,1)!= '拾'">
88 88
                     {{ zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) }}
89 89
                 </span>
90 90
                 <span v-else>零</span>

+ 1 - 0
src/xt_pages/outpatientCharges/labelPrinting.vue View File

@@ -54,6 +54,7 @@
54 54
 <script>
55 55
 import BreadCrumb from '@/xt_pages/components/bread-crumb'
56 56
 export default {
57
+    name:'OutpatientChargesLabelPrinting',
57 58
     components:{
58 59
         BreadCrumb,
59 60
     },