| | |
| | | |
| | | if ( guard( [Number]value.SubString( 1, 2 ) <= 0, true ) ) { |
| | | error( "不符合格式" ); |
| | | }; |
| | | } |
| | | |
| | | if ( exists( nopc, NewOfflinePlanColumn.NewOfflinePlanCell, tempNOPCell, |
| | | tempNOPCell <> nopc and |
| | | tempNOPCell.NewOfflinePlanRow().Type() = "1" and |
| | | tempNOPCell.NewOfflinePlanRow().ProductionLine() = nopc.NewOfflinePlanRow().ProductionLine(), |
| | | tempNOPCell.OrderNr() = [Number]value.SubString( 1, 2 ) ) |
| | | ) { |
| | | error( "已经存在Order:", [Number]value.SubString( 1, 2 ) ); |
| | | } |
| | | |
| | | nopc.Order( value ); |
| | | nopc.OrderNr( [Number]value.SubString( 1, 2 ) ); |