bugfix
This commit is contained in:
parent
74abd2e31a
commit
49daa9815d
@ -17,10 +17,7 @@
|
||||
"actiontype":"urlwidget",
|
||||
"target":"PopupWindow",
|
||||
"options":{
|
||||
"url":"{{entire_url('platformbiz/agreeproduct_auth.dspy')}}",
|
||||
"params":{
|
||||
"agreedetailid":"{{params_kw.agreedetailid}}"
|
||||
}
|
||||
"url":"{{entire_url('../agree_prodclone.dspy')}}"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
@ -2,28 +2,6 @@
|
||||
"tblname":"agreeproduct",
|
||||
"params":{
|
||||
"logined_userorgid":"orgid",
|
||||
"toolbar":{
|
||||
"tools":[
|
||||
{
|
||||
"name":"prodauth",
|
||||
"label":"授权"
|
||||
}
|
||||
]
|
||||
},
|
||||
"binds":[
|
||||
{
|
||||
"wid":"self",
|
||||
"event":"prodauth",
|
||||
"actiontype":"urlwidget",
|
||||
"target":"PopupWindow",
|
||||
"options":{
|
||||
"url":"{{entire_url('platformbiz/agreeproduct_auth.dspy')}}",
|
||||
"params":{
|
||||
"agreedetailid":"{{params_kw.agreedetailid}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"browserfields": {
|
||||
"exclouded": ["id", "agreedetailid"],
|
||||
"alters": {}
|
||||
|
@ -24,7 +24,7 @@ async def get_balance(orgid):
|
||||
class PlatformBizAcc:
|
||||
"""
|
||||
"""
|
||||
def build_accountset(self, sor, biz_order, biz_orderdetails):
|
||||
async def build_accountset(self, sor, biz_order, biz_orderdetails):
|
||||
acconuntset = DictObject()
|
||||
accountset['action'] = biz_order.business_op
|
||||
accountset['owner'] = get_owner_orgid(sor, '0')
|
||||
@ -109,5 +109,3 @@ class PlatformBizAccRecharge(PlatformBizAcc):
|
||||
a = Accounting(self)
|
||||
r = await a.do_accounting(sor)
|
||||
|
||||
async def PayAccounting(sor, *):
|
||||
pass
|
||||
|
@ -1,7 +1,7 @@
|
||||
debug(f'params_kw=}')
|
||||
debug(f'{params_kw=}')
|
||||
orgid = await get_userorgid()
|
||||
db = DBPools()
|
||||
dbname = await get_module_dbname('platformbiz')
|
||||
dbname = get_module_dbname('platformbiz')
|
||||
async with db.sqlorContext(dbname) as sor:
|
||||
await agree_products_clone(sor, orgid, params_kw.id)
|
||||
return UiMessage(title='product clone', message='product clone finished')
|
||||
|
Loading…
Reference in New Issue
Block a user