From 6b20c73dc8349ab2a72bb2cc1c8eec95e6f58122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com> Date: Mon, 31 Aug 2020 09:10:38 +0800 Subject: [PATCH] TIJIAO --- SCP/Views/重庆北汽模塑/PlanData/SCP_ASK.aspx.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/SCP/Views/重庆北汽模塑/PlanData/SCP_ASK.aspx.cs b/SCP/Views/重庆北汽模塑/PlanData/SCP_ASK.aspx.cs index 656c79c..8df44aa 100644 --- a/SCP/Views/重庆北汽模塑/PlanData/SCP_ASK.aspx.cs +++ b/SCP/Views/重庆北汽模塑/PlanData/SCP_ASK.aspx.cs @@ -407,17 +407,14 @@ namespace SCP.重庆北汽模塑.PlanData } object[] rowDataKeys = Grid_V_TB_ASK.DataKeys[Grid_V_TB_ASK.SelectedRowIndex]; string AskBillNum = rowDataKeys[2] as string; - int modtype =ConvertHelper.To(rowDataKeys[19]); - - if (modtype == 2) { Alert.Show("不能复制离散单,请去ERP重新创建订单然后创建!"); return; } - if (AskBillNum.Substring(0, 2) == "K_" || AskBillNum.Substring(0, 1) == "E") + if (AskBillNum.Substring(0, 2) == "K_" || AskBillNum.Substring(0, 1) == "E" || AskBillNum.Substring(0, 1) == "U") { Alert.Show("要货预测生成的看板不允许复制!"); return;