From 7ed2a032d0724e68aec8af940f2ce0023a9f0eb7 Mon Sep 17 00:00:00 2001
From: sen <sen@qq.com>
Date: 星期三, 15 四月 2026 09:27:51 +0800
Subject: [PATCH] 修改调度单年月日

---
 ui/car_wx_app/uni_modules/uview-ui/components/u-number-box/u-number-box.vue |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ui/car_wx_app/uni_modules/uview-ui/components/u-number-box/u-number-box.vue b/ui/car_wx_app/uni_modules/uview-ui/components/u-number-box/u-number-box.vue
index 69211c5..de17078 100644
--- a/ui/car_wx_app/uni_modules/uview-ui/components/u-number-box/u-number-box.vue
+++ b/ui/car_wx_app/uni_modules/uview-ui/components/u-number-box/u-number-box.vue
@@ -194,6 +194,9 @@
 			// 鏍煎紡鍖栨暣鐞嗘暟鎹紝闄愬埗鑼冨洿
 			format(value) {
 				value = this.filter(value)
+        if (!value){
+          return value
+        }
 				// 濡傛灉涓虹┖瀛楃涓诧紝閭d箞璁剧疆涓�0锛屽悓鏃跺皢鍊艰浆涓篘umber绫诲瀷
 				value = value === '' ? 0 : +value
 				// 瀵规瘮鏈�澶ф渶灏忓�硷紝鍙栧湪min鍜宮ax涔嬮棿鐨勫��

--
Gitblit v1.8.0