|
@@ -2634,7 +2634,7 @@ module.exports = app => {
|
|
|
tpUnit: ctx.change.decimal ? ctx.change.decimal.tp : ctx.tender.info.decimal.tp,
|
|
|
upUnit: ctx.change.decimal ? ctx.change.decimal.up : ctx.tender.info.decimal.up,
|
|
|
changeUnits: changeConst.units,
|
|
|
- precision: ctx.change.decimal ? ctx.change.decimal.precision : ctx.tender.info.precision,
|
|
|
+ precision: ctx.change.decimal && ctx.change.decimal.precision ? ctx.change.decimal.precision : ctx.tender.info.precision,
|
|
|
returnUrl: this.app._.includes(ctx.request.headers.referer, '/tender/' + ctx.tender.id + '/change/apply') && !this.app._.includes(ctx.request.headers.referer, '/tender/' + ctx.tender.id + '/change/apply/' + ctx.change.id + '/information') ? ctx.request.headers.referer : null,
|
|
|
jsFiles: this.app.jsFiles.common.concat(this.app.jsFiles.change.apply_information),
|
|
|
preUrl: '/tender/' + ctx.tender.id + '/change/apply/' + ctx.change.id + '/information',
|
|
@@ -3255,7 +3255,7 @@ module.exports = app => {
|
|
|
tpUnit: ctx.change.decimal ? ctx.change.decimal.tp : ctx.tender.info.decimal.tp,
|
|
|
upUnit: ctx.change.decimal ? ctx.change.decimal.up : ctx.tender.info.decimal.up,
|
|
|
changeUnits: changeConst.units,
|
|
|
- precision: ctx.change.decimal ? ctx.change.decimal.precision : ctx.tender.info.precision,
|
|
|
+ precision: ctx.change.decimal && ctx.change.decimal.precision ? ctx.change.decimal.precision : ctx.tender.info.precision,
|
|
|
returnUrl: this.app._.includes(ctx.request.headers.referer, '/tender/' + ctx.tender.id + '/change/plan') && !this.app._.includes(ctx.request.headers.referer, '/tender/' + ctx.tender.id + '/change/plan/' + ctx.change.id + '/information') ? ctx.request.headers.referer : null,
|
|
|
jsFiles: this.app.jsFiles.common.concat(this.app.jsFiles.change.plan_information),
|
|
|
preUrl: '/tender/' + ctx.tender.id + '/change/plan/' + ctx.change.id + '/information',
|