From 714e98e20f8a534fef0a301c527a8b3ace0741cb Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Wed, 13 Mar 2024 14:30:20 +0800
Subject: [PATCH] 抽奖

---
 src/main/resources/templates/febs/views/modules/mallMember/chargeFlowList.html |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/mallMember/chargeFlowList.html b/src/main/resources/templates/febs/views/modules/mallMember/chargeFlowList.html
index 1d46d9f..22df7e8 100644
--- a/src/main/resources/templates/febs/views/modules/mallMember/chargeFlowList.html
+++ b/src/main/resources/templates/febs/views/modules/mallMember/chargeFlowList.html
@@ -14,6 +14,16 @@
                                         </div>
                                     </div>
                                     <div class="layui-inline">
+                                        <label class="layui-form-label">类型:</label>
+                                        <div class="layui-input-inline">
+                                            <select name="remark">
+                                                <option value="">请选择</option>
+                                                <option value="充值">充值</option>
+                                                <option value="提现">提现</option>
+                                            </select>
+                                        </div>
+                                    </div>
+                                    <div class="layui-inline">
                                         <label class="layui-form-label">状态:</label>
                                         <div class="layui-input-inline">
                                             <select name="status">
@@ -51,6 +61,18 @@
     {{# } else { }}
         <button class="layui-btn layui-btn-normal layui-btn-xs" type="button" shiro:hasPermission="paymentInfo:update" lay-event="paymentInfo">查看收款方式</button>
     {{# } }}
+</script>
+
+<script type="text/html" id="remarkFormat">
+    <div>
+        {{# if (d.remark == '充值') { }}
+        <span class="layui-badge febs-tag-blue">充值</span>
+        {{# } else if (d.remark == '提现') { }}
+        <span class="layui-badge febs-tag-green">提现</span>
+        {{# } else { }}
+        <span class="layui-badge febs-tag-green">提现</span>
+        {{# } }}
+    </div>
 </script>
 
 <script type="text/html" id="txStatusFormat">
@@ -142,6 +164,7 @@
                 totalRow: true ,// 开启合计行
                 cols: [[
                     {field: 'withdrawNo', title: '编号', minWidth: 100,align:'left', totalRowText: '合计:'},
+                    {templet:"#remarkFormat",  title: '类型', minWidth: 100,align:'left'},
                     {field: 'phone', title: '账号', minWidth: 150,align:'left'},
                     {field: 'amount', title: '金额', minWidth: 150,align:'left',totalRow: '{{= parseInt(d.amount) }}'},
                     {field: 'amountFee', title: '手续费', minWidth: 150,align:'left',totalRow: '{{= parseInt(d.amountFee) }}'},
@@ -157,6 +180,7 @@
             return {
                 phone: $searchForm.find('input[name="phone"]').val().trim(),
                 status: $searchForm.find("select[name='status']").val(),
+                remark: $searchForm.find("select[name='remark']").val(),
             };
         }
 

--
Gitblit v1.9.1