|
@@ -105,7 +105,8 @@ module.exports = app => {
|
|
in_time: new Date(),
|
|
in_time: new Date(),
|
|
code,
|
|
code,
|
|
name,
|
|
name,
|
|
- tp_decimal: this.ctx.tender.info.decimal.tp,
|
|
|
|
|
|
+ // tp_decimal: this.ctx.tender.info.decimal.tp,
|
|
|
|
+ // up_decimal: this.ctx.tender.info.decimal.up,
|
|
};
|
|
};
|
|
const operate = await this.transaction.insert(this.tableName, change);
|
|
const operate = await this.transaction.insert(this.tableName, change);
|
|
|
|
|
|
@@ -626,7 +627,7 @@ module.exports = app => {
|
|
charge: postData.charge,
|
|
charge: postData.charge,
|
|
w_code: postData.w_code,
|
|
w_code: postData.w_code,
|
|
total_price,
|
|
total_price,
|
|
- tp_decimal: this.ctx.tender.info.decimal.tp,
|
|
|
|
|
|
+ // tp_decimal: this.ctx.tender.info.decimal.tp,
|
|
};
|
|
};
|
|
const options = {
|
|
const options = {
|
|
where: {
|
|
where: {
|
|
@@ -634,6 +635,8 @@ module.exports = app => {
|
|
},
|
|
},
|
|
};
|
|
};
|
|
if (change_status) {
|
|
if (change_status) {
|
|
|
|
+ cArray.tp_decimal = this.ctx.tender.info.decimal.tp;
|
|
|
|
+ cArray.up_decimal = this.ctx.tender.info.decimal.up;
|
|
cArray.status = audit.flow.status.checking;
|
|
cArray.status = audit.flow.status.checking;
|
|
cArray.cin_time = Date.parse(new Date()) / 1000;
|
|
cArray.cin_time = Date.parse(new Date()) / 1000;
|
|
}
|
|
}
|
|
@@ -936,6 +939,7 @@ module.exports = app => {
|
|
cin_time: Date.parse(new Date()) / 1000,
|
|
cin_time: Date.parse(new Date()) / 1000,
|
|
total_price,
|
|
total_price,
|
|
tp_decimal: null,
|
|
tp_decimal: null,
|
|
|
|
+ up_decimal: null,
|
|
};
|
|
};
|
|
const options = {
|
|
const options = {
|
|
where: {
|
|
where: {
|
|
@@ -1413,6 +1417,7 @@ module.exports = app => {
|
|
cin_time: Date.parse(new Date()) / 1000,
|
|
cin_time: Date.parse(new Date()) / 1000,
|
|
// total_price,
|
|
// total_price,
|
|
tp_decimal: null,
|
|
tp_decimal: null,
|
|
|
|
+ up_decimal: null,
|
|
is_revise: 1,
|
|
is_revise: 1,
|
|
};
|
|
};
|
|
const options = {
|
|
const options = {
|