|
@@ -833,12 +833,18 @@ export default {
|
833
|
833
|
if(this.exportList[i].manufacturer == this.manufacturerList[j].id){
|
834
|
834
|
this.exportList[i].manufacturer = this.manufacturerList[j].manufacturer_name
|
835
|
835
|
}
|
|
836
|
+ if(this.exportList[i].manufacturer == 0){
|
|
837
|
+ this.exportList[i].manufacturer = ""
|
|
838
|
+ }
|
836
|
839
|
}
|
837
|
840
|
|
838
|
841
|
for(let z=0;z<this.dealerList.length;z++){
|
839
|
842
|
if(this.exportList[i].dealer == this.dealerList[z].id){
|
840
|
843
|
this.exportList[i].dealer = this.dealerList[z].dealer_name
|
841
|
844
|
}
|
|
845
|
+ if(this.exportList[i].dealer == 0){
|
|
846
|
+ this.exportList[i].dealer = ""
|
|
847
|
+ }
|
842
|
848
|
}
|
843
|
849
|
}
|
844
|
850
|
|
|
@@ -858,7 +864,7 @@ export default {
|
858
|
864
|
|
859
|
865
|
|
860
|
866
|
console.log("table",this.exportList)
|
861
|
|
-
|
|
867
|
+
|
862
|
868
|
const data = this.formatJson(filterVal, this.exportList)
|
863
|
869
|
excel.export_json_to_excel({
|
864
|
870
|
header: tHeader,
|