瀏覽代碼

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

杨青 1 年之前
父節點
當前提交
5ad76a0938
共有 28 個文件被更改,包括 837 次插入283 次删除
  1. 24 3
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  2. 202 183
      src/xt_pages/dialysis/batch_print/batch_print_order_twentySeven.vue
  3. 2 2
      src/xt_pages/dialysis/details/DialysisPrescription.vue
  4. 2 2
      src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue
  5. 2 2
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  6. 1 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue
  7. 9 4
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  8. 5 4
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue
  9. 7 38
      src/xt_pages/dialysis/template/DialysisPrintOrdersixtySeven.vue
  10. 9 1
      src/xt_pages/hospitalStation/statementPrint.vue
  11. 378 0
      src/xt_pages/hospitalStation/statementTemplate/printTen.vue
  12. 7 7
      src/xt_pages/outpatientCharges/components/chargeDialog.vue
  13. 35 4
      src/xt_pages/outpatientCharges/statementPrint.vue
  14. 1 1
      src/xt_pages/outpatientDoctorStation/print.vue
  15. 1 1
      src/xt_pages/outpatientDoctorStation/template/printOne.vue
  16. 3 1
      src/xt_pages/stock/drugs/components/drugQuery.vue
  17. 16 2
      src/xt_pages/stock/drugs/components/drugQueryPrint.vue
  18. 22 4
      src/xt_pages/stock/drugs/components/purchaseDrugQuery.vue
  19. 22 5
      src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue
  20. 15 2
      src/xt_pages/stock/drugs/components/purchaseNewDrugQueryPrint.vue
  21. 2 2
      src/xt_pages/stock/drugs/drugStockOutOrderDetailPrint.vue
  22. 5 2
      src/xt_pages/stock/query/goodNewQuery.vue
  23. 16 0
      src/xt_pages/stock/query/goodNewQueryPrint.vue
  24. 23 5
      src/xt_pages/stock/query/purchaseNewStockQuery.vue
  25. 17 3
      src/xt_pages/stock/query/purchaseNewStockQueryPrint.vue
  26. 1 1
      src/xt_pages/user/components/PatientDetail.vue
  27. 1 1
      src/xt_pages/user/components/PatientForm.vue
  28. 9 2
      src/xt_pages/user/inspection.vue

+ 24 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue 查看文件

@@ -186,6 +186,7 @@
186 186
                       <div class="inline_block" style="flex: 1">
187 187
                         透析次数:
188 188
                         <div
189
+                          v-if="org_id!=10234 && org_id!=10121"
189 190
                           class="under_line"
190 191
                           style="width: 70px; text-align: center"
191 192
                         >
@@ -197,6 +198,20 @@
197 198
                               : "/"
198 199
                           }}
199 200
                         </div>
201
+
202
+                        <div
203
+                          v-if="org_id ==10234 || org_id ==10121"
204
+                          class="under_line"
205
+                          style="width: 70px; text-align: center"
206
+                        >
207
+                          {{
208
+                              record.Count +
209
+                              record.patient.user_sys_before_count
210
+                                ?  record.Count +
211
+                                  record.patient.user_sys_before_count
212
+                                : "/"
213
+                            }}
214
+                        </div>
200 215
                       </div>
201 216
                       <div class="inline_block" style="flex: 1">
202 217
                         透前症状:
@@ -972,8 +987,8 @@
972 987
                               : "/"
973 988
                           }}
974 989
                         </div>
975
-                         <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">ml</span> 
976
-                         <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471">L</span>
990
+                         <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id==10460">ml</span> 
991
+                         <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471 && org_id!=10460">L</span>
977 992
                       </div>
978 993
 
979 994
                       <div class="inline_block" style="flex: 1" v-if="org_id == 10469">
@@ -2428,7 +2443,13 @@
2428 2443
                         style="flex: 1"
2429 2444
                         v-if="org_id != 10223 || org_id!=10375"
2430 2445
                       >
2431
-                        透析中入量(L):
2446
+  
2447
+                        <span v-if="org_id!=10460">
2448
+                          透析中入量  (L):
2449
+                        </span>
2450
+                        <span v-if="org_id==10460">
2451
+                          透析中入量  (ml):
2452
+                        </span>
2432 2453
                         <div
2433 2454
                           class="under_line"
2434 2455
                           style="width: 100px; text-align: center"

+ 202 - 183
src/xt_pages/dialysis/batch_print/batch_print_order_twentySeven.vue 查看文件

@@ -52,8 +52,8 @@
52 52
                       <td width="150">
53 53
                         <div class="under-line">
54 54
                           {{
55
-                            record.patient.admission_number
56
-                              ? record.patient.admission_number
55
+                            record.patient.dialysis_no
56
+                              ? record.patient.dialysis_no
57 57
                               : "/"
58 58
                           }}
59 59
                         </div>
@@ -88,6 +88,7 @@
88 88
                       <td width="120">
89 89
                         <div class="under-line">&nbsp;
90 90
                           <!-- {{last_order?getTime(last_order.dialysis_date, "{y}-{m}-{d}"):''}} -->
91
+                          {{ getTime(record.lastSchedule.schedule_date, "{y}-{m}-{d}") }}
91 92
                         </div>
92 93
                       </td>
93 94
                       <td width="10"></td>
@@ -100,9 +101,9 @@
100 101
                           {{ record.assessment_after_dislysis.actual_treatment_hour ? 
101 102
                           record.assessment_after_dislysis.actual_treatment_hour : '' }}
102 103
                         </span>h
103
-                        <span style="width:30px;text-align:left;">
104
+                        <span style="width:30px;text-align:left;" v-if="record.assessment_after_dislysis.actual_treatment_minute>0">
104 105
                           {{ record.assessment_after_dislysis.actual_treatment_minute ? 
105
-                          record.assessment_after_dislysis.actual_treatment_minute : '' }}
106
+                          record.assessment_after_dislysis.actual_treatment_minute : '0' }}
106 107
                         </span>min
107 108
                       </div>
108 109
                       </td>
@@ -228,7 +229,7 @@
228 229
                                   ></label-box>
229 230
                                 </div>
230 231
                               </td>
231
-                              <td width="50">感染:</td>
232
+                              <!-- <td width="50">感染:</td>
232 233
                               <td width="100">
233 234
                                 <label-box
234 235
                                   :isChecked="
@@ -263,7 +264,7 @@
263 264
                                       : ""
264 265
                                   }}
265 266
                                 </div>
266
-                              </td>
267
+                              </td> -->
267 268
                               <td width=""></td>
268 269
                             </tr>
269 270
                           </tbody>
@@ -1893,111 +1894,122 @@
1893 1894
                               <td></td>
1894 1895
                               <td width="70">主管医生:</td>
1895 1896
                               <td width="100">
1896
-                                <div style="text-align: left">
1897
-                                  <span
1897
+                                <div
1898
+                                  class="under_line"
1899
+                                  style="width: 80px; text-align: center"
1900
+                                >
1901
+                                  <template
1898 1902
                                     v-if="
1899
-                                      setAdminUserES(
1900
-                                        record.prescription.prescription_doctor
1901
-                                      ) == ''
1903
+                                      record.prescription &&
1904
+                                      record.prescription.creater
1902 1905
                                     "
1903 1906
                                   >
1904
-                                    {{
1905
-                                      getAdminUser(
1906
-                                        record.prescription.prescription_doctor
1907
-                                      )
1908
-                                    }}
1909
-                                  </span>
1910
-                                  <img
1911
-                                    style="height: 30px"
1912
-                                    :src="
1913
-                                      setAdminUserES(
1914
-                                        record.prescription.prescription_doctor
1915
-                                      )
1916
-                                    "
1917
-                                    alt=""
1918
-                                    srcset=""
1919
-                                    v-else
1920
-                                  />
1921
-
1922
-                                  <!-- {{getXuserName(prescription.prescription_doctor)}} -->
1907
+                                    <span
1908
+                                      v-if="
1909
+                                        setAdminUserES(
1910
+                                          record.prescription,
1911
+                                          'creater'
1912
+                                        ) == ''
1913
+                                      "
1914
+                                      >{{
1915
+                                        getAdminUser(
1916
+                                          record.prescription,
1917
+                                          "creater"
1918
+                                        )
1919
+                                      }}</span
1920
+                                    >
1921
+                                    <img
1922
+                                      class="es-img"
1923
+                                      :src="
1924
+                                        setAdminUserES(
1925
+                                          record.prescription,
1926
+                                          'creater'
1927
+                                        )
1928
+                                      "
1929
+                                      alt=""
1930
+                                      srcset=""
1931
+                                      v-else
1932
+                                      style="height: 40px"
1933
+                                    />
1934
+                                  </template>
1923 1935
                                 </div>
1924 1936
                               </td>
1925 1937
                               <td width="120">穿刺/开管护士:</td>
1926 1938
                               <td width="100">
1927 1939
                                 <div style="text-align: left">
1928
-                                  <span
1940
+                                  <template
1929 1941
                                     v-if="
1930
-                                      setAdminUserES(
1931
-                                        record.dialysis_orderdialysis_order ==
1932
-                                          null
1933
-                                          ? 0
1934
-                                          : record.dialysis_order.puncture_nurse
1935
-                                      ) == ''
1942
+                                      record.dialysis_order &&
1943
+                                      record.dialysis_order.puncture_nurse
1936 1944
                                     "
1937 1945
                                   >
1938
-                                    {{
1939
-                                      getAdminUser(
1940
-                                        record.dialysis_order == null
1941
-                                          ? 0
1942
-                                          : record.dialysis_order.puncture_nurse
1943
-                                      )
1944
-                                    }}</span
1945
-                                  >
1946
-                                  <img
1947
-                                    style="height: 30px"
1948
-                                    :src="
1949
-                                      setAdminUserES(
1950
-                                        record.dialysis_order == null
1951
-                                          ? 0
1952
-                                          : record.dialysis_order.puncture_nurse
1953
-                                      )
1954
-                                    "
1955
-                                    alt=""
1956
-                                    srcset=""
1957
-                                    v-else
1958
-                                  />
1946
+                                    <span
1947
+                                      v-if="
1948
+                                        setAdminUserES(
1949
+                                          record.dialysis_order,
1950
+                                          'puncture_nurse'
1951
+                                        ) == ''
1952
+                                      "
1953
+                                      >{{
1954
+                                        getAdminUser(
1955
+                                          record.dialysis_order,
1956
+                                          "puncture_nurse"
1957
+                                        )
1958
+                                      }}</span
1959
+                                    >
1960
+                                    <img
1961
+                                      class="es-img"
1962
+                                      :src="
1963
+                                        setAdminUserES(
1964
+                                          record.dialysis_order,
1965
+                                          'puncture_nurse'
1966
+                                        )
1967
+                                      "
1968
+                                      alt=""
1969
+                                      srcset=""
1970
+                                      v-else
1971
+                                      style="height: 40px"
1972
+                                    />
1973
+                                  </template>
1959 1974
                                 </div>
1960 1975
                               </td>
1961 1976
                               <td width="70">核对护士:</td>
1962 1977
                               <td width="100">
1963 1978
                                 <div style="text-align: left">
1964
-                                  <span
1979
+                                  <template
1965 1980
                                     v-if="
1966
-                                      setAdminUserES(
1967
-                                        record.check == null
1968
-                                          ? 0
1969
-                                          : record.check.modifier
1970
-                                      ) == ''
1981
+                                      record.check &&
1982
+                                      record.check.modifier
1971 1983
                                     "
1972 1984
                                   >
1973
-                                    {{
1974
-                                      getAdminUser(
1975
-                                        record.check == null
1976
-                                          ? 0
1977
-                                          : record.check.modifier
1978
-                                      )
1979
-                                        ? getAdminUser(
1980
-                                            record.check == null
1981
-                                              ? 0
1982
-                                              : record.check.modifier
1983
-                                          )
1984
-                                        : ""
1985
-                                    }}
1986
-                                  </span>
1987
-                                  <img
1988
-                                    class="es-img"
1989
-                                    :src="
1990
-                                      setAdminUserES(
1991
-                                        record.check == null
1992
-                                          ? 0
1993
-                                          : record.check.modifier
1994
-                                      )
1995
-                                    "
1996
-                                    alt=""
1997
-                                    srcset=""
1998
-                                    style="height: 30px"
1999
-                                    v-else
2000
-                                  />
1985
+                                    <span
1986
+                                      v-if="
1987
+                                        setAdminUserES(
1988
+                                          record.check,
1989
+                                          'modifier'
1990
+                                        ) == ''
1991
+                                      "
1992
+                                      >{{
1993
+                                        getAdminUser(
1994
+                                          record.check,
1995
+                                          "modifier"
1996
+                                        )
1997
+                                      }}</span
1998
+                                    >
1999
+                                    <img
2000
+                                      class="es-img"
2001
+                                      :src="
2002
+                                        setAdminUserES(
2003
+                                          record.check,
2004
+                                          'modifier'
2005
+                                        )
2006
+                                      "
2007
+                                      alt=""
2008
+                                      srcset=""
2009
+                                      v-else
2010
+                                      style="height: 40px"
2011
+                                    />
2012
+                                  </template>
2001 2013
                                 </div>
2002 2014
                               </td>
2003 2015
                             </tr>
@@ -2736,73 +2748,80 @@
2736 2748
                               <td width="150">当班责任护士:</td>
2737 2749
                               <td width="100">
2738 2750
                                 <div style="text-align: left">
2739
-                                  <span
2751
+                                  <template
2740 2752
                                     v-if="
2741
-                                      setAdminUserES(
2742
-                                        record.dialysis_order == null
2743
-                                          ? 0
2744
-                                          : record.dialysis_order.start_nurse
2745
-                                      ) == ''
2753
+                                      record.dialysis_order &&
2754
+                                      record.dialysis_order.start_nurse
2746 2755
                                     "
2747
-                                    >{{
2748
-                                      getAdminUser(
2749
-                                        record.dialysis_order == null
2750
-                                          ? 0
2751
-                                          : record.dialysis_order.start_nurse
2752
-                                      )
2753
-                                    }}</span
2754 2756
                                   >
2755
-                                  <img
2756
-                                    class="es-img"
2757
-                                    style="height: 30px"
2758
-                                    :src="
2759
-                                      setAdminUserES(
2760
-                                        record.dialysis_order == null
2761
-                                          ? 0
2762
-                                          : record.dialysis_order.start_nurse
2763
-                                      )
2764
-                                    "
2765
-                                    alt=""
2766
-                                    srcset=""
2767
-                                    v-else
2768
-                                  />
2757
+                                    <span
2758
+                                      v-if="
2759
+                                        setAdminUserES(
2760
+                                          record.dialysis_order,
2761
+                                          'start_nurse'
2762
+                                        ) == ''
2763
+                                      "
2764
+                                      >{{
2765
+                                        getAdminUser(
2766
+                                          record.dialysis_order,
2767
+                                          "start_nurse"
2768
+                                        )
2769
+                                      }}</span
2770
+                                    >
2771
+                                    <img
2772
+                                      class="es-img"
2773
+                                      :src="
2774
+                                        setAdminUserES(
2775
+                                          record.dialysis_order,
2776
+                                          'start_nurse'
2777
+                                        )
2778
+                                      "
2779
+                                      alt=""
2780
+                                      srcset=""
2781
+                                      v-else
2782
+                                      style="height: 40px"
2783
+                                    />
2784
+                                  </template>
2769 2785
                                 </div>
2770 2786
                               </td>
2771 2787
                               <td width="30"></td>
2772 2788
                               <td width="70">下机护士:</td>
2773 2789
                               <td width="100">
2774 2790
                                 <div style="text-align: left">
2775
-                                  <span
2791
+                                  <template
2776 2792
                                     v-if="
2777
-                                      setAdminUserES(
2778
-                                        record.dialysis_order == null
2779
-                                          ? 0
2780
-                                          : record.dialysis_order.finish_nurse
2781
-                                      ) == ''
2793
+                                      record.dialysis_order &&
2794
+                                      record.dialysis_order.finish_nurse
2782 2795
                                     "
2783 2796
                                   >
2784
-                                    {{
2785
-                                      getAdminUser(
2786
-                                        record.dialysis_order == null
2787
-                                          ? 0
2788
-                                          : record.dialysis_order.finish_nurse
2789
-                                      )
2790
-                                    }}</span
2791
-                                  >
2792
-                                  <img
2793
-                                    class="es-img"
2794
-                                    style="height: 30px"
2795
-                                    :src="
2796
-                                      setAdminUserES(
2797
-                                        record.dialysis_order == null
2798
-                                          ? 0
2799
-                                          : record.dialysis_order.finish_nurse
2800
-                                      )
2801
-                                    "
2802
-                                    alt=""
2803
-                                    srcset=""
2804
-                                    v-else
2805
-                                  />
2797
+                                    <span
2798
+                                      v-if="
2799
+                                        setAdminUserES(
2800
+                                          record.dialysis_order,
2801
+                                          'finish_nurse'
2802
+                                        ) == ''
2803
+                                      "
2804
+                                      >{{
2805
+                                        getAdminUser(
2806
+                                          record.dialysis_order,
2807
+                                          "finish_nurse"
2808
+                                        )
2809
+                                      }}</span
2810
+                                    >
2811
+                                    <img
2812
+                                      class="es-img"
2813
+                                      :src="
2814
+                                        setAdminUserES(
2815
+                                          record.dialysis_order,
2816
+                                          'finish_nurse'
2817
+                                        )
2818
+                                      "
2819
+                                      alt=""
2820
+                                      srcset=""
2821
+                                      v-else
2822
+                                      style="height: 40px"
2823
+                                    />
2824
+                                  </template>
2806 2825
                                 </div>
2807 2826
                               </td>
2808 2827
                             </tr>
@@ -2889,26 +2908,26 @@
2889 2908
                       </td>
2890 2909
                       <td>
2891 2910
                         <span
2892
-                          v-if="setAdminUserES(advice[0].advice_doctor) == ''"
2893
-                        >
2894
-                          {{ getAdminUser(advice[0].advice_doctor) }}
2895
-                        </span>
2896
-                        <span
2897
-                          v-else
2898
-                          style="
2899
-                            display: flex;
2900
-                            align-items: center;
2901
-                            justify-content: space-around;
2902
-                            height: 36px;
2911
+                          v-if="
2912
+                            setAdminUserES(
2913
+                              advice[0],
2914
+                              'execution_staff'
2915
+                            ) == ''
2903 2916
                           "
2917
+                          >{{
2918
+                            getAdminUser(advice[0], "execution_staff")
2919
+                          }}</span
2904 2920
                         >
2905
-                          <img
2906
-                            style="height: 30px"
2907
-                            :src="setAdminUserES(advice[0].advice_doctor)"
2908
-                            alt
2909
-                            srcset
2910
-                          />
2911
-                        </span>
2921
+                        <img
2922
+                          class="es-img"
2923
+                          :src="
2924
+                            setAdminUserES(advice[0], 'execution_staff')
2925
+                          "
2926
+                          alt=""
2927
+                          srcset=""
2928
+                          v-else
2929
+                          style="height: 40px"
2930
+                        />
2912 2931
                       </td>
2913 2932
                       <td style="text-align: left">
2914 2933
                         <span v-for="(item, index) in advice" :key="index">
@@ -2980,26 +2999,26 @@
2980 2999
                       </td>
2981 3000
                       <td>
2982 3001
                         <span
2983
-                          v-if="setAdminUserES(advice[0].execution_staff) == ''"
2984
-                        >
2985
-                          {{ getAdminUser(advice[0].execution_staff) }}
2986
-                        </span>
2987
-                        <span
2988
-                          v-else
2989
-                          style="
2990
-                            display: flex;
2991
-                            align-items: center;
2992
-                            justify-content: space-around;
2993
-                            height: 36px;
3002
+                          v-if="
3003
+                            setAdminUserES(
3004
+                              advice[0],
3005
+                              'execution_staff'
3006
+                            ) == ''
2994 3007
                           "
3008
+                          >{{
3009
+                            getAdminUser(advice[0], "execution_staff")
3010
+                          }}</span
2995 3011
                         >
2996
-                          <img
2997
-                            style="height: 30px"
2998
-                            :src="setAdminUserES(advice[0].execution_staff)"
2999
-                            alt
3000
-                            srcset
3001
-                          />
3002
-                        </span>
3012
+                        <img
3013
+                          class="es-img"
3014
+                          :src="
3015
+                            setAdminUserES(advice[0], 'execution_staff')
3016
+                          "
3017
+                          alt=""
3018
+                          srcset=""
3019
+                          v-else
3020
+                          style="height: 40px"
3021
+                        />
3003 3022
                       </td>
3004 3023
                     </tr>
3005 3024
                   </tbody>

+ 2 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue 查看文件

@@ -148,8 +148,8 @@
148 148
           <label>目标超滤量 : </label>
149 149
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
150 150
           
151
-          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45  && this.$store.getters.xt_user.template_info.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10345  && this.$store.getters.xt_user.template_info.org_id != 10346  && this.$store.getters.xt_user.template_info.org_id != 10395  && this.$store.getters.xt_user.template_info.template_id!=60  && this.$store.getters.xt_user.template_info.org_id != 10340  && this.$store.getters.xt_user.template_info.org_id != 10430 && this.$store.getters.xt_user.template_info.org_id != 10432  && this.$store.getters.xt_user.template_info.org_id != 10441 && this.$store.getters.xt_user.template_info.org_id != 10445 && this.$store.getters.xt_user.template_info.org_id != 9829 &&  this.$store.getters.xt_user.template_info.org_id != 10440  &&  this.$store.getters.xt_user.template_info.org_id != 10469  &&  this.$store.getters.xt_user.template_info.org_id != 10471"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
152
-          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.template_id == 46  || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345  || this.$store.getters.xt_user.template_info.org_id == 10346  || this.$store.getters.xt_user.template_info.org_id == 10395 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id==10441 || this.$store.getters.xt_user.template_info.org_id==10445 || this.$store.getters.xt_user.template_info.org_id == 9829 ||  this.$store.getters.xt_user.template_info.org_id == 10440 || this.$store.getters.xt_user.template_info.org_id == 10469|| this.$store.getters.xt_user.template_info.org_id == 10471" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
151
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45  && this.$store.getters.xt_user.template_info.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10345  && this.$store.getters.xt_user.template_info.org_id != 10346  && this.$store.getters.xt_user.template_info.org_id != 10395  && this.$store.getters.xt_user.template_info.template_id!=60  && this.$store.getters.xt_user.template_info.org_id != 10340  && this.$store.getters.xt_user.template_info.org_id != 10430 && this.$store.getters.xt_user.template_info.org_id != 10432  && this.$store.getters.xt_user.template_info.org_id != 10441 && this.$store.getters.xt_user.template_info.org_id != 10445 && this.$store.getters.xt_user.template_info.org_id != 9829 &&  this.$store.getters.xt_user.template_info.org_id != 10440  &&  this.$store.getters.xt_user.template_info.org_id != 10469  &&  this.$store.getters.xt_user.template_info.org_id != 10471 &&  this.$store.getters.xt_user.template_info.org_id != 10460"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
152
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.template_id == 46  || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345  || this.$store.getters.xt_user.template_info.org_id == 10346  || this.$store.getters.xt_user.template_info.org_id == 10395 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id==10441 || this.$store.getters.xt_user.template_info.org_id==10445 || this.$store.getters.xt_user.template_info.org_id == 9829 ||  this.$store.getters.xt_user.template_info.org_id == 10440 || this.$store.getters.xt_user.template_info.org_id == 10469|| this.$store.getters.xt_user.template_info.org_id == 10471 ||  this.$store.getters.xt_user.template_info.org_id == 10460" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
153 153
         </li>
154 154
 
155 155
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">

+ 2 - 2
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue 查看文件

@@ -349,13 +349,13 @@
349 349
           </el-form-item>
350 350
         </el-col>
351 351
 
352
-        <el-col :span="8" v-if="isShow('透析中入量') && org_id!=10485">
352
+        <el-col :span="8" v-if="isShow('透析中入量') && org_id!=10485 && org_id!=10460">
353 353
           <el-form-item label="透析中入量(L): " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
354 354
             <el-input v-model="form.dialysis_intakes"></el-input>
355 355
           </el-form-item>
356 356
         </el-col>
357 357
 
358
-        <el-col :span="8" v-if="isShow('透析中入量') && org_id==10485">
358
+        <el-col :span="8" v-if="isShow('透析中入量') && (org_id==10485 || org_id ==10460)">
359 359
           <el-form-item label="透析中入量(g): " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
360 360
             <el-input v-model="form.dialysis_intakes"></el-input>
361 361
           </el-form-item>

+ 2 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

@@ -106,7 +106,7 @@
106 106
                     </el-col>
107 107
 
108 108
                     <el-col :span="8"
109
-                            v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 ||  this.$store.getters.xt_user.template_info.template_id == 45  ||  this.$store.getters.xt_user.template_info.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 48 ||  this.$store.getters.xt_user.template_info.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10249 || this.$store.getters.xt_user.template_info.org_id == 10395 ||this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 9829|| this.$store.getters.xt_user.template_info.org_id == 10440 || this.$store.getters.xt_user.template_info.org_id == 10469|| this.$store.getters.xt_user.template_info.org_id == 10471)">
109
+                            v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 ||  this.$store.getters.xt_user.template_info.template_id == 45  ||  this.$store.getters.xt_user.template_info.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 48 ||  this.$store.getters.xt_user.template_info.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10249 || this.$store.getters.xt_user.template_info.org_id == 10395 ||this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 9829|| this.$store.getters.xt_user.template_info.org_id == 10440 || this.$store.getters.xt_user.template_info.org_id == 10469|| this.$store.getters.xt_user.template_info.org_id == 10471 || this.$store.getters.xt_user.template_info.org_id == 10460)">
110 110
                         <el-form-item label="目标超滤量(ml):"
111 111
                         prop="target_ultrafiltration" :rules="isCheckmust('目标超滤量')">
112 112
                             <el-input
@@ -120,7 +120,7 @@
120 120
 
121 121
 
122 122
                     <el-col :span="8"
123
-                            v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 &&  this.$store.getters.xt_user.template_info.template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 &&  this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10249 &&  this.$store.getters.xt_user.template_info.org_id != 10395 &&  this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10430 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id!=10441 && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469&& this.$store.getters.xt_user.template_info.org_id != 10471">
123
+                            v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 &&  this.$store.getters.xt_user.template_info.template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 &&  this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10249 &&  this.$store.getters.xt_user.template_info.org_id != 10395 &&  this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10430 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id!=10441 && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469&& this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10460">
124 124
                         <el-form-item
125 125
                         label="目标超滤量(L):" prop="target_ultrafiltration" :rules="isCheckmust('目标超滤量')">
126 126
                             <el-input

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue 查看文件

@@ -288,7 +288,7 @@
288 288
                   prescription.dialysate_flow ? prescription.dialysate_flow : ""
289 289
                 }}
290 290
               </span>
291
-              ml/h;
291
+              ml/min;
292 292
             </td>
293 293
             <td width="200" style="padding-left: 10px" colspan="2">
294 294
               医师签名:

+ 9 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue 查看文件

@@ -1002,8 +1002,8 @@
1002 1002
                             : "/"
1003 1003
                         }}
1004 1004
                       </div>
1005
-                      <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">ml</span> 
1006
-                      <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471">L</span>
1005
+                      <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10460">ml</span> 
1006
+                      <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10460">L</span>
1007 1007
                     </div>
1008 1008
 
1009 1009
 
@@ -1530,7 +1530,7 @@
1530 1530
                             {{
1531 1531
                               monitor.transmembrane_pressure
1532 1532
                                 ? monitor.transmembrane_pressure
1533
-                                : 0
1533
+                                : ""
1534 1534
                             }}
1535 1535
                           </span>
1536 1536
                         </td>
@@ -2423,7 +2423,12 @@
2423 2423
                       style="flex: 1"
2424 2424
                       v-if="org_id != 10223 || org_id!=10375"
2425 2425
                     >
2426
-                      透析中入量(L):
2426
+                       <span v-if="org_id!=10460">
2427
+                          透析中入量(L):
2428
+                        </span>
2429
+                        <span v-if="org_id==10460">
2430
+                          透析中入量(ml):
2431
+                        </span>
2427 2432
                       <div
2428 2433
                         class="under_line"
2429 2434
                         style="width: 70px; text-align: center"

+ 5 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue 查看文件

@@ -125,16 +125,16 @@
125 125
                           &nbsp;{{ receiverTreatmentAccess.consciousness == 3 ? '昏迷' : receiverTreatmentAccess.consciousness == 4 ? '模糊' : '' }}
126 126
                         </div>
127 127
                       </td> -->
128
-                      <td width="40">感染:</td>
128
+                      <!-- <td width="40">感染:</td>
129 129
                       <td width="80">
130 130
                           <label-box :isChecked='(predialysis.complication == "" || predialysis.complication == "无") ? true : false' showValue='无'></label-box>
131 131
                           <label-box :isChecked='(predialysis.complication != "" && predialysis.complication != "无") ? true : false' showValue='有'></label-box>
132
-                      </td>
133
-                      <td width="100">
132
+                      </td> -->
133
+                      <!-- <td width="100">
134 134
                         <div class="under-line">
135 135
                           &nbsp;{{ (predialysis.complication != "" && predialysis.complication != "无") ? predialysis.complication : "" }}
136 136
                         </div>
137
-                      </td>
137
+                      </td> -->
138 138
                       <td width=""></td>
139 139
                     </tr>
140 140
                   </tbody>
@@ -1551,6 +1551,7 @@ export default {
1551 1551
           return this.adminUser[i].name
1552 1552
         }
1553 1553
       }
1554
+
1554 1555
     },
1555 1556
     getTime(value, temp) {
1556 1557
       if (value == 0) {

+ 7 - 38
src/xt_pages/dialysis/template/DialysisPrintOrdersixtySeven.vue 查看文件

@@ -340,7 +340,7 @@
340 340
                 v-for="(advice, advice_index) in doctor_advices"
341 341
                 :key="advice_index"
342 342
               >
343
-                <td height="32px" >
343
+                <td height="32px">
344 344
                   <span v-if="advice.start_time">
345 345
                     {{ getTime(advice.start_time, "{h}:{i}") }}
346 346
                   </span>
@@ -349,7 +349,7 @@
349 349
                   height="32px"
350 350
                   class="advice-name"
351 351
                   style="padding-left: 7px"
352
-                
352
+
353 353
                 >
354 354
                   <span v-if="advice.parent_id > 0">---></span>
355 355
                   <span>{{ advice.advice_name }}</span>
@@ -377,16 +377,8 @@
377 377
                     "
378 378
                     >({{ advice.remark }})</span
379 379
                   >
380
-                  <!-- <template >
381
-                    <div v-for="(item,index) in arr" :key="index">
382
-                      <div v-if="item[0].prescription_id == advice.prescription_id">
383
-                        {{ item[0].advice_name }}
384
-                      </div>
385
-                    </div>
386
-                  </template> -->
387 380
                 </td>
388
-                
389
-                
381
+
390 382
                 <td height="32px">
391 383
                   <span>
392 384
                     {{ getAdminUser(advice.advice_doctor) }}
@@ -551,7 +543,7 @@ export default {
551 543
       precaution_arr: [],
552 544
       intake_arr: [],
553 545
       nutrition_arr: [],
554
-      arr:[],
546
+
555 547
       crumbs: [
556 548
         { path: false, name: "透析管理" },
557 549
         { path: false, name: "打印单" },
@@ -655,19 +647,6 @@ export default {
655 647
       org_id: 0,
656 648
     };
657 649
   },
658
-  mounted(){
659
-    // console.log('22222',this.doctor_advices);
660
-    // for(let i=0;i<this.doctor_advices.length;i++){
661
-    //   for(let j=1;j<this.doctor_advices.length;j++){
662
-    //     if(this.doctor_advices[i].prescription_id == this.doctor_advices[j].prescription_id && 
663
-    //     this.doctor_advices[i].groupno == this.doctor_advices[j].groupno){
664
-    //       this.arr.push(this.doctor_advices.splice(j,1))
665
-    //     }
666
-    //   }
667
-    // }
668
-    // console.log('55555',this.doctor_advices);
669
-    // console.log('66666',this.arr)
670
-  },
671 650
   methods: {
672 651
     // 获取当前年份,用于年龄计算
673 652
     getoldAge() {
@@ -1058,7 +1037,7 @@ export default {
1058 1037
       var response = this.childResponse;
1059 1038
       if (response.data.state == 1) {
1060 1039
         this.adminUser = response.data.data.users;
1061
-        console.log('111111',response.data.data);
1040
+
1062 1041
         this.users = response.data.data.users;
1063 1042
         this.patientInfo = response.data.data.patientInfo;
1064 1043
 
@@ -1344,19 +1323,9 @@ export default {
1344 1323
              }
1345 1324
            }
1346 1325
         }
1347
-        console.log('3333',docArr);
1348
-        this.doctor_advices = [] 
1326
+        this.doctor_advices = []
1349 1327
         this.doctor_advices = docArr
1350
-        // for(let i=0;i<this.doctor_advices.length;i++){
1351
-        //   for(let j=1;j<this.doctor_advices.length;j++){
1352
-        //     if(this.doctor_advices[i].groupno == this.doctor_advices[j].groupno){
1353
-        //       this.arr.push(this.doctor_advices.splice(j,1))
1354
-              
1355
-        //     }
1356
-        //   }
1357
-        // }
1358
-        // console.log('55555',this.doctor_advices);
1359
-        // console.log('66666',this.arr)
1328
+        // console.log(this.advice_groups);
1360 1329
       } else {
1361 1330
         this.loading = false;
1362 1331
         this.$message.error("请求数据失败");

+ 9 - 1
src/xt_pages/hospitalStation/statementPrint.vue 查看文件

@@ -13,7 +13,7 @@
13 13
       >
14 14
     </template>
15 15
 
16
-    <div class='dialysisPage' style="padding-top:40px;" v-if="this.$store.getters.xt_user.org_id == 10215 || this.$store.getters.xt_user.org_id == 0">
16
+    <div class='dialysisPage' style="padding-top:40px;" v-if="this.$store.getters.xt_user.org_id == 10215">
17 17
       <private-charge-print :info="info" v-if="this.paramsObj.balance_accounts_type == 2"></private-charge-print>
18 18
       <printOne :info="info" v-else></printOne>
19 19
     </div>
@@ -27,6 +27,12 @@
27 27
     <private-charge-print :info="info" ></private-charge-print>
28 28
     </div>
29 29
 
30
+    <div class='dialysisPage' style="padding-top:40px;" v-if="this.$store.getters.xt_user.org_id == 10210 || this.$store.getters.xt_user.org_id == 0">
31
+<!--      <private-charge-print :info="info" ></private-charge-print>-->
32
+<!--      <print-ten :info="info" ></print-ten>-->
33
+      <print-ten></print-ten>
34
+    </div>
35
+
30 36
 <!--    <div class='dialysisPage' style="padding-top:40px;" v-else>-->
31 37
 <!--      <private-charge-print :info="info" v-if="this.paramsObj.balance_accounts_type == 2"></private-charge-print>-->
32 38
 <!--      <printOne :info="info" v-else></printOne>-->
@@ -49,10 +55,12 @@ import printTwo from './statementTemplate/printTwo'
49 55
 import { getAllDoctorList, getAllHisPatientList } from '@/api/project/project'
50 56
 import PrivateChargePrint from '../outpatientCharges/statementTemplate/privateChargePrint'
51 57
 import HospitalSettlePrint from './settlementTemplate/hospitalSettlePrint'
58
+import PrintTen from './statementTemplate/printTen.vue'
52 59
 
53 60
 export default {
54 61
   name: 'dialysisPrintOrder',
55 62
   components: {
63
+    PrintTen,
56 64
     HospitalSettlePrint,
57 65
     PrivateChargePrint,
58 66
     BreadCrumb,

+ 378 - 0
src/xt_pages/hospitalStation/statementTemplate/printTen.vue 查看文件

@@ -0,0 +1,378 @@
1
+<template>
2
+  <div  id="statement-print" class="statement-print"
3
+       style="position: relative;">
4
+    <div class="print-content">
5
+      <div class="print-title">
6
+        <h1 style="text-align: center;">江西省医疗保障定点机构医疗费用结算单</h1>
7
+      </div>
8
+
9
+      <div class="print-tab" style="margin: 0px auto; text-align: center;">
10
+        <div class="hospital" style="margin:0px 112px ;width: 70%;">
11
+          <!-- style="display: inline-block;margin: 10px 80px 10px 0px ;" -->
12
+          <span class="yiliao" style="display: inline-block;margin: 10px 80px 10px 0px ;">
13
+                        <span>医疗机构名称:</span>
14
+                        <span>{{info.fixmedins_name}}</span>
15
+                    </span>
16
+          <span class="yiliao" style="display: inline-block;margin: 10px 80px 10px 0px ;">
17
+                        <span>医疗机构编码:</span>
18
+                        <span>{{info.fixmedins_code}}</span>
19
+                    </span>
20
+          <span class="yiliao" style="display: inline-block;margin: 10px 80px 10px 0px ;">
21
+                        <span>医院等级:</span>
22
+                        <span  v-if="info.hosp_lv == '1'">三级特等</span>
23
+                        <span  v-else-if="info.hosp_lv == '2'">三级甲等</span>
24
+                        <span v-else-if="info.hosp_lv == '3'">三级乙等</span>
25
+                        <span v-else-if="info.hosp_lv == '4'">三级丙等</span>
26
+                        <span v-else-if="info.hosp_lv == '5'">二级甲等</span>
27
+                        <span v-else-if="info.hosp_lv == '6'">二级乙等</span>
28
+                        <span v-else-if="info.hosp_lv == '7'">二级丙等</span>
29
+                        <span  v-else-if="info.hosp_lv == '8'">一级甲等</span>
30
+                        <span v-else-if="info.hosp_lv == '9'">一级乙等</span>
31
+                        <span v-else-if="info.hosp_lv == '10'">一级丙等</span>
32
+                        <span  v-else-if="info.hosp_lv == '11'">无等级</span>
33
+                        <span  v-else></span>
34
+          </span>
35
+        </div>
36
+        <table class="jiesuan" style="border-collapse: collapse;margin: auto;">
37
+          <tr>
38
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">姓名</td>
39
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.psn_name}}</td>
40
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">性别</td>
41
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.gend == '1'">男</td>
42
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.gend == '2'">女</td>
43
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else></td>
44
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">人员类别</td>
45
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.psn_type == '11'">在职</td>
46
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1101'">职工在职</td>
47
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1102'">公务员在职</td>
48
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1103'">灵活就业人员在职</td>
49
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1160'">地方其他扩展人员</td>
50
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '12'">退休人员</td>
51
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1201'">职工退休</td>
52
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1202'">公务员退休</td>
53
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1203'">灵活就业人员退休</td>
54
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1260'">地方其他扩展人员</td>
55
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '13'">离休</td>
56
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1300'">离休人员</td>
57
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1360'">地方其他扩展人员</td>
58
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '14'">居民(未成年)</td>
59
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1401'">新生儿</td>
60
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1402'">学龄前儿童</td>
61
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1403'">中小学生</td>
62
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1404'">大学生</td>
63
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1405'">未成年(未入学)</td>
64
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '15'">居民(成年)</td>
65
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1501'">普通居民(成年)</td>
66
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1560'">地方其他扩展身份</td>
67
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '16'">居民(老年)</td>
68
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else></td>
69
+          </tr>
70
+          <tr>
71
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">身份证号码</td>
72
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.certno}}</td>
73
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">参保险种</td>
74
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '310'">职工基本医疗保险</td>
75
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '320'">公务员医疗补助</td>
76
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '330'">大额医疗费用补助</td>
77
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '340'">离休人员医疗保障</td>
78
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '390'">城乡居民基本医疗保险</td>
79
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '392'">城乡居民大病医疗保险</td>
80
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '510'">生育保险</td>
81
+
82
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">医疗类别</td>
83
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '11'">普通门诊</td>
84
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '12'">门诊挂号</td>
85
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '13'">急诊</td>
86
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '14'">门诊特殊病</td>
87
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '15'">门诊统筹</td>
88
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '16'">门诊慢性病</td>
89
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '21'">普通住院</td>
90
+
91
+          </tr>
92
+          <tr>
93
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">结算ID</td>
94
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.setl_id}}</td>
95
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">住院号</td>
96
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.number}}</td>
97
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">住院天数</td>
98
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{getDay(info.begndate,info.enddate)}}</td>
99
+          </tr>
100
+          <tr>
101
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">科室</td>
102
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{'血透'}}</td>
103
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">床号</td>
104
+            <td style="border: 1px solid gray;width: 150px;height: 30px;"></td>
105
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">参保区划</td>
106
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.insu_optins}}</td>
107
+          </tr>
108
+          <tr>
109
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">入院日期</td>
110
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.begndate ? info.begndate.split(' ')[0] : ''}}</td>
111
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">出院日期</td>
112
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.enddate ? info.enddate.split(' ')[0] : ''}}</td>
113
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">结算日期</td>
114
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</td>
115
+          </tr>
116
+          <tr>
117
+            <td colspan="6" style="border: 1px solid gray;width: 150px;height: 30px;"> 费用分类情况</td>
118
+          </tr>
119
+          <tr>
120
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">项目名称</td>
121
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">总金额</td>
122
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">符合政策范围</td>
123
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">先行自付</td>
124
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">超限价</td>
125
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">自费</td>
126
+          </tr>
127
+          <tr v-if="info.bed_cost_total > 0">
128
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">床位费</td>
129
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bed_cost_total}}</td>
130
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bedInscpTotal}}</td>
131
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bed_cost_part_self_total}}</td>
132
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bed_cost_self_total}}</td>
133
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bedSelfTotal}}</td>
134
+
135
+          </tr>
136
+
137
+          <tr v-if="info.operation_cost_total > 0">
138
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">手术费</td>
139
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operation_cost_total}}</td>
140
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operationInscpTotal}}</td>
141
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operation_cost_part_self_total}}</td>
142
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operation_cost_self_total}}</td>
143
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operationSelfTotal}}</td>
144
+
145
+          </tr>
146
+
147
+          <tr v-if="info.check_cost_total > 0">
148
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">检查费</td>
149
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.check_cost_total}}</td>
150
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.checkInscpTotal}}</td>
151
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.check_cost_part_self_total}}</td>
152
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.check_cost_self_total}}</td>
153
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.checkSelfTotal}}</td>
154
+
155
+          </tr>
156
+
157
+          <tr v-if="info.treat_cost_total > 0">
158
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">治疗费</td>
159
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treat_cost_total}}</td>
160
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treatInscpTotal}}</td>
161
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treat_cost_part_self_total}}</td>
162
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treat_cost_self_total}}</td>
163
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treatSelfTotal}}</td>
164
+
165
+          </tr>
166
+
167
+          <tr v-if="info.treat_cost_total > 0">
168
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">化验费</td>
169
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratory_cost_total}}</td>
170
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratoryInscpTotal}}</td>
171
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratory_cost_part_self_total}}</td>
172
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratory_cost_self_total}}</td>
173
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratorySelfTotal}}</td>
174
+
175
+          </tr>
176
+
177
+
178
+          <tr v-if="info.western_medicine_cost_total > 0">
179
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">西药费</td>
180
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.western_medicine_cost_total}}</td>
181
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.westernMedicineInscpTotal}}</td>
182
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.western_medicine_cost_part_self_total}}</td>
183
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.western_medicine_cost_self_total}}</td>
184
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.westernMedicineSelfTotal}}</td>
185
+
186
+          </tr>
187
+
188
+          <tr v-if="info.material_cost_total > 0">
189
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">材料费</td>
190
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.material_cost_total}}</td>
191
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.materialInscpTotal}}</td>
192
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.material_cost_part_self_total}}</td>
193
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.material_cost_self_total}}</td>
194
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.materialSelfTotal}}</td>
195
+
196
+          </tr>
197
+          <tr v-if="info.other_cost_total > 0">
198
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">其他费</td>
199
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.other_cost_total}}</td>
200
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.otherInscpTotal}}</td>
201
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.other_cost_part_self_total}}</td>
202
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.other_cost_self_total}}</td>
203
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.otherSelfTotal}}</td>
204
+          </tr>
205
+
206
+          <tr v-if="info.chinese_traditional_medicine_cost_total > 0">
207
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">中成药</td>
208
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chinese_traditional_medicine_cost_total}}</td>
209
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chineseTraditionalInscpTotal}}</td>
210
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chinese_traditional_medicine_cost_part_self_total}}</td>
211
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chinese_traditional_medicine_cost_self_total}}</td>
212
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chineseTraditionalSelfTotal}}</td>
213
+          </tr>
214
+
215
+          <tr>
216
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">金额合计</td>
217
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bed_cost_total) +
218
+              parseFloat(info.operation_cost_total) + parseFloat(info.other_cost_total) +
219
+              parseFloat(info.material_cost_total) + parseFloat(info.western_medicine_cost_total) +
220
+              parseFloat(info.chinese_traditional_medicine_cost_total) + parseFloat(info.check_cost_total) +
221
+              parseFloat(info.laboratory_cost_total) + parseFloat(info.treat_cost_total)).toFixed(2) }}
222
+            </td>
223
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bedInscpTotal) +
224
+              parseFloat(info.operationInscpTotal) + parseFloat(info.checkInscpTotal) +
225
+              parseFloat(info.treatInscpTotal) + parseFloat(info.laboratoryInscpTotal) +
226
+              parseFloat(info.westernMedicineInscpTotal) + parseFloat(info.materialInscpTotal) +
227
+              parseFloat(info.otherInscpTotal) + parseFloat(info.chineseTraditionalInscpTotal)).toFixed(2) }}
228
+            </td>
229
+
230
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bed_cost_part_self_total) +
231
+              parseFloat(info.operation_cost_part_self_total) + parseFloat(info.other_cost_part_self_total) +
232
+              parseFloat(info.material_cost_part_self_total) + parseFloat(info.western_medicine_cost_part_self_total) +
233
+              parseFloat(info.chinese_traditional_medicine_cost_part_self_total) +
234
+              parseFloat(info.check_cost_part_self_total) + parseFloat(info.laboratory_cost_part_self_total) +
235
+              parseFloat(info.treat_cost_part_self_total)).toFixed(2)}}
236
+            </td>
237
+
238
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bed_cost_self_total )+
239
+              parseFloat(info.operation_cost_self_total) + parseFloat(info.other_cost_self_total) +
240
+              parseFloat(info.material_cost_self_total) + parseFloat(info.western_medicine_cost_self_total) +
241
+              parseFloat(info.chinese_traditional_medicine_cost_self_total) + parseFloat(info.check_cost_self_total) +
242
+              parseFloat(info.laboratory_cost_self_total) + parseFloat(info.treat_cost_self_total)).toFixed(2)}}
243
+            </td>
244
+
245
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bedSelfTotal) +
246
+              parseFloat(info.operationSelfTotal) + parseFloat(info.checkSelfTotal) +
247
+              parseFloat(info.treatSelfTotal) + parseFloat(info.laboratorySelfTotal) +
248
+              parseFloat(info.westernMedicineSelfTotal) + parseFloat(info.materialSelfTotal) +
249
+              parseFloat(info.otherSelfTotal) + parseFloat(info.chineseTraditionalSelfTotal)).toFixed(2) }}
250
+            </td>
251
+
252
+          </tr>
253
+
254
+          <tr>
255
+            <td colspan="6" style="border: 1px solid gray;width: 150px;height: 30px;"> 费用结算情况</td>
256
+          </tr>
257
+          <tr>
258
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">费用总额</td>
259
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.medfee_sumamt}}</td>
260
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">统筹基金支付</td>
261
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.hifp_pay}}</td>
262
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">大病保险支付</td>
263
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.hifmi_pay}}</td>
264
+          </tr>
265
+          <tr>
266
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">医疗救助支付</td>
267
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.maf_pay}}</td>
268
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">公务员补充支付</td>
269
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.cvlserv_pay}}</td>
270
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">离休保健专项</td>
271
+            <td style="border: 1px solid gray;width: 150px;height: 30px;"></td>
272
+          </tr>
273
+          <tr>
274
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">个人账户支付</td>
275
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.acct_pay}}</td>
276
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">个人现金支付</td>
277
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.psn_cash_pay}}</td>
278
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">其他基金支付</td>
279
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.oth_pay}}</td>
280
+          </tr>
281
+          <tr>
282
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">起付线</td>
283
+            <td colspan="2" style="border: 1px solid gray;width: 150px;height: 30px;">{{info.act_pay_dedc}}</td>
284
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">医院垫付金额</td>
285
+            <td colspan="2" style="border: 1px solid gray;width: 150px;height: 30px;">{{info.hosp_part_amt}}</td>
286
+          </tr>
287
+        </table>
288
+        <div style="width: 51%; margin: 5px 100px; text-align: center;">
289
+         <span style="display: inline-block;"> 备注:其它包含军转、财政、慈善、其他商报等支付来源</span>
290
+        </div>
291
+      </div>
292
+    </div>
293
+
294
+  </div>
295
+</template>
296
+<script>
297
+import { getChargePrint } from '@/api/project/project'
298
+import { uParseTime } from '@/utils/tools'
299
+
300
+export default {
301
+data() {
302
+  return {
303
+    list: {},
304
+    prescription: [],
305
+    patient: {},
306
+    orgname: '',
307
+
308
+    result: {},
309
+    org_code: '',
310
+    patient_name: '',
311
+    doctor_code: '',
312
+    doctor_name: '',
313
+
314
+    name_arr: [],
315
+    spec_arr: [],
316
+    count_arr: [],
317
+    price_arr: [],
318
+    total_arr: []
319
+
320
+  }
321
+},
322
+props: {
323
+  paramsObj: Object,
324
+  info: {
325
+    type: Object,
326
+    default: function() {
327
+      return {}
328
+    }
329
+  },
330
+  balanceAccounts: Object
331
+},
332
+methods: {
333
+  getDay(dateString1,dateString2){
334
+    var  startDate = Date.parse(dateString1);
335
+    var  endDate = Date.parse(dateString2);
336
+    if (startDate>endDate){
337
+      return 0;
338
+    }
339
+    if (startDate==endDate){
340
+      return 1;
341
+    }
342
+    var days=(endDate - startDate)/(1*24*60*60*1000);
343
+    return  days;
344
+  },
345
+  getTime(value, temp) {
346
+    if (value != undefined) {
347
+      return uParseTime(value, temp)
348
+    }
349
+    return ''
350
+  }
351
+},
352
+mounted() {
353
+
354
+
355
+},
356
+watch: {
357
+  paramsObj: {//深度监听,可监听到对象、数组的变化
358
+    handler(val, oldVal) {
359
+
360
+
361
+    },
362
+    deep: true
363
+  }
364
+}
365
+}
366
+</script>
367
+
368
+
369
+<style lang="scss" scoped>
370
+.prescription-print {
371
+-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
372
+-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
373
+box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
374
+margin-bottom: 20px;
375
+padding: 20px 10px;
376
+}
377
+
378
+</style>

+ 7 - 7
src/xt_pages/outpatientCharges/components/chargeDialog.vue 查看文件

@@ -78,30 +78,30 @@
78 78
         </el-radio-group>
79 79
       </el-form-item>
80 80
 
81
-      <el-form-item label="" style="width:100%;" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278 || this.$store.getters.xt_user.org.id == 0">
81
+      <el-form-item label="" style="width:100%;" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278 || this.$store.getters.xt_user.org.id == 10510">
82 82
 
83 83
         <el-checkbox-group v-model="form.pay_wayss">
84 84
           <el-checkbox :label="item.value" v-for="(item,index) in payWays" :key="item.value">{{ item.label }}</el-checkbox>
85 85
         </el-checkbox-group>
86 86
       </el-form-item>
87 87
 
88
-      <el-form-item label="现金支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 0  ">
88
+      <el-form-item label="现金支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510  ">
89 89
         <el-input class="number_style" v-model="form.cash_pay" ></el-input>
90 90
       </el-form-item>
91 91
 
92
-      <el-form-item label="微信支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 0  ">
92
+      <el-form-item label="微信支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510  ">
93 93
         <el-input class="number_style" v-model="form.wechat_pay" ></el-input>
94 94
       </el-form-item>
95
-      <el-form-item label="银行卡支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 0  ">
95
+      <el-form-item label="银行卡支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510  ">
96 96
         <el-input class="number_style" v-model="form.band_card_pay" ></el-input>
97 97
       </el-form-item>
98
-      <el-form-item label="支付宝支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 0  ">
98
+      <el-form-item label="支付宝支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510  ">
99 99
         <el-input class="number_style" v-model="form.ali_pay" ></el-input>
100 100
       </el-form-item>
101
-      <el-form-item label="积分支付:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 0  ">
101
+      <el-form-item label="积分支付:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510  ">
102 102
         <el-input class="number_style" v-model="form.jifen_pay" ></el-input>
103 103
       </el-form-item>
104
-      <el-form-item label="其他说明:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 0  ">
104
+      <el-form-item label="其他说明:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510  ">
105 105
         <el-input class="number_style" v-model="form.oth_desc" ></el-input>
106 106
       </el-form-item>
107 107
 

+ 35 - 4
src/xt_pages/outpatientCharges/statementPrint.vue 查看文件

@@ -763,7 +763,6 @@ export default {
763 763
               console.log(response.data.data.order_infos)
764 764
 
765 765
               var list = []
766
-
767 766
               //获取所有项目类型进行去重
768 767
               let med_chrgitm_types = []
769 768
               for (let i = 0; i < response.data.data.order_infos.length; i++) {
@@ -805,10 +804,7 @@ export default {
805 804
                 obj9.details = that.set10265NewData(tempDetails)
806 805
                 list.push(obj9)
807 806
               }
808
-              console.log("list")
809 807
               that.info['new_list'] = list
810
-
811
-              console.log(list)
812 808
               // list.sort((a,b) => a.sort < b.sort ? 1 : a.sort > b.sort ? -1 : 0)
813 809
 
814 810
               let obj = {
@@ -1172,6 +1168,41 @@ export default {
1172 1168
                 that.info['otherSelfTotal'] =
1173 1169
                   response.data.data.otherSelfTotal
1174 1170
 
1171
+
1172
+                //org_id 10485,此代码为阳春恒健血液透析中心结算单模版数据处理逻辑
1173
+                var list = []
1174
+                //获取所有项目类型进行去重
1175
+                let med_chrgitm_types = []
1176
+                for (let i = 0; i < response.data.data.order_infos.length; i++) {
1177
+                  med_chrgitm_types.push(response.data.data.order_infos[i].med_chrgitm_type)
1178
+                }
1179
+                const obj10 = {}
1180
+                med_chrgitm_types = med_chrgitm_types.reduce((cur, next) => {
1181
+                  obj10[next] ? '' : obj10[next] = true && cur.push(next)
1182
+                  return cur
1183
+                }, []) // 设置cur默认类型为数组,并且初始值为空的数组
1184
+                for (let i = 0; i < med_chrgitm_types.length; i++) {
1185
+
1186
+                  let obj9 = {
1187
+                    details: [],
1188
+                    med_chrgitm_name: that.getType(med_chrgitm_types[i]),
1189
+                    total:0,
1190
+                  }
1191
+
1192
+                  let tempDetails = []
1193
+                  for (let b = 0; b < response.data.data.order_infos.length; b++) {
1194
+                    if (med_chrgitm_types[i] == response.data.data.order_infos[b].med_chrgitm_type) {
1195
+                      tempDetails.push(response.data.data.order_infos[b])
1196
+                    }
1197
+                  }
1198
+                  obj9.total = that.getTotal(tempDetails)
1199
+                  obj9.details = that.set10265NewData(tempDetails)
1200
+                  list.push(obj9)
1201
+                }
1202
+                that.info['new_list'] = list
1203
+                //org_id 10485,此代码为阳春恒健血液透析中心结算单模版数据处理逻辑
1204
+
1205
+
1175 1206
                 let obj = {
1176 1207
                   type: 1,
1177 1208
                   details: [],

+ 1 - 1
src/xt_pages/outpatientDoctorStation/print.vue 查看文件

@@ -3,7 +3,7 @@
3 3
     <div class="dialysisPage" style="padding-top: 40px">
4 4
       <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10243">
5 5
 
6
-        <printOne v-if="org_id != 10088 && org_id != 10215 && org_id != 10375 && org_id != 10188 && org_id != 0" v-bind:childResponse="childResponse"
6
+        <printOne v-if="org_id != 10088 && org_id != 10215 && org_id != 10375 && org_id != 10188" v-bind:childResponse="childResponse"
7 7
         :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient"
8 8
         :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date"
9 9
         :prescription_id="prescription_id"></printOne>

+ 1 - 1
src/xt_pages/outpatientDoctorStation/template/printOne.vue 查看文件

@@ -39,7 +39,7 @@
39 39
               科室:{{ item.info ? getDepart(item.info.departments) : "" }}
40 40
             </div>
41 41
             <div style="margin-bottom: 10px">
42
-              医保卡号:{{ item.hisPatient.number ? item.hisPatient.number : "" }}
42
+              医保卡号:
43 43
             </div>
44 44
             <div style="margin-bottom: 10px" v-if="org_id != 10188">
45 45
               电话:{{ item.patient.phone }}

+ 3 - 1
src/xt_pages/stock/drugs/components/drugQuery.vue 查看文件

@@ -1060,7 +1060,7 @@ export default {
1060 1060
           this.tableList[i].drug_type_name =  this.getDrugTypeName(this.tableList[i].drug_type)
1061 1061
           this.tableList[i].specification_name =  this.tableList[i].dose + this.tableList[i].dose_unit + "*" +this.tableList[i].min_number + this.tableList[i].min_unit +"/"+this.tableList[i].max_unit
1062 1062
           this.tableList[i].manufacturer_name = this.getManufacturName(this.tableList[i].manufacturer)
1063
-
1063
+          this.tableList[i].dealer_name = this.getDearName(this.tableList[i].dealer)
1064 1064
           this.tableList[i].stock_in_count = this.getStockIn(this.tableList[i].drug_stock_count, this.tableList[i].max_unit, this.tableList[i].min_unit,this.tableList[i].min_number);
1065 1065
           this.tableList[i].stock_out_count =  this.getActCount(this.tableList[i].drug_stock_count,this.tableList[i].max_unit,this.tableList[i].min_unit,this.tableList[i].min_number)
1066 1066
           this.tableList[i].cancle_out_count = this.getCancleOut(this.tableList[i].drug_stock_count,this.tableList[i].max_unit,this.tableList[i].min_unit,this.tableList[i].min_number)
@@ -1077,6 +1077,7 @@ export default {
1077 1077
           "药品名称",
1078 1078
           "规格&单位",
1079 1079
           "生产厂商",
1080
+          "经销商",
1080 1081
           "批准文号",
1081 1082
           "国家编码",
1082 1083
           "入库数量",
@@ -1092,6 +1093,7 @@ export default {
1092 1093
           "drug_name",
1093 1094
           "specification_name",
1094 1095
           "manufacturer_name",
1096
+          "dealer_name",
1095 1097
           "number",
1096 1098
           "medical_insurance_number",
1097 1099
           "stock_in_count",

+ 16 - 2
src/xt_pages/stock/drugs/components/drugQueryPrint.vue 查看文件

@@ -35,8 +35,9 @@
35 35
                   <td width="6%">药品类型</td>
36 36
                   <td width="10%">药品名称</td>
37 37
                   <td width="9%">规格&单位</td>
38
-                  <td width="13%">生产厂商</td>
39
-                  <td width="10%">批准文号</td>
38
+                  <td width="8%">生产厂商</td>
39
+                  <td width="8%">经销商</td>
40
+                  <td width="8%">批准文号</td>
40 41
                   <td width="6%">国家编码</td>
41 42
                   <td width="6%">仓库名称</td>
42 43
                   <td width="6%">入库数量</td>
@@ -59,6 +60,9 @@
59 60
                   <td>
60 61
                     {{ getManufacturName(item.manufacturer) }}
61 62
                   </td>
63
+                  <td>
64
+                    {{ getDearName(item.dealer) }}
65
+                  </td>
62 66
                   <!-- 批准文号 -->
63 67
                    <td >{{item.number}}</td>
64 68
                   <td >{{ item.medical_insurance_number }}</td>
@@ -325,6 +329,7 @@ export default {
325 329
           this.manufacturerList = response.data.data.manufacturerList;
326 330
           this.goodTypeList = response.data.data.goodTypeList;
327 331
           this.patientList = response.data.data.patientList;
332
+          this.dealerList = response.data.data.dealerList
328 333
         }
329 334
       });
330 335
     },
@@ -1255,6 +1260,15 @@ export default {
1255 1260
       }
1256 1261
       return max_str + min_str;
1257 1262
     },
1263
+    getDearName(id){
1264
+      var dear_name = ""
1265
+      for(let i=0;i<this.dealerList.length;i++){
1266
+        if(id == this.dealerList[i].id){
1267
+          dear_name = this.dealerList[i].dealer_name
1268
+        }
1269
+      }
1270
+      return dear_name
1271
+    },
1258 1272
   },
1259 1273
   created() {
1260 1274
     this.org_id = this.$store.getters.xt_user.org_id;

+ 22 - 4
src/xt_pages/stock/drugs/components/purchaseDrugQuery.vue 查看文件

@@ -87,6 +87,11 @@
87 87
                  {{getManufacturName(scope.row.manufacturer)}}
88 88
               </template>
89 89
             </el-table-column>
90
+            <el-table-column label="经销商" align="center">
91
+              <template slot-scope="scope">
92
+                 {{getDearName(scope.row.dealer)}}
93
+              </template>
94
+            </el-table-column>
90 95
             <el-table-column label="期初结余" align="center">
91 96
 
92 97
                  <el-table-column prop="drugIn" label="数量" width="100" align="center">
@@ -200,6 +205,7 @@ export default {
200 205
             return v.getTime() < 1667232000000
201 206
           },
202 207
       },
208
+     dealerList:[]
203 209
     }
204 210
 
205 211
   },
@@ -223,6 +229,8 @@ export default {
223 229
            this.manufacturerList = response.data.data.manufacturerList
224 230
 
225 231
            this.patientList = response.data.data.patientList
232
+
233
+           this.dealerList = response.data.data.dealerList
226 234
          }
227 235
       })
228 236
     },
@@ -1219,14 +1227,15 @@ export default {
1219 1227
           this.tableList[i].query_date = this.start_time+"~"+this.end_time
1220 1228
           this.tableList[i].good_type = this.getDrugTypeName(this.tableList[i].drug_type)
1221 1229
           this.tableList[i].manufacturer_name = this.getManufacturName(this.tableList[i].manufacturer)
1230
+          this.tableList[i].dealer_name = this.getDearName(this.tableList[i].dealer)
1222 1231
           this.tableList[i].specification_name = this.tableList[i].dose + this.tableList[i].dose_unit +"*"+this.tableList[i].min_number + this.tableList[i].min_unit+"/"+this.tableList[i].max_unit
1223 1232
 
1224 1233
         }
1225 1234
         import('@/vendor/Export2Excel').then(excel => {
1226
-           const multiHeader = [['序号', '查询日期','  药品类型','药品名称','规格&单位','生产产商', '期初结余' , '', '', '本期增加', '', '', '本期减少' , '', '', '期末结余' , '', '']]
1227
-           const header = ['', '','','','','', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额']
1228
-           const merges = ['A1:A2', 'B1:B2','C1:C2','D1:D2','E1:E2','F1:F2','G1:I1', 'J1:L1', 'M1:O1', 'P1:R1']
1229
-           const filterVal = ['index', 'query_date', 'good_type','drug_name','specification_name','manufacturer_name','drugIn','drugInMoney','drugSaleMoney','drugAdd','drugAddPrice','drugAddSalePrice','drugOut','drugOutPrice','drugOutSalePrice','overDrug','overDrugPrice','oveDrugSaleMoney']
1235
+           const multiHeader = [['序号', '查询日期','  药品类型','药品名称','规格&单位','生产产商','经销商', '期初结余' , '', '', '本期增加', '', '', '本期减少' , '', '', '期末结余' , '', '']]
1236
+           const header = ['', '','','','','','', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额']
1237
+           const merges = ['A1:A2', 'B1:B2','C1:C2','D1:D2','E1:E2','F1:F2','G1:G2','H1:J1', 'K1:M1', 'N1:P1', 'Q1:S1']
1238
+           const filterVal = ['index', 'query_date', 'good_type','drug_name','specification_name','manufacturer_name','dealer_name','drugIn','drugInMoney','drugSaleMoney','drugAdd','drugAddPrice','drugAddSalePrice','drugOut','drugOutPrice','drugOutSalePrice','overDrug','overDrugPrice','oveDrugSaleMoney']
1230 1239
 
1231 1240
            const data = this.formatJson(filterVal, this.tableList)
1232 1241
 
@@ -1245,6 +1254,15 @@ export default {
1245 1254
     formatJson(filterVal, jsonData) {
1246 1255
       return jsonData.map(v => filterVal.map(j => v[j]));
1247 1256
     },
1257
+    getDearName(id){
1258
+      var dear_name = ""
1259
+      for(let i=0;i<this.dealerList.length;i++){
1260
+        if(id == this.dealerList[i].id){
1261
+          dear_name = this.dealerList[i].dealer_name
1262
+        }
1263
+      }
1264
+      return dear_name
1265
+    },
1248 1266
   }
1249 1267
 }
1250 1268
 </script>

+ 22 - 5
src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue 查看文件

@@ -88,6 +88,11 @@
88 88
                  {{getManufacturName(scope.row.manufacturer)}}
89 89
               </template>
90 90
             </el-table-column>
91
+            <el-table-column label="经销商" align="center">
92
+              <template slot-scope="scope">
93
+                 {{getDearName(scope.row.dealer)}}
94
+              </template>
95
+            </el-table-column>
91 96
             <el-table-column label="期初结余" align="center">
92 97
 
93 98
                  <el-table-column prop="drugIn" label="数量" width="100" align="center">
@@ -201,6 +206,7 @@ export default {
201 206
             return v.getTime() < 1667491200000
202 207
           },
203 208
       },
209
+     dealerList:[]
204 210
     }
205 211
 
206 212
   },
@@ -224,6 +230,7 @@ export default {
224 230
            this.manufacturerList = response.data.data.manufacturerList
225 231
 
226 232
            this.patientList = response.data.data.patientList
233
+           this.dealerList = response.data.data.dealerList
227 234
          }
228 235
       })
229 236
     },
@@ -1234,14 +1241,15 @@ export default {
1234 1241
           this.tableList[i].query_date = this.start_time+"~"+this.end_time
1235 1242
           this.tableList[i].good_type = this.getDrugTypeName(this.tableList[i].drug_type)
1236 1243
           this.tableList[i].manufacturer_name = this.getManufacturName(this.tableList[i].manufacturer)
1244
+          this.tableList[i].dealer_name = this.getDearName(this.tableList[i].dealer)
1237 1245
           this.tableList[i].specification_name = this.tableList[i].dose + this.tableList[i].dose_unit +"*"+this.tableList[i].min_number + this.tableList[i].min_unit+"/"+this.tableList[i].max_unit
1238 1246
 
1239 1247
         }
1240 1248
         import('@/vendor/Export2Excel').then(excel => {
1241
-           const multiHeader = [['序号', '查询日期','  药品类型','药品名称','规格&单位','生产产商', '期初结余' , '', '', '本期增加', '', '', '本期减少' , '', '', '期末结余' , '', '']]
1242
-           const header = ['', '','','','','', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额']
1243
-           const merges = ['A1:A2', 'B1:B2','C1:C2','D1:D2','E1:E2','F1:F2','G1:I1', 'J1:L1', 'M1:O1', 'P1:R1']
1244
-           const filterVal = ['index', 'query_date', 'good_type','drug_name','specification_name','manufacturer_name','drugIn','drugInMoney','drugSaleMoney','drugAdd','drugAddPrice','drugAddSalePrice','drugOut','drugOutPrice','drugOutSalePrice','overDrug','overDrugPrice','oveDrugSaleMoney']
1249
+           const multiHeader = [['序号', '查询日期','  药品类型','药品名称','规格&单位','生产产商','经销商', '期初结余' , '', '', '本期增加', '', '', '本期减少' , '', '', '期末结余' , '', '']]
1250
+           const header = ['', '','','','','','', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额']
1251
+           const merges = ['A1:A2', 'B1:B2','C1:C2','D1:D2','E1:E2','F1:F2','G1:G2','H1:J1', 'K1:M1', 'N1:P1', 'Q1:S1']
1252
+           const filterVal = ['index', 'query_date', 'good_type','drug_name','specification_name','manufacturer_name','dealer_name','drugIn','drugInMoney','drugSaleMoney','drugAdd','drugAddPrice','drugAddSalePrice','drugOut','drugOutPrice','drugOutSalePrice','overDrug','overDrugPrice','oveDrugSaleMoney']
1245 1253
 
1246 1254
            const data = this.formatJson(filterVal, this.tableList)
1247 1255
 
@@ -1316,7 +1324,16 @@ export default {
1316 1324
           this.$message.success("调试成功")
1317 1325
         }
1318 1326
       })  
1319
-    }
1327
+    },
1328
+    getDearName(id){
1329
+      var dear_name = ""
1330
+      for(let i=0;i<this.dealerList.length;i++){
1331
+        if(id == this.dealerList[i].id){
1332
+          dear_name = this.dealerList[i].dealer_name
1333
+        }
1334
+      }
1335
+      return dear_name
1336
+    },
1320 1337
   }
1321 1338
 }
1322 1339
 </script>

+ 15 - 2
src/xt_pages/stock/drugs/components/purchaseNewDrugQueryPrint.vue 查看文件

@@ -29,6 +29,7 @@
29 29
                                   <td rowspan="2" width="80">药品名称</td>
30 30
                                   <td rowspan="2" width="80">规格&单位</td>
31 31
                                   <td rowspan="2" width="80">生产厂商</td>
32
+                                  <td rowspan="2" width="80">经销商</td>
32 33
                                   <td width="80" colspan="3">期初结余</td>
33 34
                                   <td width="80" colspan="3">本期增加</td>
34 35
                                   <td width="80" colspan="3">本期减少</td>
@@ -57,6 +58,7 @@
57 58
                                  <td> {{item.drug_name}}</td>
58 59
                                  <td> {{item.dose}}{{item.dose_unit}}*{{item.min_number}}{{item.min_unit}}/{{item.max_unit}}</td>
59 60
                                  <td>{{getManufacturName(item.manufacturer)}}</td>
61
+                                 <td>{{getDearName(item.dealer)}}</td>
60 62
                                  <td>{{item.drugIn}}</td>
61 63
                                  <td>{{item.drugInMoney}}</td>
62 64
                                  <td>{{item.drugSaleMoney}}</td>
@@ -117,7 +119,8 @@ export default {
117 119
           autoCountList:[],
118 120
           cancelCountList:[],
119 121
           org_id:0,
120
-          drugTypeList:[]
122
+          drugTypeList:[],
123
+          dealerList:[]
121 124
         }
122 125
     },
123 126
     methods:{
@@ -135,6 +138,7 @@ export default {
135 138
       getStorehouseList().then(response=>{
136 139
          if(response.data.state == 1){
137 140
            this.manufacturerList = response.data.data.manufacturerList
141
+           this.dealerList= response.data.data.dealerList
138 142
          }
139 143
       })
140 144
     },
@@ -1159,7 +1163,16 @@ export default {
1159 1163
         }else{
1160 1164
             return max_str + min_str;
1161 1165
        }
1162
-    }
1166
+    },
1167
+    getDearName(id){
1168
+      var dear_name = ""
1169
+      for(let i=0;i<this.dealerList.length;i++){
1170
+        if(id == this.dealerList[i].id){
1171
+          dear_name = this.dealerList[i].dealer_name
1172
+        }
1173
+      }
1174
+      return dear_name
1175
+    },
1163 1176
    },
1164 1177
     created(){
1165 1178
       this.org_id =  this.$store.getters.xt_user.org_id

+ 2 - 2
src/xt_pages/stock/drugs/drugStockOutOrderDetailPrint.vue 查看文件

@@ -7,7 +7,7 @@
7 7
     </div>
8 8
     <div class="app-container ">
9 9
       <div id="dialysis-print-box">
10
-        <div v-if="orgId!=9671 && orgId!=9675 && orgId!=10210 && orgId!=10188 && orgId!=10127 && orgId!=10164 && orgId!=3877">
10
+        <div v-if="orgId!=9671 && orgId!=9675 && orgId!=10210 && orgId!=10188 && orgId!=10127 && orgId!=10164 && orgId!=3877 && orgId!=10387 && orgId!=0">
11 11
         <div class="dialysis-print-order" v-for="(it,index) in tableList" :key="index">
12 12
          <div class="order-yy-name" style="font-size:22px;font-weight:bold;letter-spacing:0px;margin-top:40px">{{orgName}}</div>
13 13
           <div class="order-title" style="font-weight:500;font-size:18px;">药品出库登记表</div>
@@ -78,7 +78,7 @@
78 78
       </div> 
79 79
 
80 80
 
81
-      <div v-if="orgId == 9671 || orgId == 9675 ||  orgId == 10210 || orgId == 10188 || orgId == 10127 || orgId ==10164 || orgId ==3877">
81
+      <div v-if="orgId == 9671 || orgId == 9675 ||  orgId == 10210 || orgId == 10188 || orgId == 10127 || orgId ==10164 || orgId ==3877 || orgId == 0 || orgId ==10387">
82 82
        <div class="dialysis-print-order" v-for="(it,index) in tableData" :key="index" >
83 83
          <div class="order-yy-name" style="font-size:22px;font-weight:bold;letter-spacing:0px;margin-top:40px">{{orgName}}</div>
84 84
           <div class="order-title" style="font-weight:500;font-size:18px;">药品出库登记表</div>

+ 5 - 2
src/xt_pages/stock/query/goodNewQuery.vue 查看文件

@@ -803,6 +803,7 @@ export default {
803 803
             this.tableList[i].type_name =  this.getGoodTypeName(this.tableList[i].good_type_id)
804 804
             this.tableList[i].spec = this.tableList[i].specification_name +"/"+ this.tableList[i].packing_unit
805 805
             this.tableList[i].manufacturer_name = this.getManufacturName(this.tableList[i].manufacturer)
806
+            this.tableList[i].dealer_name = this.getDearName(this.tableList[i].dealer)
806 807
             this.tableList[i].stock_in_count = this.GetExportStockInCount(this.tableList[i].xt_good_stock,this.tableList[i].id)
807 808
             this.tableList[i].stock_out_count =this.getExportStockOutCount(this.tableList[i].xt_good_stock,this.tableList[i].id) 
808 809
             this.tableList[i].stock_cancel_count = this.getExportCancelStockInfo(this.tableList[i].xt_good_stock,this.tableList[i].id)
@@ -813,10 +814,12 @@ export default {
813 814
           }
814 815
          }
815 816
          
816
-         const tHeader = ['序号','耗材类型', '耗材名称', '规格&单位','生产厂商','批准文号','国家编码','入库数量','出库数量','退库数量','实际出库','剩余库存','总库存']
817
-         const filterVal = ['index','type_name', 'good_name', 'spec','manufacturer_name','number','social_security_directory_code','stock_in_count','act_out_count','stock_cancel_count','stock_out_count','over_count','sum_count']
817
+
818
+         const tHeader = ['序号','耗材类型', '耗材名称', '规格&单位','生产厂商','经销商','批准文号','国家编码','入库数量','出库数量','退库数量','实际出库','剩余库存','总库存']
819
+         const filterVal = ['index','type_name', 'good_name', 'spec','manufacturer_name','dealer_name','number','social_security_directory_code','stock_in_count','act_out_count','stock_cancel_count','stock_out_count','over_count','sum_count']
818 820
         
819 821
          const data = this.formatJson(filterVal, this.tableList)
822
+         
820 823
          excel.export_json_to_excel({
821 824
            header: tHeader,
822 825
            data,

+ 16 - 0
src/xt_pages/stock/query/goodNewQueryPrint.vue 查看文件

@@ -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="15%" v-if="org_id==10485 || org_id == 0">经销商</td>
40 41
                   <td width="9%">批准文号</td>
41 42
                   <td width="9%">国家编码</td>
42 43
                   <td width="6%">仓库名称</td>
@@ -64,6 +65,10 @@
64 65
                   <td>
65 66
                     {{ getManufacturName(item.manufacturer) }}
66 67
                   </td>
68
+
69
+                  <td v-if="org_id == 0 || org_id == 10485">
70
+                    {{ getDearName(item.dealer) }}
71
+                  </td>
67 72
                    <!--  批准文号-->
68 73
                   <td>
69 74
                     {{item.number}}
@@ -367,6 +372,7 @@ export default {
367 372
       good_type: 0,
368 373
       goodTypeList: [],
369 374
       houseList: [],
375
+      dealerList:[],
370 376
     };
371 377
   },
372 378
   methods: {
@@ -391,6 +397,7 @@ export default {
391 397
             this.houseList.push(houseList[i]);
392 398
           }
393 399
           this.manufacturerList = response.data.data.manufacturerList;
400
+          this.dealerList = response.data.data.dealerList
394 401
           this.goodTypeList = response.data.data.goodTypeList;
395 402
           this.patientList = response.data.data.patientList;
396 403
         }
@@ -828,6 +835,15 @@ export default {
828 835
         return 0;
829 836
       }
830 837
     },
838
+    getDearName(id){
839
+      var dear_name = ""
840
+      for(let i=0;i<this.dealerList.length;i++){
841
+        if(id == this.dealerList[i].id){
842
+          dear_name = this.dealerList[i].dealer_name
843
+        }
844
+      }
845
+      return dear_name
846
+    },
831 847
   },
832 848
   created() {
833 849
     this.org_id = this.$store.getters.xt_user.org_id;

+ 23 - 5
src/xt_pages/stock/query/purchaseNewStockQuery.vue 查看文件

@@ -95,6 +95,11 @@
95 95
                  {{getManufacturName(scope.row.manufacturer)}}
96 96
               </template>
97 97
             </el-table-column>
98
+            <el-table-column label="经销商" align="center">
99
+              <template slot-scope="scope">
100
+                 {{getDearName(scope.row.dealer)}}
101
+              </template>
102
+            </el-table-column>
98 103
             <el-table-column label="期初结余" align="center">
99 104
                
100 105
                  <el-table-column prop="stockIn" label="数量" width="100">
@@ -211,6 +216,7 @@ export default {
211 216
             return v.getTime() < 1667491200000
212 217
           },
213 218
       },
219
+     dealerList:[],
214 220
     }
215 221
   
216 222
   },
@@ -238,6 +244,7 @@ export default {
238 244
              this.goodTypeList.push(goodTypeList[i])
239 245
             }
240 246
            this.patientList = response.data.data.patientList
247
+           this.dealerList = response.data.data.dealerList
241 248
          }
242 249
       })
243 250
     },
@@ -289,6 +296,7 @@ export default {
289 296
             this.total = response.data.data.total
290 297
 
291 298
            this.manufacturerList = response.data.data.manufacturerList
299
+          
292 300
            
293 301
          }
294 302
       })
@@ -998,13 +1006,14 @@ export default {
998 1006
           this.tableList[i].query_date = this.start_time+"~"+this.end_time
999 1007
           this.tableList[i].good_type = this.getGoodTypeName(this.tableList[i].good_type_id)
1000 1008
           this.tableList[i].manufacturer_name = this.getManufacturName(this.tableList[i].manufacturer)
1009
+          this.tableList[i].dealer_name = this.getDearName(this.tableList[i].dealer)
1001 1010
           this.tableList[i].specification_name_one = this.tableList[i].specification_name + "/"+this.tableList[i].packing_unit
1002 1011
         }
1003 1012
         import('@/vendor/Export2Excel').then(excel => {
1004
-           const multiHeader = [['序号', '查询日期',' 耗材类型','耗材名称','规格&单位','生产产商', '期初结余' , '', '', '本期增加', '', '', '本期减少' , '', '', '期末结余' , '', '']]
1005
-           const header = ['', '','','','','', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额']
1006
-           const merges = ['A1:A2', 'B1:B2','C1:C2','D1:D2','E1:E2','F1:F2','G1:I1', 'J1:L1', 'M1:O1', 'P1:R1']
1007
-           const filterVal = ['index', 'query_date', 'good_type','good_name','specification_name_one','manufacturer_name','stockIn','stock_in_price','stockMoney','stockAdd','addStockMoney','saleStockMoney','outStock','stockOutprice','saleOutMoney','overStock','overPrice','overMoney']
1013
+           const multiHeader = [['序号', '查询日期',' 耗材类型','耗材名称','规格&单位','生产产商','经销商', '期初结余' , '', '', '本期增加', '', '', '本期减少' , '', '', '期末结余' , '', '']]
1014
+           const header = ['', '','','','','','', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额', '数量', '进货金额', '销售金额']
1015
+           const merges = ['A1:A2', 'B1:B2','C1:C2','D1:D2','E1:E2','F1:F2','G1:G2','H1:J1', 'K1:M1', 'N1:P1', 'Q1:S1']
1016
+           const filterVal = ['index', 'query_date', 'good_type','good_name','specification_name_one','manufacturer_name','dealer_name','stockIn','stock_in_price','stockMoney','stockAdd','addStockMoney','saleStockMoney','outStock','stockOutprice','saleOutMoney','overStock','overPrice','overMoney']
1008 1017
     
1009 1018
            const data = this.formatJson(filterVal, this.tableList)
1010 1019
            
@@ -1030,7 +1039,16 @@ export default {
1030 1039
            this.$message.success("调试成功")
1031 1040
          }
1032 1041
        })
1033
-     }
1042
+     },
1043
+     getDearName(id){
1044
+      var dear_name = ""
1045
+      for(let i=0;i<this.dealerList.length;i++){
1046
+        if(id == this.dealerList[i].id){
1047
+          dear_name = this.dealerList[i].dealer_name
1048
+        }
1049
+      }
1050
+      return dear_name
1051
+    },
1034 1052
   },
1035 1053
 
1036 1054
 }

+ 17 - 3
src/xt_pages/stock/query/purchaseNewStockQueryPrint.vue 查看文件

@@ -12,7 +12,7 @@
12 12
             <div id="print_content">
13 13
                 <div class="print_main_content">
14 14
                     <div class="order_title_panl">
15
-                        <span class="main_title">药品进销存查询表</span>
15
+                        <span class="main_title">耗材进销存查询表</span>
16 16
                     </div>
17 17
                     <div style="text-align:left;margin-bottom:20px;font-size: 14px;margin-bottom:-30px">
18 18
                       <span class="time_p">查询日期:{{start_time}} ~</span><span class="time_p">{{end_time}}</span> 
@@ -29,6 +29,7 @@
29 29
                                   <td rowspan="2" width="80">耗材类型</td>
30 30
                                   <td rowspan="2" width="80">规格&单位</td>
31 31
                                   <td rowspan="2" width="80">生产厂商</td>
32
+                                  <td rowspan="2" width="80">经销商</td>
32 33
                                   <td width="80" colspan="3">期初结余</td>    
33 34
                                   <td width="80" colspan="3">本期增加</td>   
34 35
                                   <td width="80" colspan="3">本期减少</td>  
@@ -57,6 +58,7 @@
57 58
                                  <td>{{getGoodTypeName(item.good_type_id)}}</td>
58 59
                                  <td>{{item.specification_name}}</td>
59 60
                                  <td> {{getManufacturName(item.manufacturer)}}</td>
61
+                                 <td> {{getDearName(item.dealer)}}</td>
60 62
                                  <td>{{item.stockIn}}</td>   
61 63
                                  <td>{{item.stock_in_price}}</td> 
62 64
                                  <td>{{item.stockMoney}}</td>   
@@ -119,6 +121,7 @@ export default {
119 121
           cancelCountList:[],
120 122
           org_id:0,
121 123
           goodTypeList:[],
124
+          dealerList:[]
122 125
         }
123 126
     },
124 127
     methods:{
@@ -142,8 +145,9 @@ export default {
142 145
             var goodTypeList = response.data.data.goodTypeList
143 146
             for(let i=0;i<goodTypeList.length;i++){
144 147
                 this.goodTypeList.push(goodTypeList[i])
145
-                }
146
-            }
148
+             }
149
+            this.dealerList = response.data.data.dealerList
150
+          }
147 151
         })
148 152
         },
149 153
         getlist(){
@@ -657,6 +661,15 @@ export default {
657 661
       }
658 662
       return manufacturer_name
659 663
     },
664
+    getDearName(id){
665
+      var dear_name = ""
666
+      for(let i=0;i<this.dealerList.length;i++){
667
+        if(id == this.dealerList[i].id){
668
+          dear_name = this.dealerList[i].dealer_name
669
+        }
670
+      }
671
+      return dear_name
672
+    },
660 673
     getEndOverPrice(val,val3,val1,val2,val4){
661 674
      var total_price = 0
662 675
      var total_price_one = 0
@@ -702,6 +715,7 @@ export default {
702 715
       return "0.00"
703 716
      }
704 717
    },
718
+
705 719
    },
706 720
     created(){
707 721
       this.org_id =  this.$store.getters.xt_user.org_id

+ 1 - 1
src/xt_pages/user/components/PatientDetail.vue 查看文件

@@ -596,7 +596,7 @@
596 596
             </el-col>
597 597
             <el-col :span="8">
598 598
               <el-form-item label="家庭住址 : " prop="homeAddress">
599
-                <el-input v-model="form.homeAddress" disabled></el-input>
599
+                <el-input v-model="form.homeAddress" disabled style="width: 350px;"></el-input>
600 600
               </el-form-item>
601 601
             </el-col>
602 602
 

+ 1 - 1
src/xt_pages/user/components/PatientForm.vue 查看文件

@@ -638,7 +638,7 @@
638 638
 
639 639
               <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
640 640
                 <el-form-item label="家庭住址 : " prop="homeAddress"  class="is-required">
641
-                  <el-input v-model="form.homeAddress"></el-input>
641
+                  <el-input v-model="form.homeAddress" style="width: 350px;"></el-input>
642 642
                 </el-form-item>
643 643
               </el-col>
644 644
 

+ 9 - 2
src/xt_pages/user/inspection.vue 查看文件

@@ -1348,7 +1348,7 @@ export default {
1348 1348
                 }
1349 1349
               }
1350 1350
               console.log("items23233232",item)
1351
-              if(this.org_id!=0&& this.org_id!=10503){
1351
+              if(this.org_id!=10503){
1352 1352
                 if(item.item_name!=""){
1353 1353
                  this.items.push(item)
1354 1354
                }
@@ -1359,9 +1359,16 @@ export default {
1359 1359
 
1360 1360
               console.log("items232232332wo",item.value.indexOf('http'))
1361 1361
 
1362
-              if(item.value.indexOf("http") >= -1){
1362
+              if(item.value.indexOf("http") <0){
1363 1363
                 this.isPic = true
1364 1364
               }
1365
+
1366
+              if(this.org_id!=10503){
1367
+                this.isPic = false
1368
+              }
1369
+ 
1370
+              console.log("woowwoow",this.isPic)
1371
+              
1365 1372
               
1366 1373
               
1367 1374
               console.log("isPicwowowow",this.items)