|  | @@ -245,15 +245,19 @@
 | 
	
		
			
				|  |  |                              </a><br/>
 | 
	
		
			
				|  |  |                          </#if>
 | 
	
		
			
				|  |  |                          <#if order.salesStatus == 0>
 | 
	
		
			
				|  |  | -                        <a style="text-decoration:none" href="javascript:void(0);" title="确认订单" onclick="confirm_one(${order.salesId!''})">
 | 
	
		
			
				|  |  | -                            <font color=#06c>确认订单</font>
 | 
	
		
			
				|  |  | -                        </a><br/>
 | 
	
		
			
				|  |  | +                            <a style="text-decoration:none" href="javascript:void(0);" title="确认订单" onclick="confirm_one(${order.salesId!''})">
 | 
	
		
			
				|  |  | +                                <font color=#06c>确认订单</font>
 | 
	
		
			
				|  |  | +                            </a><br/>
 | 
	
		
			
				|  |  |                          </#if>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                        <a style="text-decoration:none" href="javascript:void(0);" title="分配发货方式" onclick="distribution_express(${order.salesId!''})">
 | 
	
		
			
				|  |  | +                            <font color=#06c>分配发货方式</font>
 | 
	
		
			
				|  |  | +                        </a><br/>
 | 
	
		
			
				|  |  |                      </td>
 | 
	
		
			
				|  |  |                  </tr>
 | 
	
		
			
				|  |  |                  </#list>
 | 
	
		
			
				|  |  |              <#else>
 | 
	
		
			
				|  |  | -            <tr><td colspan="15" class="td-manage text-c" >暂时没有订单信息,请添加!</td></tr>
 | 
	
		
			
				|  |  | +                <tr><td colspan="15" class="td-manage text-c" >暂时没有订单信息,请添加!</td></tr>
 | 
	
		
			
				|  |  |              </#if>
 | 
	
		
			
				|  |  |              </tbody>
 | 
	
		
			
				|  |  |          </table>
 | 
	
	
		
			
				|  | @@ -262,39 +266,13 @@
 | 
	
		
			
				|  |  |              <div style="float: left;margin-top: 20px;">
 | 
	
		
			
				|  |  |                  <button type="button" class="btn" style="background: #32a3d8;color: #fff;-webkit-transform:translateY(-5%);height: 35px;" id="" onclick="noticeDistribution()">通知配货</button>
 | 
	
		
			
				|  |  |                  <button type="button" class="btn" style="background: #32a3d8;color: #fff;-webkit-transform:translateY(-5%);height: 35px;" id="" onclick="confirmOrder()">确认订单</button>
 | 
	
		
			
				|  |  | -                <button type="button" class="btn" style="background: #32a3d8;color: #fff;-webkit-transform:translateY(-5%);height: 35px;" id="" onclick="distribution_express()">分配快递公司</button>
 | 
	
		
			
				|  |  | +                <button type="button" class="btn" style="background: #32a3d8;color: #fff;-webkit-transform:translateY(-5%);height: 35px;" id="" onclick="distribution_express(null)">分配快递公司</button>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |          </#if>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |  </div>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -<!-- 同步订单状态 -->
 | 
	
		
			
				|  |  | -<div class="layui-layer layui-anim layui-layer-iframe" id="layui-Express" times="4" showtime="0" contype="string" style="display:none;z-index: 10; width: 400px; height: 260px; position: absolute; top: 100px; left: 379px;">
 | 
	
		
			
				|  |  | -    <form action="" method="post" class="form form-horizontal" id="form-admin-Express">
 | 
	
		
			
				|  |  | -        <div class="layui-layer-title" style="cursor: move;" move="ok">同步订单</div>
 | 
	
		
			
				|  |  | -        <br>
 | 
	
		
			
				|  |  | -        <div class="row cl">
 | 
	
		
			
				|  |  | -            <label class="form-label col-4" style="float: left;"><span class="c-red">*</span> 快递公司:</label>
 | 
	
		
			
				|  |  | -            <div style="float: left;box-sizing: border-box;min-height: 1px;">
 | 
	
		
			
				|  |  | -                <select class="select" id="orderExpress" name="orderExpress">
 | 
	
		
			
				|  |  | -                    <#list logisticsInfoList as logisticsInfo>
 | 
	
		
			
				|  |  | -                        <option value="${logisticsInfo.logisticsRstCode}">${logisticsInfo.logisticsName}</option>
 | 
	
		
			
				|  |  | -                    </#list>
 | 
	
		
			
				|  |  | -                </select>
 | 
	
		
			
				|  |  | -            </div>
 | 
	
		
			
				|  |  | -            <div class="col-4"></div>
 | 
	
		
			
				|  |  | -        </div>
 | 
	
		
			
				|  |  | -        <br>
 | 
	
		
			
				|  |  | -        <div class="col-9 col-offset-3">
 | 
	
		
			
				|  |  | -            <input class="btn btn-primary radius" onclick="distributionOrderExpress()" type="button" value="  提交  ">
 | 
	
		
			
				|  |  | -        </div>
 | 
	
		
			
				|  |  | -    </form>
 | 
	
		
			
				|  |  | -    <span class="layui-layer-setwin">
 | 
	
		
			
				|  |  | -        <a class="layui-layer-ico layui-layer-close layui-layer-close1" onclick="exitWindowsDiv(this);" href="javascript:;"></a>
 | 
	
		
			
				|  |  | -    </span>
 | 
	
		
			
				|  |  | -</div>
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  <tfoot>
 | 
	
		
			
				|  |  |  <#include "/base/page_util.ftl">
 | 
	
		
			
				|  |  |  <script type="text/javascript" src="${path}/common/lib/ueditor/1.4.3/ueditor.config.js"></script>
 | 
	
	
		
			
				|  | @@ -518,8 +496,19 @@
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        function distribution_express(){
 | 
	
		
			
				|  |  | -            $("#layui-Express").show();
 | 
	
		
			
				|  |  | +        function distribution_express(salesId){
 | 
	
		
			
				|  |  | +            if(salesId == null){
 | 
	
		
			
				|  |  | +                salesId = "";
 | 
	
		
			
				|  |  | +                $(".sales_id:checked").each(function(){
 | 
	
		
			
				|  |  | +                    var val = $(this).val();
 | 
	
		
			
				|  |  | +                    if(isEmpty(salesId)){
 | 
	
		
			
				|  |  | +                        salesId += ","+val
 | 
	
		
			
				|  |  | +                    }else{
 | 
	
		
			
				|  |  | +                        salesId = val
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                })
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            layer_show("分配快递方式","${path}/admin/order_batch/to_distribution_postFirm?salesIds="+salesId,'570','450');
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          function distributionOrderExpress(){
 |