|
|
@@ -84,8 +84,9 @@ module.exports = options => {
|
|
|
change.readOnly = !((change.status === status.uncheck || change.status === status.checkNo || change.status === status.revise) && accountId === change.uid);
|
|
|
change.shenpiPower = (change.status === status.checking || change.status === status.checkNoPre) && change.curAuditorIds.indexOf(accountId) !== -1;
|
|
|
this.change = change;
|
|
|
- if ((change.status === status.uncheck || change.status === status.checkNo || change.status === status.revise) && change.tp_decimal !== this.tender.info.decimal.tp) {
|
|
|
+ if ((change.status === status.uncheck || change.status === status.checkNo || change.status === status.revise) && (change.tp_decimal !== this.tender.info.decimal.tp || change.up_decimal !== this.tender.info.decimal.up)) {
|
|
|
this.change.tp_decimal = this.tender.info.decimal.tp;
|
|
|
+ this.change.up_decimal = this.tender.info.decimal.up;
|
|
|
yield this.service.change.updateDecimalAndTp();
|
|
|
}
|
|
|
yield this.service.change.doCheckChangeCanCancel(this.change);
|