|
@@ -82,13 +82,10 @@ namespace MOKA_Factory_Tools
|
|
|
private void SetDSNLimit()
|
|
|
{
|
|
|
#region 试产订单,不需要自动限制条码;
|
|
|
- if (functionSetting1.NTF)
|
|
|
+ string strValue = CommonMethod.ReadProfileString("MOKAFactoryTools", "OrderType", "");
|
|
|
+ if (strValue.Equals("TR", StringComparison.OrdinalIgnoreCase))
|
|
|
{
|
|
|
- string strValue = CommonMethod.ReadProfileString("MOKAFactoryTools", "OrderType", "");
|
|
|
- if (strValue.Equals("TR", StringComparison.OrdinalIgnoreCase))
|
|
|
- {
|
|
|
- return;
|
|
|
- }
|
|
|
+ return;
|
|
|
}
|
|
|
#endregion
|
|
|
// 如果抄写PSN,不自动赋值条码限制;
|