parent
07306341b3
commit
a184683b25
@ -92,7 +92,7 @@ public class InquirylistEdit extends AbstractBillPlugIn implements BeforeF7Selec
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
List<Long> ids = new ArrayList();
|
||||
DynamicObject productModel = (DynamicObject) model.getValue("yem_productmodel", currentRowIndex);
|
||||
DynamicObject products = yem_im_detailedinfor.get(0).getDynamicObject("yem_productmodel.yem_products");
|
||||
DynamicObject products = yem_im_detailedinfor.get(currentRowIndex).getDynamicObject("yem_productmodel.yem_products");
|
||||
for (DynamicObject dynamicObject : yem_im_detailedinfor) {
|
||||
DynamicObjectCollection yem_multiconfig = dynamicObject.getDynamicObjectCollection("yem_multiconfig");
|
||||
if (yem_multiconfig != null) {
|
||||
|
@ -105,8 +105,8 @@ public class OptionalFormPlugIn extends AbstractFormPlugin implements Plugin {
|
||||
continue;
|
||||
}
|
||||
int entryRow = model.createNewEntryRow("yem_optionalentry");
|
||||
model.setValue("yem_basemodel", productModel.getLong("id"), entryRow);
|
||||
model.setValue("yem_productmodel", productModel.getJSONObject("yem_products").getLong("id"), entryRow);
|
||||
model.setValue("yem_basemodel", productModel.getLong("id"), entryRow);
|
||||
model.setValue("yem_productmodel", productModel.getJSONObject("yem_products").getLong("id"), entryRow);
|
||||
model.setValue("yem_profilenamea", optional.getString("yem_profilenamec"), entryRow);
|
||||
model.setValue("yem_configure", optional.getString("yem_configure"), entryRow);
|
||||
model.setValue("yem_parameter", optional.getString("yem_parameter"), entryRow);
|
||||
|
Loading…
Reference in New Issue
Block a user