Commit ca8bebd7 by zhu.zewen

修复入库单专账的凭证号

parent 34e2b1f5
...@@ -29,6 +29,9 @@ public class BillDTO { ...@@ -29,6 +29,9 @@ public class BillDTO {
@ApiModelProperty(value = "药品数量") @ApiModelProperty(value = "药品数量")
private Integer physicNum; private Integer physicNum;
@ApiModelProperty(value = "凭证号")
private String voucherNo;
@ApiModelProperty(value = "类型(处理模式):1-采购入库、2-申领入库、3-申领出库、4-科室专用入(药品专用登记)" + @ApiModelProperty(value = "类型(处理模式):1-采购入库、2-申领入库、3-申领出库、4-科室专用入(药品专用登记)" +
"、5-回收空安瓿、6-退回空安瓿、7-销毁空安瓿、8-药房专用出(药品专用登记),100-日结,101-月结") "、5-回收空安瓿、6-退回空安瓿、7-销毁空安瓿、8-药房专用出(药品专用登记),100-日结,101-月结")
private Integer type; private Integer type;
......
...@@ -126,6 +126,7 @@ public class PhysicWarehouseServiceImpl extends AbstractService implements Phys ...@@ -126,6 +126,7 @@ public class PhysicWarehouseServiceImpl extends AbstractService implements Phys
BillDTO billDTO = new BillDTO(); BillDTO billDTO = new BillDTO();
BeanUtil.copyProperties(physicWarehouse,billDTO); BeanUtil.copyProperties(physicWarehouse,billDTO);
billDTO.setType(1); billDTO.setType(1);
billDTO.setVoucherNo(physicWarehouse.getVoucherNo());
billDTO.setDeptId(physicWarehouse.getDeptId()); billDTO.setDeptId(physicWarehouse.getDeptId());
billDTO.setRefId(physicWarehouse.getId()); billDTO.setRefId(physicWarehouse.getId());
physicBillService.createBill(billDTO); physicBillService.createBill(billDTO);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment