This commit is contained in:
parent
41784dc328
commit
adac5e85c8
|
@ -60,8 +60,8 @@ public class MaterialInBillOrgSubmitValidatorOp extends AbstractOperationService
|
|||
DynamicObject resource = material.getDynamicObject("resource");//资源编码-清单分类
|
||||
if (resource != null) {
|
||||
String number = resource.getString("number");//清单分类-编码
|
||||
BigDecimal price = entryEntity.getBigDecimal("price");//入库单价
|
||||
if (price.compareTo(new BigDecimal("2000")) > 0 && !number.contains("ZCKS03") && !number.contains("ZCKS05")) {
|
||||
BigDecimal taxPrice = entryEntity.getBigDecimal("taxprice");//入库含税单价
|
||||
if (taxPrice.compareTo(new BigDecimal("2000")) > 0 && !number.contains("ZCKS03") && !number.contains("ZCKS05")) {
|
||||
isPrice = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue