chore: clean
This commit is contained in:
parent
81e5873e4c
commit
01e59f5a4b
1 changed files with 14 additions and 39 deletions
|
|
@ -45,40 +45,7 @@ type SummaryPrice = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const note = ref<string>('');
|
const note = ref<string>('');
|
||||||
const productList = ref<Product[]>([
|
const productList = ref<Product[]>([]);
|
||||||
{
|
|
||||||
id: 'cm14grwo30002z8ch55keto89',
|
|
||||||
code: 'PG01T01S01001',
|
|
||||||
detail: 'ค่าบริการและค่าดำเนินงานยื่นแบบคำร้องขอนำเข้า MOU (Demand)',
|
|
||||||
amount: 3,
|
|
||||||
priceUnit: 2000.0,
|
|
||||||
discount: 0.0,
|
|
||||||
vat: 7,
|
|
||||||
value: 12750.0,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'cm14grwo30112z8ch55keto00',
|
|
||||||
code: 'PG01T01S01002',
|
|
||||||
detail:
|
|
||||||
'ค่าบริการและค่าดำเนินงานยื่นขอบัญชีรายชื่อ (Name list) สัญชาติเมียนมา',
|
|
||||||
amount: 3,
|
|
||||||
priceUnit: 7100.0,
|
|
||||||
discount: 0.0,
|
|
||||||
vat: 7,
|
|
||||||
value: 4750.0,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'Am14grwo30112z8ch55keto00',
|
|
||||||
code: 'PG01T01S01002',
|
|
||||||
detail:
|
|
||||||
'ค่าบริการและค่าดำเนินงานยื่นแจ้งที่พักอาศัยและยื่นแบบแจ้งการจ้างคนต่างด้าว',
|
|
||||||
amount: 1,
|
|
||||||
priceUnit: 14100.0,
|
|
||||||
discount: 100.0,
|
|
||||||
vat: 7,
|
|
||||||
value: 1050.0,
|
|
||||||
},
|
|
||||||
]);
|
|
||||||
|
|
||||||
const elements = ref<HTMLElement[]>([]);
|
const elements = ref<HTMLElement[]>([]);
|
||||||
const chunks = ref<Product[][]>([[]]);
|
const chunks = ref<Product[][]>([[]]);
|
||||||
|
|
@ -253,11 +220,19 @@ watch(elements, () => {
|
||||||
<td class="text-center">{{ i + 1 }}</td>
|
<td class="text-center">{{ i + 1 }}</td>
|
||||||
<td>{{ v.code }}</td>
|
<td>{{ v.code }}</td>
|
||||||
<td>{{ v.detail }}</td>
|
<td>{{ v.detail }}</td>
|
||||||
<td>{{ v.amount }}</td>
|
<td style="text-align: right">{{ v.amount }}</td>
|
||||||
<td>{{ formatNumberDecimal(v.priceUnit, 2) }}</td>
|
<td style="text-align: right">
|
||||||
<td>{{ formatNumberDecimal(v.discount, 2) }}</td>
|
{{ formatNumberDecimal(v.priceUnit, 2) }}
|
||||||
<td>{{ formatNumberDecimal(v.vat, 2) }}</td>
|
</td>
|
||||||
<td>{{ formatNumberDecimal(v.value, 2) }}</td>
|
<td style="text-align: right">
|
||||||
|
{{ formatNumberDecimal(v.discount, 2) }}
|
||||||
|
</td>
|
||||||
|
<td style="text-align: right">
|
||||||
|
{{ formatNumberDecimal(v.vat, 2) }}
|
||||||
|
</td>
|
||||||
|
<td style="text-align: right">
|
||||||
|
{{ formatNumberDecimal(v.value, 2) }}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue