Browse Source

Merge branch 'master' of https://gitee.com/zxyabc/COMONE

master
lvzb 4 years ago
parent
commit
d4cace9a4b
  1. 5
      SCP/Views/重庆北汽模塑/PlanData/SCP_ASK.aspx.cs

5
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]; object[] rowDataKeys = Grid_V_TB_ASK.DataKeys[Grid_V_TB_ASK.SelectedRowIndex];
string AskBillNum = rowDataKeys[2] as string; string AskBillNum = rowDataKeys[2] as string;
int modtype =ConvertHelper.To<int>(rowDataKeys[19]); int modtype =ConvertHelper.To<int>(rowDataKeys[19]);
if (modtype == 2) if (modtype == 2)
{ {
Alert.Show("不能复制离散单,请去ERP重新创建订单然后创建!"); Alert.Show("不能复制离散单,请去ERP重新创建订单然后创建!");
return; 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("要货预测生成的看板不允许复制!"); Alert.Show("要货预测生成的看板不允许复制!");
return; return;

Loading…
Cancel
Save