From b25ea34d3937202e72b9b8707bf2882df6d614f1 Mon Sep 17 00:00:00 2001 From: gaojuan Date: Mon, 7 May 2018 18:09:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=AE=E6=8D=A2=E5=B0=8F=E6=95=B0=E7=82=B9?= =?UTF-8?q?=E4=BF=9D=E7=95=992=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/config.js | 4 ++-- fangija-zsyf/views/changeHouse/index.html | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fangija-zsyf/config.js b/fangija-zsyf/config.js index 49f7e75..7d545f7 100644 --- a/fangija-zsyf/config.js +++ b/fangija-zsyf/config.js @@ -1,8 +1,8 @@ /**服务端地址**/ //var BASE_PATH = "http://youfang.fangjia.com"; //var BASE_PATH = "http://192.168.10.128:8084"; -//var BASE_PATH = "http://192.168.10.47:8086"; -var BASE_PATH = "http://192.168.10.53:8084"; +var BASE_PATH = "http://192.168.10.47:8086"; +//var BASE_PATH = "http://192.168.10.53:8084"; //var BASE_PATH = "http://192.168.10.161:8084"; //var BASE_PATH = "http://192.168.10.170:8084"; //var BASE_PATH = "http://192.168.10.171:8084"; diff --git a/fangija-zsyf/views/changeHouse/index.html b/fangija-zsyf/views/changeHouse/index.html index a6ab26a..4535cb3 100644 --- a/fangija-zsyf/views/changeHouse/index.html +++ b/fangija-zsyf/views/changeHouse/index.html @@ -1446,7 +1446,7 @@ function addBaseHouseInfo(obj){ var funds = $("#input_funds").val(); if(funds){ - baseInfo.sumPrice = parseInt(funds) + parseInt(obj.totalPrice/10000); + baseInfo.sumPrice = (Number(funds)+ parseInt(obj.totalPrice/10000)).toFixed(2); }else{ baseInfo.sumPrice = parseInt(obj.totalPrice/10000); } @@ -1536,9 +1536,9 @@ function calTotalPrice(){ if(funds && price){ if(a){ var tax = a * price/100; - baseInfo.sumPrice = (parseInt(funds)+parseInt(price)-tax).toFixed(2); + baseInfo.sumPrice = (Number(funds)+parseInt(price)-tax).toFixed(2); }else{ - baseInfo.sumPrice = (parseInt(funds)+parseInt(price)).toFixed(2); + baseInfo.sumPrice = (Number(funds)+parseInt(price)).toFixed(2); } }else if(price){ if(a){