Bläddra i källkod

11月14日 库存扣减更新

XMLWAN 2 år sedan
förälder
incheckning
ffe8ae5828
1 ändrade filer med 10 tillägg och 2 borttagningar
  1. 10 2
      src/xt_pages/stock/drugs/components/drugOutDetail.vue

+ 10 - 2
src/xt_pages/stock/drugs/components/drugOutDetail.vue Visa fil

@@ -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)