|
@@ -441,7 +441,11 @@ export default {
|
441
|
441
|
total_price += order[i].total_price
|
442
|
442
|
}
|
443
|
443
|
if(order[i].count_unit == order[i].max_unit){
|
444
|
|
- order[i].total_price += order[i].count * order[i].price * order[i].min_number
|
|
444
|
+ if(order[i].is_sys == 0){
|
|
445
|
+ order[i].total_price += order[i].count * order[i].price
|
|
446
|
+ }else{
|
|
447
|
+ order[i].total_price += order[i].count * order[i].price * order[i].min_number
|
|
448
|
+ }
|
445
|
449
|
}
|
446
|
450
|
|
447
|
451
|
}
|
|
@@ -453,7 +457,11 @@ export default {
|
453
|
457
|
}
|
454
|
458
|
|
455
|
459
|
if(order[i].count_unit == order[i].max_unit){
|
456
|
|
- order[i].total_price += order[i].count * this.getPrice(order[i].drug_id) * order[i].min_number
|
|
460
|
+ if(order[i].is_sys == 0){
|
|
461
|
+ order[i].total_price += order[i].count * this.getPrice(order[i].drug_id)
|
|
462
|
+ }else{
|
|
463
|
+ order[i].total_price += order[i].count * this.getPrice(order[i].drug_id) * order[i].min_number
|
|
464
|
+ }
|
457
|
465
|
order[i].price = this.getPrice(order[i].drug_id)
|
458
|
466
|
}
|
459
|
467
|
|