| | |
| | | product := tempProducts.Element( i ); |
| | | productionQuantity := product.ProductionQuantity(); |
| | | |
| | | if( line.Tips().LikeUserLocale( "保养" ) and productionQuantity > 0){ |
| | | product.DispatchShiftSchedulingDetail( relnew,ShiftVolume := 0 ,SingleShiftName := "白班"); |
| | | } |
| | | // if( line.Tips().LikeUserLocale( "保养" ) and productionQuantity > 0){ |
| | | // product.DispatchShiftSchedulingDetail( relnew,ShiftVolume := 0 ,SingleShiftName := "白班"); |
| | | // } |
| | | |
| | | if( singleShiftVolume1 > 0 and productionQuantity > 0){ |
| | | tempProductQuantity := singleShiftVolume1 - productionQuantity; |