Quellcode durchsuchen

Merge branch 'master' of http://git.iamberry.com/hexiugang/iamberry-common-parent

liujiankang vor 7 Jahren
Ursprung
Commit
e79cadf115

+ 2 - 0
watero-rst-web/src/main/webapp/WEB-INF/views/cm/salesOrder/sales_order_detail.ftl

@@ -234,6 +234,8 @@
                         上门送货
                     <#elseif order.salesPostFirm == 'eyb'>
                         E邮宝
+                    <#elseif order.salesPostFirm == 'dbkd'>
+                        德邦物流
                     </#if>
                 </#if>
                 </label>

+ 2 - 0
watero-rst-web/src/main/webapp/WEB-INF/views/cm/salesOrder/sales_order_list.ftl

@@ -140,6 +140,8 @@
                                 上门送货
                             <#elseif order.salesPostFirm == 'eyb'>
                                 E邮宝
+                            <#elseif order.salesPostFirm == 'dbkd'>
+                                德邦物流
                             </#if>
                         </#if>
                     </td>

+ 12 - 0
watero-rst-web/src/main/webapp/WEB-INF/views/order/excel_to_order.ftl

@@ -227,6 +227,12 @@
         });
     }
 
+    /*超时控制器*/
+    var timeout=setTimeout(function(){
+        layer.msg('连接超时,请重试!',{icon: 5,time:3000});
+        },100000
+    );
+
     // 提交
     function sub() {
         var map = $(".productmap:checked");                 // 第三方平台的产品信息和Efast的产品信息管理数据 id-name
@@ -307,6 +313,12 @@
                 "num":numArray,
                 "remark":remarkArray
         },function(result){
+
+            if(timeout){ //清除定时器
+                clearTimeout(timeout);
+                timeout=null;
+            }
+
             if (result.returnCode != 200) {
                 layer.msg('加载失败,请重试,请确认选择内容对应无误!',{icon: 5,time:3000});
             } else {