fix: period balance reconciliation blank page
Fix undefined signedWan template method and add regression coverage.
This commit is contained in:
parent
f9f92ec65c
commit
6b40bb3e36
@ -102,7 +102,7 @@
|
||||
<strong>{{ dualSourceStatus }}</strong>
|
||||
<p>
|
||||
财务 {{ moneyWan(dualSource.financial_total) }} · 聚水潭 {{ moneyWan(dualSource.jushuitan_total) }}
|
||||
· 差异 {{ signedWan(dualSource.difference) }}
|
||||
· 差异 {{ signedNumberWan(dualSource.difference) }}
|
||||
</p>
|
||||
</article>
|
||||
<article class="panel verify-card" :class="anomalyClass">
|
||||
@ -114,7 +114,7 @@
|
||||
</p>
|
||||
<ul v-if="summary.top_anomalies && summary.top_anomalies.length">
|
||||
<li v-for="row in summary.top_anomalies.slice(0, 3)" :key="row.key">
|
||||
{{ row.store_name }} · {{ signedWan(row.difference) }}
|
||||
{{ row.store_name }} · {{ signedNumberWan(row.difference) }}
|
||||
</li>
|
||||
</ul>
|
||||
<p v-else>当前范围没有金额超容差店铺。</p>
|
||||
|
||||
@ -39,5 +39,7 @@ class PeriodBalanceReconciliationTest extends TestCase
|
||||
$this->assertStringContainsString('其他平台暂未接入', $component);
|
||||
$this->assertStringContainsString('取数时间待核查', $component);
|
||||
$this->assertStringContainsString('200', $component);
|
||||
$this->assertStringNotContainsString('signedWan(', $component);
|
||||
$this->assertStringContainsString('signedNumberWan(dualSource.difference)', $component);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user