From dfc92cd41b9b0f8edec7d3e07056faa312aa3531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Sun, 8 Oct 2023 17:25:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E4=BA=A4=E5=87=BA=E4=BB=B7=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/project/listingItems/items.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/static/js/project/listingItems/items.js b/static/js/project/listingItems/items.js index 4e1f7e9..a41fc77 100644 --- a/static/js/project/listingItems/items.js +++ b/static/js/project/listingItems/items.js @@ -428,13 +428,15 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function if (content.length>0){ document.getElementById('money').value = parseFloat(parseFloat(content[0].money) - parseFloat(module.data.outProjectInformationDetail.ladderPrice)).toFixed(2); }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{ if (content.length>0){ document.getElementById('money').value = parseFloat(parseFloat(content[0].money) + parseFloat(module.data.outProjectInformationDetail.ladderPrice)).toFixed(2); }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) } } }