|
@@ -1143,6 +1143,7 @@ export default {
|
1143
|
1143
|
})
|
1144
|
1144
|
},
|
1145
|
1145
|
setMonthPrescription(month_prescriptions) {
|
|
1146
|
+ console.log("--======-66666777--====")
|
1146
|
1147
|
|
1147
|
1148
|
this.month_prescriptions = []
|
1148
|
1149
|
|
|
@@ -1271,6 +1272,14 @@ export default {
|
1271
|
1272
|
// obj['medical_c/**/ode'] = project_month_prescriptions.project[a].project.medical_code
|
1272
|
1273
|
obj['unit'] = project_month_prescriptions.project[a].unit
|
1273
|
1274
|
obj['project_id'] = project_month_prescriptions.project[a].project_id
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+ if(project_month_prescriptions.project[a].project_id == 12302){
|
|
1278
|
+ console.log("--======---====")
|
|
1279
|
+ console.log("--======---====")
|
|
1280
|
+ console.log(count)
|
|
1281
|
+ }
|
|
1282
|
+
|
1274
|
1283
|
count = count + parseFloat(project_month_prescriptions.project[a].count)
|
1275
|
1284
|
// price = price + project_month_prescriptions.project[a].price
|
1276
|
1285
|
obj['price'] = parseFloat(project_month_prescriptions.project[a].price)
|
|
@@ -1945,7 +1954,8 @@ export default {
|
1945
|
1954
|
hosp_appr_flag: '1',
|
1946
|
1955
|
execution_state: 2,
|
1947
|
1956
|
is_self_drug: '',
|
1948
|
|
- drug_way_count: '1'
|
|
1957
|
+ drug_way_count: '1',
|
|
1958
|
+
|
1949
|
1959
|
|
1950
|
1960
|
}
|
1951
|
1961
|
|
|
@@ -2289,7 +2299,7 @@ export default {
|
2289
|
2299
|
execution_state: prescription.advices[b].execution_state,
|
2290
|
2300
|
is_medicine: prescription.advices[b].is_medicine,
|
2291
|
2301
|
is_self_drug: prescription.advices[b].is_self_drug.toString(),
|
2292
|
|
- drug_way_count: prescription.advices[b].drug_way_count
|
|
2302
|
+ drug_way_count: prescription.advices[b].drug_way_count,
|
2293
|
2303
|
|
2294
|
2304
|
}
|
2295
|
2305
|
tempAdvice.push(obj)
|