|
@@ -178,11 +178,19 @@
|
|
|
prop="invoiceHtmlUrl"
|
|
|
label="预览地址"
|
|
|
show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <a :href="scope.row.invoiceHtmlUrl" target="_blank">{{scope.row.invoiceHtmlUrl}}</a>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
+
|
|
|
+
|
|
|
<el-table-column
|
|
|
prop="invoiceUrl"
|
|
|
label="下载地址"
|
|
|
show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <a :href="scope.row.invoiceUrl" target="_blank">{{scope.row.invoiceUrl}}</a>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="calculateTime"
|
|
@@ -200,6 +208,22 @@
|
|
|
<span v-else-if="scope.row.billStatus == 4" style="color: red">超时运单</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="invoiceStatus"
|
|
|
+ label="发票状态"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.invoiceStatus == 1" style="color: green">待开票</span>
|
|
|
+ <span v-else-if="scope.row.invoiceStatus == 2" style="color: green">开票中</span>
|
|
|
+ <span v-else-if="scope.row.invoiceStatus == 3" style="color: green">开票完成</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="msg"
|
|
|
+ label="发票状态信息"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
<el-table-column
|
|
|
prop="interType"
|
|
|
label="对接方式"
|
|
@@ -520,8 +544,11 @@ import XLSX from "xlsx";
|
|
|
{"title":"税率","key":"taxRate"},
|
|
|
{"title":"扣费时间","key":"calculateTime"},
|
|
|
{"title":"运单状态","key":"billStatus"},
|
|
|
+ {"title":"发票状态","key":"invoiceStatus"},
|
|
|
+ {"title":"发票状态信息","key":"msg"},
|
|
|
{"title":"预览地址","key":"invoiceHtmlUrl"},
|
|
|
- {"title":"下载地址","key":"invoiceUrl"}
|
|
|
+ {"title":"下载地址","key":"invoiceUrl"}
|
|
|
+
|
|
|
|
|
|
];
|
|
|
this.exportExcelComm(cloums,recodes,name,loading)
|
|
@@ -543,6 +570,14 @@ import XLSX from "xlsx";
|
|
|
}else {
|
|
|
return "超时运单";
|
|
|
}
|
|
|
+ } else if(j == 'invoiceStatus'){
|
|
|
+ if(v[j] == 1){
|
|
|
+ return "待开票";
|
|
|
+ } else if(v[j] == 2){
|
|
|
+ return "开票中";
|
|
|
+ }else{
|
|
|
+ return "开票完成";
|
|
|
+ }
|
|
|
}else if(j =='fee'){
|
|
|
return v[j]/100;
|
|
|
}else if(j =='totalAmount'){
|