|
|
@@ -149,9 +149,9 @@ public class OrderItems extends Controller {
|
|
|
} else {
|
|
|
price = item.getBigDecimalValue("price");
|
|
|
defaultprice = item.getBigDecimalValue("defaultprice");
|
|
|
- if (!type.equals("特殊订单") && defaultprice.compareTo(rows.get(0).getBigDecimal("defaultprice")) != 0 && defaultprice.compareTo(itemPrice.getContractprice()) < 0) {
|
|
|
- return getErrReturnObject().setErrMsg("调整价格不可小于协议价").toString();
|
|
|
- }
|
|
|
+// if (!type.equals("特殊订单") && defaultprice.compareTo(rows.get(0).getBigDecimal("defaultprice")) != 0 && defaultprice.compareTo(itemPrice.getContractprice()) < 0) {
|
|
|
+// return getErrReturnObject().setErrMsg("调整价格不可小于协议价").toString();
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
//单价,折后价(元),取合同价
|