移动系统liao
2024-05-20 45c6d6e44e9e8428718fc635d71e0869556da2c3
CoreCms.Net.Web.Admin/wwwroot/views/order/orders/index.html
@@ -295,7 +295,7 @@
                            },
                            { field: 'orderAmount', title: '订单总额', width: 120, align: 'center', templet: '#orderAmount', totalRow: true },
                            {
                                field: 'item', title: '货品', align: 'center', width: 330, templet: "#orderItems"
                                field: 'item', title: '货品', align: 'center', width: 550, templet: "#orderItems"
                            },
                            {
                                field: 'orderAmount',
@@ -378,7 +378,10 @@
                                templet: function (data) {
                                    for (var i = 0; i < d.data.shipStatus.length; i++) {
                                        if (data.shipStatus == d.data.shipStatus[i].value) {
                                            return d.data.shipStatus[i].description;
                                            if(d.data.shipStatus[i].description == "已发货")
                                            return "√"
                                           return d.data.shipStatus[i].description;
                                        }
                                    }
                                    return "";
@@ -391,7 +394,9 @@
                                templet: function (data) {
                                    for (var i = 0; i < d.data.confirmStatus.length; i++) {
                                        if (data.confirmStatus == d.data.confirmStatus[i].value) {
                                            return d.data.confirmStatus[i].description;
                                            if(d.data.confirmStatus[i].description == "已确认收货")
                                            return "√"
                                           return d.data.confirmStatus[i].description;
                                        }
                                    }
                                    return "";
@@ -1300,15 +1305,18 @@
    <div class="order-min-table">
        <table class="layui-table" lay-size="sm">
            <colgroup>
                <col width="500">
                <col width="40">
                <col width="200">
                <col width="300">
                <col width="40">
                <col width="40">
                <col width="40">
            </colgroup>
            <thead>
                <tr>
                    <th colspan="2" style="width: 200px;">货品</th>
                    <th colspan="1" style="width: 400px;">商品名称</th>
                    <th colspan="2" style="width: 300px;">货品</th>
                    <th style="width: 40px;">数量</th>
                    <th style="width: 40px;">单价</th>
                    <th style="width: 40px;">优惠</th>
@@ -1317,7 +1325,11 @@
            </thead>
            <tbody>
                {{# layui.each(d.items, function(index, item){ }}
                <tr lay-tips="{{item.name}}">
                    <td >
                        {{item.name}}
                    </td>
                    <td>
                        <a href="javascript:void(0);" onclick="layui.coreHelper.viewImage('{{item.imageUrl}}')"><image style="max-width: 30px; max-height: 30px;" src="{{item.imageUrl}}" /></a>
                    </td>