瀏覽代碼

bug修复

ellisran 17 小時之前
父節點
當前提交
6dc95c293f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {
         async _isSettlePriceEnabled(options, node) {
             const colSet = await this.ctx.service.contractColSet.getContractColSet(
             const colSet = await this.ctx.service.contractColSet.getContractColSet(
-                options.spid || null,
+                options.spid || this.ctx.subProject.id || null,
                 options.tid || null,
                 options.tid || null,
                 node.contract_type
                 node.contract_type
             );
             );