fix:明细信息的销售方式包含CKD时,装柜信息的整机件数不锁定,其他情况都锁定
This commit is contained in:
parent
727a10a3a3
commit
80219cf6dd
@ -655,13 +655,13 @@ public class EncaseMentEdit extends AbstractBillPlugIn implements Plugin, Before
|
||||
private void salesmethod() {
|
||||
DynamicObjectCollection yemImMaterialinfoMi = this.getModel().getEntryEntity("yem_im_materialinfo_mi");
|
||||
if (!yemImMaterialinfoMi.isEmpty()) {
|
||||
boolean bool = true;
|
||||
boolean bool = false;
|
||||
for (DynamicObject dynamicObject : yemImMaterialinfoMi) {
|
||||
DynamicObject yemSalesmethod = dynamicObject.getDynamicObject("yem_salesmethod");
|
||||
if (yemSalesmethod != null) {
|
||||
String yemSalesmethodString = yemSalesmethod.getString("name");
|
||||
if (yemSalesmethodString.equals("CKD")) {
|
||||
bool = false;
|
||||
bool = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user