feat(pl): 实现合同产品用证与额度结转以支持购买证和运输证全流程管理。

This commit is contained in:
wuzilong committed 2026-11-01 18:56:05 +08:00
1 parent cb0344498a
commit fb866c7fa7
104 files changed
+10187 -3833

No files matched your search

@@ -30,8 +30,10 @@ function evaluate(names: string[], bindings: Record<string, any>) {
`;return {${names.join(',')}}`
)(...Object.values(bindings))
}
test('mobile has a separate first root; desktop root retained', () => {
const roots = descriptor.template!.ast.children.filter((n: any) => n.type === 1) as any[]
test('mobile and desktop business roots remain separate beside the shared quota overlay', () => {
const roots = descriptor.template!.ast.children.filter(
(n: any) => n.type === 1 && n.tag !== 'PlPlanQuotaDialog'
) as any[]
assert.equal(roots[0].tag, 'MobilePlPlanForm')
assert.match(roots[1].loc.source, /v-else/)
})