Просмотр исходного кода

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

XMLWAN 3 лет назад
Родитель
Сommit
0a1e238c52
32 измененных файлов: 273 добавлений и 884 удалений
  1. 2 1
      src/lang/zh.js
  2. 2 775
      src/xt_pages/dialysis/template/DialysisPrintOrderFortySix.vue
  3. 1 1
      src/xt_pages/hospitalStation/chargeDetailManagement.vue
  4. 20 19
      src/xt_pages/hospitalStation/checkTemplate/printOne.vue
  5. 2 2
      src/xt_pages/hospitalStation/components/ChargePrescriptionTable.vue
  6. 6 5
      src/xt_pages/hospitalStation/components/chargeDialog.vue
  7. 62 2
      src/xt_pages/hospitalStation/components/settlePrescriptionTable.vue
  8. 6 3
      src/xt_pages/hospitalStation/doctorDesk.vue
  9. 4 4
      src/xt_pages/hospitalStation/index.vue
  10. 22 3
      src/xt_pages/hospitalStation/outpatientChargesManagement.vue
  11. 3 1
      src/xt_pages/hospitalStation/print.vue
  12. 8 7
      src/xt_pages/hospitalStation/statementTemplate/printOne.vue
  13. 3 1
      src/xt_pages/hospitalStation/template/printFive.vue
  14. 4 2
      src/xt_pages/hospitalStation/template/printFour.vue
  15. 3 2
      src/xt_pages/hospitalStation/template/printOne.vue
  16. 4 2
      src/xt_pages/hospitalStation/template/printThree.vue
  17. 3 1
      src/xt_pages/hospitalStation/template/printTwo.vue
  18. 3 1
      src/xt_pages/hospitalStation/treatTemplate/printOne.vue
  19. 3 1
      src/xt_pages/hospitalStation/treatTemplate/printTwo.vue
  20. 54 4
      src/xt_pages/outpatientCharges/outpatientChargesManagement.vue
  21. 22 20
      src/xt_pages/outpatientDoctorStation/checkTemplate/printOne.vue
  22. 3 3
      src/xt_pages/outpatientDoctorStation/pastInquiries.vue
  23. 4 2
      src/xt_pages/outpatientDoctorStation/template/printFive.vue
  24. 4 2
      src/xt_pages/outpatientDoctorStation/template/printFour.vue
  25. 4 2
      src/xt_pages/outpatientDoctorStation/template/printOne.vue
  26. 4 2
      src/xt_pages/outpatientDoctorStation/template/printThree.vue
  27. 3 1
      src/xt_pages/outpatientDoctorStation/template/printTwo.vue
  28. 2 1
      src/xt_pages/outpatientDoctorStation/treatTemplate/printOne.vue
  29. 4 2
      src/xt_pages/outpatientDoctorStation/treatTemplate/printTwo.vue
  30. 6 10
      src/xt_pages/outpatientTool/yidiClear.vue
  31. 1 1
      src/xt_pages/supply/components/addSupply.vue
  32. 1 1
      src/xt_pages/supply/supplyQuery.vue

+ 2 - 1
src/lang/zh.js Просмотреть файл

@@ -269,7 +269,8 @@ export default {
269 269
     summary_tool: '项目消费明细汇总',
270 270
     labelPrint: '标签打印',
271 271
     faPiao: '发票设置',
272
-    chargeDetailManagement: '收费明细'
272
+    chargeDetailManagement: '收费明细',
273
+    yidiClear:'异地清分',
273 274
   },
274 275
   navbar: {
275 276
     logOut: '退出登录',

+ 2 - 775
src/xt_pages/dialysis/template/DialysisPrintOrderFortySix.vue Просмотреть файл

@@ -91,61 +91,7 @@
91 91
             </div>
92 92
           </div>
93 93
         </div>
94
-        <div class="row" v-if="org_id != 10307">
95
-          <div class="inline_block">
96
-            入科方式:
97
-            <div
98
-              v-for="(item, index) in way_arr"
99
-              class="under_line"
100
-              v-if="receiverTreatmentAccess.way == item.id"
101
-              style="width: 180px; text-align: left"
102
-            >
103
-              {{ item.name }}
104
-            </div>
105
-            <!--<div-->
106
-            <!--class="under_line"-->
107
-            <!--v-if="receiverTreatmentAccess.way == 1"-->
108
-            <!--style="width: 180px;text-align: left"-->
109
-            <!--&gt;-->
110
-            <!--步行-->
111
-            <!--</div>-->
112
-            <!--<div-->
113
-            <!--class="under_line"-->
114
-            <!--v-if="receiverTreatmentAccess.way == 2"-->
115
-            <!--style="width: 180px;text-align: left"-->
116
-            <!--&gt;-->
117
-            <!--扶行-->
118
-            <!--</div>-->
119
-            <!--<div-->
120
-            <!--class="under_line"-->
121
-            <!--v-if="receiverTreatmentAccess.way == 3"-->
122
-            <!--style="width: 180px;text-align: left"-->
123
-            <!--&gt;-->
124
-            <!--轮椅-->
125
-            <!--</div>-->
126
-            <!--<div-->
127
-            <!--class="under_line"-->
128
-            <!--v-if="receiverTreatmentAccess.way == 4"-->
129
-            <!--style="width: 180px;text-align: left"-->
130
-            <!--&gt;-->
131
-            <!--平车-->
132
-            <!--</div>-->
133
-          </div>
134
-          <div class="inline_block" style="margin-left: 10px">
135
-            诊断:
136
-            <div
137
-              class="under_line"
138
-              style="
139
-                width: 640px;
140
-                text-align: left;
141
-                word-wrap: break-word;
142
-                white-space: inherit;
143
-              "
144
-            >
145
-              {{ patientInfo.diagnose }}
146
-            </div>
147
-          </div>
148
-        </div>
94
+  
149 95
 
150 96
         <div
151 97
           class="row"
@@ -1640,68 +1586,7 @@
1640 1586
               </div>
1641 1587
             </div>
1642 1588
           </div>
1643
-          <div class="row" style="margin-bottom: 10px" v-if="org_id != 10307">
1644
-            <div class="inline_block">
1645
-              入科方式:
1646
-              <!--<check-box v-for="item, index in nutrition_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.nutrition == item.id?true:false"></check-box>-->
1647
-              <div
1648
-                v-for="(item, index) in way_arr"
1649
-                class="under_line"
1650
-                v-if="receiverTreatmentAccess.way == item.id"
1651
-                style="width: 180px; text-align: left"
1652
-              >
1653
-                {{ item.name }}
1654
-              </div>
1655
-              <!--<div-->
1656
-              <!--class="under_line"-->
1657
-              <!--v-if="receiverTreatmentAccess.way == 0"-->
1658
-              <!--style="width: 180px;text-align: left"-->
1659
-              <!--&gt;</div>-->
1660
-              <!--<div-->
1661
-              <!--class="under_line"-->
1662
-              <!--v-if="receiverTreatmentAccess.way == 1"-->
1663
-              <!--style="width: 180px;text-align: left"-->
1664
-              <!--&gt;-->
1665
-              <!--步行-->
1666
-              <!--</div>-->
1667
-              <!--<div-->
1668
-              <!--class="under_line"-->
1669
-              <!--v-if="receiverTreatmentAccess.way == 2"-->
1670
-              <!--style="width: 180px;text-align: left"-->
1671
-              <!--&gt;-->
1672
-              <!--扶行-->
1673
-              <!--</div>-->
1674
-              <!--<div-->
1675
-              <!--class="under_line"-->
1676
-              <!--v-if="receiverTreatmentAccess.way == 3"-->
1677
-              <!--style="width: 180px;text-align: left"-->
1678
-              <!--&gt;-->
1679
-              <!--轮椅-->
1680
-              <!--</div>-->
1681
-              <!--<div-->
1682
-              <!--class="under_line"-->
1683
-              <!--v-if="receiverTreatmentAccess.way == 4"-->
1684
-              <!--style="width: 180px;text-align: left"-->
1685
-              <!--&gt;-->
1686
-              <!--平车-->
1687
-              <!--</div>-->
1688
-            </div>
1689
-            <div class="inline_block" style="margin-left: 10px">
1690
-              诊断:
1691
-              <div
1692
-                class="under_line"
1693
-                style="
1694
-                  width: 640px;
1695
-                  text-align: left;
1696
-                  word-break: break-all;
1697
-                  word-wrap: break-word;
1698
-                  display: inline-block;
1699
-                "
1700
-              >
1701
-                {{ patientInfo.diagnose }}
1702
-              </div>
1703
-            </div>
1704
-          </div>
1589
+
1705 1590
         </template>
1706 1591
         <div class="row" style="margin-top: -11px; position: relative">
1707 1592
           <table class="proj_table">
@@ -1820,664 +1705,6 @@
1820 1705
                 </tr>
1821 1706
               </template>
1822 1707
 
1823
-              <tr v-if="org_id != 10307">
1824
-                <td
1825
-                  colspan="7"
1826
-                  style="
1827
-                    letter-spacing: 5px;
1828
-                    text-align: center;
1829
-                    font-weight: 520;
1830
-                    font-size: 16px;
1831
-                    padding: 6px 8px;
1832
-                    line-height: 30px;
1833
-                  "
1834
-                >
1835
-                  透析后情况
1836
-                </td>
1837
-              </tr>
1838
-              <tr v-if="org_id != 10307">
1839
-                <td colspan="7">
1840
-                  <div
1841
-                    class="row"
1842
-                    style="padding: 2px 0; line-height: 23px; display: flex"
1843
-                  >
1844
-                    <div class="inline_block" style="flex: 1">
1845
-                      T:
1846
-                      <div
1847
-                        class="under_line"
1848
-                        style="width: 50px; text-align: center"
1849
-                      >
1850
-                        {{
1851
-                          afterdialysis.temperature
1852
-                            ? afterdialysis.temperature
1853
-                            : "/"
1854
-                        }}
1855
-                      </div>
1856
-                      °C
1857
-                    </div>
1858
-                    <div
1859
-                      class="inline_block"
1860
-                      style="margin-left: 10px; flex: 1"
1861
-                    >
1862
-                      P:
1863
-                      <div
1864
-                        class="under_line"
1865
-                        style="width: 50px; text-align: center"
1866
-                      >
1867
-                        {{
1868
-                          afterdialysis.pulse_frequency
1869
-                            ? afterdialysis.pulse_frequency
1870
-                            : "/"
1871
-                        }}
1872
-                      </div>
1873
-                      次/分
1874
-                    </div>
1875
-                    <div
1876
-                      class="inline_block"
1877
-                      style="margin-left: 10px; flex: 1"
1878
-                    >
1879
-                      R:
1880
-                      <div
1881
-                        class="under_line"
1882
-                        style="width: 50px; text-align: center"
1883
-                      >
1884
-                        {{
1885
-                          afterdialysis.breathing_rate
1886
-                            ? afterdialysis.breathing_rate
1887
-                            : "/"
1888
-                        }}
1889
-                      </div>
1890
-                      次/分
1891
-                    </div>
1892
-                    <div
1893
-                      class="inline_block"
1894
-                      style="margin-left: 10px; flex: 1.5"
1895
-                    >
1896
-                      BP:
1897
-                      <div
1898
-                        class="under_line"
1899
-                        style="width: 50px; text-align: center"
1900
-                      >
1901
-                        {{
1902
-                          afterdialysis.systolic_blood_pressure
1903
-                            ? afterdialysis.systolic_blood_pressure
1904
-                            : "/"
1905
-                        }}
1906
-                      </div>
1907
-                      /
1908
-                      <div
1909
-                        class="under_line"
1910
-                        style="width: 50px; text-align: center"
1911
-                      >
1912
-                        {{
1913
-                          afterdialysis.diastolic_blood_pressure
1914
-                            ? afterdialysis.diastolic_blood_pressure
1915
-                            : "/"
1916
-                        }}
1917
-                      </div>
1918
-                      mmHg
1919
-                    </div>
1920
-                    <div class="inline_block" style="flex: 1.5">
1921
-                      实际治疗时间:
1922
-                      <div
1923
-                        class="under_line"
1924
-                        style="width: 30px; text-align: center"
1925
-                      >
1926
-                        {{
1927
-                          afterdialysis.actual_treatment_hour
1928
-                            ? afterdialysis.actual_treatment_hour
1929
-                            : "/"
1930
-                        }}
1931
-                      </div>
1932
-                      h
1933
-                      <div
1934
-                        class="under_line"
1935
-                        style="width: 30px; text-align: center"
1936
-                      >
1937
-                        {{
1938
-                          afterdialysis.actual_treatment_minute
1939
-                            ? afterdialysis.actual_treatment_minute
1940
-                            : 0
1941
-                        }}
1942
-                      </div>
1943
-                      min
1944
-                    </div>
1945
-                  </div>
1946
-                  <div
1947
-                    class="row"
1948
-                    style="padding: 2px 0; line-height: 23px; display: flex"
1949
-                  >
1950
-                    <div class="inline_block" style="flex: 2.5">
1951
-                      透析器凝血:
1952
-                      <div
1953
-                        class="under_line"
1954
-                        style="
1955
-                          width: 170px;
1956
-                          text-align: center;
1957
-                          white-space: normal;
1958
-                        "
1959
-                      >
1960
-                        {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
1961
-                      </div>
1962
-                    </div>
1963
-                    <div class="inline_block" style="flex: 2">
1964
-                      内瘘:
1965
-                      <div
1966
-                        class="under_line"
1967
-                        style="
1968
-                          width: 170px;
1969
-                          text-align: center;
1970
-                          white-space: normal;
1971
-                        "
1972
-                      >
1973
-                        {{
1974
-                          afterdialysis.internal_fistula
1975
-                            ? afterdialysis.internal_fistula
1976
-                            : "/"
1977
-                        }}
1978
-                      </div>
1979
-                    </div>
1980
-                    <div class="inline_block" style="flex: 4">
1981
-                      导管:
1982
-                      <div
1983
-                        class="under_line"
1984
-                        style="min-width: 120px; text-align: center"
1985
-                      >
1986
-                        {{
1987
-                          afterdialysis.catheter ? afterdialysis.catheter : "/"
1988
-                        }}
1989
-                      </div>
1990
-                    </div>
1991
-                  </div>
1992
-
1993
-                  <div
1994
-                    class="row"
1995
-                    style="padding: 2px 0; line-height: 23px; display: flex"
1996
-                  >
1997
-                    <div class="inline_block" style="flex: 1">
1998
-                      透后体重:
1999
-                      <div
2000
-                        class="under_line"
2001
-                        style="width: 70px; text-align: center"
2002
-                      >
2003
-                        {{
2004
-                          afterdialysis.weight_after
2005
-                            ? parseFloat(
2006
-                                afterdialysis.weight_after -
2007
-                                  afterdialysis.additional_weight
2008
-                              ).toFixed(1)
2009
-                            : "/"
2010
-                        }}
2011
-                      </div>
2012
-                      kg
2013
-                    </div>
2014
-
2015
-                    <div class="inline_block" style="flex: 1">
2016
-                      体重减少:
2017
-                      <div
2018
-                        class="under_line"
2019
-                        style="width: 70px; text-align: center"
2020
-                      >
2021
-                        {{
2022
-                          afterdialysis.weight_loss
2023
-                            ? afterdialysis.weight_loss
2024
-                            : "/"
2025
-                        }}
2026
-                      </div>
2027
-                      kg
2028
-                    </div>
2029
-
2030
-                    <div
2031
-                      class="inline_block"
2032
-                      style="flex: 1"
2033
-                      v-if="org_id != 10223"
2034
-                    >
2035
-                      透析中入量:
2036
-                      <div
2037
-                        class="under_line"
2038
-                        style="width: 70px; text-align: center"
2039
-                      >
2040
-                        {{
2041
-                          afterdialysis.dialysis_intakes
2042
-                            ? afterdialysis.dialysis_intakes
2043
-                            : "/"
2044
-                        }}
2045
-                      </div>
2046
-                      {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
2047
-                    </div>
2048
-
2049
-                    <div class="inline_block" style="flex: 1">
2050
-                      实际超滤量:
2051
-                      <div
2052
-                        class="under_line"
2053
-                        style="width: 70px; text-align: center"
2054
-                      >
2055
-                        {{
2056
-                          afterdialysis.actual_ultrafiltration
2057
-                            ? afterdialysis.actual_ultrafiltration
2058
-                            : "/"
2059
-                        }}
2060
-                      </div>
2061
-                      ml
2062
-                    </div>
2063
-                  </div>
2064
-                  <div
2065
-                    class="row"
2066
-                    style="padding: 2px 0; line-height: 23px; display: flex"
2067
-                    v-if="org_id == 10223"
2068
-                  >
2069
-                    <div class="inline_block" style="flex: 1">
2070
-                      动脉管道:
2071
-                      <div
2072
-                        class="under_line"
2073
-                        style="width: 100px; text-align: center"
2074
-                      >
2075
-                        <span v-if="afterdialysis.arterial_tube == 0">/</span>
2076
-                        <span v-if="afterdialysis.arterial_tube == 1"
2077
-                          >动脉管道0</span
2078
-                        >
2079
-                        <span v-if="afterdialysis.arterial_tube == 2"
2080
-                          >动脉管道+</span
2081
-                        >
2082
-                        <span v-if="afterdialysis.arterial_tube == 3"
2083
-                          >动脉管道++</span
2084
-                        >
2085
-                        <span v-if="afterdialysis.arterial_tube == 4"
2086
-                          >动脉管道+++</span
2087
-                        >
2088
-                      </div>
2089
-                    </div>
2090
-                    <div class="inline_block" style="flex: 1">
2091
-                      静脉管道:
2092
-                      <div
2093
-                        class="under_line"
2094
-                        style="width: 100px; text-align: center"
2095
-                      >
2096
-                        <span v-if="afterdialysis.intravenous_tube == 0"
2097
-                          >/</span
2098
-                        >
2099
-                        <span v-if="afterdialysis.intravenous_tube == 1"
2100
-                          >静脉管道0</span
2101
-                        >
2102
-                        <span v-if="afterdialysis.intravenous_tube == 2"
2103
-                          >静脉管道+</span
2104
-                        >
2105
-                        <span v-if="afterdialysis.intravenous_tube == 3"
2106
-                          >静脉管道++</span
2107
-                        >
2108
-                        <span v-if="afterdialysis.intravenous_tube == 4"
2109
-                          >静脉管道+++</span
2110
-                        >
2111
-                      </div>
2112
-                    </div>
2113
-                    <div class="inline_block" style="flex: 1">
2114
-                      并发症:
2115
-                      <div
2116
-                        class="under_line"
2117
-                        style="width: 170px; text-align: center"
2118
-                      >
2119
-                        {{
2120
-                          afterdialysis.complication
2121
-                            ? afterdialysis.complication
2122
-                            : "/"
2123
-                        }}
2124
-                      </div>
2125
-                    </div>
2126
-                  </div>
2127
-                  <div
2128
-                    class="row"
2129
-                    style="padding: 2px 0; line-height: 23px; display: flex"
2130
-                    v-if="org_id == 10223"
2131
-                  >
2132
-                    <div class="inline_block" style="flex: 1">
2133
-                      穿刺处血肿:
2134
-                      <div
2135
-                        class="under_line"
2136
-                        style="width: 50px; text-align: center"
2137
-                      >
2138
-                        <span v-if="afterdialysis.puncture_point_haematoma == 0"
2139
-                          >/</span
2140
-                        >
2141
-                        <span v-if="afterdialysis.puncture_point_haematoma == 1"
2142
-                          >有</span
2143
-                        >
2144
-                        <span v-if="afterdialysis.puncture_point_haematoma == 2"
2145
-                          >无</span
2146
-                        >
2147
-                      </div>
2148
-                    </div>
2149
-                    <div class="inline_block" style="flex: 1">
2150
-                      中心静脉封管(肝素-A端):
2151
-                      <div
2152
-                        class="under_line"
2153
-                        style="width: 70px; text-align: center"
2154
-                      >
2155
-                        {{ afterdialysis.cvc_a ? afterdialysis.cvc_a : "/" }}
2156
-                      </div>
2157
-                    </div>
2158
-                    <div class="inline_block" style="flex: 1">
2159
-                      中心静脉封管(肝素-V端):
2160
-                      <div
2161
-                        class="under_line"
2162
-                        style="width: 70px; text-align: center"
2163
-                      >
2164
-                        {{ afterdialysis.cvc_v ? afterdialysis.cvc_v : "/" }}
2165
-                      </div>
2166
-                    </div>
2167
-                  </div>
2168
-
2169
-                  <div
2170
-                    class="row"
2171
-                    style="padding: 2px 0; line-height: 23px; display: flex"
2172
-                  >
2173
-                    <div
2174
-                      class="inline_block"
2175
-                      style="flex: 1; display: inline-block"
2176
-                    >
2177
-                      治疗小结:
2178
-                      <div
2179
-                        class="under_line"
2180
-                        style="
2181
-                          width: 860px;
2182
-                          line-height: 25px;
2183
-                          text-align: left;
2184
-                          margin-left: 2px;
2185
-                          display: inline-block;
2186
-                          white-space: normal;
2187
-                        "
2188
-                      >
2189
-                        {{
2190
-                          summary.dialysis_summary
2191
-                            ? summary.dialysis_summary
2192
-                            : "/"
2193
-                        }}
2194
-                      </div>
2195
-                    </div>
2196
-                  </div>
2197
-                  <div
2198
-                    class="row"
2199
-                    style="padding: 2px 0; line-height: 23px; display: flex"
2200
-                    v-if="org_id != 10223"
2201
-                  >
2202
-                    <div
2203
-                      class="inline_block"
2204
-                      style="flex: 1; display: inline-block"
2205
-                    >
2206
-                      备注:
2207
-                      <div
2208
-                        class="under_line"
2209
-                        style="
2210
-                          width: 860px;
2211
-                          line-height: 25px;
2212
-                          text-align: left;
2213
-                          margin-left: 2px;
2214
-                          display: inline-block;
2215
-                          white-space: normal;
2216
-                        "
2217
-                      >
2218
-                        {{ afterdialysis.remark ? afterdialysis.remark : "/" }}
2219
-                      </div>
2220
-                    </div>
2221
-                  </div>
2222
-                </td>
2223
-              </tr>
2224
-              <tr>
2225
-                <td colspan="7">
2226
-                  <div
2227
-                    class="row"
2228
-                    style="padding: 2px 0; line-height: 23px; display: flex"
2229
-                  >
2230
-                    <div class="inline_block" style="flex: 1">
2231
-                      穿刺护士:
2232
-                      <div
2233
-                        class="under_line"
2234
-                        style="width: 80px; text-align: center"
2235
-                      >
2236
-                        <span
2237
-                          style="height: 30px; display: inline-block"
2238
-                          v-if="
2239
-                            setAdminUserES(
2240
-                              dialysisOrder == null
2241
-                                ? 0
2242
-                                : dialysisOrder.puncture_nurse
2243
-                            ) == ''
2244
-                          "
2245
-                        >
2246
-                          {{
2247
-                            getAdminUser(
2248
-                              dialysisOrder == null
2249
-                                ? 0
2250
-                                : dialysisOrder.puncture_nurse
2251
-                            )
2252
-                          }}</span
2253
-                        >
2254
-                        <img
2255
-                          style="height: 30px"
2256
-                          :src="
2257
-                            setAdminUserES(
2258
-                              dialysisOrder == null
2259
-                                ? 0
2260
-                                : dialysisOrder.puncture_nurse
2261
-                            )
2262
-                          "
2263
-                          alt=""
2264
-                          srcset=""
2265
-                          v-else
2266
-                        />
2267
-                      </div>
2268
-                    </div>
2269
-                    <div class="inline_block" style="flex: 1">
2270
-                      治疗护士:
2271
-                      <div
2272
-                        class="under_line"
2273
-                        style="width: 80px; text-align: center"
2274
-                      >
2275
-                        <span
2276
-                          style="height: 30px; display: inline-block"
2277
-                          v-if="
2278
-                            setAdminUserES(
2279
-                              dialysisOrder == null
2280
-                                ? 0
2281
-                                : dialysisOrder.start_nurse
2282
-                            ) == ''
2283
-                          "
2284
-                        >
2285
-                          {{
2286
-                            getAdminUser(
2287
-                              dialysisOrder == null
2288
-                                ? 0
2289
-                                : dialysisOrder.start_nurse
2290
-                            )
2291
-                          }}</span
2292
-                        >
2293
-                        <img
2294
-                          style="height: 30px"
2295
-                          :src="
2296
-                            setAdminUserES(
2297
-                              dialysisOrder == null
2298
-                                ? 0
2299
-                                : dialysisOrder.start_nurse
2300
-                            )
2301
-                          "
2302
-                          alt=""
2303
-                          srcset=""
2304
-                          v-else
2305
-                        />
2306
-                      </div>
2307
-                    </div>
2308
-                    <div class="inline_block" style="flex: 1">
2309
-                      核对人员:
2310
-                      <div
2311
-                        class="under_line"
2312
-                        style="width: 80px; text-align: center"
2313
-                        v-if="dialysisOrder == null"
2314
-                      >
2315
-                        <span
2316
-                          style="height: 30px; display: inline-block"
2317
-                          v-if="
2318
-                            setAdminUserES(check == null ? 0 : check.creater) ==
2319
-                            ''
2320
-                          "
2321
-                        >
2322
-                          {{ getAdminUser(check == null ? 0 : check.creater) }}
2323
-                        </span>
2324
-                        <img
2325
-                          style="height: 30px"
2326
-                          :src="
2327
-                            setAdminUserES(check == null ? 0 : check.creater)
2328
-                          "
2329
-                          alt=""
2330
-                          srcset=""
2331
-                          v-else
2332
-                        />
2333
-                      </div>
2334
-                      <div
2335
-                        class="under_line"
2336
-                        style="width: 80px; text-align: center"
2337
-                        v-if="
2338
-                          dialysisOrder != null &&
2339
-                          dialysisOrder.start_nurse == check.modifier
2340
-                        "
2341
-                      >
2342
-                        <span
2343
-                          style="height: 30px; display: inline-block"
2344
-                          v-if="
2345
-                            setAdminUserES(check == null ? 0 : check.creater) ==
2346
-                            ''
2347
-                          "
2348
-                        >
2349
-                          {{ getAdminUser(check == null ? 0 : check.creater) }}
2350
-                        </span>
2351
-                        <img
2352
-                          style="height: 30px"
2353
-                          :src="
2354
-                            setAdminUserES(check == null ? 0 : check.creater)
2355
-                          "
2356
-                          alt=""
2357
-                          srcset=""
2358
-                          v-else
2359
-                        />
2360
-                      </div>
2361
-                      <div
2362
-                        class="under_line"
2363
-                        style="width: 80px; text-align: center"
2364
-                        v-if="
2365
-                          dialysisOrder != null &&
2366
-                          dialysisOrder.start_nurse == check.creater
2367
-                        "
2368
-                      >
2369
-                        <span
2370
-                          style="height: 30px; display: inline-block"
2371
-                          v-if="
2372
-                            setAdminUserES(
2373
-                              check == null ? 0 : check.modifier
2374
-                            ) == ''
2375
-                          "
2376
-                        >
2377
-                          {{ getAdminUser(check == null ? 0 : check.modifier) }}
2378
-                        </span>
2379
-                        <img
2380
-                          style="height: 30px"
2381
-                          :src="
2382
-                            setAdminUserES(check == null ? 0 : check.modifier)
2383
-                          "
2384
-                          alt=""
2385
-                          srcset=""
2386
-                          v-else
2387
-                        />
2388
-                      </div>
2389
-                      <div
2390
-                        class="under_line"
2391
-                        style="width: 80px; text-align: center"
2392
-                        v-if="
2393
-                          dialysisOrder != null &&
2394
-                          dialysisOrder.start_nurse != check.creater &&
2395
-                          dialysisOrder.start_nurse != check.modifier
2396
-                        "
2397
-                      >
2398
-                        <span
2399
-                          style="height: 30px; display: inline-block"
2400
-                          v-if="
2401
-                            setAdminUserES(check == null ? 0 : check.creater) ==
2402
-                            ''
2403
-                          "
2404
-                        >
2405
-                          {{ getAdminUser(check == null ? 0 : check.creater) }}
2406
-                        </span>
2407
-                        <img
2408
-                          style="height: 30px"
2409
-                          :src="
2410
-                            setAdminUserES(check == null ? 0 : check.creater)
2411
-                          "
2412
-                          alt=""
2413
-                          srcset=""
2414
-                          v-else
2415
-                        />
2416
-                      </div>
2417
-                    </div>
2418
-                    <div class="inline_block" style="flex: 1">
2419
-                      下机护士:
2420
-                      <div
2421
-                        class="under_line"
2422
-                        style="width: 80px; text-align: center"
2423
-                      >
2424
-                        <span
2425
-                          style="height: 30px; display: inline-block"
2426
-                          v-if="
2427
-                            setAdminUserES(
2428
-                              dialysisOrder == null
2429
-                                ? 0
2430
-                                : dialysisOrder.finish_nurse
2431
-                            ) == ''
2432
-                          "
2433
-                        >
2434
-                          {{
2435
-                            getAdminUser(
2436
-                              dialysisOrder == null
2437
-                                ? 0
2438
-                                : dialysisOrder.finish_nurse
2439
-                            )
2440
-                          }}
2441
-                        </span>
2442
-                        <img
2443
-                          style="height: 30px"
2444
-                          :src="
2445
-                            setAdminUserES(
2446
-                              dialysisOrder == null
2447
-                                ? 0
2448
-                                : dialysisOrder.finish_nurse
2449
-                            )
2450
-                          "
2451
-                          alt=""
2452
-                          srcset=""
2453
-                          v-else
2454
-                        />
2455
-                      </div>
2456
-                    </div>
2457
-                    <div class="inline_block" style="flex: 1">
2458
-                      治疗医生:
2459
-                      <div
2460
-                        class="under_line"
2461
-                        style="width: 80px; text-align: center"
2462
-                      >
2463
-                        <span
2464
-                          style="height: 30px; display: inline-block"
2465
-                          v-if="setAdminUserES(prescription.creater) == ''"
2466
-                        >
2467
-                          {{ getAdminUser(prescription.creater) }}
2468
-                        </span>
2469
-                        <img
2470
-                          style="height: 30px"
2471
-                          :src="setAdminUserES(prescription.creater)"
2472
-                          alt=""
2473
-                          srcset=""
2474
-                          v-else
2475
-                        />
2476
-                      </div>
2477
-                    </div>
2478
-                  </div>
2479
-                </td>
2480
-              </tr>
2481 1708
             </tbody>
2482 1709
           </table>
2483 1710
           <!-- <div  class="print-yema">1</div> -->

+ 1 - 1
src/xt_pages/hospitalStation/chargeDetailManagement.vue Просмотреть файл

@@ -1163,8 +1163,8 @@ export default {
1163 1163
                 prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1164 1164
                 medical_insurance_number: prescription.advices[b].med_list_codg,
1165 1165
 
1166
-                code: prescription.advices[b].drug.medical_insurance_number,
1167 1166
                 spec: spec,
1167
+                code: prescription.advices[b].drug.medical_insurance_number,
1168 1168
                 det_item_fee_sumamt: prescription.advices[b].order_info.det_item_fee_sumamt,
1169 1169
                 name_id: prescription.advices[b].drug.manufacturer,
1170 1170
                 fulamt_ownpay_amt: prescription.advices[b].order_info.fulamt_ownpay_amt,

+ 20 - 19
src/xt_pages/hospitalStation/checkTemplate/printOne.vue Просмотреть файл

@@ -40,7 +40,7 @@
40 40
                     </div>
41 41
                     <div>医生签字:{{ doctor ? doctor : '' }}</div>
42 42
                 </div>
43
-            </div>   
43
+            </div>
44 44
             <img style="width:100%;" v-if="org_id == 10138" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
45 45
         </div>
46 46
     </div>
@@ -56,7 +56,7 @@ export default {
56 56
       record_date:String,
57 57
       prescription_id:Number,
58 58
       ids:String
59
-    }, 
59
+    },
60 60
     data(){
61 61
       return {
62 62
         doctorList:[],
@@ -97,10 +97,10 @@ export default {
97 97
       getAllDoctorList().then(response=>{
98 98
         if(response.data.state == 1){
99 99
                var doctor =  response.data.data.doctor
100
-               
100
+
101 101
                this.doctorList = doctor
102 102
              }
103
-         })   
103
+         })
104 104
      },
105 105
 
106 106
       getDoctor(id){
@@ -126,7 +126,8 @@ export default {
126 126
           patient_id:this.patient_id,
127 127
           record_date:this.record_date,
128 128
           prescription_id:this.prescription_id,
129
-          ids:this.ids
129
+          ids:this.ids,
130
+          p_type:1,
130 131
         }
131 132
         console.log("params",params)
132 133
        getPrescriptionPrint(params).then(response=>{
@@ -151,7 +152,7 @@ export default {
151 152
                             }
152 153
                         }
153 154
                   })
154
-                
155
+
155 156
               }
156 157
             })
157 158
             let data = []
@@ -166,9 +167,9 @@ export default {
166 167
               if(item.team.id == 0){
167 168
                 data2.push(item)
168 169
               }
169
-              
170
+
170 171
             })
171
-          
172
+
172 173
             this.total = total
173 174
             this.pre_time = this.advicePrint[0].pre_time
174 175
             this.doctor = this.advicePrint[0].doctor
@@ -184,7 +185,7 @@ export default {
184 185
             let outputlist1Name = response.data.data.his.patient_info ? JSON.parse(response.data.data.his.patient_info) : {};
185 186
             this.faber = outputlist1Name
186 187
 
187
-            
188
+
188 189
           }
189 190
        })
190 191
      },
@@ -237,7 +238,7 @@ export default {
237 238
             }
238 239
               addtotal =  Math.floor(addtotal * 100) / 100
239 240
         }
240
-       
241
+
241 242
        }
242 243
 
243 244
       for (let i = 0; i < this.prescriptions.length; i++) {
@@ -247,7 +248,7 @@ export default {
247 248
                 total = total + this.prescriptions[i].advices[a].price * this.prescriptions[i].advices[a].prescribing_number
248 249
               }
249 250
             }
250
-          
251
+
251 252
             if (this.prescriptions[i].additionalcharge != null) {
252 253
               for (let a = 0; a < this.prescriptions[i].additionalcharge.length; a++) {
253 254
                 addtotal = addtotal + this.prescriptions[i].additionalcharge[a].price * this.prescriptions[i].additionalcharge[a].count
@@ -259,7 +260,7 @@ export default {
259 260
 
260 261
         return total + addtotal
261 262
       },
262
-      
263
+
263 264
      getProjectName(id){
264 265
         var project_name = ""
265 266
         for(let i=0;i<this.projectList.length;i++){
@@ -274,14 +275,14 @@ export default {
274 275
         let newIds = ids.split(',').sort(function(a,b){
275 276
           return a-b;
276 277
         })
277
-        
278
+
278 279
         var name = ""
279 280
         let nameArr = []
280 281
         for(let i=0;i<this.diagnoses.length;i++){
281 282
           // if(id == this.diagnoses[i].id){
282 283
           //    name = this.diagnoses[i].class_name
283 284
           // }
284
-          
285
+
285 286
           if(newIds.indexOf(this.diagnoses[i].id.toString()) > -1){
286 287
             // name += diagnoses[i].class_name + ' '
287 288
             nameArr.push(this.diagnoses[i].class_name)
@@ -291,7 +292,7 @@ export default {
291 292
         nameArr.map((item,index) => {
292 293
           if(item == '尿毒症'){
293 294
             newNameArr.push(item)
294
-            nameArr.splice(index,1,'') 
295
+            nameArr.splice(index,1,'')
295 296
           }
296 297
         })
297 298
         newNameArr.push(...nameArr)
@@ -315,7 +316,7 @@ export default {
315 316
             this.page = 1
316 317
             arr.push(item.advices.length)
317 318
             item.pageArr.push(arr)
318
-            
319
+
319 320
           }else if(item.advices.length > 5){
320 321
             this.page = parseInt(item.advices.length / 5)
321 322
             let num = item.advices.length % 5
@@ -413,7 +414,7 @@ export default {
413 414
       var xtuser = this.$store.getters.xt_user;
414 415
       this.orgname = xtuser.org.org_name;
415 416
       this.org_id = this.$store.getters.xt_user.org_id
416
-     
417
+
417 418
    },
418 419
    watch:{
419 420
      ids:function(val){
@@ -428,7 +429,7 @@ export default {
428 429
 <style lang="scss" scoped>
429 430
 .prescription-print{
430 431
   -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
431
-    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset; 
432
+    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
432 433
     box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
433 434
     margin-bottom: 20px;
434 435
     padding:20px 10px;
@@ -486,7 +487,7 @@ export default {
486 487
 }
487 488
 .actionBar{
488 489
     display: flex;
489
-    justify-content: space-between; 
490
+    justify-content: space-between;
490 491
     line-height: 24px;
491 492
     padding:0 10px;
492 493
 }

+ 2 - 2
src/xt_pages/hospitalStation/components/ChargePrescriptionTable.vue Просмотреть файл

@@ -49,7 +49,7 @@
49 49
 
50 50
       <el-table-column align="center" prop="name" width="60" label="总价">
51 51
         <template slot-scope="scope">
52
-          <div> {{scope.row.retail_price * scope.row.prescribing_number}}元</div>
52
+          <div> {{(scope.row.retail_price * scope.row.prescribing_number).toFixed(2)}}元</div>
53 53
         </template>
54 54
       </el-table-column>
55 55
 
@@ -185,7 +185,7 @@
185 185
 
186 186
       <el-table-column align="center" prop="name" width="60" label="总价">
187 187
         <template slot-scope="scope">
188
-          <div> {{scope.row.total * scope.row.price}}元</div>
188
+          <div> {{(scope.row.total * scope.row.price).toFixed(2)}}元</div>
189 189
         </template>
190 190
       </el-table-column>
191 191
 

+ 6 - 5
src/xt_pages/hospitalStation/components/chargeDialog.vue Просмотреть файл

@@ -166,19 +166,20 @@
166 166
       }
167 167
     },
168 168
     methods: {
169
-      show: function (total) {
169
+      show: function (total,order) {
170 170
         this.total = total;
171 171
         this.form.private_price = total;
172 172
         this.form.pay_price = total;
173 173
         this.form.total = total + this.form.medical_insurance_price;
174 174
         this.form.discount_price = 0.0;
175 175
         this.form.preferential_price = 0.0;
176
-
177 176
         this.form.fapiao_code ="";
178 177
         this.form.fapiao_number = "";
179
-
180
-
181
-
178
+        if(order&&order.id > 0){
179
+          this.total = order.medfee_sumamt;
180
+          this.form.private_price = order.medfee_sumamt;
181
+          this.form.pay_price = order.medfee_sumamt;
182
+        }
182 183
         this.visibility = true
183 184
 
184 185
       }, hide: function () {

+ 62 - 2
src/xt_pages/hospitalStation/components/settlePrescriptionTable.vue Просмотреть файл

@@ -48,12 +48,41 @@
48 48
       </el-table-column>
49 49
       <el-table-column align="center" prop="name" width="60" label="总价">
50 50
         <template slot-scope="scope">
51
-          <div> {{scope.row.prescribing_number * scope.row.retail_price}}元</div>
51
+          <div> {{(scope.row.prescribing_number * scope.row.retail_price).toFixed(2)}}元</div>
52 52
 
53 53
           <!--<el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>-->
54 54
         </template>
55 55
       </el-table-column>
56 56
 
57
+      <el-table-column align="center" prop="name" width="60" label="全自费金额">
58
+        <template slot-scope="scope">
59
+          <div> {{scope.row.fulamt_ownpay_amt}}元</div>
60
+        </template>
61
+      </el-table-column>
62
+
63
+
64
+
65
+      <el-table-column align="center" prop="name" width="60" label="超限价金额">
66
+        <template slot-scope="scope">
67
+          <div> {{scope.row.overlmt_amt}}元</div>
68
+        </template>
69
+      </el-table-column>
70
+
71
+
72
+      <el-table-column align="center" prop="name" width="60" label="先行自付金额">
73
+        <template slot-scope="scope">
74
+          <div> {{scope.row.preselfpay_amt}}元</div>
75
+        </template>
76
+      </el-table-column>
77
+
78
+
79
+      <el-table-column align="center" prop="name" width="60" label="符合正常范围金额">
80
+        <template slot-scope="scope">
81
+          <div> {{scope.row.inscp_scp_amt}}元</div>
82
+        </template>
83
+      </el-table-column>
84
+
85
+
57 86
 
58 87
 
59 88
       <el-table-column align="center" prop="name" width="50" label="备注">
@@ -118,11 +147,42 @@
118 147
 
119 148
       <el-table-column align="center" prop="name" width="60" label="总价">
120 149
         <template slot-scope="scope">
121
-          <div> {{scope.row.total * scope.row.price}}元</div>
150
+          <div> {{(scope.row.total * scope.row.price).toFixed(2)}}元</div>
122 151
 
123 152
           <!--<el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>-->
124 153
         </template>
125 154
       </el-table-column>
155
+
156
+      <el-table-column align="center" prop="name" width="60" label="全自费金额">
157
+        <template slot-scope="scope">
158
+          <div> {{scope.row.fulamt_ownpay_amt}}元</div>
159
+        </template>
160
+      </el-table-column>
161
+
162
+
163
+
164
+      <el-table-column align="center" prop="name" width="60" label="超限价金额">
165
+        <template slot-scope="scope">
166
+          <div> {{scope.row.overlmt_amt}}元</div>
167
+        </template>
168
+      </el-table-column>
169
+
170
+
171
+      <el-table-column align="center" prop="name" width="60" label="先行自付金额">
172
+        <template slot-scope="scope">
173
+          <div> {{scope.row.preselfpay_amt}}元</div>
174
+        </template>
175
+      </el-table-column>
176
+
177
+
178
+      <el-table-column align="center" prop="name" width="60" label="符合正常范围金额">
179
+        <template slot-scope="scope">
180
+          <div> {{scope.row.inscp_scp_amt}}元</div>
181
+        </template>
182
+      </el-table-column>
183
+
184
+
185
+
126 186
       <el-table-column align="center" prop="name" width="50" label="备注">
127 187
         <template slot-scope="scope">
128 188
           <!--<el-input v-model="scope.row.remark" readonly></el-input>-->

+ 6 - 3
src/xt_pages/hospitalStation/doctorDesk.vue Просмотреть файл

@@ -3967,7 +3967,8 @@
3967 3967
             record: this.record_date,
3968 3968
             prescription_id: this.prescription_id,
3969 3969
             ids: ids1,
3970
-            patient_id: this.patientid
3970
+            patient_id: this.patientid,
3971
+            p_type:1
3971 3972
           }
3972 3973
           this.paramsObj = obj1
3973 3974
         }
@@ -3983,7 +3984,8 @@
3983 3984
             record: this.record_date,
3984 3985
             prescription_id: this.prescription_id,
3985 3986
             ids: ids2,
3986
-            patient_id: this.patientid
3987
+            patient_id: this.patientid,
3988
+            p_type:1
3987 3989
           }
3988 3990
           this.paramsObj2 = obj2
3989 3991
         }
@@ -3997,7 +3999,8 @@
3997 3999
             record: this.record_date,
3998 4000
             prescription_id: this.prescription_id,
3999 4001
             ids: ids2,
4000
-            patient_id: this.patientid
4002
+            patient_id: this.patientid,
4003
+            p_type:1
4001 4004
           }
4002 4005
           this.paramsObj3 = obj3
4003 4006
         }

+ 4 - 4
src/xt_pages/hospitalStation/index.vue Просмотреть файл

@@ -87,7 +87,7 @@
87 87
                     <!--<el-form-item class="specialFormItem" label="医保卡号:">-->
88 88
                     <!--<div style="display:flex;">-->
89 89
                     <!--<el-input v-model="form.medicalInsuranceCard"></el-input>-->
90
-                    <el-button style="margin-left:10px;" type="primary" @click="check" v-if="form.id_card_no.length > 0">查待遇</el-button>
90
+<!--                    <el-button style="margin-left:10px;" type="primary" @click="check" v-if="form.id_card_no.length > 0">查待遇</el-button>-->
91 91
                     <!--</div>-->
92 92
                     <!--</el-form-item>-->
93 93
 
@@ -338,7 +338,6 @@
338 338
         },
339 339
         doctorList: [],
340 340
         departmentList: [],
341
-        check: 0,
342 341
         show: false,
343 342
         is_Name: false,
344 343
         patient: [],
@@ -358,7 +357,8 @@
358 357
         }
359 358
         var that = this
360 359
         let params={
361
-          id_card_no: this.form.id_card_no,
360
+          patient_id:this.form.id,
361
+        id_card_no: this.form.id_card_no,
362 362
           admin_user_id:this.$store.getters.xt_user.user.id,
363 363
           med_type: this.form.med_type,
364 364
           insutype: this.form.social_type
@@ -870,7 +870,7 @@
870 870
       }
871 871
       this.form.start_time =moment(new Date()).add('year',0).format("YYYY-MM-DD HH:mm:ss")
872 872
       this.getInitData()
873
-      //获取当前机构有人员信息
873
+      //获取当前机构有人员信息inde
874 874
       this.getAllDoctorList()
875 875
     }
876 876
   }

+ 22 - 3
src/xt_pages/hospitalStation/outpatientChargesManagement.vue Просмотреть файл

@@ -13,7 +13,6 @@
13 13
             :editable="false"
14 14
             style="width: 100%;"
15 15
             type="date"
16
-            :picker-options="pickerOptions"
17 16
             placeholder="选择开始时间"
18 17
             align="right"
19 18
             format="yyyy-MM-dd"
@@ -423,7 +422,7 @@ export default {
423 422
       department: [],
424 423
       invoiceVisible: false,
425 424
       invoiceParams: {},
426
-      out_hospital_time: ''
425
+      out_hospital_time: moment(new Date()).add('year',0).format("YYYY-MM-DD HH:mm:ss")
427 426
 
428 427
     }
429 428
   },
@@ -1427,7 +1426,7 @@ export default {
1427 1426
           return
1428 1427
         }
1429 1428
 
1430
-        this.$refs.charge.show(this.getSettleTotal())
1429
+        this.$refs.charge.show(this.getSettleTotal(),this.order)
1431 1430
 
1432 1431
       } else if (index == 4) {
1433 1432
         if (this.hisPatientInfo.balance_accounts_type == 2) {
@@ -2688,6 +2687,15 @@ export default {
2688 2687
             obj['id'] = drug_month_prescriptions.advices[a].drug_id
2689 2688
             // obj['retail_price'] = obj['retail_price'] +  drug_month_prescriptions.advices[a].drug.retail_price
2690 2689
             obj['retail_price'] = parseFloat(drug_month_prescriptions.advices[a].price)
2690
+
2691
+
2692
+            obj['code'] = drug_month_prescriptions.advices[a].drug.medical_insurance_number
2693
+            obj['fulamt_ownpay_amt'] = drug_month_prescriptions.advices[a].order_info.fulamt_ownpay_amt
2694
+            obj['overlmt_amt'] = drug_month_prescriptions.advices[a].order_info.overlmt_amt
2695
+            obj['inscp_scp_amt'] = drug_month_prescriptions.advices[a].order_info.inscp_scp_amt
2696
+            obj['preselfpay_amt'] = drug_month_prescriptions.advices[a].order_info.preselfpay_amt
2697
+
2698
+
2691 2699
             count = count + drug_month_prescriptions.advices[a].prescribing_number
2692 2700
 
2693 2701
           }
@@ -2716,6 +2724,12 @@ export default {
2716 2724
 
2717 2725
             }
2718 2726
 
2727
+            obj['fulamt_ownpay_amt'] = project_month_prescriptions.project[a].order_info.fulamt_ownpay_amt
2728
+            obj['overlmt_amt'] = project_month_prescriptions.project[a].order_info.overlmt_amt
2729
+            obj['inscp_scp_amt'] = project_month_prescriptions.project[a].order_info.inscp_scp_amt
2730
+            obj['preselfpay_amt'] = project_month_prescriptions.project[a].order_info.preselfpay_amt
2731
+
2732
+
2719 2733
             // obj['project_name'] = project_month_prescriptions.project[a].project.project_name;
2720 2734
             // obj['statistical_classification'] = project_month_prescriptions.project[a].project.statistical_classification;
2721 2735
             obj['single_dose'] = project_month_prescriptions.project[a].single_dose
@@ -2729,6 +2743,9 @@ export default {
2729 2743
             // price = price + project_month_prescriptions.project[a].price
2730 2744
             obj['price'] = parseFloat(project_month_prescriptions.project[a].price)
2731 2745
 
2746
+
2747
+
2748
+
2732 2749
           }
2733 2750
         }
2734 2751
         obj['total'] = count
@@ -2906,6 +2923,8 @@ export default {
2906 2923
                 preselfpay_amt: prescription.advices[b].order_info.preselfpay_amt,
2907 2924
                 inscp_scp_amt: prescription.advices[b].order_info.inscp_scp_amt
2908 2925
 
2926
+
2927
+
2909 2928
               }
2910 2929
               tempAdvice.push(obj)
2911 2930
             }

+ 3 - 1
src/xt_pages/hospitalStation/print.vue Просмотреть файл

@@ -71,7 +71,8 @@
71 71
         prescription_id:"",
72 72
         ids:'',
73 73
         paramsObj:{},
74
-        org_id:''
74
+        org_id:'',
75
+        p_type:1,
75 76
       };
76 77
     },
77 78
     methods:{
@@ -190,6 +191,7 @@
190 191
       this.prescription_id = prescription_id
191 192
       this.patient_id = this.paramsObj.patient_id
192 193
       this.ids = this.paramsObj.ids
194
+
193 195
       // var record_date = this.$route.query.record
194 196
       // this.record_date = record_date
195 197
       // console.log("record_date",record_date)

+ 8 - 7
src/xt_pages/hospitalStation/statementTemplate/printOne.vue Просмотреть файл

@@ -24,7 +24,7 @@
24 24
       </tr>
25 25
       <tr>
26 26
         <td width="90">就医登记号</td>
27
-        <td colspan="11">{{info.psn_no}}</td>
27
+        <td colspan="11">{{info.mdtrt_id}}</td>
28 28
       </tr>
29 29
       <tr>
30 30
         <td width="80">姓名</td>
@@ -36,7 +36,7 @@
36 36
         <td width="80">出生日期</td>
37 37
         <td width="100">{{info.brdy}}</td>
38 38
         <td width="90">个人电脑号</td>
39
-        <td width="110"></td>
39
+        <td width="110">{{info.psn_no}}</td>
40 40
         <td width="80">人员类别</td>
41 41
         <td colspan="3" v-if="info.psn_type == '11'">在职</td>
42 42
         <td colspan="3" v-if="info.psn_type == '1101'">职工在职</td>
@@ -77,7 +77,7 @@
77 77
         <td>单位名称</td>
78 78
         <td colspan="5">{{info.emp_name}}</td>
79 79
         <td width="80">联系电话</td>
80
-        <td width="110"></td>
80
+        <td width="110">{{}}</td>
81 81
         <td width="80">身份证号</td>
82 82
         <td colspan="3">{{info.certno}}</td>
83 83
       </tr>
@@ -93,7 +93,7 @@
93 93
         <td>出院日期</td>
94 94
         <td width="100">{{info.enddate}}</td>
95 95
         <td>住院天数</td>
96
-        <td>{{getDay(info.begndate,info.enddate)}}</td>
96
+        <td>{{getDay(info.begndate,info.enddate) + 1}}</td>
97 97
 
98 98
       </tr>
99 99
       <tr>
@@ -117,17 +117,18 @@
117 117
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '11'">普通门诊</td>
118 118
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '12'">门诊挂号</td>
119 119
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '13'">急诊</td>
120
-        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '14'">门诊特殊病</td>
120
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '14'">门诊慢性病</td>
121 121
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '15'">门诊统筹</td>
122
-        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '16'">门诊慢性病</td>
122
+<!--        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '16'">门诊慢性病</td>-->
123 123
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '21'">普通住院</td>
124 124
 
125 125
         <td>结算时间</td>
126
-        <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time}}</td>
126
+        <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time.split(' ')[0]}}</td>
127 127
       </tr>
128 128
       <tr>
129 129
         <td colspan="12" style="text-align:left;padding-left:10px;">
130 130
           本次就医:总费用{{info.medfee_sumamt}}元,基金支付{{info.fund_pay_sumamt}}元,个人支付{{info.psn_pay}}元。
131
+          (起付线 {{info.act_pay_dedc}}元, 先自付 {{info.preselfpay_amt}}元, 段内自付 {{info.psn_pay - info.preselfpay_amt}} )
131 132
         </td>
132 133
       </tr>
133 134
       <tr>

+ 3 - 1
src/xt_pages/hospitalStation/template/printFive.vue Просмотреть файл

@@ -203,7 +203,9 @@ export default {
203 203
         patient_id: this.patient_id,
204 204
         record_date: this.record_date,
205 205
         prescription_id: this.prescription_id,
206
-        ids: this.ids
206
+        ids: this.ids,
207
+        p_type:1,
208
+
207 209
       }
208 210
       console.log('params', params)
209 211
       getPrescriptionPrint(params).then(response => {

+ 4 - 2
src/xt_pages/hospitalStation/template/printFour.vue Просмотреть файл

@@ -148,8 +148,10 @@ export default {
148 148
           patient_id:this.patient_id,
149 149
           record_date:this.record_date,
150 150
           prescription_id:this.prescription_id,
151
-          ids:this.ids
152
-        }
151
+          ids:this.ids,
152
+           p_type:1,
153
+
154
+         }
153 155
         console.log("params",params)
154 156
        getPrescriptionPrint(params).then(response=>{
155 157
          if(response.data.state == 1){

+ 3 - 2
src/xt_pages/hospitalStation/template/printOne.vue Просмотреть файл

@@ -149,7 +149,8 @@ export default {
149 149
           patient_id:this.patient_id,
150 150
           record_date:this.record_date,
151 151
           prescription_id:this.prescription_id,
152
-          ids:this.ids
152
+          ids:this.ids,
153
+          p_type:1,
153 154
         }
154 155
         console.log("params",params)
155 156
        getPrescriptionPrint(params).then(response=>{
@@ -169,7 +170,7 @@ export default {
169 170
      },
170 171
      getHisPatientDetail(){
171 172
           const params = {
172
-              patient_id:this.patient_id
173
+              patient_id:this.patient_id,
173 174
           }
174 175
        getHisPatientDetail(params).then(response=>{
175 176
           if(response.data.state == 1){

+ 4 - 2
src/xt_pages/hospitalStation/template/printThree.vue Просмотреть файл

@@ -171,8 +171,10 @@ export default {
171 171
           patient_id:this.patient_id,
172 172
           record_date:this.record_date,
173 173
           prescription_id:this.prescription_id,
174
-          ids:this.ids
175
-        }
174
+          ids:this.ids,
175
+           p_type:1,
176
+
177
+         }
176 178
         console.log("params",params)
177 179
        getPrescriptionPrint(params).then(response=>{
178 180
          if(response.data.state == 1){

+ 3 - 1
src/xt_pages/hospitalStation/template/printTwo.vue Просмотреть файл

@@ -130,7 +130,9 @@ export default {
130 130
           patient_id:this.patient_id,
131 131
           record_date:this.record_date,
132 132
           prescription_id:this.prescription_id,
133
-        }
133
+           p_type:1,
134
+
135
+         }
134 136
         console.log("params---",params)
135 137
        getPrescriptionPrint(params).then(response=>{
136 138
          if(response.data.state == 1){

+ 3 - 1
src/xt_pages/hospitalStation/treatTemplate/printOne.vue Просмотреть файл

@@ -317,7 +317,9 @@
317 317
           patient_id: this.patient_id,
318 318
           record_date: this.record_date,
319 319
           prescription_id: this.prescription_id,
320
-          ids: this.ids
320
+          ids: this.ids,
321
+          p_type:1,
322
+
321 323
         }
322 324
         console.log('999999', params)
323 325
         getPrescriptionPrint(params).then(response => {

+ 3 - 1
src/xt_pages/hospitalStation/treatTemplate/printTwo.vue Просмотреть файл

@@ -308,7 +308,9 @@ export default {
308 308
           record_date:this.record_date,
309 309
           prescription_id:this.prescription_id,
310 310
           ids:this.ids,
311
-        }
311
+           p_type:1,
312
+
313
+         }
312 314
         console.log("999999",params)
313 315
        getPrescriptionPrint(params).then(response=>{
314 316
          if(response.data.state == 1){

+ 54 - 4
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Просмотреть файл

@@ -89,6 +89,11 @@
89 89
             >结算单
90 90
             </el-button>
91 91
 
92
+            <el-button v-if="this.radio == 2   && this.order.order_status == 2" size="small"
93
+                       @click="open(30)" type="primary"
94
+            >打印发票
95
+            </el-button>
96
+
92 97
             <el-button
93 98
                 size="small" @click="open(10)" type="primary"
94 99
             >退号
@@ -801,6 +806,14 @@
801 806
       </div>
802 807
     </el-dialog>
803 808
 
809
+    <el-dialog
810
+        class="centerDialog"
811
+        width="1200px"
812
+        title="打印"
813
+        :visible.sync="invoiceVisible">
814
+      <invoice-print ref="print" :invoiceParams='invoiceParams'></invoice-print>
815
+    </el-dialog>
816
+
804 817
   </div>
805 818
 
806 819
 </template>
@@ -808,13 +821,15 @@
808 821
 
809 822
 <script>
810 823
 import axios from 'axios'
811
-
824
+import invoicePrint from './invoicePrint'
812 825
 import BreadCrumb from '@/xt_pages/components/bread-crumb'
813 826
 import noCharge from './components/noCharge'
814 827
 import charged from './components/charged'
815 828
 import medicalInsuranceRefund from './components/medicalInsuranceRefund'
816 829
 import prescriptionTable from './components/prescriptionTable'
817 830
 import additionalCharges from './components/additionalCharges'
831
+import { fetchAllAdminUsers } from '@/api/doctor'
832
+
818 833
 import {
819 834
   changeMedType,
820 835
   getChargeHisPatientInfo,
@@ -826,7 +841,8 @@ import {
826 841
   Refund,
827 842
   refundNumber,
828 843
   register,
829
-  upload
844
+  upload,
845
+
830 846
 } from '@/api/his/his'
831 847
 import RegisterDialog from './components/registerDialog'
832 848
 import treatPrint from './treatPrint'
@@ -854,11 +870,14 @@ export default {
854 870
     prescriptionTable,
855 871
     additionalCharges,
856 872
     treatPrint,
857
-    statementPrint
873
+    statementPrint,
874
+    invoicePrint
858 875
 
859 876
   },
860 877
   data() {
861 878
     return {
879
+      invoiceVisible:false,
880
+      invoiceParams:null,
862 881
       temp_med_type: '',
863 882
       dialogVisible: false,
864 883
       pwdFormVisible: false,
@@ -949,7 +968,7 @@ export default {
949 968
 
950 969
       other_start_time_two: moment(new Date()).subtract(30, 'days').format('YYYY-MM-DD'),
951 970
       other_end_time_two: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
952
-
971
+      adminUserOptions:[],
953 972
       curMonthPrescriptions: null,
954 973
       newCurMonthPrescriptions: null,
955 974
       big_month_prescriptions: [],
@@ -1025,6 +1044,7 @@ export default {
1025 1044
     }
1026 1045
   },
1027 1046
   created() {
1047
+    this.fetchAllAdminUsers()
1028 1048
     const tableHeight = document.body.clientHeight - 290
1029 1049
     this.tableHeight = tableHeight
1030 1050
     var nowDate = new Date()
@@ -1056,6 +1076,14 @@ export default {
1056 1076
     this.getPatientList()
1057 1077
   },
1058 1078
   methods: {
1079
+    fetchAllAdminUsers() {
1080
+      fetchAllAdminUsers().then(response => {
1081
+        if (response.data.state == 1) {
1082
+          this.adminUserOptions = response.data.data.users
1083
+
1084
+        }
1085
+      })
1086
+    },
1059 1087
     changeTimeTwo() {
1060 1088
       this.getPatientList()
1061 1089
       this.form.diagnosis_time = this.record_date + ' ' + '00:00:00'
@@ -2986,7 +3014,29 @@ export default {
2986 3014
             .catch(function(error) {
2987 3015
             })
2988 3016
 
3017
+      } else if(index == 30){
3018
+
3019
+        let paramsObj = {
3020
+          order_id: this.order.id,
3021
+          patient_id: this.order.patient_id,
3022
+          number: this.order.mdtrt_id,
3023
+          name: this.patientInfo.name,
3024
+          age: this.order.age,
3025
+          gend: this.order.gend,
3026
+          setl_time: this.order.setl_time,
3027
+          chargeName: this.getName(this.order.creator)
3028
+        }
3029
+        this.invoiceParams = paramsObj
3030
+        this.invoiceVisible = true
3031
+
2989 3032
       }
3033
+    }, getName(admin_user_id) {
3034
+      for (let i = 0; i < this.adminUserOptions.length; i++) {
3035
+        if (this.adminUserOptions[i].id == admin_user_id) {
3036
+          return this.adminUserOptions[i].name
3037
+        }
3038
+      }
3039
+
2990 3040
     },
2991 3041
     choosePatient() {
2992 3042
       this.radioStatus = id

+ 22 - 20
src/xt_pages/outpatientDoctorStation/checkTemplate/printOne.vue Просмотреть файл

@@ -40,7 +40,7 @@
40 40
                     </div>
41 41
                     <div>医生签字:{{ doctor ? doctor : '' }}</div>
42 42
                 </div>
43
-            </div>   
43
+            </div>
44 44
             <img style="width:100%;" v-if="org_id == 10138 || org_id == 10278" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
45 45
         </div>
46 46
     </div>
@@ -56,7 +56,7 @@ export default {
56 56
       record_date:String,
57 57
       prescription_id:Number,
58 58
       ids:String
59
-    }, 
59
+    },
60 60
     data(){
61 61
       return {
62 62
         doctorList:[],
@@ -97,10 +97,10 @@ export default {
97 97
       getAllDoctorList().then(response=>{
98 98
         if(response.data.state == 1){
99 99
                var doctor =  response.data.data.doctor
100
-               
100
+
101 101
                this.doctorList = doctor
102 102
              }
103
-         })   
103
+         })
104 104
      },
105 105
 
106 106
       getDoctor(id){
@@ -126,8 +126,10 @@ export default {
126 126
           patient_id:this.patient_id,
127 127
           record_date:this.record_date,
128 128
           prescription_id:this.prescription_id,
129
-          ids:this.ids
130
-        }
129
+          ids:this.ids,
130
+           p_type:2,
131
+
132
+         }
131 133
         console.log("params",params)
132 134
        getPrescriptionPrint(params).then(response=>{
133 135
          if(response.data.state == 1){
@@ -152,7 +154,7 @@ export default {
152 154
                             }
153 155
                         }
154 156
                   })
155
-                
157
+
156 158
               }
157 159
             })
158 160
             let data = []
@@ -167,9 +169,9 @@ export default {
167 169
               if(item.team.id == 0){
168 170
                 data2.push(item)
169 171
               }
170
-              
172
+
171 173
             })
172
-          
174
+
173 175
             this.total = total.toFixed(2)
174 176
             this.pre_time = this.advicePrint[0].pre_time
175 177
             this.doctor = this.advicePrint[0].doctor
@@ -185,7 +187,7 @@ export default {
185 187
             let outputlist1Name = response.data.data.his.patient_info ? JSON.parse(response.data.data.his.patient_info) : {};
186 188
             this.faber = outputlist1Name
187 189
 
188
-            
190
+
189 191
           }
190 192
        })
191 193
      },
@@ -238,7 +240,7 @@ export default {
238 240
             }
239 241
               addtotal =  Math.floor(addtotal * 100) / 100
240 242
         }
241
-       
243
+
242 244
        }
243 245
 
244 246
       for (let i = 0; i < this.prescriptions.length; i++) {
@@ -248,7 +250,7 @@ export default {
248 250
                 total = total + this.prescriptions[i].advices[a].price * this.prescriptions[i].advices[a].prescribing_number
249 251
               }
250 252
             }
251
-          
253
+
252 254
             if (this.prescriptions[i].additionalcharge != null) {
253 255
               for (let a = 0; a < this.prescriptions[i].additionalcharge.length; a++) {
254 256
                 addtotal = addtotal + this.prescriptions[i].additionalcharge[a].price * this.prescriptions[i].additionalcharge[a].count
@@ -260,7 +262,7 @@ export default {
260 262
 
261 263
         return total + addtotal
262 264
       },
263
-      
265
+
264 266
      getProjectName(id){
265 267
         var project_name = ""
266 268
         for(let i=0;i<this.projectList.length;i++){
@@ -275,14 +277,14 @@ export default {
275 277
         let newIds = ids.split(',').sort(function(a,b){
276 278
           return a-b;
277 279
         })
278
-        
280
+
279 281
         var name = ""
280 282
         let nameArr = []
281 283
         for(let i=0;i<this.diagnoses.length;i++){
282 284
           // if(id == this.diagnoses[i].id){
283 285
           //    name = this.diagnoses[i].class_name
284 286
           // }
285
-          
287
+
286 288
           if(newIds.indexOf(this.diagnoses[i].id.toString()) > -1){
287 289
             // name += diagnoses[i].class_name + ' '
288 290
             nameArr.push(this.diagnoses[i].class_name)
@@ -292,7 +294,7 @@ export default {
292 294
         nameArr.map((item,index) => {
293 295
           if(item == '尿毒症'){
294 296
             newNameArr.push(item)
295
-            nameArr.splice(index,1,'') 
297
+            nameArr.splice(index,1,'')
296 298
           }
297 299
         })
298 300
         newNameArr.push(...nameArr)
@@ -316,7 +318,7 @@ export default {
316 318
             this.page = 1
317 319
             arr.push(item.advices.length)
318 320
             item.pageArr.push(arr)
319
-            
321
+
320 322
           }else if(item.advices.length > 5){
321 323
             this.page = parseInt(item.advices.length / 5)
322 324
             let num = item.advices.length % 5
@@ -414,7 +416,7 @@ export default {
414 416
       var xtuser = this.$store.getters.xt_user;
415 417
       this.orgname = xtuser.org.org_name;
416 418
       this.org_id = this.$store.getters.xt_user.org_id
417
-     
419
+
418 420
    },
419 421
    watch:{
420 422
      ids:function(val){
@@ -429,7 +431,7 @@ export default {
429 431
 <style lang="scss" scoped>
430 432
 .prescription-print{
431 433
   -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
432
-    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset; 
434
+    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
433 435
     box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
434 436
     margin-bottom: 20px;
435 437
     padding:20px 10px;
@@ -487,7 +489,7 @@ export default {
487 489
 }
488 490
 .actionBar{
489 491
     display: flex;
490
-    justify-content: space-between; 
492
+    justify-content: space-between;
491 493
     line-height: 24px;
492 494
     padding:0 10px;
493 495
 }

+ 3 - 3
src/xt_pages/outpatientDoctorStation/pastInquiries.vue Просмотреть файл

@@ -14,9 +14,9 @@
14 14
                         format="yyyy-MM-dd"
15 15
                         value-format="yyyy-MM-dd"
16 16
                         placeholder="选择日期时间" align="right"></el-date-picker>
17
-        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(1)">处方筏批量打印</el-button>
18
-        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(2)">治疗单批量打印</el-button>
19
-        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(3)">检验单批量打印</el-button>
17
+<!--        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(1)">处方筏批量打印</el-button>-->
18
+<!--        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(2)">治疗单批量打印</el-button>-->
19
+<!--        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(3)">检验单批量打印</el-button>-->
20 20
       </div>
21 21
       <el-table :data="tableData" border ref="table" style="width: 100%;" :row-style="{ color: '#303133' }" @selection-change="handleSelectionChange"
22 22
                 :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>

+ 4 - 2
src/xt_pages/outpatientDoctorStation/template/printFive.vue Просмотреть файл

@@ -167,8 +167,10 @@ export default {
167 167
           patient_id:this.patient_id,
168 168
           record_date:this.record_date,
169 169
           prescription_id:this.prescription_id,
170
-          ids:this.ids
171
-        }
170
+          ids:this.ids,
171
+           p_type:2,
172
+
173
+         }
172 174
         console.log("params",params)
173 175
        getPrescriptionPrint(params).then(response=>{
174 176
          if(response.data.state == 1){

+ 4 - 2
src/xt_pages/outpatientDoctorStation/template/printFour.vue Просмотреть файл

@@ -147,8 +147,10 @@ export default {
147 147
           patient_id:this.patient_id,
148 148
           record_date:this.record_date,
149 149
           prescription_id:this.prescription_id,
150
-          ids:this.ids
151
-        }
150
+          ids:this.ids,
151
+           p_type:2,
152
+
153
+         }
152 154
         console.log("params",params)
153 155
        getPrescriptionPrint(params).then(response=>{
154 156
          if(response.data.state == 1){

+ 4 - 2
src/xt_pages/outpatientDoctorStation/template/printOne.vue Просмотреть файл

@@ -165,8 +165,10 @@ export default {
165 165
           patient_id:this.patient_id,
166 166
           record_date:this.record_date,
167 167
           prescription_id:this.prescription_id,
168
-          ids:this.ids
169
-        }
168
+          ids:this.ids,
169
+           p_type:2,
170
+
171
+         }
170 172
         console.log("params",params)
171 173
        getPrescriptionPrint(params).then(response=>{
172 174
          if(response.data.state == 1){

+ 4 - 2
src/xt_pages/outpatientDoctorStation/template/printThree.vue Просмотреть файл

@@ -184,8 +184,10 @@ export default {
184 184
           patient_id:this.patient_id,
185 185
           record_date:this.record_date,
186 186
           prescription_id:this.prescription_id,
187
-          ids:this.ids
188
-        }
187
+          ids:this.ids,
188
+           p_type:2,
189
+
190
+         }
189 191
         console.log("params",params)
190 192
        getPrescriptionPrint(params).then(response=>{
191 193
          if(response.data.state == 1){

+ 3 - 1
src/xt_pages/outpatientDoctorStation/template/printTwo.vue Просмотреть файл

@@ -112,7 +112,9 @@ export default {
112 112
           patient_id:this.patient_id,
113 113
           record_date:this.record_date,
114 114
           prescription_id:this.prescription_id,
115
-        }
115
+           p_type:2,
116
+
117
+         }
116 118
         console.log("params---",params)
117 119
        getPrescriptionPrint(params).then(response=>{
118 120
          if(response.data.state == 1){

+ 2 - 1
src/xt_pages/outpatientDoctorStation/treatTemplate/printOne.vue Просмотреть файл

@@ -317,7 +317,8 @@
317 317
           patient_id: this.patient_id,
318 318
           record_date: this.record_date,
319 319
           prescription_id: this.prescription_id,
320
-          ids: this.ids
320
+          ids: this.ids,
321
+          p_type:2,
321 322
         }
322 323
         console.log('999999', params)
323 324
         getPrescriptionPrint(params).then(response => {

+ 4 - 2
src/xt_pages/outpatientDoctorStation/treatTemplate/printTwo.vue Просмотреть файл

@@ -247,7 +247,7 @@ export default {
247 247
       //   age++
248 248
       // }
249 249
       // return age
250
-      var nowTime = new Date().getTime(); 
250
+      var nowTime = new Date().getTime();
251 251
       //一年毫秒数(365 * 86400000 = 31536000000)
252 252
       return Math.ceil((nowTime-(birthday * 1000))/31536000000);
253 253
     },
@@ -321,7 +321,9 @@ export default {
321 321
           record_date:this.record_date,
322 322
           prescription_id:this.prescription_id,
323 323
           ids:this.ids,
324
-        }
324
+           p_type:2,
325
+
326
+         }
325 327
         console.log("999999",params)
326 328
        getPrescriptionPrint(params).then(response=>{
327 329
          if(response.data.state == 1){

+ 6 - 10
src/xt_pages/outpatientTool/yidiClear.vue Просмотреть файл

@@ -7,15 +7,11 @@
7 7
     <div style="display: flex;justify-content: space-between;margin-bottom:10px;">
8 8
       <div>
9 9
 
10
-        <el-date-picker
11
-            v-model="year"
12
-            type="year"
13
-            placeholder="选择年">
14
-        </el-date-picker>
10
+
15 11
         <el-date-picker
16 12
             v-model="month"
17 13
             type="month"
18
-            placeholder="选择月">
14
+            placeholder="选择年月">
19 15
         </el-date-picker>
20 16
       </div>
21 17
       <div>
@@ -98,8 +94,8 @@ export default {
98 94
     getYidiClear(){
99 95
       var that = this;
100 96
       let params = {
101
-        'year':year,
102
-        'month':month,
97
+        'year':this.month.split("-")[0],
98
+        'month':this.month.split("-")[1],
103 99
         'admin_user_id':this.$store.getters.xt_user.user.id,
104 100
       };
105 101
       axios.get('http://127.0.0.1:9532/api/allopatry/get',{params:params}).then(function(response) {
@@ -127,8 +123,8 @@ export default {
127 123
     },comfirmClear(){
128 124
       var that = this;
129 125
       let params = {
130
-        'year':year,
131
-        'month':month,
126
+        'year':this.month.split("-")[0],
127
+        'month':this.month.split("-")[1],
132 128
         'admin_user_id':this.$store.getters.xt_user.user.id,
133 129
       };
134 130
       axios.post('http://127.0.0.1:9532/api/comfirmallopatry/post',{params:params}).then(function(response) {

+ 1 - 1
src/xt_pages/supply/components/addSupply.vue Просмотреть файл

@@ -1,5 +1,5 @@
1 1
 <template>
2
-  <el-dialog :title="title" :visible.sync="dialogVisible" width="40%" :show-close="false">
2
+  <el-dialog :title="title" :visible.sync="dialogVisible" width="40%" :before-close="closePop" >
3 3
     <!-- :before-close="handleClose" 如需要可添加进上方 -->
4 4
     <div>
5 5
       <el-form

+ 1 - 1
src/xt_pages/supply/supplyQuery.vue Просмотреть файл

@@ -181,7 +181,7 @@ export default {
181 181
       page: 1,
182 182
       limit: 10,
183 183
 
184
-      type_name: "请选择",
184
+      type_name: "",
185 185
       crumbs: [
186 186
         { path: false, name: "采购管理" },
187 187
         { path: "/supply/good/order/query", name: "供应商管理" },