Merge branch 'dev' into picture-feedback
This commit is contained in:
commit
34ad40778b
180 files changed
+13262
-5333
No files matched your search
@@ -915,7 +915,14 @@ def test_erp_combined_payment_marks_prepayment_and_shipment_paid():
|
||||
assert resolve_paid_node_ids(nodes, [Decimal("43200")]) == {1, 2}
|
||||
|
||||
|
||||
def test_oa_company_dropdown_uses_selected_option(app):
|
||||
def test_erp_payment_matches_acceptance_amount_without_consuming_earlier_stages():
|
||||
"""关键断言:验收款金额单独命中时只标验收款,不把预付款或出货款记成已付。"""
|
||||
nodes = [
|
||||
(1, "prepayment", Decimal("16740")),
|
||||
(2, "shipment", Decimal("27900")),
|
||||
(3, "acceptance", Decimal("11160")),
|
||||
]
|
||||
assert resolve_paid_node_ids(nodes, [Decimal("11160")]) == {3}
|
||||
"""关键断言:公司下拉框只取 selected 项,不把全部候选项拼进公司名。"""
|
||||
page = """
|
||||
<table><tr>
|
||||
|
||||
Reference in new issue
Block a user