添加数量和单位字段
This commit is contained in:
parent
1ea070267e
commit
006a7f0293
|
@ -221,8 +221,10 @@ public class ImportPurchaseApplyBillPlugin extends AbstractBillPlugIn implements
|
|||
if (entryIds.contains(entryId)) {
|
||||
int index = model.createNewEntryRow("projectentry");
|
||||
model.setValue("qeug_purentry_id", entryId, index);
|
||||
model.setValue("purentrycontent", entry.get("qeug_materialname"), index);
|
||||
DynamicObject project = entry.getDynamicObject("qeug_project");
|
||||
model.setValue("purentrycontent", entry.get("qeug_materialname"), index);// 物料名称
|
||||
model.setValue("qeug_qty", entry.get("qeug_qty"), index);// 数量
|
||||
model.setValue("qeug_unit", entry.get("qeug_unit"), index);// 单位
|
||||
DynamicObject project = entry.getDynamicObject("qeug_project");// 项目
|
||||
if (project != null) {
|
||||
QFilter projectQF = new QFilter("number", QCP.equals, project.getString("number"));
|
||||
DynamicObject purproject = BusinessDataServiceHelper.loadSingle("rebm_purproject", projectQF.toArray());
|
||||
|
|
Loading…
Reference in New Issue