提交 e24a4d5c authored 作者: 张颂恩's avatar 张颂恩

核销优化

上级 0442a13d
......@@ -5694,6 +5694,9 @@ def do_hexiao(request):
c = c1[0]
elif hexiao_id:
hexiao_id = hexiao_id.split(',')
if len(hexiao_id) > 20 :
data['e'] = '一次最多核销20个'
return JsonResponse(data)
hxs = HeXiao_Record.objects.filter(id__in=hexiao_id)
for hx in hxs:
if hx.is_need_agent_writeoff:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论