添加订单导出状态显示

This commit is contained in:
wangxiaowei 2024-09-04 09:52:55 +08:00
parent 1567f65434
commit 3d079dff34

@ -42,6 +42,13 @@
</div>
<table id="like-table-lists" lay-filter="like-table-lists"></table>
<script type="text/html" id="pay-state">
{{# if(d.state == 0){ }}
<span style="font-weight: bold;">未支付</span>
{{# } else if (d.state == 1) { }}
<span style="font-weight: bold;color:green;">已支付</span>
{{# } }}
</script>
<script type="text/html" id="is-checkout">
{{# if(d.is_checkout == 1){ }}
<span style="font-weight: bold;color: green;">已结账</span>
@ -60,6 +67,7 @@
like.tableLists("#like-table-lists", "{:url()}", [
{field: "id", width: 60, title: "ID"}
, {field: "state", width: 240, align: "center", title: "支付状态", templet: '#pay-state'}
, {field: "payment_type", width: 240, align: "center", title: "收款方类型"}
, {field: "shopName", width: 300, align: "center", title: "户名"}
, {field: "bank_name", width: 120, align: "center", title: "银行名称"}