|
@@ -490,8 +490,9 @@ export default {
|
|
|
|
|
|
// 导出订单
|
|
|
handleExportDraw() {
|
|
|
- if (this.queryParams.resource){
|
|
|
- this.queryParams.resource = Number(this.queryParams.resource)
|
|
|
+ let data = {
|
|
|
+ ...this.queryParams,
|
|
|
+ resource: this.queryParams.resource == "" ? this.queryParams.resource: Number(this.queryParams.resource)
|
|
|
}
|
|
|
this.$confirm("是否确认导出订单?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
@@ -504,7 +505,7 @@ export default {
|
|
|
text: "正在导出订单.....",
|
|
|
background: "rgba(0, 0, 0, 0.7)",
|
|
|
});
|
|
|
- return deliverOrderExport(this.queryParams);
|
|
|
+ return deliverOrderExport(data);
|
|
|
})
|
|
|
.then((response) => {
|
|
|
this.vloading.close();
|