fix: 修改合同筛选方案明细的条件 (#950)
Reviewed-on: daoyoucloud/tachybase#950 Reviewed-by: sealday <zhanglin@daoyoucloud.com> Co-authored-by: wjh <wwwjh0710@163.com> Co-committed-by: wjh <wwwjh0710@163.com>
This commit is contained in:
parent
3072cd67db
commit
424c109b25
@ -24,8 +24,7 @@ export const useLeaseItems = (planId, date) => {
|
|||||||
params: {
|
params: {
|
||||||
appends: ['new_products'],
|
appends: ['new_products'],
|
||||||
filter: {
|
filter: {
|
||||||
contract_plan: {
|
effect_contracts: {
|
||||||
contract_items: {
|
|
||||||
start_date: { $dateBefore: nowDay },
|
start_date: { $dateBefore: nowDay },
|
||||||
end_date: { $dateAfter: nowDay },
|
end_date: { $dateAfter: nowDay },
|
||||||
contract_id: {
|
contract_id: {
|
||||||
@ -33,7 +32,6 @@ export const useLeaseItems = (planId, date) => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
pageSize: 99999,
|
pageSize: 99999,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
@ -66,8 +64,7 @@ export const useFeeItems = (planId, date) => {
|
|||||||
params: {
|
params: {
|
||||||
appends: ['new_fee_products'],
|
appends: ['new_fee_products'],
|
||||||
filter: {
|
filter: {
|
||||||
contract_plan: {
|
effect_contracts: {
|
||||||
contract_items: {
|
|
||||||
start_date: { $dateBefore: nowDay },
|
start_date: { $dateBefore: nowDay },
|
||||||
end_date: { $dateAfter: nowDay },
|
end_date: { $dateAfter: nowDay },
|
||||||
contract_id: {
|
contract_id: {
|
||||||
@ -75,7 +72,6 @@ export const useFeeItems = (planId, date) => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
pageSize: 99999,
|
pageSize: 99999,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
@ -108,8 +104,7 @@ export const useProductFeeItems = (planId, date) => {
|
|||||||
params: {
|
params: {
|
||||||
appends: ['fee_items', 'new_products'],
|
appends: ['fee_items', 'new_products'],
|
||||||
filter: {
|
filter: {
|
||||||
contract_plan: {
|
effect_contracts: {
|
||||||
contract_items: {
|
|
||||||
start_date: { $dateBefore: nowDay },
|
start_date: { $dateBefore: nowDay },
|
||||||
end_date: { $dateAfter: nowDay },
|
end_date: { $dateAfter: nowDay },
|
||||||
contract_id: {
|
contract_id: {
|
||||||
@ -117,7 +112,6 @@ export const useProductFeeItems = (planId, date) => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
pageSize: 99999,
|
pageSize: 99999,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user