|
@@ -334,7 +334,6 @@ module.exports = app => {
|
|
|
} else {
|
|
|
throw '请先选择审批人,再上报数据';
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
|
|
|
const transaction = await this.db.beginTransaction();
|
|
@@ -344,7 +343,7 @@ module.exports = app => {
|
|
|
const updateDetailData = {
|
|
|
id: detailId, status: auditConst.status.checking,
|
|
|
};
|
|
|
- const rptAudit = await this.getDataByCondition({ detailId, uid: this.ctx.session.sessionUser.accountId });
|
|
|
+ const rptAudit = await this.ctx.service.paymentRptAudit.getDataByCondition({ td_id: detailId, uid: this.ctx.session.sessionUser.accountId });
|
|
|
if (rptAudit && rptAudit.signature_msg) {
|
|
|
const report_json = JSON.parse(this.ctx.detail.report_json);
|
|
|
const sign_msg = JSON.parse(rptAudit.signature_msg);
|