打字猴:1.700462373e+09
1700462373
1700462374 if(saleStatus>80){//销售情况良好
1700462375
1700462376 System.out.println(“采购IBM电脑:”+number+“台”);
1700462377
1700462378 super.stock.increase(number);
1700462379
1700462380 }else{//销售情况不好
1700462381
1700462382 int buyNumber=number/2;//折半采购
1700462383
1700462384 System.out.println(“采购IBM电脑:”+buyNumber+“台”);
1700462385
1700462386 }
1700462387
1700462388 }
1700462389
1700462390 //销售电脑
1700462391
1700462392 private void sellComputer(int number){
1700462393
1700462394 if(super.stock.getStockNumber()<number){//库存数量不够销售
1700462395
1700462396 super.purchase.buyIBMcomputer(number);
1700462397
1700462398 }
1700462399
1700462400 super.stock.decrease(number);
1700462401
1700462402 }
1700462403
1700462404 //折价销售电脑
1700462405
1700462406 private void offSell(){
1700462407
1700462408 System.out.println(“折价销售IBM电脑”+stock.getStockNumber()+“台”);
1700462409
1700462410 }
1700462411
1700462412 //清仓处理
1700462413
1700462414 private void clearStock(){
1700462415
1700462416 //要求清仓销售
1700462417
1700462418 super.sale.offSale();
1700462419
1700462420 //要求采购人员不要采购
1700462421
1700462422 super.purchase.refuseBuyIBM();
[ 上一页 ]  [ :1.700462373e+09 ]  [ 下一页 ]