This commit is contained in:
parent
c6d75b23c7
commit
e5605a074c
|
@ -106,7 +106,7 @@ public class ContractFormPlugin extends AbstractFormPlugin implements UploadList
|
||||||
|
|
||||||
//删除单据体数据
|
//删除单据体数据
|
||||||
qeug_invoiceentryinfos.clear();
|
qeug_invoiceentryinfos.clear();
|
||||||
SaveServiceHelper.save(new DynamicObject[]{this.getModel().getDataEntity()});
|
SaveServiceHelper.save(new DynamicObject[]{this.getModel().getDataEntity(true)});
|
||||||
// 删除完成之后刷新界面
|
// 删除完成之后刷新界面
|
||||||
getView().invokeOperation("refresh");
|
getView().invokeOperation("refresh");
|
||||||
return result;
|
return result;
|
||||||
|
@ -193,6 +193,7 @@ public class ContractFormPlugin extends AbstractFormPlugin implements UploadList
|
||||||
Map<String, BigDecimal> amounttotalMap = new HashMap<>();
|
Map<String, BigDecimal> amounttotalMap = new HashMap<>();
|
||||||
for (Sheet sheet : workbook) {
|
for (Sheet sheet : workbook) {
|
||||||
int rowNum = 0;
|
int rowNum = 0;
|
||||||
|
int a=0;
|
||||||
// 获取总行数
|
// 获取总行数
|
||||||
int rowCountsheet = sheet.getPhysicalNumberOfRows();//总行数
|
int rowCountsheet = sheet.getPhysicalNumberOfRows();//总行数
|
||||||
for (Row cells : sheet) {
|
for (Row cells : sheet) {
|
||||||
|
|
Loading…
Reference in New Issue