新增上传限制
This commit is contained in:
+9
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user