From 8d51a0762a43eedada5eb15bd24180d7204e63b3 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 17 一月 2025 08:58:19 +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