fix: credit_limit.orgid存操作员orgid非客户orgid
- accountid已关联客户,orgid应为创建者(reseller)的orgid - 修复credit_manage.ui查询0条记录问题
This commit is contained in:
parent
d04fbedee6
commit
503ae5434d
@ -115,7 +115,7 @@ async with db.sqlorContext(dbname) as sor:
|
|||||||
data = {
|
data = {
|
||||||
'id': new_id,
|
'id': new_id,
|
||||||
'accountid': accountid,
|
'accountid': accountid,
|
||||||
'orgid': customer_orgid,
|
'orgid': orgid,
|
||||||
'credit_limit': credit_limit_amount,
|
'credit_limit': credit_limit_amount,
|
||||||
'used_credit': 0,
|
'used_credit': 0,
|
||||||
'available_credit': credit_limit_amount,
|
'available_credit': credit_limit_amount,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user