feat(fleet): integrate trip management and fee coverage workflows

This commit is contained in:
2026-10-03 04:35:55 +08:00
parent bca08f8749
commit dc35288a1b
87 changed files with 3774 additions and 233 deletions
@@ -42,8 +42,8 @@ describe('overseas master data real contract pages', () => {
for (const label of ['自有车辆', '外派车辆', '司机 / 外派单位']) expect(vehicles).toContain(label)
expect(vehicles).toContain("key:'region'")
expect(vehicles).toContain("placeholder:'全部区域'")
expect(vehicles).toContain('class="status-tabs density-tabs"')
expect(vehicles).toContain("'status-tab',{active:ownership===tab[1]}")
expect(vehicles).toContain('class="status-tabs density-status-tabs"')
expect(vehicles).toContain("'status-tab',{'is-active':ownership===tab[1]}")
expect(vehicles).not.toContain('<el-segmented')
expect(vehicles).not.toContain('aria-label="车辆区域"')
})
@@ -76,7 +76,8 @@ describe('overseas master data real contract pages', () => {
expect(detail).toContain('派送订单明细')
expect(detail).toContain('派送更换记录')
expect(detail).toContain('getVehicle(')
expect(detail).toContain('明确不包含派送履约记录')
expect(detail).toContain('派送记录请在海外仓的排车管理或派送管理中查看')
expect(detail).toContain('车辆更换记录尚未接入')
expect(detail).not.toContain('AppDrawer')
expect(detail).not.toContain('const vehicle =')
})
@@ -85,7 +86,10 @@ describe('overseas master data real contract pages', () => {
const matrix = readFileSync(resolve(process.cwd(), 'src/modules/overseas-master-data/PROTOTYPE_MATRIX.md'), 'utf8')
for (const id of ['gen-partner-warehouse', 'gen-overseas-quote', 'gen-exchange-rate', 'vehicle-detail']) expect(matrix).toContain(id)
for (const modal of ['modal-gen-overseas-quote-detail', 'modal-gen-overseas-quote', 'modal-exchange-rate-edit', 'modal-vehicle-edit']) expect(matrix).toContain(modal)
expect(matrix).toContain('原型未定义车辆文件预览、审核/确认流程')
expect(matrix).toContain('旧版原型未定义的车辆文件预览、审核/确认流程不自行补充')
expect(matrix).toContain('新版车辆保养及加油接入矩阵')
expect(matrix).toContain('modal-vehicle-ops-record')
expect(matrix).toContain('target="_blank"')
})
it('records the real service boundary and remaining unsupported operations', () => {