fix:
1.出口发票报错处理
This commit is contained in:
parent
298a8963af
commit
30e29f01a5
@ -35,15 +35,6 @@ public class ExportInvoiceSaveOP extends AbstractOperationServicePlugIn {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void beginOperationTransaction(BeginOperationTransactionArgs e) {
|
public void beginOperationTransaction(BeginOperationTransactionArgs e) {
|
||||||
DynamicObject[] dataEntities = e.getDataEntities();
|
|
||||||
for (DynamicObject dt : dataEntities) {
|
|
||||||
// setOutForm(dt);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void endOperationTransaction(EndOperationTransactionArgs e) {
|
|
||||||
super.endOperationTransaction(e);
|
|
||||||
DynamicObject[] dataEntities = e.getDataEntities();
|
DynamicObject[] dataEntities = e.getDataEntities();
|
||||||
for (DynamicObject dataEntitie : dataEntities) {
|
for (DynamicObject dataEntitie : dataEntities) {
|
||||||
DynamicObjectCollection yemEsMaterialinfo = dataEntitie.getDynamicObjectCollection("yem_es_materialinfo");
|
DynamicObjectCollection yemEsMaterialinfo = dataEntitie.getDynamicObjectCollection("yem_es_materialinfo");
|
||||||
@ -103,10 +94,18 @@ public class ExportInvoiceSaveOP extends AbstractOperationServicePlugIn {
|
|||||||
yemDestports.append(string);//目的港
|
yemDestports.append(string);//目的港
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dataEntitie.set("yem_remark", ":" + yemTradeway + " 成交总额:" + yemSettlement + totalAmount + " 汇率:" + yemExrate + " 海运费:"
|
dataEntitie.set("yem_remark", yemTradeway + " 成交总额:" + yemSettlement + totalAmount + " 汇率:" + yemExrate + " 海运费:"
|
||||||
+ yemseatransfeecurr + yemSeatransfee + " 保险费:" + yeminsurefeecurr + yemInsurefee + " 提单号:" + yemLadbillnum + " 合同号:"
|
+ yemseatransfeecurr + yemSeatransfee + " 保险费:" + yeminsurefeecurr + yemInsurefee + " 提单号:" + yemLadbillnum + " 合同号:"
|
||||||
+ queryString + " 起运港:" + yemShipports + " 目的港:" + yemDestports);
|
+ queryString + " 起运港:" + yemShipports + " 目的港:" + yemDestports);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void endOperationTransaction(EndOperationTransactionArgs e) {
|
||||||
|
super.endOperationTransaction(e);
|
||||||
|
DynamicObject[] dataEntities = e.getDataEntities();
|
||||||
|
for (DynamicObject dataEntitie : dataEntities) {
|
||||||
Map<Long, BigDecimal> map = new HashMap<>();
|
Map<Long, BigDecimal> map = new HashMap<>();
|
||||||
Map<Long, Integer> seqs = new HashMap<>();
|
Map<Long, Integer> seqs = new HashMap<>();
|
||||||
Set<Long> ids = new HashSet<>();
|
Set<Long> ids = new HashSet<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user