Files
docs/悦/货代SAAS平台后台/tests/customer-arap-column-width.test.cjs
T
2026-09-08 14:05:30 +08:00

18 lines
587 B
JavaScript

const assert = require('node:assert/strict');
const fs = require('node:fs');
const page = fs.readFileSync('财务管理/客户应收应付.html', 'utf8');
assert.match(
page,
/#page-customer-arap \.arap-table\{width:1810px;min-width:1810px;/,
'客户应收应付表格总宽应与运行时序号列保持一致'
);
assert.match(
page,
/<colgroup><col style="width:32px"\/><col style="width:48px"\/><col style="width:190px"\/>/,
'客户应收应付列表首列、序号列和操作列应为 32px、48px 和 190px'
);
console.log('customer-arap column widths are compact');