Commit d6d7e4de authored by 李驰骋's avatar 李驰骋

录入到货单界面添加采购发票字段录入

到货标签打印加入打印字段增加
parent 56f096f4
......@@ -15,6 +15,9 @@ public class StockArrivalParams {
@ApiModelProperty("到货仓")
String warehouse;
@ApiModelProperty("发票号")
String invoiceNo;
@ApiModelProperty("确认明细")
List<StockArrivalParams.StockArrivalDetail> details;
@Data
......
......@@ -188,7 +188,7 @@ public class PurccService {
.map(DateUtil::stringToLocalDate)
.map(DateUtil::localDateToStandardString)
.orElse("")));
objectMap.add(PrintField.of("CC006", optionalPurcc.map(Purcc::getCc006).orElse("")));
codeList.add(objectMap);
// 打印数量
......@@ -241,6 +241,7 @@ public class PurccService {
purcc.setCc010(currStr);
purcc.setCc004(purtc.getTc010());
purcc.setCc005(purtc.getTc004());
purcc.setCc006(stockArrivalParams.getInvoiceNo());
if(purmaOp.isPresent()){
purcc.setCc012(purmaOp.get().getMa003());
}
......
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 to comment