edit
This commit is contained in:
+7
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user