|
|
@@ -439,11 +439,16 @@ test('payment detail presents every web field and nested transfer field with Chi
|
|
|
|
|
|
test('payment cards reproduce the Web Excel columns and operation labels', () => {
|
|
|
const presenter = source('./list-presenter.js')
|
|
|
+ const card = source('./components/MarketListCard.vue')
|
|
|
for (const label of [
|
|
|
'姓名', '手机号', '样本编码', '签署日期', '存储年限', '存储项目', '合同总额',
|
|
|
- '缴费方式', '优惠金额', '应收总额', '应缴费金额(元)', '应缴费时间',
|
|
|
- '已缴费金额', '已缴费时间', '欠缴费金额', '累计实缴', '待缴金额', '备注'
|
|
|
+ '缴费方式', '优惠金额', '应收总额', '应缴费时间',
|
|
|
+ '已缴费时间', '欠缴费金额', '累计实缴', '待缴金额', '备注'
|
|
|
]) assert.match(presenter, new RegExp(label))
|
|
|
+ assert.match(presenter, /periodBlocks:/)
|
|
|
+ assert.match(presenter, /footerFields:/)
|
|
|
+ assert.match(card, /应缴费金额/)
|
|
|
+ assert.match(card, /已缴费金额/)
|
|
|
assert.match(presenter, /'view-payment-detail': '缴费明细'/)
|
|
|
})
|
|
|
|