From 2ca19d805dcbe5f0796067c1a91fbb890804e1eb Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Wed, 13 Jan 2021 10:18:11 +0800 Subject: [PATCH] modify --- zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/order-form.html | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/order-form.html b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/order-form.html index 9f6009a..c81090b 100644 --- a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/order-form.html +++ b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/order-form.html @@ -916,12 +916,12 @@ this.$message.warning("请输入" + item.type + "的付款金额"); return false; } - flow.amount = item.money; + flow.amount = parseFloat(item.money); if (item.type == '储值卡'){ flow.isGift = item.isGift; flow.cardId = item.id; } - total += item.money; + total += parseFloat(item.money); flows.push(flow) }) if (total != _this.order.payMoney) { -- Gitblit v1.9.1