Browse Source

bug fixes

plf 3 years ago
parent
commit
e5add965a4
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/main/webapp/WEB-INF/views/modules/order/orderForm.jsp

+ 3 - 0
src/main/webapp/WEB-INF/views/modules/order/orderForm.jsp

@@ -786,7 +786,10 @@
 
 
     $(function () {
     $(function () {
         setBalancePayFee();
         setBalancePayFee();
+      var orderId = $("#orderID").val()*1;
+      if (orderId && orderId > 0){
         setFreight();
         setFreight();
+      }
         $(".freight").val($("#freight").val());
         $(".freight").val($("#freight").val());
         var tablehtml = $(".stagesTable1").html();
         var tablehtml = $(".stagesTable1").html();
         var tablehtml2 = $(".stagesTable").html();
         var tablehtml2 = $(".stagesTable").html();