|
@@ -637,6 +637,7 @@ export default {
|
637
|
637
|
this.tablePrint[i].ctime = this.getTime(this.tablePrint[i].ctime)
|
638
|
638
|
this.tablePrint[i].manufacturer_name = this.getManufacturerName(this.tablePrint[i].manufacturer)
|
639
|
639
|
this.tablePrint[i].dealer_name = this.getDealerName(this.tablePrint[i].dealer)
|
|
640
|
+
|
640
|
641
|
}
|
641
|
642
|
for(let i=0;i<this.tablePrint.length;i++){
|
642
|
643
|
if(this.org_id == 9919 || this.org_id == 9671){
|
|
@@ -652,15 +653,21 @@ export default {
|
652
|
653
|
this.tablePrint[i].unit = this.tablePrint[i].dose + this.tablePrint[i].dose_unit + "*" + this.tablePrint[i].min_number +this.tablePrint[i].min_unit +"/"+this.tablePrint[i].max_unit
|
653
|
654
|
this.tablePrint[i].total = this.getTotalPriceOne(this.tablePrint[i].child,this.tablePrint[i].max_unit,this.tablePrint[i].min_number,this.tablePrint[i].min_price)
|
654
|
655
|
}
|
|
656
|
+
|
|
657
|
+ console.log("this.start_time",this.start_time)
|
|
658
|
+ console.log("this.end_time",this.end_time)
|
|
659
|
+ this.tablePrint[i].order_time = ""
|
|
660
|
+ this.tablePrint[i].order_time = this.start_time + " ~ " + this.end_time
|
655
|
661
|
}
|
|
662
|
+
|
656
|
663
|
console.log("wowowoowowowowo",this.tablePrint)
|
|
664
|
+
|
657
|
665
|
|
658
|
|
-
|
659
|
|
-
|
|
666
|
+
|
660
|
667
|
import('@/vendor/Export2Excel').then(excel => {
|
661
|
668
|
const tHeader = ['序号','药品名称', '规格型号','生产厂商','进销商', '单位','数量','单价','总价','出库时间','备注']
|
662
|
669
|
if(this.org_id == 9919){
|
663
|
|
- const filterVal = ['index','drug_name', 'unit', 'manufacturer_name','dealer_name','max_unit','count','min_price','total_price','ctime','remark']
|
|
670
|
+ const filterVal = ['index','drug_name', 'unit', 'manufacturer_name','dealer_name','max_unit','count','min_price','total_price','order_time','remark']
|
664
|
671
|
|
665
|
672
|
let obj = {'index':'合计','total_price':0.00}
|
666
|
673
|
for(let i=0;i<this.tablePrint.length;i++){
|
|
@@ -678,7 +685,7 @@ export default {
|
678
|
685
|
})
|
679
|
686
|
this.downloadLoading = false
|
680
|
687
|
}else{
|
681
|
|
- const filterVal = ['index','drug_name', 'unit', 'manufacturer_name','dealer_name','min_unit','count','min_price','total_price','ctime','remark']
|
|
688
|
+ const filterVal = ['index','drug_name', 'unit', 'manufacturer_name','dealer_name','min_unit','count','min_price','total_price','order_time','remark']
|
682
|
689
|
|
683
|
690
|
let obj = {'index':'合计','total_price':0.00}
|
684
|
691
|
for(let i=0;i<this.tablePrint.length;i++){
|