fix:
1.发运明细备注赋值
This commit is contained in:
parent
8002035dd3
commit
c92ad04e0d
@ -612,7 +612,8 @@ public class ShippingDetailsFormPlugin extends AbstractBillPlugIn implements Bef
|
||||
String yemIsdismantlecar = (String) this.getModel().getValue("yem_isdismantlecar");
|
||||
if ("B".equals(yemIsdismantlecar)) {
|
||||
DynamicObjectCollection yemEsMaterialinfo = this.getModel().getEntryEntity("yem_es_materialinfo");
|
||||
for (DynamicObject dynamicObject : yemEsMaterialinfo) {
|
||||
for (int i = 0; i < yemEsMaterialinfo.size(); i++) {
|
||||
DynamicObject dynamicObject = yemEsMaterialinfo.get(i);
|
||||
DynamicObject yemProductmodel = dynamicObject.getDynamicObject("yem_productmodel");
|
||||
if (yemProductmodel != null) {
|
||||
DynamicObject yemProducts = yemProductmodel.getDynamicObject("yem_products");
|
||||
@ -621,7 +622,7 @@ public class ShippingDetailsFormPlugin extends AbstractBillPlugIn implements Bef
|
||||
, new QFilter[]{new QFilter("id", QCP.equals, yemProducts.getLong("id"))});
|
||||
DynamicObject group = loadsingle.getDynamicObject("group");
|
||||
String yemVechpowertype = loadsingle.getString("yem_vechpowertype");
|
||||
if (group != null && yemVechpowertype.equals("燃油")) {
|
||||
if (group != null) {
|
||||
String string = group.getString("number");
|
||||
Boolean tere = false;
|
||||
if ("ZZJ-7T".equals(string)) {
|
||||
@ -634,7 +635,7 @@ public class ShippingDetailsFormPlugin extends AbstractBillPlugIn implements Bef
|
||||
tere = true;
|
||||
}
|
||||
if (tere) {
|
||||
dynamicObject.set("yem_remarks1", "更换锁紧螺母");
|
||||
this.getModel().setValue("yem_remarks", "更换锁紧螺母",i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user