ellisran 11 timmar sedan
förälder
incheckning
6dc95c293f
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/service/contract_pay.js

+ 1 - 1
app/service/contract_pay.js

@@ -27,7 +27,7 @@ module.exports = app => {
 
         async _isSettlePriceEnabled(options, node) {
             const colSet = await this.ctx.service.contractColSet.getContractColSet(
-                options.spid || null,
+                options.spid || this.ctx.subProject.id || null,
                 options.tid || null,
                 node.contract_type
             );