|
@@ -277,11 +277,13 @@ public class YongyouServiceImpl implements YongyouService {
|
|
otherOutMain.setDdate(DateUtils.dateToString(outStoreFormVO.getUserTime(), DateUtils.PATTERN_YMD) + " 00:00:00");
|
|
otherOutMain.setDdate(DateUtils.dateToString(outStoreFormVO.getUserTime(), DateUtils.PATTERN_YMD) + " 00:00:00");
|
|
otherOutMain.setVt_id("85");
|
|
otherOutMain.setVt_id("85");
|
|
otherOutMain.setBisstqc(false);
|
|
otherOutMain.setBisstqc(false);
|
|
- otherOutMain.setCcode("0000000006");
|
|
|
|
|
|
+ // otherOutMain.setCcode("0000000006");
|
|
otherOutMain.setCrdcode(outStoreFormVO.getType()+""); // 出库类型
|
|
otherOutMain.setCrdcode(outStoreFormVO.getType()+""); // 出库类型
|
|
otherOutMain.setCsource("库存");
|
|
otherOutMain.setCsource("库存");
|
|
otherOutMain.setCdefine14(outStoreFormVO.getId());// 保存设备系统的单据id
|
|
otherOutMain.setCdefine14(outStoreFormVO.getId());// 保存设备系统的单据id
|
|
otherOutMain.setCmaker(outStoreFormVO.getCreatedUserName());// 申请人名称
|
|
otherOutMain.setCmaker(outStoreFormVO.getCreatedUserName());// 申请人名称
|
|
|
|
+ otherOutMain.setCdepcode(outStoreFormVO.getApplyDept());// 申请人部门
|
|
|
|
+ otherOutMain.setCmemo(outStoreFormVO.getRemark());// 申请备注
|
|
List<OutStoreDetailVO> detailVOS = outStoreFormVO.getDetailList();
|
|
List<OutStoreDetailVO> detailVOS = outStoreFormVO.getDetailList();
|
|
for (OutStoreDetailVO vo : detailVOS) {
|
|
for (OutStoreDetailVO vo : detailVOS) {
|
|
OtherOutDetail detail = new OtherOutDetail();
|
|
OtherOutDetail detail = new OtherOutDetail();
|