This commit is contained in:
2025-07-05 14:50:30 +08:00
parent f16523d785
commit 146052aafc
2 changed files with 18 additions and 6 deletions
+7 -1
View File
@@ -204,6 +204,11 @@ public partial class uploadFile : System.Web.UI.Page
conErc("已经下单无法上传!");
return;
}
if (entity.IsVerifyToSupplier)
{
conErc("订单已到车间无法上传!");
return;
}
string extend = Path.GetExtension(file_name).ToLower();
if (!(extend == ".cdr" || extend == ".zip" || extend == ".rar" || extend == ".pdf"))
{
@@ -230,11 +235,12 @@ public partial class uploadFile : System.Web.UI.Page
entity.OrderState = 5; //设计完成
//if (entity.IsReturn == 2) //2是下单人打回给设计的,重新上传的话,需要清除打回
//{
entity.IsReturn = 0;
entity.IsXianHuo = 0;
entity.IsVerifyToSupplier = false;
//}
}
entity.IsReturn = 0;
if (entity.MemoOpt == 1 || entity.MemoOpt == 2)
{
entity.MemoOpt = 0;