新增上传限制

This commit is contained in:
2026-04-27 15:38:16 +08:00
parent bee13e9027
commit 75a672d862
+9 -1
View File
@@ -221,7 +221,15 @@ public partial class uploadFile : System.Web.UI.Page
conErc("只允许上传zip和cdr文件!");
return;
}
CeErpTrade ceErpTrade = CeErpTrade.Get(entity.tid);
if (ceErpTrade != null)
{
if (ceErpTrade.receiver_state.Contains("台湾") && string.IsNullOrEmpty(ceErpTrade.receiver_zip))
{
conErc("台湾客户需填写身份证号!");
return;
}
}
if (entity.OrderState != 5)
{