|
@@ -443,8 +443,8 @@ public class YongyouServiceImpl implements YongyouService {
|
|
|
List<LongYanPurchaseDetailVO> detailVOS = longYanPurchaseDetailMapper.selectList(longYanPurchaseDetailDTO);
|
|
|
PuAppMain puAppMain = new PuAppMain();
|
|
|
|
|
|
- puAppMain.setCbustype("普通采购");
|
|
|
-
|
|
|
+ puAppMain.setCbustype(vo.getCbustype());
|
|
|
+ puAppMain.setCdepcode(vo.getCdepcode());
|
|
|
puAppMain.setCcode(vo.getPurchaseNo());
|
|
|
puAppMain.setCdefine1(DictCache.getLabelByValue("LONG_YAN_PURCHASE_TYPE",vo.getType()));
|
|
|
puAppMain.setCdefine2(vo.getSbName());
|
|
@@ -456,14 +456,14 @@ public class YongyouServiceImpl implements YongyouService {
|
|
|
for (LongYanPurchaseDetailVO orderVO:detailVOS){
|
|
|
PuAppDetail detail = new PuAppDetail();
|
|
|
detail.setCinvcode(orderVO.getNo());
|
|
|
- detail.setIpertaxrate("税率");
|
|
|
+ detail.setIpertaxrate("0");
|
|
|
detail.setFquantity(orderVO.getNum().intValue());
|
|
|
detail.setDrequirdate(DateUtils.dateToString(LocalDateTime.now()));
|
|
|
// detail.setDrequirdate("需求日期");
|
|
|
detail.setDarrivedate(DateUtils.dateToString(LocalDateTime.now()));
|
|
|
// detail.setDarrivedate("计划到货日期");
|
|
|
- detail.setCexch_name("币种");
|
|
|
- detail.setIexchrate("汇率");
|
|
|
+ detail.setCexch_name("人名币");
|
|
|
+ detail.setIexchrate("1");
|
|
|
detail.setIvouchrowno("行号");
|
|
|
puAppDetails.add(detail);
|
|
|
}
|