|
@@ -49,7 +49,7 @@
|
|
<input class="btn btn-primary radius" onclick="submitSynOrder()" type="button" value=" 同步 ">
|
|
<input class="btn btn-primary radius" onclick="submitSynOrder()" type="button" value=" 同步 ">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
- <span class="layui-layer-setwin">
|
|
|
|
|
|
+ <span class="layui-layer-setwin">
|
|
<a class="layui-layer-ico layui-layer-close layui-layer-close1" onclick="exitWindowsDiv(this);" href="javascript:;"></a>
|
|
<a class="layui-layer-ico layui-layer-close layui-layer-close1" onclick="exitWindowsDiv(this);" href="javascript:;"></a>
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
@@ -68,20 +68,24 @@
|
|
<option value ="0" <#if salesOrder.isDeliverGoods??><#if salesOrder.isDeliverGoods == "0" >selected="selected"</#if></#if>>否</option>
|
|
<option value ="0" <#if salesOrder.isDeliverGoods??><#if salesOrder.isDeliverGoods == "0" >selected="selected"</#if></#if>>否</option>
|
|
</select>
|
|
</select>
|
|
<select name="salesStoreId" id="salesStoreId" class="select" style="height: 36px;width: 120px;margin: 0px;margin-bottom: 10px;"">
|
|
<select name="salesStoreId" id="salesStoreId" class="select" style="height: 36px;width: 120px;margin: 0px;margin-bottom: 10px;"">
|
|
- <option value="">店铺</option>
|
|
|
|
|
|
+ <option value="">店铺</option>
|
|
<#if listStoreInfo?? && (listStoreInfo?size > 0) >
|
|
<#if listStoreInfo?? && (listStoreInfo?size > 0) >
|
|
<#list listStoreInfo as info>
|
|
<#list listStoreInfo as info>
|
|
<option value="${info.storeId!''}" <#if salesOrder.salesStoreId??><#if salesOrder.salesStoreId == info.storeId >selected="selected"</#if></#if>>${info.storeName!''}</option>
|
|
<option value="${info.storeId!''}" <#if salesOrder.salesStoreId??><#if salesOrder.salesStoreId == info.storeId >selected="selected"</#if></#if>>${info.storeName!''}</option>
|
|
</#list>
|
|
</#list>
|
|
</#if>
|
|
</#if>
|
|
</select>
|
|
</select>
|
|
|
|
+
|
|
|
|
+ <input type="text" style="width:150px;height:36px;margin-right: 0px;" name="startDate" id="startDate" class="input-text" placeholder="开始时间" onClick="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm:ss',skin:'whyGreen' })" value="${(salesOrder.startDate?string("yyyy-MM-dd HH:mm:ss"))!''}" readonly="readonly"/>-
|
|
|
|
+ <input type="text" style="width:150px;height:36px;margin-right: 0px;" name="endDate" id="endDate" class="input-text" placeholder="结束时间" onClick="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm:ss',skin:'whyGreen' })" value="${(salesOrder.endDate?string("yyyy-MM-dd HH:mm:ss"))!''}" readonly="readonly"/>
|
|
|
|
+
|
|
<#--Efast add end-->
|
|
<#--Efast add end-->
|
|
- <input type="text" class="my-input" style="width:80px;margin-right: 0px;" value="${salesOrder.salesOrderId!}" placeholder="百胜订单号" name="salesOrderId" id="salesOrderId">
|
|
|
|
- <input type="text" class="my-input" style="width:80px;margin-right: 0px;" value="${salesOrder.salesDealCode!}" placeholder="交易号" name="salesDealCode" id="salesDealCode">
|
|
|
|
|
|
+ <input type="text" class="my-input" style="width:120px;margin-right: 0px;" value="${salesOrder.salesOrderId!}" placeholder="百胜订单号" name="salesOrderId" id="salesOrderId">
|
|
|
|
+ <input type="text" class="my-input" style="width:120px;margin-right: 0px;" value="${salesOrder.salesDealCode!}" placeholder="交易号" name="salesDealCode" id="salesDealCode">
|
|
|
|
+ <input type="text" class="my-input" style="width:120px;margin-right: 0px;" value="${salesOrder.salesBatchId!}" placeholder="订单批次号" name="salesBatchId" id="salesBatchId">
|
|
<input type="text" class="my-input" style="width:80px;margin-right: 0px;" value="${salesOrder.salesAddressName!}" placeholder="收货人姓名" name="salesAddressName" id="salesAddressName">
|
|
<input type="text" class="my-input" style="width:80px;margin-right: 0px;" value="${salesOrder.salesAddressName!}" placeholder="收货人姓名" name="salesAddressName" id="salesAddressName">
|
|
<input type="text" class="my-input" style="width:80px;margin-right: 0px;" value="${salesOrder.salesAddressTel!}" placeholder="收货人电话" name="salesAddressTel" id="salesAddressTel">
|
|
<input type="text" class="my-input" style="width:80px;margin-right: 0px;" value="${salesOrder.salesAddressTel!}" placeholder="收货人电话" name="salesAddressTel" id="salesAddressTel">
|
|
- <input type="text" style="width:150px;height:36px;margin-right: 0px;" name="startDate" id="startDate" class="input-text" placeholder="开始时间" onClick="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm:ss',skin:'whyGreen' })" value="${(salesOrder.startDate?string("yyyy-MM-dd HH:mm:ss"))!''}" readonly="readonly"/>-
|
|
|
|
- <input type="text" style="width:150px;height:36px;margin-right: 0px;" name="endDate" id="endDate" class="input-text" placeholder="结束时间" onClick="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm:ss',skin:'whyGreen' })" value="${(salesOrder.endDate?string("yyyy-MM-dd HH:mm:ss"))!''}" readonly="readonly"/>
|
|
|
|
|
|
+
|
|
<button type="submit" class="btn" style="background: #32a3d8;color: #fff;-webkit-transform:translateY(-5%);height: 35px;" id=""><i class="Hui-iconfont"></i> 搜索</button>
|
|
<button type="submit" class="btn" style="background: #32a3d8;color: #fff;-webkit-transform:translateY(-5%);height: 35px;" id=""><i class="Hui-iconfont"></i> 搜索</button>
|
|
<#--<button onClick="downloadOrder();" <#–onMouseOver="showDownloadOrderInfo();" onMouseOut="hideDownloadOrderInfo();"–> class="btn radius" style="background: #32a3d8;color: #fff; height: 35px" type="button" title="下载第三方平台的发货信息"><i class="Hui-iconfont"></i> 下载订单</button>-->
|
|
<#--<button onClick="downloadOrder();" <#–onMouseOver="showDownloadOrderInfo();" onMouseOut="hideDownloadOrderInfo();"–> class="btn radius" style="background: #32a3d8;color: #fff; height: 35px" type="button" title="下载第三方平台的发货信息"><i class="Hui-iconfont"></i> 下载订单</button>-->
|
|
<button type="button" class="btn" style="background: #32a3d8;color: #fff;-webkit-transform:translateY(-5%);height: 35px;" id="order_excel"><i class="Hui-iconfont"></i> 下载订单</button>
|
|
<button type="button" class="btn" style="background: #32a3d8;color: #fff;-webkit-transform:translateY(-5%);height: 35px;" id="order_excel"><i class="Hui-iconfont"></i> 下载订单</button>
|
|
@@ -99,6 +103,7 @@
|
|
<tr class="text-c">
|
|
<tr class="text-c">
|
|
<th width="60">订单号</th>
|
|
<th width="60">订单号</th>
|
|
<th width="70">交易号</th>
|
|
<th width="70">交易号</th>
|
|
|
|
+ <th width="72">批次号</th>
|
|
<th width="60">收货人姓名</th>
|
|
<th width="60">收货人姓名</th>
|
|
<th width="70">收货人电话</th>
|
|
<th width="70">收货人电话</th>
|
|
<th width="100">收货地址</th>
|
|
<th width="100">收货地址</th>
|
|
@@ -119,6 +124,7 @@
|
|
<tr class="text-c">
|
|
<tr class="text-c">
|
|
<td>${order.salesOrderId!''}</td>
|
|
<td>${order.salesOrderId!''}</td>
|
|
<td>${order.salesDealCode!''}</td>
|
|
<td>${order.salesDealCode!''}</td>
|
|
|
|
+ <td>${order.salesBatchId!''}</td>
|
|
<td>${order.salesAddressName!''}</td>
|
|
<td>${order.salesAddressName!''}</td>
|
|
<#if (order.salesAddressTel)?? && order.salesAddressTel?length gt 7>
|
|
<#if (order.salesAddressTel)?? && order.salesAddressTel?length gt 7>
|
|
<td>${order.salesAddressTel?substring(0,3)}***${order.salesAddressTel?substring(order.salesAddressTel?length-4,order.salesAddressTel?length)}</td>
|
|
<td>${order.salesAddressTel?substring(0,3)}***${order.salesAddressTel?substring(order.salesAddressTel?length-4,order.salesAddressTel?length)}</td>
|
|
@@ -350,6 +356,7 @@
|
|
var salesDealCode = $("#salesDealCode").val();
|
|
var salesDealCode = $("#salesDealCode").val();
|
|
var salesAddressName = $("#salesAddressName").val();
|
|
var salesAddressName = $("#salesAddressName").val();
|
|
var salesAddressTel = $("#salesAddressTel").val();
|
|
var salesAddressTel = $("#salesAddressTel").val();
|
|
|
|
+ var salesBatchId = $("#salesBatchId").val();
|
|
|
|
|
|
$.ajax({
|
|
$.ajax({
|
|
type:'POST',
|
|
type:'POST',
|
|
@@ -363,7 +370,8 @@
|
|
"salesOrderId" : salesOrderId,
|
|
"salesOrderId" : salesOrderId,
|
|
"salesDealCode" : salesDealCode,
|
|
"salesDealCode" : salesDealCode,
|
|
"salesAddressName" : salesAddressName,
|
|
"salesAddressName" : salesAddressName,
|
|
- "salesAddressTel" : salesAddressTel
|
|
|
|
|
|
+ "salesAddressTel" : salesAddressTel,
|
|
|
|
+ "salesBatchId" : salesBatchId
|
|
|
|
|
|
},
|
|
},
|
|
dataType: 'json',
|
|
dataType: 'json',
|
|
@@ -373,7 +381,7 @@
|
|
layer.msg(res.resultMsg,{icon: 2,time:3000});
|
|
layer.msg(res.resultMsg,{icon: 2,time:3000});
|
|
return false;
|
|
return false;
|
|
}else{
|
|
}else{
|
|
- window.location="${path}/admin/salesOrder/download_efast_order?isHaveImport="+isHaveImport+"&isDeliverGoods="+isDeliverGoods+"&salesStoreId="+salesStoreId+"&startDate="+startDate+"&endDate="+endDate+"&salesOrderId="+salesOrderId+"&salesDealCode="+salesDealCode+"&salesAddressName="+salesAddressName+"&salesAddressTel="+salesAddressTel;
|
|
|
|
|
|
+ window.location="${path}/admin/salesOrder/download_efast_order?isHaveImport="+isHaveImport+"&isDeliverGoods="+isDeliverGoods+"&salesStoreId="+salesStoreId+"&startDate="+startDate+"&endDate="+endDate+"&salesOrderId="+salesOrderId+"&salesDealCode="+salesDealCode+"&salesAddressName="+salesAddressName+"&salesAddressTel="+salesAddressTel+"&salesBatchId="+salesBatchId;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
});
|
|
});
|