|
@@ -417,7 +417,7 @@
|
417
|
417
|
scope.row.prescribing_number = 1
|
418
|
418
|
}
|
419
|
419
|
if(scope.row.prescribing_number_unit == scope.row.drug.min_unit){
|
420
|
|
- // scope.row.retail_price = scope.row.drug.min_price * scope.row.prescribing_number
|
|
420
|
+ scope.row.retail_price = scope.row.drug.min_number / scope.row.retail_price
|
421
|
421
|
if(scope.row.prescribing_number > scope.row.drug.total){
|
422
|
422
|
this.$message.error(scope.row.drug_name + '库存不足')
|
423
|
423
|
}
|
|
@@ -425,7 +425,7 @@
|
425
|
425
|
if((parseInt(scope.row.prescribing_number) * scope.row.drug.min_number) > scope.row.drug.total){
|
426
|
426
|
this.$message.error(scope.row.drug_name + '库存不足')
|
427
|
427
|
}
|
428
|
|
- // scope.row.retail_price = scope.row.drug.retail_price * scope.row.prescribing_number
|
|
428
|
+ scope.row.retail_price = scope.row.drug.retail_price * scope.row.prescribing_number
|
429
|
429
|
}
|
430
|
430
|
|
431
|
431
|
},
|