Commit 352e6c74 by yancanhua

Merge branch 'v1.2.0' into v1.3.0

# Conflicts:
#	aus-admin/src/main/resources/templates/main/index.html
2 parents 5b070a5a a2da0cc7
...@@ -253,7 +253,7 @@ public class VehicleBean { ...@@ -253,7 +253,7 @@ public class VehicleBean {
this.vehicleState = vehicle.getVehicleState(); this.vehicleState = vehicle.getVehicleState();
this.startingBidPrice = vehicle.getStartingBidPrice(); this.startingBidPrice = vehicle.getStartingBidPrice();
this.reservePrice = vehicle.getReservePrice(); this.reservePrice = vehicle.getReservePrice();
this.fixedCommissionSwitch = vehicle.getFixedCommissionSwitch() == null || vehicle.getFixedCommissionSwitch() == 0 ? "否" : "是"; this.fixedCommissionSwitch = vehicle.getFixedCommissionSwitch() == null || vehicle.getFixedCommissionSwitch() == 0 ? "关" : "开";
this.fixedCommission = vehicle.getFixedCommission() == null ? 0 : vehicle.getFixedCommission(); this.fixedCommission = vehicle.getFixedCommission() == null ? 0 : vehicle.getFixedCommission();
......
...@@ -73,7 +73,7 @@ public class AppraiseService extends AbstractAuctionService { ...@@ -73,7 +73,7 @@ public class AppraiseService extends AbstractAuctionService {
NoticeField.RESERVE_PRICE, save.getReservePrice(), NoticeField.RESERVE_PRICE, save.getReservePrice(),
NoticeField.STARTING_BID_PRICE, save.getStartingBidPrice(), NoticeField.STARTING_BID_PRICE, save.getStartingBidPrice(),
NoticeField.REFERENCE_PRICE, save.getReferencePrice(), NoticeField.REFERENCE_PRICE, save.getReferencePrice(),
NoticeField.FIXED_COMMISSION_SWITCH, save.getFixedCommissionSwitch() == 1 ? "是" : "否", NoticeField.FIXED_COMMISSION_SWITCH, save.getFixedCommissionSwitch() == 1 ? "开" : "关",
NoticeField.FIXED_COMMISSION, fixedCommission == null ? "无" : fixedCommission NoticeField.FIXED_COMMISSION, fixedCommission == null ? "无" : fixedCommission
)); ));
return save; return save;
...@@ -89,7 +89,7 @@ public class AppraiseService extends AbstractAuctionService { ...@@ -89,7 +89,7 @@ public class AppraiseService extends AbstractAuctionService {
throw new FieldException("vehicleState", vehicle.getVehicleState(), "该车辆已在拍卖中,不能评估定价。"); throw new FieldException("vehicleState", vehicle.getVehicleState(), "该车辆已在拍卖中,不能评估定价。");
} }
int fixedCommissionSwitch = appraisePrice.getFixedCommissionSwitch() == null ? 0 : appraisePrice.getFixedCommissionSwitch(); int fixedCommissionSwitch = appraisePrice.getFixedCommissionSwitch() == null ? 0 : appraisePrice.getFixedCommissionSwitch();
double fixedCommission = fixedCommissionSwitch == 1 ? appraisePrice.getFixedCommission() : 0; Double fixedCommission = fixedCommissionSwitch == 1 ? appraisePrice.getFixedCommission() : null;
vehicle.setStartingBidPrice(appraisePrice.getStartingBidPrice()); vehicle.setStartingBidPrice(appraisePrice.getStartingBidPrice());
vehicle.setReferencePrice(appraisePrice.getReferencePrice()); vehicle.setReferencePrice(appraisePrice.getReferencePrice());
vehicle.setReservePrice(appraisePrice.getReservePrice()); vehicle.setReservePrice(appraisePrice.getReservePrice());
......
...@@ -470,7 +470,6 @@ export default class roundBidBottom extends Vue { ...@@ -470,7 +470,6 @@ export default class roundBidBottom extends Vue {
if (value != '自定义') { if (value != '自定义') {
this.addPrice = value; this.addPrice = value;
this.isShowCustom = false; this.isShowCustom = false;
this.handleAddBid();
} else { } else {
this.customBid = ''; this.customBid = '';
this.isShowCustom = this.isShowCustom ? false : true; this.isShowCustom = this.isShowCustom ? false : true;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!