1.整机储运申请下推到云之家的标题形式为:整机储运申请+业务员+国家+合同号。
This commit is contained in:
ljw 2024-11-13 18:25:08 +08:00
parent 62399ef804
commit 924b007ad0

View File

@ -43,6 +43,25 @@ public class ExportInVoiceEdit extends AbstractBillPlugIn {
case "yem_insurefeecurrba":
counttailAmt();
break;
case "yem_bususer":
case "yem_buyercountry":
case "yem_stcontractno":
String yem_cloudhousetitle = "整机储运申请";
Object yemBususer = this.getModel().getValue("yem_bususer");
if (yemBususer != null) {
String string = ((DynamicObject) yemBususer).getString("name");
yem_cloudhousetitle = yem_cloudhousetitle + "," + string;
}
Object yemBuyercountry = this.getModel().getValue("yem_buyercountry");
if (yemBuyercountry != null) {
String string = ((DynamicObject) yemBuyercountry).getString("name");
yem_cloudhousetitle = yem_cloudhousetitle + "," + string;
}
String yemStcontractno = (String) this.getModel().getValue("yem_stcontractno");
if (yemStcontractno != null) {
yem_cloudhousetitle = yem_cloudhousetitle + "," + yemStcontractno;
}
this.getModel().setValue("yem_cloudhousetitle",yem_cloudhousetitle);
}
}