doctor-admin-components 1.0.13-beta.4 → 1.0.13-beta.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -7
- package/package.json +1 -1
- package/packages/index.js +4 -0
- package/packages/src/api/biz/bizContract.js +963 -1
- package/packages/src/api/biz/bizContractCompany.js +1 -1
- package/packages/src/assets/images/click-show-table.png +0 -0
- package/packages/src/assets/images/more.png +0 -0
- package/packages/src/assets/images/pdf-new.png +0 -0
- package/packages/src/components/FileUpload/contract-drag-new.vue +89 -8
- package/packages/src/i18n/en/message.json +259 -0
- package/packages/src/i18n/index.js +38 -0
- package/packages/src/i18n/zh-CN/message.json +259 -0
- package/packages/src/utils/index.js +35 -0
- package/packages/src/utils/request.js +120 -146
- package/packages/src/views/biz/bizFileInfo/PAYMENT_VOUCHER(/"payment_voucher/", /"/344/273/230/346/254/276/345/207/255/350/257/201.ini" +222 -0
- package/packages/src/views/biz/bizFileInfo/contract copy.vue +1711 -0
- package/packages/src/views/biz/bizFileInfo/contract.vue +1591 -967
- package/packages/src/views/biz/bizFileInfo/contractFile/BillOfLadingNoTab.vue +114 -0
- package/packages/src/views/biz/bizFileInfo/contractFile/ContentTitle.vue +102 -0
- package/packages/src/views/biz/bizFileInfo/contractFile/IMGPreviewCheckBox.vue +280 -0
- package/packages/src/views/biz/bizFileInfo/contractFile/Progress.vue +84 -0
- package/packages/src/views/biz/bizFileInfo/contractFile/ProgressDetail.vue +122 -0
- package/packages/src/views/biz/bizFileInfo/contractFile/SectionSlot.vue +83 -0
- package/packages/src/views/biz/bizFileInfo/fileShow copy.vue +321 -0
- package/packages/src/views/biz/bizFileInfo/fileShow.vue +178 -130
- package/packages/src/views/biz/bizFileInfo/fileShowClaim.vue +1 -1
- package/packages/src/views/biz/bizShipment/add.vue +111 -66
- package/packages/src/views/biz/contractTracing/addSubCompany.vue +106 -169
- package/packages/src/views/biz/contractTracing/billInfo.vue +150 -315
- package/packages/src/views/biz/contractTracing/contractPdf.vue +31 -20
- package/packages/src/views/biz/contractTracing/contractSummary.vue +286 -629
- package/packages/src/views/biz/contractTracing/contractTracingDetail copy.vue +107 -0
- package/packages/src/views/biz/contractTracing/contractTracingDetail.vue +202 -8
- package/packages/src/views/biz/contractTracing/editBill.vue +219 -359
- package/packages/src/views/biz/contractTracing/purchaseInvoiceUpload.vue +91 -3
- package/packages/src/views/biz/contractTracing/shipmentPurchaseAmount.vue +8 -2
- package/packages/src/views/biz/contractTracing/subCompanyDialog.vue +196 -176
- package/packages/src/views/biz/contractTracing/association.vue +0 -189
- package/packages/src/views/biz/contractTracing/chargingDialog.vue +0 -84
- package/packages/src/views/biz/contractTracing/contract.vue +0 -1276
- package/packages/src/views/biz/contractTracing/disputeRecord.vue +0 -311
- package/packages/src/views/biz/contractTracing/edit.vue +0 -205
- package/packages/src/views/biz/contractTracing/sendDrafEmail.vue +0 -120
- package/packages/src/views/biz/contractTracing/shipment.vue +0 -601
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="upload-file">
|
|
2
|
+
<div class="upload-file" :style="photos && 'width:115px'">
|
|
3
3
|
<el-upload
|
|
4
4
|
action
|
|
5
5
|
:before-upload="handleBeforeUpload"
|
|
@@ -8,13 +8,23 @@
|
|
|
8
8
|
:on-exceed="handleExceed"
|
|
9
9
|
:show-file-list="false"
|
|
10
10
|
drag
|
|
11
|
-
class="upload-file-uploader"
|
|
11
|
+
:class="['upload-file-uploader', photos ? 'photos-uploader' : '']"
|
|
12
12
|
ref="upload"
|
|
13
13
|
multiple
|
|
14
14
|
>
|
|
15
15
|
<!-- 上传按钮 -->
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
|
|
17
|
+
<div v-if="photos" class="photos">
|
|
18
|
+
<i class="el-icon-upload"></i>
|
|
19
|
+
<span>上传<span style="margin-top:10px">{{ photosStr }}</span></span>
|
|
20
|
+
</div>
|
|
21
|
+
<div v-else>
|
|
22
|
+
<div class="el-upload__text">将文件拖拽到此处上传</div>
|
|
23
|
+
<div class="upload-button">
|
|
24
|
+
<i class="el-icon-upload"></i>
|
|
25
|
+
<span>上传<span class="name-size">{{ uploadNameStr }}</span></span>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
18
28
|
<!-- 上传提示 -->
|
|
19
29
|
<div class="el-upload__tip" slot="tip" v-if="showTip">
|
|
20
30
|
请上传
|
|
@@ -79,6 +89,18 @@ export default {
|
|
|
79
89
|
type: Boolean,
|
|
80
90
|
default: false,
|
|
81
91
|
},
|
|
92
|
+
uploadNameStr: {
|
|
93
|
+
type: String,
|
|
94
|
+
default: '文件',
|
|
95
|
+
},
|
|
96
|
+
photos: {
|
|
97
|
+
type: Boolean,
|
|
98
|
+
default: false,
|
|
99
|
+
},
|
|
100
|
+
photosStr: {
|
|
101
|
+
type: String,
|
|
102
|
+
default: '装箱照片',
|
|
103
|
+
},
|
|
82
104
|
},
|
|
83
105
|
data() {
|
|
84
106
|
return {
|
|
@@ -189,10 +211,34 @@ export default {
|
|
|
189
211
|
|
|
190
212
|
<style scoped lang="scss">
|
|
191
213
|
::v-deep .el-upload-dragger {
|
|
192
|
-
width:
|
|
214
|
+
width: 300px;
|
|
193
215
|
height: 80px;
|
|
216
|
+
display: flex;
|
|
217
|
+
flex-direction: column;
|
|
218
|
+
justify-content: center;
|
|
219
|
+
align-items: center;
|
|
220
|
+
border: 1px dashed #54B8FF;
|
|
221
|
+
}
|
|
222
|
+
.photos-uploader {
|
|
223
|
+
::v-deep .el-upload-dragger {
|
|
224
|
+
width: 100px;
|
|
225
|
+
height: 100px;
|
|
226
|
+
display: flex;
|
|
227
|
+
flex-direction: column;
|
|
228
|
+
justify-content: center;
|
|
229
|
+
align-items: center;
|
|
230
|
+
border: 1px dashed #54B8FF;
|
|
231
|
+
.is-dragover {
|
|
232
|
+
background-color: #54B8FF;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
::v-deep .is-dragover {
|
|
237
|
+
background-color: #54B8FF;
|
|
194
238
|
}
|
|
239
|
+
|
|
195
240
|
.upload-file {
|
|
241
|
+
margin-top: 10px;
|
|
196
242
|
width: 140px;
|
|
197
243
|
display: flex;
|
|
198
244
|
}
|
|
@@ -215,9 +261,44 @@ export default {
|
|
|
215
261
|
margin-right: 10px;
|
|
216
262
|
}
|
|
217
263
|
.el-upload-dragger .el-icon-upload {
|
|
218
|
-
font-size:
|
|
219
|
-
color: #
|
|
220
|
-
margin:
|
|
264
|
+
font-size: 22px;
|
|
265
|
+
color: #fff;
|
|
266
|
+
margin:0;
|
|
221
267
|
line-height: 50px;
|
|
222
268
|
}
|
|
269
|
+
.photos {
|
|
270
|
+
display: flex;
|
|
271
|
+
flex-direction: column;
|
|
272
|
+
align-items: center;
|
|
273
|
+
justify-content: center;
|
|
274
|
+
font-size:10px;
|
|
275
|
+
.el-icon-upload {
|
|
276
|
+
font-size: 36px;
|
|
277
|
+
color: #54B8FF;
|
|
278
|
+
line-height: 36px;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
.upload__text {
|
|
282
|
+
font-size: 10px;
|
|
283
|
+
}
|
|
284
|
+
.name-size {
|
|
285
|
+
font-size: 16px;
|
|
286
|
+
color: #fff;
|
|
287
|
+
font-weight:600;
|
|
288
|
+
}
|
|
289
|
+
.upload-button {
|
|
290
|
+
min-width: 114px;
|
|
291
|
+
margin-top:10px;
|
|
292
|
+
width:max-content;
|
|
293
|
+
display:flex;
|
|
294
|
+
padding:5px 10px;
|
|
295
|
+
justify-content: space-between;
|
|
296
|
+
align-items: center;
|
|
297
|
+
height: 26px;
|
|
298
|
+
background: #54B8FF;
|
|
299
|
+
color: #fff;
|
|
300
|
+
border-radius: 13px 13px 13px 13px;
|
|
301
|
+
text-align:center;
|
|
302
|
+
line-height: 26px;
|
|
303
|
+
}
|
|
223
304
|
</style>
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contract": {
|
|
3
|
+
"Claim_ID": "Claim ID",
|
|
4
|
+
"Claim_Type": "Claim type",
|
|
5
|
+
"Claim_records": "Claim records",
|
|
6
|
+
"Claim_status": "Claim status",
|
|
7
|
+
"Quality_Feedback": "Quality Feedback",
|
|
8
|
+
"Track_Shipment": "Track Shipment",
|
|
9
|
+
"View": "View",
|
|
10
|
+
"address": "Address",
|
|
11
|
+
"billCargoName": "Bill of Lading Cargo Name",
|
|
12
|
+
"billInfo": "Bill of Lading Information",
|
|
13
|
+
"billTip": "Please confirm the Bill of Lading information.",
|
|
14
|
+
"bliRemark": "BLI remarks (commonly used)",
|
|
15
|
+
"commitTime": "Commit time",
|
|
16
|
+
"company": "company",
|
|
17
|
+
"companyAddress": "Company Address",
|
|
18
|
+
"companyName": "Company Name",
|
|
19
|
+
"companyTip": "The system will automatically populate information based on your selected company.",
|
|
20
|
+
"consignee": "Consignee",
|
|
21
|
+
"consigneeAddress": "Consignee Address",
|
|
22
|
+
"consigneeCompanyTitle": "Manage the consignee company",
|
|
23
|
+
"consigneeInfo": "Consignee Information",
|
|
24
|
+
"consigneeTip": "Please select the recipient company",
|
|
25
|
+
"contact": "Contacts",
|
|
26
|
+
"contactInfo": "Contact information",
|
|
27
|
+
"contract": "contract Company",
|
|
28
|
+
"shipperInfo": "Shipper information",
|
|
29
|
+
"contractInfo": "Contract Information",
|
|
30
|
+
"create_time": "Create time",
|
|
31
|
+
"destination": "port of destination:",
|
|
32
|
+
"disputeTip": "If you have any objections to any content of the contract, you can fill in and submit it here. After submitting, our staff will contact you within 48 hours.",
|
|
33
|
+
"disputeTitle": "Contract dispute(optional)",
|
|
34
|
+
"email": "Email",
|
|
35
|
+
"hsCode": "Hs Code",
|
|
36
|
+
"landline": "lanline",
|
|
37
|
+
"next": "Next ",
|
|
38
|
+
"noDisputes": "No disputes",
|
|
39
|
+
"notifier": "Notify",
|
|
40
|
+
"notifierAddress": "Notify Address",
|
|
41
|
+
"notifierCompanyTitle": "Manage the notifier company",
|
|
42
|
+
"notifierInfo": "Notify Information",
|
|
43
|
+
"option": "Option",
|
|
44
|
+
"otherInfo": "Other information",
|
|
45
|
+
"phoneNumber": "Phone Number",
|
|
46
|
+
"picture": "picture",
|
|
47
|
+
"preferred": "Preferred ",
|
|
48
|
+
"product": "Product",
|
|
49
|
+
"remark": "Remarks",
|
|
50
|
+
"selectCompany": "select",
|
|
51
|
+
"shippingMarks": "Shipping Marks",
|
|
52
|
+
"stepOne": "Step 1",
|
|
53
|
+
"stepOneTip": "Confirm contract company and contract terms",
|
|
54
|
+
"stepTwo": "Step 2",
|
|
55
|
+
"stepTwoTip": "Confirm bill of lading instructions",
|
|
56
|
+
"successTip": "Submitted successfully",
|
|
57
|
+
"successTip2": " Thank you for submitting your contract. Our logistics department will\n process it as soon as possible and will reach out if there are any\n questions or issues. Please monitor your email for any updates or required\n actions. We appreciate your cooperation and look forward to working\n together!",
|
|
58
|
+
"taxId": "Tax ID",
|
|
59
|
+
"telePhone": "TelePhone",
|
|
60
|
+
"terminal": "Terminal dock",
|
|
61
|
+
"tip1": "The buyer has not provided the required Bill of Lading information.\n",
|
|
62
|
+
"tip10": "Tax number cannot be empty",
|
|
63
|
+
"tip12": "Quantity not more than",
|
|
64
|
+
"tip13": "individual",
|
|
65
|
+
"tip2": "Once the buyer submits the Bill of Lading information, you will be able to view it at this location.",
|
|
66
|
+
"tip3": "Contract dispute cannot be empty",
|
|
67
|
+
"tip4": "Please upload",
|
|
68
|
+
"tip5": "File size is less than",
|
|
69
|
+
"tip6": "The file type is",
|
|
70
|
+
"tip7": "Company name cannot be empty",
|
|
71
|
+
"tip8": "The company address cannot be empty",
|
|
72
|
+
"tip9": "Email cannot be empty",
|
|
73
|
+
"withDispute": "With disputes",
|
|
74
|
+
"firstNotifier": "1st Notify Party",
|
|
75
|
+
"attachments": "attachment",
|
|
76
|
+
"tip14": "Click to upload",
|
|
77
|
+
"tip15": "Drag files here, or",
|
|
78
|
+
"secondNotifier": "2st Notify Party",
|
|
79
|
+
"shipper": "Shipper",
|
|
80
|
+
"shipperAddress": "Shipper's address",
|
|
81
|
+
"terminalTip": "If you need to ship to the designated terminal dock, please add it here.",
|
|
82
|
+
"shippingMarksTip": "Please enter the shipping mark",
|
|
83
|
+
"remarkTip": "Please enter a note"
|
|
84
|
+
},
|
|
85
|
+
"contractDetail": {
|
|
86
|
+
"BLCopy": "Original BL",
|
|
87
|
+
"Claim_completion": "Claim completion",
|
|
88
|
+
"Claim_documents": "Claim documents",
|
|
89
|
+
"Contract_No": "Contract No.",
|
|
90
|
+
"Contract_Status": "Contract Status",
|
|
91
|
+
"Credit_Note": "Credit Note",
|
|
92
|
+
"BL_No": "BL:",
|
|
93
|
+
"Debit_Note": "Debit Note",
|
|
94
|
+
"Deposit": "Deposit",
|
|
95
|
+
"Deposit_Paid": "Deposit Paid",
|
|
96
|
+
"Deposit_Unpaid": "Deposit Unpaid",
|
|
97
|
+
"Final_payment": "Final payment",
|
|
98
|
+
"reference_invince": "Reference purchase invoice",
|
|
99
|
+
"select_receive_buyer": "Please select the receiving buyer first",
|
|
100
|
+
"select_receive_buyer_tips": "Please select a buyer below who you need to ship to",
|
|
101
|
+
"Payment_receipt": "Payment receipt",
|
|
102
|
+
"please_waiting": "Please waiting",
|
|
103
|
+
"view_history": "View historical version",
|
|
104
|
+
"Pending_Confirmation": "Pending Confirmation",
|
|
105
|
+
"askId": "Associated ASK ID",
|
|
106
|
+
"askName": "ASK Name",
|
|
107
|
+
"askOverview": "ASK Overview",
|
|
108
|
+
"update_after_shipping": " will be updated after the seller has shipped",
|
|
109
|
+
"billOfLadingNo": "BL LadingNO.",
|
|
110
|
+
"billTo": "Bill To",
|
|
111
|
+
"ship_create_tips": "Are you sure to directly generate shipment? Please note that the deposit invoice for this contract has not been generated or has been generated but not received. Please confirm the relevant situation first!",
|
|
112
|
+
"blInfo": "BL instruction",
|
|
113
|
+
"blInfo_unconfirm": "BL instruction to be confirmed",
|
|
114
|
+
"bookingConfirmation": "Booking Confirmation",
|
|
115
|
+
"withdraw_sign": "Withdraw Signed",
|
|
116
|
+
"withdraw_sign_success": "Withdraw signed successfully",
|
|
117
|
+
"invoice_list": "Invoice List",
|
|
118
|
+
"categoryName": "Category",
|
|
119
|
+
"chargingStatus": "Telex Release Status",
|
|
120
|
+
"closeInvoiceInfo": "Collapse invoice information",
|
|
121
|
+
"commodityInfo": "Commodity Information",
|
|
122
|
+
"commodityPicture": "Commodity Pictures",
|
|
123
|
+
"conrainerNo": "Container NO.",
|
|
124
|
+
"contractInfoConfirm": "Contract Information",
|
|
125
|
+
"contractNo": "Contract number",
|
|
126
|
+
"contractStatus": "Contract Status",
|
|
127
|
+
"dealSummary": "Summary of Deals",
|
|
128
|
+
"dealTime": "Deal Time",
|
|
129
|
+
"delete": "delete",
|
|
130
|
+
"deleteAndUpload": "Delete and re upload",
|
|
131
|
+
"deposit": "Deposit",
|
|
132
|
+
"depositInvoice": "Deposit Invoice",
|
|
133
|
+
"deposit_unpaid": "Deposit Unpaid",
|
|
134
|
+
"identification_summary": "Identification Summary",
|
|
135
|
+
"edit_shipment": "Edit Shipment",
|
|
136
|
+
"upload_by": "Uploaded on ",
|
|
137
|
+
"share": "Share",
|
|
138
|
+
"select_all":"Select All",
|
|
139
|
+
"deposit_unreceipt": "Payment voucher to be provided",
|
|
140
|
+
"depositPaid": "Deposit Paid",
|
|
141
|
+
"depositRemittanceReceipt": "Deposit Remittance Receipt/Swift",
|
|
142
|
+
"description": "Description",
|
|
143
|
+
"destination": "Port",
|
|
144
|
+
"download": "download",
|
|
145
|
+
"downloadZip": "Batch Download",
|
|
146
|
+
"draftBillOfLading": "Draft BL",
|
|
147
|
+
"draftBillOfLading_confirm_success": "Draft BL comfirmed successfully",
|
|
148
|
+
"edit": "Edit",
|
|
149
|
+
"BLConfirm": "B/L Instruction",
|
|
150
|
+
"BL_Not_Confirm": "Buyer Not Confirmed",
|
|
151
|
+
"BL_Confirmed": "Buyer Confirmed",
|
|
152
|
+
"BL_info_confirmed": "BL information confirmed",
|
|
153
|
+
"bl_draft_confirm": "Confirmed BL Draft",
|
|
154
|
+
"editBLInformation": "Edit BL information",
|
|
155
|
+
"fileManage": "File Management",
|
|
156
|
+
"fileNmae": "file name",
|
|
157
|
+
"finalPaymentMemo": "Final Payment Remittance Receipt",
|
|
158
|
+
"finallyInvoice": "Final payment invoice",
|
|
159
|
+
"info": "Contract Details",
|
|
160
|
+
"invoiceDate": "Invoice Date",
|
|
161
|
+
"invoiceInfo": "Invoice Information",
|
|
162
|
+
"invoiceNo": "invoice NO.",
|
|
163
|
+
"invoiceSpecies": "Invoice Species",
|
|
164
|
+
"invoiceType": "Invoice Type",
|
|
165
|
+
"issuer": "Issuer",
|
|
166
|
+
"loadingCountry": "Loading Country/Region",
|
|
167
|
+
"no": "No",
|
|
168
|
+
"operate": "operation",
|
|
169
|
+
"originCountry": "Country of Origin",
|
|
170
|
+
"otherFile": "Other files",
|
|
171
|
+
"otherShipmentFile": "Other Shipping Documents",
|
|
172
|
+
"packaging": "Packaging",
|
|
173
|
+
"packingList": "Packing list",
|
|
174
|
+
"packingPhoto": "Photos of Packing",
|
|
175
|
+
"paymentTerms": "PaymentTerms",
|
|
176
|
+
"paymentType": "Payment Type",
|
|
177
|
+
"payment_voucher": "payment voucher",
|
|
178
|
+
"preferredQuoteMethod": "Preferred Quote Method",
|
|
179
|
+
"preview": "Preview",
|
|
180
|
+
"purchaseContract": "Purchase contract",
|
|
181
|
+
"quotePrice": "Buyer Price/MT",
|
|
182
|
+
"quoteType": "QuotationType",
|
|
183
|
+
"relatedContract": "Related contract",
|
|
184
|
+
"remark": "Remarks",
|
|
185
|
+
"saleContract": "Sales Contract",
|
|
186
|
+
"saleFinallyInvoice": "Fixed Invoice",
|
|
187
|
+
"normalFinallyInvoice": "Fixed Invoice",
|
|
188
|
+
"sellerFinallyInvoice": "Seller purchase invoice",
|
|
189
|
+
"uploadPurchaseInvoice": "Upload Purchase Invoice",
|
|
190
|
+
"saleTemporaryFinallyInvoice": "Provision Invoice",
|
|
191
|
+
"sellerPrice": "Seller Price/MT",
|
|
192
|
+
"shipmentDays": "Shipment Date",
|
|
193
|
+
"shipmentStatus": "Shipping Status",
|
|
194
|
+
"shipping": "Shipping",
|
|
195
|
+
"shipment": "Shipment",
|
|
196
|
+
"contract": "Contract",
|
|
197
|
+
"receiving": "Receiving",
|
|
198
|
+
"progress": "Progress",
|
|
199
|
+
"signContract": "Signed Contract",
|
|
200
|
+
"signContract_success": "Signed contract successfully",
|
|
201
|
+
"release_success": "Telex release successfully",
|
|
202
|
+
"drag_and_upload": "Drag and drop the file here to upload",
|
|
203
|
+
"upload": "Upload ",
|
|
204
|
+
"signPuchaseContract": "Sign back the puchase contract",
|
|
205
|
+
"signSaleContract": "Sign back the sales contract",
|
|
206
|
+
"signed": "Signed",
|
|
207
|
+
|
|
208
|
+
"containers_shipped":" containers to be shipped",
|
|
209
|
+
"packinglist_true": "Packing List updated",
|
|
210
|
+
"packinglist_false": "Shipping docs-Packing list to be updated",
|
|
211
|
+
"balance_invoice_true": "Invoice and Packing List updated",
|
|
212
|
+
"balance_invoice_false": "Balance Invoice to be updated",
|
|
213
|
+
"container_photos_true": "Packing photos updated",
|
|
214
|
+
"container_photos_false": "Shipping docs-Shipping photos to be updated",
|
|
215
|
+
"draftBl_true": "Draft BL updated",
|
|
216
|
+
"draftBl_false": "Shipping docs-Draft BL to be updated",
|
|
217
|
+
"draftBl_buyer_confirm_true": "Draft BL confirmed",
|
|
218
|
+
"draftBl_buyer_confirm_false": "Draft BL to be confirmed",
|
|
219
|
+
"balancePartPaid_true": "Final Payment partially paid",
|
|
220
|
+
"balancePartPaid_false": "Balance Invoice to be paid",
|
|
221
|
+
"balancePaid_true": "Final Payment paid",
|
|
222
|
+
"balancePaid_false": "Balance Invoice to be paid",
|
|
223
|
+
"releasedTelex_true": "Released/ Telxed the BL",
|
|
224
|
+
"releasedTelex_false": "Release /Telxed BL to be done",
|
|
225
|
+
"claiming": "Claiming",
|
|
226
|
+
"claiming_update": "Claiming-CN/DN issued",
|
|
227
|
+
"claiming_closed": "Claim closed",
|
|
228
|
+
"draftContract_unsend": "Draft contract to be sent out",
|
|
229
|
+
"bl_confirm_true": "BL Instruction confirmed",
|
|
230
|
+
"bl_confirm_false": "BL Instruction to be confirmed",
|
|
231
|
+
"contract_send_true": "Formal Contract have been sent out",
|
|
232
|
+
"contract_send_false": "Formal contract to be sent out",
|
|
233
|
+
"contract_signback_true": "Signed Contract has been signed back",
|
|
234
|
+
"contract_signback_false": "Formal contract to be signed back",
|
|
235
|
+
"depositPaid_true": "Deposit paid",
|
|
236
|
+
"depositPaid_false": "Deposit to be paid",
|
|
237
|
+
|
|
238
|
+
"no_files": "There are currently no files",
|
|
239
|
+
"add_success": "Successfully added",
|
|
240
|
+
"has_copy": "Copied to clipboard",
|
|
241
|
+
"subCategory": "SubCategory",
|
|
242
|
+
"summary": "Order Overview",
|
|
243
|
+
"swift": "swift",
|
|
244
|
+
"tip1": "Delivery within ",
|
|
245
|
+
"tip2": " days after transaction",
|
|
246
|
+
"tip3": "Origin Certificate Provided",
|
|
247
|
+
"tip4": "Responsible for Customs Rejection",
|
|
248
|
+
"tip5": "Shipment",
|
|
249
|
+
"tip6": "Release BL Or Other Documents",
|
|
250
|
+
"tip7": "Release Order",
|
|
251
|
+
"tip8": "Completion of contract performance",
|
|
252
|
+
"totalQuote": "Total Price/MT",
|
|
253
|
+
"viewPaymentInfo": "View payment information",
|
|
254
|
+
"voided": "Voided",
|
|
255
|
+
"voucherOrReceipt": "Voucher/Receipt",
|
|
256
|
+
"weight": "weight(MT)",
|
|
257
|
+
"yes": "Yes"
|
|
258
|
+
}
|
|
259
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Author: zhangpengwei 15038779532@163.com
|
|
3
|
+
* @Date: 2023-08-08 15:48:42
|
|
4
|
+
* @LastEditors: zhangpengwei@1338418459736990.onaliyun.com zhangpengwei@1338418459736990.onaliyun.com
|
|
5
|
+
* @LastEditTime: 2024-03-29 15:18:51
|
|
6
|
+
* @FilePath: /recycle-vue-ui再生博士后台管理/src/i18n/index.js
|
|
7
|
+
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
|
+
*/
|
|
9
|
+
// index.js
|
|
10
|
+
import Vue from 'vue'
|
|
11
|
+
import VueI18n from 'vue-i18n'
|
|
12
|
+
import Cookies from 'js-cookie'
|
|
13
|
+
import locale from 'element-ui/lib/locale'
|
|
14
|
+
import en from './en'
|
|
15
|
+
import zh_CN from './zh-CN'
|
|
16
|
+
import moment from 'moment'
|
|
17
|
+
|
|
18
|
+
export const defaultLang = 'zh-CN'
|
|
19
|
+
|
|
20
|
+
Vue.use(VueI18n)
|
|
21
|
+
|
|
22
|
+
const i18n = new VueI18n({
|
|
23
|
+
// 设置语言 选项 en | zh
|
|
24
|
+
locale: Cookies.get('language') || defaultLang,
|
|
25
|
+
// 设置文本内容
|
|
26
|
+
messages: {
|
|
27
|
+
en,
|
|
28
|
+
'zh-CN': zh_CN
|
|
29
|
+
}
|
|
30
|
+
})
|
|
31
|
+
|
|
32
|
+
export function loadLanguageAsync(lang = defaultLang) {
|
|
33
|
+
moment.locale(lang)
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
locale.i18n((key, value) => i18n.t(key, value))
|
|
37
|
+
|
|
38
|
+
export default i18n
|