fix: type & i18n
This commit is contained in:
parent
a24a40f51a
commit
d6f8c704b1
3 changed files with 7 additions and 4 deletions
|
|
@ -28,4 +28,6 @@ export default {
|
||||||
serviceAddProduct: 'Add Product',
|
serviceAddProduct: 'Add Product',
|
||||||
processTime: 'Processing Time',
|
processTime: 'Processing Time',
|
||||||
day: 'Days',
|
day: 'Days',
|
||||||
|
|
||||||
|
noField: 'No Field',
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ export default {
|
||||||
productAndServiceTypeName: 'ชื่อรหัสประเภทสินค้าและบริการ',
|
productAndServiceTypeName: 'ชื่อรหัสประเภทสินค้าและบริการ',
|
||||||
|
|
||||||
service: 'บริการ',
|
service: 'บริการ',
|
||||||
|
|
||||||
product: 'สินค้า',
|
product: 'สินค้า',
|
||||||
|
|
||||||
messageTooltipNoProduct: 'ยังไม่มีกลุ่มสินค้าและบริการ',
|
messageTooltipNoProduct: 'ยังไม่มีกลุ่มสินค้าและบริการ',
|
||||||
|
|
@ -29,4 +28,6 @@ export default {
|
||||||
serviceAddProduct: 'เพิ่มสินค้า',
|
serviceAddProduct: 'เพิ่มสินค้า',
|
||||||
processTime: 'ระยะเวลาดำเนินการ',
|
processTime: 'ระยะเวลาดำเนินการ',
|
||||||
day: 'วัน',
|
day: 'วัน',
|
||||||
|
|
||||||
|
noField: 'ยังไมมีฟิลด์',
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -43,12 +43,12 @@ export interface ServiceCreate {
|
||||||
|
|
||||||
export interface Attributes {
|
export interface Attributes {
|
||||||
additional: {
|
additional: {
|
||||||
fieldName: string;
|
fieldName: string | null;
|
||||||
type?: AdditionalType;
|
type: AdditionalType | null;
|
||||||
}[];
|
}[];
|
||||||
}
|
}
|
||||||
|
|
||||||
type AdditionalType = 'string' | 'number' | 'boolean' | Date;
|
type AdditionalType = 'string' | 'number' | 'date' | 'array';
|
||||||
// Product
|
// Product
|
||||||
|
|
||||||
export interface ServiceById {
|
export interface ServiceById {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue