1.报关合并中的产品机型替换为资源号.报关机型(文本),注意仅调整整机行的报关规则记件行不调整;
This commit is contained in:
25655 2025-02-24 18:42:43 +08:00
parent 9b2d1b7c35
commit 85d96a9fcf

View File

@ -517,7 +517,13 @@ public class DeclareDocxEdit extends AbstractBillPlugIn implements BeforeF7Selec
// 产品机型
DynamicObject productmodel = (DynamicObject) dynamicObject.get("yem_productmodel");
if (productmodel != null) {
productId = productmodel.getString("yem_customs_type");
String yemCustomsType = productmodel.getString("yem_customs_type");
if ("".equals(yemCustomsType)) {
this.getView().showMessage(""+dynamicObject.get("seq")+
"行,基础机型"+productmodel.getString("name")+"对应的报关机型为空,请联系产品经理维护该机型的报关机型!");
} else {
productId = yemCustomsType;
}
}
}else if ("Z".equals(yemBusinesssort)) {
// 资源号