From a128d99df306bb1ab017b7069fb0441837b3917b Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 13 十月 2025 10:04:35 +0800
Subject: [PATCH] 导出加参数
---
src/views/order/index.vue | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/views/order/index.vue b/src/views/order/index.vue
index 3abba91..9fdb65a 100644
--- a/src/views/order/index.vue
+++ b/src/views/order/index.vue
@@ -122,8 +122,8 @@
fetchData() {
this.listLoading = true;
getData(this.data).then((response) => {
- this.list = response.data.findOrderByOrgId.ls;
- this.total = response.data.findOrderByOrgId.pageOut.total;
+ this.list = response.data.findOrderVoByOrgId.ls;
+ this.total = response.data.findOrderVoByOrgId.pageOut.total;
this.listLoading = false;
});
},
@@ -163,7 +163,7 @@
<td>${o.qty} </td>
<td> ${o.giftQty || 0}</td>
<td>${o.amt}</td>
- <td>${row.saleStaff.name} </td>
+ <td>${row.saleStaff ? row.saleStaff.name : ''} </td>
</tr>`;
});
@@ -172,7 +172,7 @@
<h2 style="text-align: center;">${orgName}缂磋垂鏀舵嵁 </h2>
<div> 璁㈠崟鍙凤細${row.number}</div>
<div class="div-2-column">
- <div> 瀛﹀憳濮撳悕锛�<u>${row.playerBaseInfo ? row.playerBaseInfo.name : ""
+ <div> 瀛﹀憳濮撳悕锛�<u>${row.playerBaseInfo ? (row.playerBaseInfo.name||'') : ""
}</u> </div>
<div>鑱旂郴鐢佃瘽锛�<u>${row.mobile || "鏈綍鍏�"} </u></div>
</div>
@@ -185,7 +185,7 @@
<th width="140px" nowradiv>绉戠洰</th>
<th width="80px" nowradiv>鏁伴噺</th>
<th width="80px" nowradiv>璧犻��</th>
- <th width="100px" nowradiv>浣欓</th>
+ <th width="100px" nowradiv>閲戦</th>
<th>璇剧▼椤鹃棶</th>
</tr>
${detail}
@@ -204,6 +204,7 @@
}锛�</td>
</tr>
</table>
+ <div> 鏍″尯鍦板潃锛�${row.org.address||row.org.addressDetail}</div>
<div> 澶囨敞锛�${row.message || ""} </div>
<br>
<br>
--
Gitblit v1.8.0