Parcourir la source

添加客户基本信息

dujinyan il y a 7 ans
Parent
commit
ce153ef1bc

+ 7 - 0
watero-rst-web/src/main/webapp/WEB-INF/views/customer/save_customer_info.ftl

@@ -420,6 +420,11 @@
         $("[name='ticketType']").change(function (){
             isShowRedStar($(this).val());
         })
+        /*监听输入的价格*/
+        /*$("[name='writeSupplyPrice']").change(function (){
+            writeSupplyPrice($(this).val());
+        })*/
+
     })
 
     /*业务逻辑js控制 start*/
@@ -739,6 +744,8 @@
         var supplyPrice = document.getElementById("supplyPrice").value;
         var writeSupplyPrice = document.getElementById("writeSupplyPrice").value;//手动输入价格
         if(writeSupplyPrice != null && writeSupplyPrice !=""){
+            /*writeSupplyPrice = writeSupplyPrice.toFixed(2);
+            alert(writeSupplyPrice);*/
             supplyPrice = writeSupplyPrice;
         }
         var accountPeriod = document.getElementById("accountPeriod").value;