Browse Source

审批人,本期正负变更金额

MaiXinRong 2 years ago
parent
commit
4a37544e20
1 changed files with 20 additions and 0 deletions
  1. 20 0
      app/service/stage_audit.js

+ 20 - 0
app/service/stage_audit.js

@@ -297,6 +297,8 @@ module.exports = app => {
                     order: 0,
                     contract_tp: tpData.contract_tp,
                     qc_tp: tpData.qc_tp,
+                    positive_qc_tp: tpData.positive_qc_tp,
+                    negative_qc_tp: tpData.negative_qc_tp,
                     yf_tp: yfPay.tp,
                     sf_tp: sfPay.tp,
                 });
@@ -305,6 +307,8 @@ module.exports = app => {
                     status: auditConst.status.checking,
                     contract_tp: tpData.contract_tp,
                     qc_tp: tpData.qc_tp,
+                    positive_qc_tp: tpData.positive_qc_tp,
+                    negative_qc_tp: tpData.negative_qc_tp,
                     yf_tp: yfPay.tp,
                     sf_tp: sfPay.tp,
                     tp_history: JSON.stringify(this.ctx.stage.tp_history),
@@ -407,6 +411,8 @@ module.exports = app => {
                     order: audit.order,
                     contract_tp: tpData.contract_tp,
                     qc_tp: tpData.qc_tp,
+                    positive_qc_tp: tpData.positive_qc_tp,
+                    negative_qc_tp: tpData.negative_qc_tp,
                     yf_tp: yfPay.tp,
                     sf_tp: sfPay.tp,
                 });
@@ -431,6 +437,8 @@ module.exports = app => {
                         status: auditConst.status.checking,
                         contract_tp: tpData.contract_tp,
                         qc_tp: tpData.qc_tp,
+                        positive_qc_tp: tpData.positive_qc_tp,
+                        negative_qc_tp: tpData.negative_qc_tp,
                         yf_tp: yfPay.tp,
                         sf_tp: sfPay.tp,
                         tp_history: JSON.stringify(this.ctx.stage.tp_history),
@@ -484,6 +492,8 @@ module.exports = app => {
                         status: checkData.checkType,
                         contract_tp: tpData.contract_tp,
                         qc_tp: tpData.qc_tp,
+                        positive_qc_tp: tpData.positive_qc_tp,
+                        negative_qc_tp: tpData.negative_qc_tp,
                         yf_tp: yfPay.tp,
                         sf_tp: sfPay.tp,
                         tp_history: JSON.stringify(this.ctx.stage.tp_history),
@@ -595,6 +605,8 @@ module.exports = app => {
                     order: audit.order,
                     contract_tp: tpData.contract_tp,
                     qc_tp: tpData.qc_tp,
+                    positive_qc_tp: tpData.positive_qc_tp,
+                    negative_qc_tp: tpData.negative_qc_tp,
                     yf_tp: yfPay.tp,
                     sf_tp: sfPay.tp,
                 });
@@ -610,6 +622,8 @@ module.exports = app => {
                     status: checkData.checkType,
                     contract_tp: tpData.contract_tp,
                     qc_tp: tpData.qc_tp,
+                    positive_qc_tp: tpData.positive_qc_tp,
+                    negative_qc_tp: tpData.negative_qc_tp,
                     times: times + 1,
                     yf_tp: yfPay.tp,
                     sf_tp: sfPay.tp,
@@ -729,6 +743,8 @@ module.exports = app => {
                     order: audit.order,
                     contract_tp: tpData.contract_tp,
                     qc_tp: tpData.qc_tp,
+                    positive_qc_tp: tpData.positive_qc_tp,
+                    negative_qc_tp: tpData.negative_qc_tp,
                     yf_tp: yfPay.tp,
                     sf_tp: sfPay.tp,
                 });
@@ -737,6 +753,8 @@ module.exports = app => {
                     id: stageId,
                     contract_tp: tpData.contract_tp,
                     qc_tp: tpData.qc_tp,
+                    positive_qc_tp: tpData.positive_qc_tp,
+                    negative_qc_tp: tpData.negative_qc_tp,
                     times,
                     yf_tp: yfPay.tp,
                     sf_tp: sfPay.tp,
@@ -1331,6 +1349,8 @@ module.exports = app => {
                     status: auditConst.status.checkNo,
                     contract_tp: tpData.contract_tp,
                     qc_tp: tpData.qc_tp,
+                    positive_qc_tp: tpData.positive_qc_tp,
+                    negative_qc_tp: tpData.negative_qc_tp,
                     times: nowTimes,
                     yf_tp: yfPay ? yfPay.tp : null,
                     sf_tp: sfPay ? sfPay.tp : null,