|
@@ -826,6 +826,7 @@ export default {
|
826
|
826
|
}
|
827
|
827
|
console.log("hhhh2323",this.exportList)
|
828
|
828
|
for(let i=0;i<this.exportList.length;i++){
|
|
829
|
+ this.exportList[i].index = i+1
|
829
|
830
|
this.exportList[i].unit = this.exportList[i].dose + this.exportList[i].dose_unit + "*" + this.exportList[i].min_number + this.exportList[i].min_unit + "/"+this.exportList[i].max_unit
|
830
|
831
|
|
831
|
832
|
this.exportList[i].total_price = (this.exportList[i].warehousing_count * this.exportList[i].price).toFixed(2)
|
|
@@ -859,8 +860,8 @@ export default {
|
859
|
860
|
}
|
860
|
861
|
}
|
861
|
862
|
|
862
|
|
- const tHeader = ['药品名称','药品类型','规格&单位', '批号','入库数量','进货价','总价','生产厂家','生产日期','有效日期','经销商','批注文号','备注']
|
863
|
|
- const filterVal = ['drug_name', 'drug_type','unit','batch_number','warehousing_count','price','total_price','manufacturer','product_date','expiry_date','dealer','number','remark']
|
|
863
|
+ const tHeader = ['序号','药品名称','药品类型','规格&单位', '批号','入库数量','进货价','总价','生产厂家','生产日期','有效日期','经销商','批注文号','备注']
|
|
864
|
+ const filterVal = ['index','drug_name', 'drug_type','unit','batch_number','warehousing_count','price','total_price','manufacturer','product_date','expiry_date','dealer','number','remark']
|
864
|
865
|
|
865
|
866
|
|
866
|
867
|
console.log("table",this.exportList)
|