浏览代码

优化订单详情页的显示:针对订单发货仓库进行展示。

xian 4 年之前
父节点
当前提交
3a3ae155db
共有 1 个文件被更改,包括 11 次插入4 次删除
  1. 11 4
      watero-rst-web/src/main/webapp/WEB-INF/views/order/salesOrder/sales_order_detail.ftl

+ 11 - 4
watero-rst-web/src/main/webapp/WEB-INF/views/order/salesOrder/sales_order_detail.ftl

@@ -225,8 +225,15 @@
             <tr>
                 <th width="10">发货仓库:</th>
                 <td width="10">
-                    <#if order.salesSendType==3>京东仓库
-                    <#else>爱贝源仓库
+                    <#if (order.salesSendType)?? && (order.salesSendType==3)>京东仓库
+                    <#else>
+                        <#if (order.salesWarehouseId)?? && (order.salesWarehouseId == 1)>
+                            正常仓库
+                        <#elseif (order.salesWarehouseId)?? && (order.salesWarehouseId == 2)>
+                            售后仓库
+                        <#else>
+                            未分配
+                        </#if>
                     </#if>
                 </td>
                 <td width="10"></td>
@@ -267,7 +274,7 @@
                 <td width="10"></td>
                 <th width="10">物流单号:</th>
                 <td width="10" style="font-weight: normal;"><span>
-                ${order.salesPostNum!'暂无快递单号'}
+                ${order.salesPostNum!}
                     <#--<#if order.salesPostNum??>
                         <a onclick="openLogistics('物流信息','${path}/admin/detect/to_view_logistics?billCode=${order.salesPostNum!''}&billName=${order.salesPostFirm!''}',600,500);">查看物流</a>
                     </#if>-->
@@ -284,7 +291,7 @@
                 <td width="10"></td>
                 <th width="10">打单时间:</th>
                 <td width="10" style="font-weight: normal;">
-                    <span>${(order.salesSendTime?string("yyyy-MM-dd HH:mm:ss"))!'暂未发货'}</span>
+                    <span>${(order.salesSendTime?string("yyyy-MM-dd HH:mm:ss"))!}</span>
                 </td>
             </tr>
             <tr>