Commit 3b1e61dc authored by xianyang's avatar xianyang

类型配置列表模糊查,财务修复报表,导出优化

parent aa2a8a18
......@@ -48,7 +48,7 @@ class FinanceDetails(PublicModel):
class FixTable(BaseModel):
type: int
uuid: str
uuid: str = ''
money: float
amount_type: Optional[str] = "consumable"
remark: str
......
......@@ -12,7 +12,7 @@ router = APIRouter()
@router.post("/create")
def create_account(data: schemas.AccountCreate,token=Depends(login_required)):
def create_account(data: schemas.AccountCreate, token=Depends(login_required)):
"""添加账户"""
db_info = crud.get_account(data.name)
if db_info:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment