| | |
| | | */ |
| | | public String outWeightBill(InoutData data) { |
| | | // 获取表单数据 |
| | | WeightBill bill = this.createBillData(data, "出库称重单"); |
| | | WeightBill bill = this.createBillData(data, "出库划码单"); |
| | | |
| | | //默认模版 |
| | | String htmlStr = InoutBill.OUT_WEIGHT_DEFAULT; |
| | |
| | | htmlStr = htmlStr.replace("fullTime", bill.getFullTime()); |
| | | htmlStr = htmlStr.replace("emptyTime", bill.getEmptyTime()); |
| | | htmlStr = htmlStr.replace("serId", bill.getSerId()); |
| | | htmlStr = htmlStr.replace("specType", bill.getSpecType()); |
| | | // htmlStr = htmlStr.replace("specType", bill.getSpecType()); |
| | | |
| | | htmlStr = htmlStr.replace("customerName", bill.getCustomerName()); |
| | | htmlStr = htmlStr.replace("deptName", bill.getUnitName()); |
| | |
| | | new DecimalFormat("0").format(bill.getNetWeight())); |
| | | |
| | | htmlStr = htmlStr.replace("remark", bill.getRemark()); |
| | | htmlStr = htmlStr.replace("deWet", bill.getDeWet() + ""); |
| | | // htmlStr = htmlStr.replace("deWet", bill.getDeWet() + ""); |
| | | htmlStr = htmlStr.replace("settleWeight", |
| | | new DecimalFormat("0").format(bill.getSettleWeight())); |
| | | |
| | | htmlStr = htmlStr.replace("deHandle", bill.getDeHandle() + ""); |
| | | htmlStr = htmlStr.replace("handleUser", bill.getHandleUser()); |
| | | htmlStr = htmlStr.replace("deSum", bill.getDeSum() + ""); |
| | | |
| | | htmlStr = htmlStr.replace("deOther", bill.getDeOther() + ""); |
| | | htmlStr = htmlStr.replace("price", bill.getPrice()); |
| | | htmlStr = htmlStr.replace("settleMoney", bill.getSettleMoney() + ""); |
| | | htmlStr = htmlStr.replace("wet", bill.getWet() + ""); |