fix: i18n and dialog state

This commit is contained in:
puriphatt 2024-10-04 09:16:40 +07:00
parent e3b1693214
commit 8c4b31b06b
3 changed files with 7 additions and 2 deletions

View file

@ -608,7 +608,8 @@ export default {
title: 'Quotation',
customerName: 'Customer Name',
actor: 'Actor',
totalPrice: 'Total (Baht)',
totalPrice: 'Total',
totalPriceBaht: 'Total (Baht)',
receipt: 'Receipt/Tax Invoice',
branch: 'Branch that issues the quotation',
customer: 'Customer',
@ -638,6 +639,7 @@ export default {
foreignRefNo: 'Alien Reference Number',
documentExpireDate: 'Document Expiration Date',
allProductPrice: 'All product price',
pricePerUnit: 'Unit price',
sumPrice: 'Total price',
tax: 'Tax',

View file

@ -605,7 +605,8 @@ export default {
title: 'ใบเสนอราคา',
customerName: 'ชื่อลูกค้า',
actor: 'ผู้ที่ทำรายงาน',
totalPrice: 'ยอดรวมสุทธิ(บาท)',
totalPrice: 'ยอดรวมสุทธิ',
totalPriceBaht: 'ยอดรวมสุทธิ(บาท)',
receipt: 'ใบเสร็จ/กำกับภาษี',
branch: 'สาขาที่ออกใบเสนอราคา',
customer: 'ลูกค้า',
@ -636,6 +637,7 @@ export default {
foreignRefNo: 'เลขที่อ้างอิงคนต่างด้าว',
documentExpireDate: 'วันที่เอกสารหมดอายุ',
allProductPrice: 'ราคาสินค้าทั้งหมด',
pricePerUnit: 'ราคาต่อหน่วย',
sumPrice: 'ราคารวม',
tax: 'ภาษี',

View file

@ -162,6 +162,7 @@ function convertToTable(nodes: Node[]) {
if (v.checked) return v;
return [];
};
pageState.productServiceModal = false;
productServiceList.value = nodes.flatMap(_recursive).map((v) => v.value);
}