Update customer form field
This commit is contained in:
@@ -4,10 +4,10 @@ export interface Customer {
|
||||
id: number;
|
||||
firstNameEn: string;
|
||||
lastNameEn: string;
|
||||
// firstNameJp: string;
|
||||
// lastNameJp: string;
|
||||
// firstNameJpKana: string;
|
||||
// lastNameJpKana: string;
|
||||
firstNameJp: string;
|
||||
lastNameJp: string;
|
||||
firstNameJpKana: string;
|
||||
lastNameJpKana: string;
|
||||
email: string;
|
||||
// email2?: string;
|
||||
mobile: string;
|
||||
@@ -73,10 +73,10 @@ export interface CustomerDependant {
|
||||
// deptSeq: number;
|
||||
firstNameEn: string;
|
||||
lastNameEn: string;
|
||||
// firstNameJp: string;
|
||||
// lastNameJp: string;
|
||||
// firstNameJpKana: string;
|
||||
// lastNameJpKana: string;
|
||||
firstNameJp: string;
|
||||
lastNameJp: string;
|
||||
firstNameJpKana: string;
|
||||
lastNameJpKana: string;
|
||||
email: string;
|
||||
// email2?: string;
|
||||
mobile: string;
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
"id": 1,
|
||||
"firstNameEn": "John",
|
||||
"lastNameEn": "Smith",
|
||||
"firstNameJp": "ジョン",
|
||||
"lastNameJp": "スミス",
|
||||
"firstNameJpKana": "ジョン",
|
||||
"lastNameJpKana": "スミス",
|
||||
"email": "john.smith@email.com",
|
||||
"mobile": "+1-555-0101",
|
||||
"originAdd1": "123 Main Street, New York, NY 10001, USA",
|
||||
@@ -13,6 +17,10 @@
|
||||
"id": 2,
|
||||
"firstNameEn": "Sarah",
|
||||
"lastNameEn": "Johnson",
|
||||
"firstNameJp": "サラ",
|
||||
"lastNameJp": "ジョンソン",
|
||||
"firstNameJpKana": "サラ",
|
||||
"lastNameJpKana": "ジョンソン",
|
||||
"email": "sarah.johnson@email.com",
|
||||
"mobile": "+1-555-0102",
|
||||
"originAdd1": "789 Pine Road, Los Angeles, CA 90210, USA",
|
||||
@@ -22,6 +30,10 @@
|
||||
"id": 3,
|
||||
"firstNameEn": "Michael",
|
||||
"lastNameEn": "Brown",
|
||||
"firstNameJp": "マイケル",
|
||||
"lastNameJp": "ブラウン",
|
||||
"firstNameJpKana": "マイケル",
|
||||
"lastNameJpKana": "ブラウン",
|
||||
"email": "michael.brown@email.com",
|
||||
"mobile": "+44-20-7946-0958",
|
||||
"originAdd1": "42 Victoria Street, London, UK SW1H 0TL",
|
||||
@@ -31,6 +43,10 @@
|
||||
"id": 4,
|
||||
"firstNameEn": "Emily",
|
||||
"lastNameEn": "Davis",
|
||||
"firstNameJp": "エミリー",
|
||||
"lastNameJp": "デイビス",
|
||||
"firstNameJpKana": "エミリー",
|
||||
"lastNameJpKana": "デイビス",
|
||||
"email": "emily.davis@email.com",
|
||||
"mobile": "+61-2-9876-5432",
|
||||
"originAdd1": "15 Collins Street, Melbourne, VIC 3000, Australia",
|
||||
@@ -40,19 +56,14 @@
|
||||
"id": 5,
|
||||
"firstNameEn": "David",
|
||||
"lastNameEn": "Wilson",
|
||||
"firstNameJp": "デイビッド",
|
||||
"lastNameJp": "ウィルソン",
|
||||
"firstNameJpKana": "デイビッド",
|
||||
"lastNameJpKana": "ウィルソン",
|
||||
"email": "david.wilson@email.com",
|
||||
"mobile": "+1-416-555-0199",
|
||||
"originAdd1": "100 Queen Street West, Toronto, ON M5H 2N2, Canada",
|
||||
"localAdd1": "987 Ginza District, Tokyo, Japan 104-0061"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"firstNameEn": "Đỗ",
|
||||
"lastNameEn": "Thanh Tùng",
|
||||
"email": "dothanhtung196@gmail.com",
|
||||
"mobile": "0987417491",
|
||||
"originAdd1": "123",
|
||||
"localAdd1": "sdfgsdfg"
|
||||
}
|
||||
],
|
||||
"users": [
|
||||
@@ -232,6 +243,26 @@
|
||||
"userId": 1,
|
||||
"permissionId": 15
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"userId": 2,
|
||||
"permissionId": 4
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"userId": 2,
|
||||
"permissionId": 5
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"userId": 2,
|
||||
"permissionId": 8
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"userId": 2,
|
||||
"permissionId": 11
|
||||
},
|
||||
{
|
||||
"id": 20,
|
||||
"userId": 3,
|
||||
@@ -426,26 +457,6 @@
|
||||
"id": 58,
|
||||
"userId": 11,
|
||||
"permissionId": 12
|
||||
},
|
||||
{
|
||||
"id": 59,
|
||||
"userId": 2,
|
||||
"permissionId": 4
|
||||
},
|
||||
{
|
||||
"id": 60,
|
||||
"userId": 2,
|
||||
"permissionId": 5
|
||||
},
|
||||
{
|
||||
"id": 61,
|
||||
"userId": 2,
|
||||
"permissionId": 8
|
||||
},
|
||||
{
|
||||
"id": 62,
|
||||
"userId": 2,
|
||||
"permissionId": 11
|
||||
}
|
||||
],
|
||||
"permissions": [
|
||||
@@ -546,6 +557,10 @@
|
||||
"custId": 1,
|
||||
"firstNameEn": "Jane",
|
||||
"lastNameEn": "Smith",
|
||||
"firstNameJp": "ジェーン",
|
||||
"lastNameJp": "スミス",
|
||||
"firstNameJpKana": "ジェーン",
|
||||
"lastNameJpKana": "スミス",
|
||||
"email": "jane.smith@email.com",
|
||||
"mobile": "+1-555-0111",
|
||||
"originAdd1": "123 Main Street, New York, NY 10001, USA",
|
||||
@@ -556,6 +571,10 @@
|
||||
"custId": 1,
|
||||
"firstNameEn": "Tommy",
|
||||
"lastNameEn": "Smith",
|
||||
"firstNameJp": "トミー",
|
||||
"lastNameJp": "スミス",
|
||||
"firstNameJpKana": "トミー",
|
||||
"lastNameJpKana": "スミス",
|
||||
"email": "tommy.smith@email.com",
|
||||
"mobile": "+1-555-0112",
|
||||
"originAdd1": "123 Main Street, New York, NY 10001, USA",
|
||||
@@ -566,6 +585,10 @@
|
||||
"custId": 2,
|
||||
"firstNameEn": "Mark",
|
||||
"lastNameEn": "Johnson",
|
||||
"firstNameJp": "マーク",
|
||||
"lastNameJp": "ジョンソン",
|
||||
"firstNameJpKana": "マーク",
|
||||
"lastNameJpKana": "ジョンソン",
|
||||
"email": "mark.johnson@email.com",
|
||||
"mobile": "+1-555-0121",
|
||||
"originAdd1": "789 Pine Road, Los Angeles, CA 90210, USA",
|
||||
@@ -576,6 +599,10 @@
|
||||
"custId": 2,
|
||||
"firstNameEn": "Lisa",
|
||||
"lastNameEn": "Johnson",
|
||||
"firstNameJp": "リサ",
|
||||
"lastNameJp": "ジョンソン",
|
||||
"firstNameJpKana": "リサ",
|
||||
"lastNameJpKana": "ジョンソン",
|
||||
"email": "lisa.johnson@email.com",
|
||||
"mobile": "+1-555-0122",
|
||||
"originAdd1": "789 Pine Road, Los Angeles, CA 90210, USA",
|
||||
@@ -586,6 +613,10 @@
|
||||
"custId": 3,
|
||||
"firstNameEn": "Anna",
|
||||
"lastNameEn": "Brown",
|
||||
"firstNameJp": "アンナ",
|
||||
"lastNameJp": "ブラウン",
|
||||
"firstNameJpKana": "アンナ",
|
||||
"lastNameJpKana": "ブラウン",
|
||||
"email": "anna.brown@email.com",
|
||||
"mobile": "+44-20-7946-0959",
|
||||
"originAdd1": "42 Victoria Street, London, UK SW1H 0TL",
|
||||
@@ -596,6 +627,10 @@
|
||||
"custId": 4,
|
||||
"firstNameEn": "James",
|
||||
"lastNameEn": "Davis",
|
||||
"firstNameJp": "ジェームズ",
|
||||
"lastNameJp": "デイビス",
|
||||
"firstNameJpKana": "ジェームズ",
|
||||
"lastNameJpKana": "デイビス",
|
||||
"email": "james.davis@email.com",
|
||||
"mobile": "+61-2-9876-5433",
|
||||
"originAdd1": "15 Collins Street, Melbourne, VIC 3000, Australia",
|
||||
@@ -606,6 +641,10 @@
|
||||
"custId": 4,
|
||||
"firstNameEn": "Sophie",
|
||||
"lastNameEn": "Davis",
|
||||
"firstNameJp": "ソフィー",
|
||||
"lastNameJp": "デイビス",
|
||||
"firstNameJpKana": "ソフィー",
|
||||
"lastNameJpKana": "デイビス",
|
||||
"email": "sophie.davis@email.com",
|
||||
"mobile": "+61-2-9876-5434",
|
||||
"originAdd1": "15 Collins Street, Melbourne, VIC 3000, Australia",
|
||||
@@ -616,6 +655,10 @@
|
||||
"custId": 4,
|
||||
"firstNameEn": "Oliver",
|
||||
"lastNameEn": "Davis",
|
||||
"firstNameJp": "オリバー",
|
||||
"lastNameJp": "デイビス",
|
||||
"firstNameJpKana": "オリバー",
|
||||
"lastNameJpKana": "デイビス",
|
||||
"email": "oliver.davis@email.com",
|
||||
"mobile": "+61-2-9876-5435",
|
||||
"originAdd1": "15 Collins Street, Melbourne, VIC 3000, Australia",
|
||||
@@ -626,20 +669,14 @@
|
||||
"custId": 5,
|
||||
"firstNameEn": "Rachel",
|
||||
"lastNameEn": "Wilson",
|
||||
"firstNameJp": "レイチェル",
|
||||
"lastNameJp": "ウィルソン",
|
||||
"firstNameJpKana": "レイチェル",
|
||||
"lastNameJpKana": "ウィルソン",
|
||||
"email": "rachel.wilson@email.com",
|
||||
"mobile": "+1-416-555-0191",
|
||||
"originAdd1": "100 Queen Street West, Toronto, ON M5H 2N2, Canada",
|
||||
"localAdd1": "987 Ginza District, Tokyo, Japan 104-0061"
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"custId": 6,
|
||||
"firstNameEn": "Đỗ",
|
||||
"lastNameEn": "Thanh Tùng",
|
||||
"email": "dothanhtung196@gmail.com",
|
||||
"mobile": "0987417491",
|
||||
"originAdd1": "123",
|
||||
"localAdd1": "sdfgsdfg"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -7,6 +7,10 @@ export const sampleCustomerDependants: CustomerDependant[] = [
|
||||
custId: 1,
|
||||
firstNameEn: "Jane",
|
||||
lastNameEn: "Smith",
|
||||
firstNameJp: "ジェーン",
|
||||
lastNameJp: "スミス",
|
||||
firstNameJpKana: "ジェーン",
|
||||
lastNameJpKana: "スミス",
|
||||
email: "jane.smith@email.com",
|
||||
mobile: "+1-555-0111",
|
||||
originAdd1: "123 Main Street, New York, NY 10001, USA",
|
||||
@@ -17,6 +21,10 @@ export const sampleCustomerDependants: CustomerDependant[] = [
|
||||
custId: 1,
|
||||
firstNameEn: "Tommy",
|
||||
lastNameEn: "Smith",
|
||||
firstNameJp: "トミー",
|
||||
lastNameJp: "スミス",
|
||||
firstNameJpKana: "トミー",
|
||||
lastNameJpKana: "スミス",
|
||||
email: "tommy.smith@email.com",
|
||||
mobile: "+1-555-0112",
|
||||
originAdd1: "123 Main Street, New York, NY 10001, USA",
|
||||
@@ -28,6 +36,10 @@ export const sampleCustomerDependants: CustomerDependant[] = [
|
||||
custId: 2,
|
||||
firstNameEn: "Mark",
|
||||
lastNameEn: "Johnson",
|
||||
firstNameJp: "マーク",
|
||||
lastNameJp: "ジョンソン",
|
||||
firstNameJpKana: "マーク",
|
||||
lastNameJpKana: "ジョンソン",
|
||||
email: "mark.johnson@email.com",
|
||||
mobile: "+1-555-0121",
|
||||
originAdd1: "789 Pine Road, Los Angeles, CA 90210, USA",
|
||||
@@ -38,6 +50,10 @@ export const sampleCustomerDependants: CustomerDependant[] = [
|
||||
custId: 2,
|
||||
firstNameEn: "Lisa",
|
||||
lastNameEn: "Johnson",
|
||||
firstNameJp: "リサ",
|
||||
lastNameJp: "ジョンソン",
|
||||
firstNameJpKana: "リサ",
|
||||
lastNameJpKana: "ジョンソン",
|
||||
email: "lisa.johnson@email.com",
|
||||
mobile: "+1-555-0122",
|
||||
originAdd1: "789 Pine Road, Los Angeles, CA 90210, USA",
|
||||
@@ -49,6 +65,10 @@ export const sampleCustomerDependants: CustomerDependant[] = [
|
||||
custId: 3,
|
||||
firstNameEn: "Anna",
|
||||
lastNameEn: "Brown",
|
||||
firstNameJp: "アンナ",
|
||||
lastNameJp: "ブラウン",
|
||||
firstNameJpKana: "アンナ",
|
||||
lastNameJpKana: "ブラウン",
|
||||
email: "anna.brown@email.com",
|
||||
mobile: "+44-20-7946-0959",
|
||||
originAdd1: "42 Victoria Street, London, UK SW1H 0TL",
|
||||
@@ -60,6 +80,10 @@ export const sampleCustomerDependants: CustomerDependant[] = [
|
||||
custId: 4,
|
||||
firstNameEn: "James",
|
||||
lastNameEn: "Davis",
|
||||
firstNameJp: "ジェームズ",
|
||||
lastNameJp: "デイビス",
|
||||
firstNameJpKana: "ジェームズ",
|
||||
lastNameJpKana: "デイビス",
|
||||
email: "james.davis@email.com",
|
||||
mobile: "+61-2-9876-5433",
|
||||
originAdd1: "15 Collins Street, Melbourne, VIC 3000, Australia",
|
||||
@@ -70,6 +94,10 @@ export const sampleCustomerDependants: CustomerDependant[] = [
|
||||
custId: 4,
|
||||
firstNameEn: "Sophie",
|
||||
lastNameEn: "Davis",
|
||||
firstNameJp: "ソフィー",
|
||||
lastNameJp: "デイビス",
|
||||
firstNameJpKana: "ソフィー",
|
||||
lastNameJpKana: "デイビス",
|
||||
email: "sophie.davis@email.com",
|
||||
mobile: "+61-2-9876-5434",
|
||||
originAdd1: "15 Collins Street, Melbourne, VIC 3000, Australia",
|
||||
@@ -80,6 +108,10 @@ export const sampleCustomerDependants: CustomerDependant[] = [
|
||||
custId: 4,
|
||||
firstNameEn: "Oliver",
|
||||
lastNameEn: "Davis",
|
||||
firstNameJp: "オリバー",
|
||||
lastNameJp: "デイビス",
|
||||
firstNameJpKana: "オリバー",
|
||||
lastNameJpKana: "デイビス",
|
||||
email: "oliver.davis@email.com",
|
||||
mobile: "+61-2-9876-5435",
|
||||
originAdd1: "15 Collins Street, Melbourne, VIC 3000, Australia",
|
||||
@@ -91,6 +123,10 @@ export const sampleCustomerDependants: CustomerDependant[] = [
|
||||
custId: 5,
|
||||
firstNameEn: "Rachel",
|
||||
lastNameEn: "Wilson",
|
||||
firstNameJp: "レイチェル",
|
||||
lastNameJp: "ウィルソン",
|
||||
firstNameJpKana: "レイチェル",
|
||||
lastNameJpKana: "ウィルソン",
|
||||
email: "rachel.wilson@email.com",
|
||||
mobile: "+1-416-555-0191",
|
||||
originAdd1: "100 Queen Street West, Toronto, ON M5H 2N2, Canada",
|
||||
|
||||
@@ -5,6 +5,10 @@ export const sampleCustomers: Customer[] = [
|
||||
id: 1,
|
||||
firstNameEn: "John",
|
||||
lastNameEn: "Smith",
|
||||
firstNameJp: "ジョン",
|
||||
lastNameJp: "スミス",
|
||||
firstNameJpKana: "ジョン",
|
||||
lastNameJpKana: "スミス",
|
||||
email: "john.smith@email.com",
|
||||
mobile: "+1-555-0101",
|
||||
originAdd1: "123 Main Street, New York, NY 10001, USA",
|
||||
@@ -14,6 +18,10 @@ export const sampleCustomers: Customer[] = [
|
||||
id: 2,
|
||||
firstNameEn: "Sarah",
|
||||
lastNameEn: "Johnson",
|
||||
firstNameJp: "サラ",
|
||||
lastNameJp: "ジョンソン",
|
||||
firstNameJpKana: "サラ",
|
||||
lastNameJpKana: "ジョンソン",
|
||||
email: "sarah.johnson@email.com",
|
||||
mobile: "+1-555-0102",
|
||||
originAdd1: "789 Pine Road, Los Angeles, CA 90210, USA",
|
||||
@@ -23,6 +31,10 @@ export const sampleCustomers: Customer[] = [
|
||||
id: 3,
|
||||
firstNameEn: "Michael",
|
||||
lastNameEn: "Brown",
|
||||
firstNameJp: "マイケル",
|
||||
lastNameJp: "ブラウン",
|
||||
firstNameJpKana: "マイケル",
|
||||
lastNameJpKana: "ブラウン",
|
||||
email: "michael.brown@email.com",
|
||||
mobile: "+44-20-7946-0958",
|
||||
originAdd1: "42 Victoria Street, London, UK SW1H 0TL",
|
||||
@@ -32,6 +44,10 @@ export const sampleCustomers: Customer[] = [
|
||||
id: 4,
|
||||
firstNameEn: "Emily",
|
||||
lastNameEn: "Davis",
|
||||
firstNameJp: "エミリー",
|
||||
lastNameJp: "デイビス",
|
||||
firstNameJpKana: "エミリー",
|
||||
lastNameJpKana: "デイビス",
|
||||
email: "emily.davis@email.com",
|
||||
mobile: "+61-2-9876-5432",
|
||||
originAdd1: "15 Collins Street, Melbourne, VIC 3000, Australia",
|
||||
@@ -41,6 +57,10 @@ export const sampleCustomers: Customer[] = [
|
||||
id: 5,
|
||||
firstNameEn: "David",
|
||||
lastNameEn: "Wilson",
|
||||
firstNameJp: "デイビッド",
|
||||
lastNameJp: "ウィルソン",
|
||||
firstNameJpKana: "デイビッド",
|
||||
lastNameJpKana: "ウィルソン",
|
||||
email: "david.wilson@email.com",
|
||||
mobile: "+1-416-555-0199",
|
||||
originAdd1: "100 Queen Street West, Toronto, ON M5H 2N2, Canada",
|
||||
|
||||
Reference in New Issue
Block a user