|
|
@@ -178,7 +178,7 @@ public class OrderItems extends Controller {
|
|
|
// int year = Year.now().getValue();
|
|
|
// int quarter = YearMonth.now().get(IsoFields.QUARTER_OF_YEAR);
|
|
|
Rows custamountrows = dbConnect.runSqlQuery("select * from sa_agents where sys_enterpriseid=" + sys_enterpriseid + " and siteid='" + siteid + "'");
|
|
|
- if(custamountrows.isNotEmpty()){
|
|
|
+ if(custamountrows.isNotEmpty() && !type.equals("配件订单")){
|
|
|
if(custamountrows.get(0).getDouble("pricerate")>0){
|
|
|
rwpricerate = custamountrows.get(0).getBigDecimal("pricerate");
|
|
|
}
|