xiaoyong931011
2021-09-25 ce241b10d4e31ca7f57be46e88ef4bb25ded9043
20210925
5 files modified
28 ■■■■ changed files
src/main/java/cc/mrbird/febs/mall/dto/MoneyFlowListDto.java 2 ●●●●● patch | view | raw | blame | history
src/main/resources/mapper/modules/MallMoneyFlowMapper.xml 3 ●●●●● patch | view | raw | blame | history
src/main/resources/templates/febs/views/modules/mallMember/moneyFlowList.html 14 ●●●●● patch | view | raw | blame | history
src/main/resources/templates/febs/views/modules/order/orderList.html 5 ●●●●● patch | view | raw | blame | history
src/main/resources/templates/febs/views/modules/order/payMethodList.html 4 ●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/mall/dto/MoneyFlowListDto.java
@@ -11,4 +11,6 @@
    private String phone;
    private Integer type;
}
src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
@@ -43,6 +43,9 @@
                <if test="record.phone!=null and record.phone!=''">
                    and b.phone like concat('%',  #{record.phone},'%')
                </if>
                <if test="record.type!=null and record.type!=''">
                    and a.type like concat('%',  #{record.type},'%')
                </if>
            </if>
        </where>
        order by a.created_time desc
src/main/resources/templates/febs/views/modules/mallMember/moneyFlowList.html
@@ -17,6 +17,19 @@
                                            <input type="text" placeholder="手机号" name="phone" autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label layui-form-label-sm">账户状态</label>
                                        <div class="layui-input-inline">
                                            <select name="type">
                                                <option value="">请选择</option>
                                                <option value="1">分红收入</option>
                                                <option value="2">业绩奖励</option>
                                                <option value="3">订单支付</option>
                                                <option value="4">退款</option>
                                                <option value="5">转账</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-col-md2 layui-col-sm12 layui-col-xs12 table-action-area">
@@ -109,6 +122,7 @@
            return {
                name: $searchForm.find('input[name="name"]').val().trim(),
                phone: $searchForm.find('input[name="phone"]').val().trim(),
                type: $searchForm.find("select[name='type']").val(),
            };
        }
src/main/resources/templates/febs/views/modules/order/orderList.html
@@ -63,7 +63,7 @@
                            text-overflow: ellipsis; /*省略号显示*/
                        }
                        .layui-table img{
                            max-width:200px
                            max-width:100px
                        }
                    </style>
                </div>
@@ -166,12 +166,13 @@
                        {field: 'memberPhone', title: '联系方式', minWidth: 120,align:'left'},
                        {field: 'amount', title: '订单金额', minWidth: 120,align:'left'},
                        {field: 'orderTime', title: '下单时间', minWidth: 120,align:'left'},
                        {field: 'payMethod', title: '支付方式', minWidth: 120,align:'left'},
                        {field: 'payTime', title: '支付时间', minWidth: 120,align:'left'},
                        {field: 'payOrderNo', title: '支付订单号', minWidth: 120,align:'left'},
                        {field: 'payImage', title: '支付凭证',
                            templet: function (d) {
                                return '<a lay-event="seePayImage"><img id="seePayImage'+d.id+'" src="'+d.payImage+'" alt=""></a>';
                            }, minWidth: 200,align:'center'},
                            }, minWidth: 100,align:'center'},
                        {field: 'status', title: '状态',
                            templet: function (d) {
                                if (d.status === 1) {
src/main/resources/templates/febs/views/modules/order/payMethodList.html
@@ -26,7 +26,7 @@
                            white-space: normal;
                        }
                        .layui-table img{
                            max-width:200px
                            max-width:100px
                        }
                    </style>
                </div>
@@ -111,7 +111,7 @@
                    {field: 'value', title: '收款码',
                        templet: function (d) {
                            return '<a lay-event="seeImg"><img id="seeImg'+d.id+'" src="'+d.value+'" alt=""></a>';
                        }, minWidth: 200,align:'center'},
                        }, minWidth: 100,align:'center'},
                    {title: '操作',
                        templet: function (d) {
                            return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="payMethodedit" shiro:hasPermission="user:update">编辑</button>'