fix:外销合同所有的物料都重新获取一遍申报要素

This commit is contained in:
ljw 2024-09-20 18:39:35 +08:00
parent 7c5f442291
commit 5dc72ce621

View File

@ -914,8 +914,10 @@ public class SalesOrderEdit extends AbstractBillPlugIn implements Plugin, Before
EntryGrid control = this.getControl("yem_es_materialinfo");
int[] selectRows = control.getSelectRows();
if (selectRows.length == 0) {
view.showErrorNotification("请选择需要获取的行!!");
return;
DynamicObjectCollection yemEsMaterialinfo = this.getModel().getEntryEntity("yem_es_materialinfo");
for (int i = 0; i < yemEsMaterialinfo.size(); i++) {
carryReportCategoryAndHsCode(model, view, i, "");
}
}
StringBuilder sb = new StringBuilder();
for (int i : selectRows) {