| | |
| | | // orderEntityJsonObject.addProperty("PayableAmount",orderEntity.getPayableAmount()); //优惠后订单总金额 |
| | | if (orderEntity.getFormId() == 120230 || orderEntity.getFormId() == 120234) { |
| | | orderEntityJsonObject.addProperty("PayableAmount", orderEntity.getPayableAmount()); //优惠后订单总金额 |
| | | orderEntityJsonObject.addProperty("isShowReBuyingButton","true"); //重复购买 |
| | | } else { |
| | | orderEntityJsonObject.addProperty("PayableAmount", (orderEntity.getSumTotalMoney2() - orderEntity.getReduceMoney())); //优惠后订单总金额 |
| | | orderEntityJsonObject.addProperty("isShowReBuyingButton","false"); //重复购买 |
| | | } |
| | | orderEntityJsonObject.addProperty("ReduceMoney",orderEntity.getReduceMoney()); //优惠金额 |
| | | orderEntityJsonObject.addProperty("TransCosts",orderEntity.getTransCosts()); //运费 |
| | |
| | | json.addProperty("CltCode",orderEntity.getCltCode()); |
| | | json.addProperty("PreSendDate",orderEntity.getPreSendDate()==null?"":sdf3.format(orderEntity.getPreSendDate())); //送货时间 |
| | | json.addProperty("PayableSecondBalance",orderEntity.getPayableSecondBalance()!=null&& orderEntity.getPayableSecondBalance().intValue() >0?orderEntity.getPayableSecondBalance():0); //下单后支付倒计时秒数 |
| | | |
| | | if (orderEntity.getFormId() == 120230 || orderEntity.getFormId() == 120234) { |
| | | json.addProperty("isShowReBuyingButton","true"); //重复购买 |
| | | } else { |
| | | json.addProperty("isShowReBuyingButton","false"); //重复购买 |
| | | } |
| | | //是否显示:支付按钮 |
| | | json.addProperty("isShowPayButton",cltCode.equals(orderEntity.getCltCode()) && orderEntity.getDocStatus()!=null&&orderEntity.getDocStatus().equals(0) |
| | | &&orderEntity.getCltCode()!=null&&orderEntity.getCltCode().equals(cltCode) |