费用平台汇总补展开票金额 #545
@ -345,6 +345,8 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>平台</th>
|
||||
<th class="num">开票金额(万)</th>
|
||||
<th class="num">不开票金额(万)</th>
|
||||
<th class="num">总金额(万)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -803,7 +805,12 @@
|
||||
categoryDialogPlatformRows.replaceChildren();
|
||||
(category.platforms || []).forEach(function (platform) {
|
||||
var tr = document.createElement('tr');
|
||||
[platform.platform, formatWan(platform.net)].forEach(function (value, index) {
|
||||
[
|
||||
platform.platform,
|
||||
formatWan(platform.invoice_net),
|
||||
formatWan(platform.non_invoice_net),
|
||||
formatWan(platform.net)
|
||||
].forEach(function (value, index) {
|
||||
var cell = document.createElement('td');
|
||||
cell.textContent = value;
|
||||
if (index > 0) cell.className = 'num';
|
||||
|
||||
@ -54,6 +54,8 @@ class ExpenseDetailsDrilldownPageTest extends FeatureTestCase
|
||||
$platformPanel,
|
||||
));
|
||||
$this->assertStringContainsString('<th>平台</th>', $platformPanel[0]);
|
||||
$this->assertStringContainsString('开票金额(万)', $platformPanel[0]);
|
||||
$this->assertStringContainsString('不开票金额(万)', $platformPanel[0]);
|
||||
$this->assertStringContainsString('总金额(万)', $platformPanel[0]);
|
||||
$this->assertStringNotContainsString('账单名称', $platformPanel[0]);
|
||||
$this->assertStringNotContainsString('pd-item-summary__toggle', $template);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user