|
|
@ -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<int>(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; |
|
|
|