From 756e16e090b15c7fd8648f55f5451367face6abc Mon Sep 17 00:00:00 2001
From: jyy <jyy>
Date: Sat, 19 Jun 2021 14:44:58 +0800
Subject: [PATCH] 修复业绩bug

---
 zq-erp/src/main/resources/templates/views/admin/hive-erp/order/orderXq-form.html |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/zq-erp/src/main/resources/templates/views/admin/hive-erp/order/orderXq-form.html b/zq-erp/src/main/resources/templates/views/admin/hive-erp/order/orderXq-form.html
index 1982dfd..f066a6d 100644
--- a/zq-erp/src/main/resources/templates/views/admin/hive-erp/order/orderXq-form.html
+++ b/zq-erp/src/main/resources/templates/views/admin/hive-erp/order/orderXq-form.html
@@ -690,7 +690,9 @@
                     callback: function (data) {
                         _this.isRefund = false;
                         _this.dialogSettleVisible = false;
-                        _this.queryOrderDetailData(_this.data.oldOrderId);
+                        var param = {};
+                        param.id = _this.data.oldOrderId;
+                        _this.queryOrderDetailData(param);
                     }
                 });
 
@@ -763,7 +765,7 @@
                 _this.dialogSettleVisible = true;
             },
             calOrderTotalFormatter(row, column) {
-                return row.count * row.zkPrice;
+                return (row.count * row.zkPrice).toFixed(2);
             },
             getVipMoneyCards() {
                 let _this = this;

--
Gitblit v1.9.1