From 8afe90b633046db39042aada36b88193062f8cff Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期四, 09 一月 2025 15:52:35 +0800
Subject: [PATCH] 机加管线报表库存计算参数入场离场数量计算
---
_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Response_pPR_efPR_OnUserChanged.def | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Response_pPR_efPR_OnUserChanged.def b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Response_pPR_efPR_OnUserChanged.def
index 13a66c2..93b5c3c 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Response_pPR_efPR_OnUserChanged.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogRequirementUpload/Response_pPR_efPR_OnUserChanged.def
@@ -13,11 +13,16 @@
flag := not this.Text().EndsWith( ".xlsx" );
- if ( flag ) {
- WebMessageBox::Warning( "鏂囦欢闇�瑕佷互.xlsx涓哄悗缂�" );
- this.Text( dhOriginalFileNamePR.Data() );
+ if ( not isnull( dhBinaryDataPR.Data() ) ) {
+ if ( flag ) {
+ WebMessageBox::Warning( "鏂囦欢闇�瑕佷互.xlsx涓哄悗缂�" );
+ this.Text( dhOriginalFileNamePR.Data() );
+ } else {
+ dhOriginalFileNamePR.Data( this.Text() );
+ }
} else {
- dhOriginalFileNamePR.Data( this.Text() );
+ WebMessageBox::Warning( "璇峰厛涓婁紶鏂囦欢鍦ㄥ懡鍚�" );
+ this.Text( "" );
}
*]
GroupServerCalls: false
--
Gitblit v1.9.3