| @@ -428,13 +428,15 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function | |||||
| if (content.length>0){ | if (content.length>0){ | ||||
| document.getElementById('money').value = parseFloat(parseFloat(content[0].money) - parseFloat(module.data.outProjectInformationDetail.ladderPrice)).toFixed(2); | document.getElementById('money').value = parseFloat(parseFloat(content[0].money) - parseFloat(module.data.outProjectInformationDetail.ladderPrice)).toFixed(2); | ||||
| }else{ | }else{ | ||||
| document.getElementById('money').value = parseFloat(parseFloat(module.data.outProjectInformationDetail.price) - parseFloat(module.data.outProjectInformationDetail.ladderPrice)).toFixed(2); | |||||
| document.getElementById('money').value = parseFloat(parseFloat(module.data.outProjectInformationDetail.price)).toFixed(2); | |||||
| // + parseFloat(module.data.outProjectInformationDetail.ladderPrice) | |||||
| } | } | ||||
| }else{ | }else{ | ||||
| if (content.length>0){ | if (content.length>0){ | ||||
| document.getElementById('money').value = parseFloat(parseFloat(content[0].money) + parseFloat(module.data.outProjectInformationDetail.ladderPrice)).toFixed(2); | document.getElementById('money').value = parseFloat(parseFloat(content[0].money) + parseFloat(module.data.outProjectInformationDetail.ladderPrice)).toFixed(2); | ||||
| }else{ | }else{ | ||||
| document.getElementById('money').value = parseFloat(parseFloat(module.data.outProjectInformationDetail.price) + parseFloat(module.data.outProjectInformationDetail.ladderPrice)).toFixed(2); | |||||
| document.getElementById('money').value = parseFloat(parseFloat(module.data.outProjectInformationDetail.price)).toFixed(2); | |||||
| // + parseFloat(module.data.outProjectInformationDetail.ladderPrice) | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||