ソースを参照

订单列表页面,增加显示第三方商铺的图标

xian 5 年 前
コミット
d137b95c97

+ 10 - 1
watero-rst-web/src/main/webapp/WEB-INF/views/order/salesOrder/sales_order_list.ftl

@@ -201,7 +201,16 @@
                             正常
                         </#if>
                     </td>
-                    <td>${order.salesDealCode!''}</td>
+                    <td>
+                        <#if (order.storeName)?? && (order.storeName?index_of("京东") != -1)>
+                            <img style="width: 20px;height: 20px" src="https://s.iamberry.com/rst/img/jd.png">
+                        <#elseif (order.storeName)?? && (order.storeName?index_of("天猫") != -1)>
+                            <img style="width: 20px;height: 20px" src="https://s.iamberry.com/rst/img/tm.png">
+                        <#elseif (order.storeName)?? && (order.storeName?index_of("淘宝") != -1)>
+                            <img style="width: 20px;height: 20px" src="https://s.iamberry.com/rst/img/tb.png">
+                        </#if>
+                        ${order.salesDealCode!''}
+                    </td>
                     <td>${order.salesBatchId!''}</td>
                     <td>${order.salesAdminName!''}</td>
                     <td>${order.salesAddressName!''}${order.salesAddressTel!''}</td>