|
@@ -572,8 +572,16 @@ export default {
|
572
|
572
|
for(let i=0;i<this.tableData.length;i++){
|
573
|
573
|
if(this.tableData[i].is_total == 0){
|
574
|
574
|
this.tableData[i].index = i+1
|
575
|
|
-
|
576
|
|
- this.tableData[i].drugtype = this.getTypeList(this.tableData[i].drugtype)
|
|
575
|
+ if(this.tableData[i].drug_type == 1){
|
|
576
|
+ this.tableData[i].drugtype = "西药"
|
|
577
|
+ }
|
|
578
|
+ if(this.tableData[i].drug_type == 2){
|
|
579
|
+ this.tableData[i].drugtype = "草药"
|
|
580
|
+ }
|
|
581
|
+ if(this.tableData[i].drug_type == 3){
|
|
582
|
+ this.tableData[i].drugtype = "成药"
|
|
583
|
+ }
|
|
584
|
+ // this.tableData[i].drugtype = this.getTypeList(this.tableData[i].drugtype)
|
577
|
585
|
this.tableData[i].specification_name = this.tableData[i].dose + this.tableData[i].dose_unit +"*" + this.tableData[i].min_number + this.tableData[i].min_unit + "/" + this.tableData[i].max_unit
|
578
|
586
|
this.tableData[i].time = this.getTime(this.tableData[i].ctime)
|
579
|
587
|
this.tableData[i].user_name = this.getAdminUser(this.tableData[i].creater)
|