fix:外销合同所有的物料都重新获取一遍申报要素
This commit is contained in:
parent
7c5f442291
commit
5dc72ce621
@ -914,8 +914,10 @@ public class SalesOrderEdit extends AbstractBillPlugIn implements Plugin, Before
|
|||||||
EntryGrid control = this.getControl("yem_es_materialinfo");
|
EntryGrid control = this.getControl("yem_es_materialinfo");
|
||||||
int[] selectRows = control.getSelectRows();
|
int[] selectRows = control.getSelectRows();
|
||||||
if (selectRows.length == 0) {
|
if (selectRows.length == 0) {
|
||||||
view.showErrorNotification("请选择需要获取的行!!");
|
DynamicObjectCollection yemEsMaterialinfo = this.getModel().getEntryEntity("yem_es_materialinfo");
|
||||||
return;
|
for (int i = 0; i < yemEsMaterialinfo.size(); i++) {
|
||||||
|
carryReportCategoryAndHsCode(model, view, i, "");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
for (int i : selectRows) {
|
for (int i : selectRows) {
|
||||||
|
Loading…
Reference in New Issue
Block a user