From dc7b6c75f98b6924b7e091ee7ac6551470652d78 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 20 一月 2025 09:07:29 +0800
Subject: [PATCH] 修改订单单位

---
 CY_ECommercePlatform/CY.WebForm/js/business/Order.js |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/js/business/Order.js b/CY_ECommercePlatform/CY.WebForm/js/business/Order.js
index df309d1..19aa827 100644
--- a/CY_ECommercePlatform/CY.WebForm/js/business/Order.js
+++ b/CY_ECommercePlatform/CY.WebForm/js/business/Order.js
@@ -657,4 +657,10 @@
         return verfy_form(document.forms[0]);
     }
 }
-function Save() { return ValidateForm(); }
\ No newline at end of file
+function Save() {
+    if (document.getElementById('txtSumPrice').value == "" || parseFloat(document.getElementById('txtSumPrice').value) <= 0) {
+        if (!confirm("璁㈠崟鎬讳环涓�0锛屾槸鍚︾户缁繚瀛橈紵"))
+            return false;
+    }
+    return ValidateForm();
+}
\ No newline at end of file

--
Gitblit v1.9.1