|
@@ -1834,8 +1834,8 @@
|
1834
|
1834
|
}
|
1835
|
1835
|
//项目
|
1836
|
1836
|
for (let b = 0; b < prescription.project.length; b++) {
|
1837
|
|
- if(prescription.project!=null && (prescription.project[b].good_info.good_status.startsWith('停用') == false )) {
|
1838
|
|
- if (this.org_id == 10206 || this.org_id == 0) {
|
|
1837
|
+ if(prescription.project[b].type == 2 && prescription.project[b].project.medical_status!=1){
|
|
1838
|
+ if (this.org_id == 10206) {
|
1839
|
1839
|
let obj = {
|
1840
|
1840
|
id: prescription.project[b].id,
|
1841
|
1841
|
project_id: prescription.project[b].project_id,
|
|
@@ -1877,7 +1877,6 @@
|
1877
|
1877
|
}
|
1878
|
1878
|
tempProject.push(obj)
|
1879
|
1879
|
}else{
|
1880
|
|
- if( prescription.project[b].project.medical_status!=1){
|
1881
|
1880
|
let obj = {
|
1882
|
1881
|
id: prescription.project[b].id,
|
1883
|
1882
|
project_id: prescription.project[b].project_id,
|
|
@@ -1912,9 +1911,85 @@
|
1912
|
1911
|
obj['unit'] = prescription.project[b].good_info.packing_unit
|
1913
|
1912
|
}
|
1914
|
1913
|
tempProject.push(obj)
|
|
1914
|
+ }
|
|
1915
|
+ }else if(prescription.project[b].type == 3 && prescription.project[b].good_info.good_status.startsWith('停用') == false){
|
|
1916
|
+ if (this.org_id == 10206 ) {
|
|
1917
|
+ let obj = {
|
|
1918
|
+ id: prescription.project[b].id,
|
|
1919
|
+ project_id: prescription.project[b].project_id,
|
|
1920
|
+ project_name: prescription.project[b].project.project_name,
|
|
1921
|
+ statistical_classification: prescription.project[b].project.statistical_classification,
|
|
1922
|
+ single_dose: prescription.project[b].single_dose,
|
|
1923
|
+ delivery_way: prescription.project[b].delivery_way,
|
|
1924
|
+ execution_frequency: prescription.project[b].execution_frequency,
|
|
1925
|
+ number_days: prescription.project[b].day,
|
|
1926
|
+ total: prescription.project[b].count.toString(),
|
|
1927
|
+ price: prescription.project[b].price,
|
|
1928
|
+ remark: prescription.project[b].remark,
|
|
1929
|
+ medical_code: prescription.project[b].project.medical_code,
|
|
1930
|
+ type: prescription.project[b].type,
|
|
1931
|
+ frequency_type: prescription.project[b].frequency_type,
|
|
1932
|
+ day_count: prescription.project[b].day_count,
|
|
1933
|
+ week_day: prescription.project[b].week_day
|
|
1934
|
+
|
1915
|
1935
|
|
1916
|
1936
|
}
|
1917
|
|
- }
|
|
1937
|
+
|
|
1938
|
+ if (prescription.project[b].type == 2) {
|
|
1939
|
+ obj['statistical_classification'] = prescription.project[b].project.statistical_classification
|
|
1940
|
+ obj['medical_code'] = prescription.project[b].project.medical_code
|
|
1941
|
+ obj['project_name'] = prescription.project[b].project.project_name
|
|
1942
|
+ obj['project'] = prescription.project[b].project
|
|
1943
|
+ obj['unit'] = prescription.project[b].unit
|
|
1944
|
+ obj['number'] = ""
|
|
1945
|
+
|
|
1946
|
+
|
|
1947
|
+ } else if (prescription.project[b].type == 3) {
|
|
1948
|
+ obj['statistical_classification'] = ''
|
|
1949
|
+ obj['medical_code'] = prescription.project[b].good_info.medical_insurance_number
|
|
1950
|
+ obj['project_name'] = prescription.project[b].good_info.good_name
|
|
1951
|
+ obj['good_info'] = prescription.project[b].good_info
|
|
1952
|
+ obj['unit'] = prescription.project[b].good_info.packing_unit
|
|
1953
|
+ obj['number'] = prescription.project[b].good_info.good_number
|
|
1954
|
+
|
|
1955
|
+ }
|
|
1956
|
+ tempProject.push(obj)
|
|
1957
|
+ }else{
|
|
1958
|
+ let obj = {
|
|
1959
|
+ id: prescription.project[b].id,
|
|
1960
|
+ project_id: prescription.project[b].project_id,
|
|
1961
|
+ project_name: prescription.project[b].project.project_name,
|
|
1962
|
+ statistical_classification: prescription.project[b].project.statistical_classification,
|
|
1963
|
+ single_dose: prescription.project[b].single_dose,
|
|
1964
|
+ delivery_way: prescription.project[b].delivery_way,
|
|
1965
|
+ execution_frequency: prescription.project[b].execution_frequency,
|
|
1966
|
+ number_days: prescription.project[b].day,
|
|
1967
|
+ total: prescription.project[b].count.toString(),
|
|
1968
|
+ price: prescription.project[b].price,
|
|
1969
|
+ remark: prescription.project[b].remark,
|
|
1970
|
+ medical_code: prescription.project[b].project.medical_code,
|
|
1971
|
+ type: prescription.project[b].type,
|
|
1972
|
+ frequency_type: prescription.project[b].frequency_type,
|
|
1973
|
+ day_count: prescription.project[b].day_count,
|
|
1974
|
+ week_day: prescription.project[b].week_day
|
|
1975
|
+
|
|
1976
|
+ }
|
|
1977
|
+
|
|
1978
|
+ if (prescription.project[b].type == 2) {
|
|
1979
|
+ obj['statistical_classification'] = prescription.project[b].project.statistical_classification
|
|
1980
|
+ obj['medical_code'] = prescription.project[b].project.medical_code
|
|
1981
|
+ obj['project_name'] = prescription.project[b].project.project_name
|
|
1982
|
+ obj['project'] = prescription.project[b].project
|
|
1983
|
+ obj['unit'] = prescription.project[b].unit
|
|
1984
|
+ } else if (prescription.project[b].type == 3) {
|
|
1985
|
+ obj['statistical_classification'] = ''
|
|
1986
|
+ obj['medical_code'] = prescription.project[b].good_info.medical_insurance_number
|
|
1987
|
+ obj['project_name'] = prescription.project[b].good_info.good_name
|
|
1988
|
+ obj['good_info'] = prescription.project[b].good_info
|
|
1989
|
+ obj['unit'] = prescription.project[b].good_info.packing_unit
|
|
1990
|
+ }
|
|
1991
|
+ tempProject.push(obj)
|
|
1992
|
+ }
|
1918
|
1993
|
}
|
1919
|
1994
|
}
|
1920
|
1995
|
// var preTime = nowTime
|