ソースを参照

feat(forecast-audit): 补充客户编码和审批状态查询参数

yz 2 週間 前
コミット
85d4a2b4cb
1 ファイル変更4 行追加1 行削除
  1. 4 1
      src/views/forecast-audit/auditIndex.js

+ 4 - 1
src/views/forecast-audit/auditIndex.js

@@ -596,7 +596,10 @@ export default {
         const queryParams = {
           year: params.year ?? this.query.year,
           month: params.month ?? this.query.month,
-          customerName: params.customerName ?? this.query.customerName
+          customerName: params.customerName ?? this.query.customerName,
+          // 补充:将“客户编码、审批状态”一并传给接口
+          customerCode: params.customerCode ?? this.query.customerCode,
+          approvalStatus: params.approvalStatus ?? this.query.approvalStatus
         }
 
         // 使用新分页接口(主表分页)