couponDetailManageLang.js
6.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
export const messages = {
en: {
couponDetailManage: {
search: {
title: 'Search Conditions',
poolId: 'Please enter coupon',
shopId: 'Please enter shop ID'
},
list: {
title: 'Merchant Purchase Records'
},
table: {
detailId: 'Detail ID',
shopName: 'Shop',
couponName: 'Coupon Name',
actualPrice: 'Face Value',
buyPrice: 'Purchase Price',
amount: 'Payment Amount',
buyCount: 'Purchase Quantity',
validityDay: 'Validity Period'
},
add: {
title: 'Add Merchant Purchase Record',
poolId: 'Coupon',
poolIdPlaceholder: 'Required, please enter coupon',
shopId: 'Shop',
shopIdPlaceholder: 'Required, please enter shop ID',
couponName: 'Coupon Name',
couponNamePlaceholder: 'Required, please enter coupon name',
actualPrice: 'Face Value',
actualPricePlaceholder: 'Required, please enter face value',
buyPrice: 'Purchase Price',
buyPricePlaceholder: 'Required, please enter purchase price',
amount: 'Payment Amount',
amountPlaceholder: 'Required, please enter payment amount',
buyCount: 'Purchase Quantity',
buyCountPlaceholder: 'Required, please enter purchase quantity',
validityDay: 'Validity Period',
validityDayPlaceholder: 'Required, please enter validity period',
success: 'Added successfully'
},
edit: {
title: 'Edit Merchant Purchase Record',
poolId: 'Coupon',
poolIdPlaceholder: 'Required, please enter coupon',
shopId: 'Shop',
shopIdPlaceholder: 'Required, please enter shop ID',
couponName: 'Coupon Name',
couponNamePlaceholder: 'Required, please enter coupon name',
actualPrice: 'Face Value',
actualPricePlaceholder: 'Required, please enter face value',
buyPrice: 'Purchase Price',
buyPricePlaceholder: 'Required, please enter purchase price',
amount: 'Payment Amount',
amountPlaceholder: 'Required, please enter payment amount',
buyCount: 'Purchase Quantity',
buyCountPlaceholder: 'Required, please enter purchase quantity',
validityDay: 'Validity Period',
validityDayPlaceholder: 'Required, please enter validity period',
success: 'Updated successfully'
},
delete: {
title: 'Confirm Operation',
confirm: 'Are you sure to delete this merchant purchase record?',
success: 'Deleted successfully'
},
validate: {
detailIdRequired: 'Detail ID is required',
poolIdRequired: 'Coupon is required',
poolIdMaxLength: 'Coupon cannot exceed 30 characters',
shopIdRequired: 'Shop ID is required',
shopIdMaxLength: 'Shop ID cannot exceed 30 characters',
couponNameRequired: 'Coupon name is required',
couponNameMaxLength: 'Coupon name cannot exceed 64 characters',
actualPriceRequired: 'Face value is required',
actualPriceNumber: 'Face value must be a number',
buyPriceRequired: 'Purchase price is required',
buyPriceNumber: 'Purchase price must be a number',
amountRequired: 'Payment amount is required',
amountNumber: 'Payment amount must be a number',
buyCountRequired: 'Purchase quantity is required',
buyCountNumber: 'Purchase quantity must be a number',
validityDayRequired: 'Validity period is required',
validityDayNumber: 'Validity period must be a number'
},
fetchError: 'Failed to fetch coupon details'
}
},
zh: {
couponDetailManage: {
search: {
title: '查询条件',
poolId: '请输入优惠券',
shopId: '请输入店铺ID'
},
list: {
title: '商家购买记录'
},
table: {
detailId: '商家购买记录表ID',
shopName: '店铺',
couponName: '优惠券名称',
actualPrice: '面值',
buyPrice: '购买价格',
amount: '付款金额',
buyCount: '购买数量',
validityDay: '有效期'
},
add: {
title: '添加商家购买记录表',
poolId: '优惠券',
poolIdPlaceholder: '必填,请填写优惠券',
shopId: '店铺',
shopIdPlaceholder: '必填,请填写店铺ID',
couponName: '优惠券名称',
couponNamePlaceholder: '必填,请填写优惠券名称',
actualPrice: '面值',
actualPricePlaceholder: '必填,请填写面值',
buyPrice: '购买价格',
buyPricePlaceholder: '必填,请填写购买价格',
amount: '付款金额',
amountPlaceholder: '必填,请填写付款金额',
buyCount: '购买数量',
buyCountPlaceholder: '必填,请填写购买数量',
validityDay: '有效期',
validityDayPlaceholder: '必填,请填写有效期',
success: '添加成功'
},
edit: {
title: '修改商家购买记录表',
poolId: '优惠券',
poolIdPlaceholder: '必填,请填写优惠券',
shopId: '店铺',
shopIdPlaceholder: '必填,请填写店铺ID',
couponName: '优惠券名称',
couponNamePlaceholder: '必填,请填写优惠券名称',
actualPrice: '面值',
actualPricePlaceholder: '必填,请填写面值',
buyPrice: '购买价格',
buyPricePlaceholder: '必填,请填写购买价格',
amount: '付款金额',
amountPlaceholder: '必填,请填写付款金额',
buyCount: '购买数量',
buyCountPlaceholder: '必填,请填写购买数量',
validityDay: '有效期',
validityDayPlaceholder: '必填,请填写有效期',
success: '修改成功'
},
delete: {
title: '请确认您的操作',
confirm: '确定删除商家购买记录',
success: '删除成功'
},
validate: {
detailIdRequired: '记录ID不能为空',
poolIdRequired: '优惠券不能为空',
poolIdMaxLength: '优惠券不能超过30',
shopIdRequired: '店铺ID不能为空',
shopIdMaxLength: '店铺ID不能超过30',
couponNameRequired: '优惠券名称不能为空',
couponNameMaxLength: '优惠券名称不能超过64',
actualPriceRequired: '面值不能为空',
actualPriceNumber: '面值必须是数字',
buyPriceRequired: '购买价格不能为空',
buyPriceNumber: '购买价格必须是数字',
amountRequired: '付款金额不能为空',
amountNumber: '付款金额必须是数字',
buyCountRequired: '购买数量不能为空',
buyCountNumber: '购买数量必须是数字',
validityDayRequired: '有效期不能为空',
validityDayNumber: '有效期必须是数字'
},
fetchError: '获取优惠券详情失败'
}
}
}