doctor-admin-components 1.0.13-pro.1 → 1.0.14-beta.10
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 +15 -2
- package/package.json +1 -1
- package/packages/index.js +16 -1
- package/packages/src/api/biz/bizContract.js +1005 -0
- package/packages/src/api/biz/bizFileInfo.js +16 -0
- package/packages/src/api/biz/bizInvoice.js +1 -1
- package/packages/src/api/biz/bizShipment.js +38 -0
- 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/DictTag/index.vue +12 -2
- package/packages/src/components/FileUpload/contract-drag-new.vue +100 -11
- package/packages/src/i18n/en/message.json +305 -0
- package/packages/src/i18n/index.js +38 -0
- package/packages/src/i18n/zh-CN/message.json +305 -0
- package/packages/src/index.js +24 -1
- package/packages/src/utils/MycommonUtil.js +12 -0
- package/packages/src/utils/index.js +35 -0
- 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 +1925 -1019
- package/packages/src/views/biz/bizFileInfo/contractFile/BillOfLadingNoTab.vue +116 -0
- package/packages/src/views/biz/bizFileInfo/contractFile/ContentTitle.vue +102 -0
- package/packages/src/views/biz/bizFileInfo/contractFile/IMGPreviewCheckBox.vue +324 -0
- package/packages/src/views/biz/bizFileInfo/contractFile/Progress.vue +85 -0
- package/packages/src/views/biz/bizFileInfo/contractFile/ProgressDetail.vue +123 -0
- package/packages/src/views/biz/bizFileInfo/contractFile/SectionSlot.vue +91 -0
- package/packages/src/views/biz/bizFileInfo/contractFile/ShowAndHide.vue +178 -0
- package/packages/src/views/biz/bizFileInfo/fileShow copy.vue +321 -0
- package/packages/src/views/biz/bizFileInfo/fileShow.vue +152 -48
- package/packages/src/views/biz/bizFileInfo/fileShowClaim.vue +1 -1
- package/packages/src/views/biz/bizShipment/add.vue +178 -29
- package/packages/src/views/biz/bizShipment/referenceAlert.vue +168 -0
- package/packages/src/views/biz/contractTracing/billInfo.vue +64 -40
- package/packages/src/views/biz/contractTracing/companyBanks.vue +228 -0
- package/packages/src/views/biz/contractTracing/contractInfo.vue +1 -1
- package/packages/src/views/biz/contractTracing/contractPdf.vue +10 -5
- package/packages/src/views/biz/contractTracing/contractSummary.vue +31 -19
- package/packages/src/views/biz/contractTracing/contractTracingDetail copy.vue +107 -0
- package/packages/src/views/biz/contractTracing/contractTracingDetail.vue +209 -31
- package/packages/src/views/biz/contractTracing/editBill.vue +22 -9
- package/packages/src/views/biz/contractTracing/purchaseInvoiceUpload.vue +153 -7
- package/packages/src/views/biz/contractTracing/shipmentPurchaseAmount.vue +14 -0
- package/packages/src/views/biz/contractTracing/subCompanyDialog.vue +8 -2
- package/packages/src/views/components/RegionPicker/Distpicker.vue +459 -0
- package/packages/src/views/components/RegionPicker/districts.js +4641 -0
- package/packages/src/views/test.vue +3 -3
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Author: zhangpengwei@1338418459736990.onaliyun.com zhangpengwei@1338418459736990.onaliyun.com
|
|
3
|
+
* @Date: 2022-10-08 10:03:50
|
|
4
|
+
* @LastEditors: zhangpengwei@1338418459736990.onaliyun.com zhangpengwei@1338418459736990.onaliyun.com
|
|
5
|
+
* @LastEditTime: 2024-04-12 14:41:50
|
|
6
|
+
* @FilePath: /doctor-admin-components 公共组件/packages/src/api/biz/bizFileInfo.js
|
|
7
|
+
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
|
+
*/
|
|
1
9
|
import request from '../../utils/request'
|
|
2
10
|
|
|
3
11
|
// 查询文件信息列表
|
|
@@ -50,4 +58,12 @@ export function exportBizFileInfo(query) {
|
|
|
50
58
|
method: 'get',
|
|
51
59
|
params: query
|
|
52
60
|
})
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// 草稿提单撤回
|
|
64
|
+
export function shipmentWithDrawDraftBill({shipmentId}) {
|
|
65
|
+
return request({
|
|
66
|
+
url: `/biz/shipment/withdrawDraftBl/${shipmentId}`,
|
|
67
|
+
method: "get"
|
|
68
|
+
});
|
|
53
69
|
}
|
|
@@ -60,6 +60,15 @@ export function addWithContainer(data) {
|
|
|
60
60
|
})
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
+
// 装运校验: 传提单号和订舱号
|
|
64
|
+
export function addContainerCheck(data) {
|
|
65
|
+
return request({
|
|
66
|
+
url: '/biz/shipment/checkShipment',
|
|
67
|
+
method: 'post',
|
|
68
|
+
data: data
|
|
69
|
+
})
|
|
70
|
+
}
|
|
71
|
+
|
|
63
72
|
// 修改装运
|
|
64
73
|
export function updateBizShipment(data) {
|
|
65
74
|
return request({
|
|
@@ -118,3 +127,32 @@ export function getByContractId(contractId) {
|
|
|
118
127
|
method: 'get'
|
|
119
128
|
})
|
|
120
129
|
}
|
|
130
|
+
|
|
131
|
+
// 查询作废的装运销售合同列表
|
|
132
|
+
export function haveVoidShipment(contractId) {
|
|
133
|
+
return request({
|
|
134
|
+
url: '/biz/contract/haveVoidShipment/' + contractId,
|
|
135
|
+
method: 'get',
|
|
136
|
+
params: {}
|
|
137
|
+
})
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// 保存草稿
|
|
141
|
+
export function saveDraft(data) {
|
|
142
|
+
return request({
|
|
143
|
+
url: '/biz/shipment/saveDraft',
|
|
144
|
+
method: 'post',
|
|
145
|
+
data
|
|
146
|
+
})
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// 保存草稿
|
|
150
|
+
export function getDraft(contractId) {
|
|
151
|
+
return request({
|
|
152
|
+
url: '/biz/shipment/getDraft',
|
|
153
|
+
method: 'get',
|
|
154
|
+
params: {
|
|
155
|
+
contractId
|
|
156
|
+
}
|
|
157
|
+
})
|
|
158
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -35,6 +35,11 @@ export default {
|
|
|
35
35
|
default: null,
|
|
36
36
|
},
|
|
37
37
|
value: [Number, String, Array],
|
|
38
|
+
// 自定义拼接字符
|
|
39
|
+
appendCallback: {
|
|
40
|
+
type: Function,
|
|
41
|
+
default: null
|
|
42
|
+
}
|
|
38
43
|
},
|
|
39
44
|
computed: {
|
|
40
45
|
values() {
|
|
@@ -51,8 +56,13 @@ export default {
|
|
|
51
56
|
},
|
|
52
57
|
methods: {
|
|
53
58
|
getName(item) {
|
|
54
|
-
|
|
55
|
-
|
|
59
|
+
var str = this.isChina ? item?.label : item?.raw?.dictLabelEn
|
|
60
|
+
var append = this.appendCallback ? this.appendCallback() : null
|
|
61
|
+
if (append) {
|
|
62
|
+
str += append
|
|
63
|
+
}
|
|
64
|
+
return str
|
|
65
|
+
}
|
|
56
66
|
},
|
|
57
67
|
};
|
|
58
68
|
</script>
|
|
@@ -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>{{ $t('contractDetail.upload') }}<span style="margin-top:10px">{{ photosStr1 }}</span></span>
|
|
20
|
+
</div>
|
|
21
|
+
<div v-else>
|
|
22
|
+
<div class="el-upload__text">{{ $t('contractDetail.tip15') }}</div>
|
|
23
|
+
<div class="upload-button">
|
|
24
|
+
<i class="el-icon-upload"></i>
|
|
25
|
+
<span>{{ $t('contractDetail.upload') }}<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
|
请上传
|
|
@@ -37,7 +47,7 @@ import { v2Upload } from '../../api/biz/file';
|
|
|
37
47
|
import { Loading } from 'element-ui';
|
|
38
48
|
// import { v2Upload } from "@/api/biz/file";
|
|
39
49
|
export default {
|
|
40
|
-
name: '
|
|
50
|
+
name: 'ContractFileDragUpload',
|
|
41
51
|
props: {
|
|
42
52
|
// 值
|
|
43
53
|
value: [String, Object, Array],
|
|
@@ -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 {
|
|
@@ -92,6 +114,7 @@ export default {
|
|
|
92
114
|
uploadStatus: null, // 进度条上传状态
|
|
93
115
|
percentage: 0, // 进度条百分比
|
|
94
116
|
uploadName: '', //Object所在Bucket的完整路径
|
|
117
|
+
photosStr1: '',
|
|
95
118
|
};
|
|
96
119
|
},
|
|
97
120
|
created() {
|
|
@@ -120,6 +143,13 @@ export default {
|
|
|
120
143
|
deep: true,
|
|
121
144
|
immediate: true,
|
|
122
145
|
},
|
|
146
|
+
photosStr: {
|
|
147
|
+
handler(val) {
|
|
148
|
+
this.photosStr1 = val || this.$t('contractDetail.packingPhoto');
|
|
149
|
+
},
|
|
150
|
+
deep: true,
|
|
151
|
+
immediate: true,
|
|
152
|
+
},
|
|
123
153
|
},
|
|
124
154
|
computed: {
|
|
125
155
|
// 是否显示提示
|
|
@@ -143,7 +173,7 @@ export default {
|
|
|
143
173
|
}
|
|
144
174
|
this.loading = Loading.service({
|
|
145
175
|
lock: true,
|
|
146
|
-
text: '
|
|
176
|
+
text: this.$t('contractDetail.uploadIng'),
|
|
147
177
|
background: 'rgba(0, 0, 0, 0.7)',
|
|
148
178
|
});
|
|
149
179
|
//走阿里云前端直接上传
|
|
@@ -166,7 +196,7 @@ export default {
|
|
|
166
196
|
//普通上传
|
|
167
197
|
async putObject() {
|
|
168
198
|
if (!this.file) {
|
|
169
|
-
this.$message.error('
|
|
199
|
+
this.$message.error(this.$t('contractDetail.please_select_file'));
|
|
170
200
|
return;
|
|
171
201
|
}
|
|
172
202
|
try {
|
|
@@ -189,10 +219,34 @@ export default {
|
|
|
189
219
|
|
|
190
220
|
<style scoped lang="scss">
|
|
191
221
|
::v-deep .el-upload-dragger {
|
|
192
|
-
width:
|
|
222
|
+
width: 300px;
|
|
193
223
|
height: 80px;
|
|
224
|
+
display: flex;
|
|
225
|
+
flex-direction: column;
|
|
226
|
+
justify-content: center;
|
|
227
|
+
align-items: center;
|
|
228
|
+
border: 1px dashed #54B8FF;
|
|
229
|
+
}
|
|
230
|
+
.photos-uploader {
|
|
231
|
+
::v-deep .el-upload-dragger {
|
|
232
|
+
width: 100px;
|
|
233
|
+
height: 100px;
|
|
234
|
+
display: flex;
|
|
235
|
+
flex-direction: column;
|
|
236
|
+
justify-content: center;
|
|
237
|
+
align-items: center;
|
|
238
|
+
border: 1px dashed #54B8FF;
|
|
239
|
+
.is-dragover {
|
|
240
|
+
background-color: #54B8FF;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
194
243
|
}
|
|
244
|
+
::v-deep .is-dragover {
|
|
245
|
+
background-color: #54B8FF;
|
|
246
|
+
}
|
|
247
|
+
|
|
195
248
|
.upload-file {
|
|
249
|
+
margin-top: 10px;
|
|
196
250
|
width: 140px;
|
|
197
251
|
display: flex;
|
|
198
252
|
}
|
|
@@ -215,9 +269,44 @@ export default {
|
|
|
215
269
|
margin-right: 10px;
|
|
216
270
|
}
|
|
217
271
|
.el-upload-dragger .el-icon-upload {
|
|
218
|
-
font-size:
|
|
219
|
-
color: #
|
|
220
|
-
margin:
|
|
272
|
+
font-size: 22px;
|
|
273
|
+
color: #fff;
|
|
274
|
+
margin:0;
|
|
221
275
|
line-height: 50px;
|
|
222
276
|
}
|
|
277
|
+
.photos {
|
|
278
|
+
display: flex;
|
|
279
|
+
flex-direction: column;
|
|
280
|
+
align-items: center;
|
|
281
|
+
justify-content: center;
|
|
282
|
+
font-size:10px;
|
|
283
|
+
.el-icon-upload {
|
|
284
|
+
font-size: 36px;
|
|
285
|
+
color: #54B8FF;
|
|
286
|
+
line-height: 36px;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
.upload__text {
|
|
290
|
+
font-size: 10px;
|
|
291
|
+
}
|
|
292
|
+
.name-size {
|
|
293
|
+
font-size: 16px;
|
|
294
|
+
color: #fff;
|
|
295
|
+
font-weight:600;
|
|
296
|
+
}
|
|
297
|
+
.upload-button {
|
|
298
|
+
min-width: 114px;
|
|
299
|
+
margin-top:10px;
|
|
300
|
+
width:max-content;
|
|
301
|
+
display:flex;
|
|
302
|
+
padding:5px 10px;
|
|
303
|
+
justify-content: space-between;
|
|
304
|
+
align-items: center;
|
|
305
|
+
height: 26px;
|
|
306
|
+
background: #54B8FF;
|
|
307
|
+
color: #fff;
|
|
308
|
+
border-radius: 13px 13px 13px 13px;
|
|
309
|
+
text-align:center;
|
|
310
|
+
line-height: 26px;
|
|
311
|
+
}
|
|
223
312
|
</style>
|
|
@@ -0,0 +1,305 @@
|
|
|
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
|
+
"Payable_Amount": "Payable Amount",
|
|
85
|
+
"Amount_Paid": "Amount Paid",
|
|
86
|
+
"Balance_Due": "Balance Due",
|
|
87
|
+
"Voided": "Voided"
|
|
88
|
+
},
|
|
89
|
+
"contractDetail": {
|
|
90
|
+
"Reference_No": "Reference No.",
|
|
91
|
+
"Deposit_invoice_to_be_provided": "Deposit invoice to be uploaded",
|
|
92
|
+
"tip": "Tip",
|
|
93
|
+
"Waiting_for_the_seller_to_ship": "Waiting for the seller to ship",
|
|
94
|
+
"Please_select_a_buyer_below_who_you_need_to_ship_to": "Please select a buyer below who you need to ship to",
|
|
95
|
+
"Please_select_the_receiving_buyer_first": "Please select the receiving buyer first",
|
|
96
|
+
"confirm": "Confirm",
|
|
97
|
+
"cancel": "Cancel",
|
|
98
|
+
"Draft_bill_of_lading_to_be_updated": "Draft bill of lading to be updated",
|
|
99
|
+
"Packing_list_to_be_updated": "Packing list to be updated",
|
|
100
|
+
"Generate_shipment": "Generate shipment",
|
|
101
|
+
"Deposit_received": "Deposit received",
|
|
102
|
+
"Deposit_invoice_to_be_uploaded": "Deposit invoice to be uploaded",
|
|
103
|
+
"Generate_deposit_invoice": "Generate deposit invoice",
|
|
104
|
+
"Payment_voucher": "Deposit Remittance Receipt/Swift",
|
|
105
|
+
"Please_enter_a_file_name": "Please enter a file name",
|
|
106
|
+
"rename": "Rename",
|
|
107
|
+
"tip15": "Drag and drop the files to upload",
|
|
108
|
+
"Final_payment_unpaid": "Final Payment Unpaid",
|
|
109
|
+
"Final_payment_voucher": "Remittance Voucher/Swift",
|
|
110
|
+
"final_payment_warning": "The system automatically calculates the reference final payment based on the weight x unit price minus deposit, which can be used to verify the invoice. Click on the blue font to view the system's data source details and modify the automatically calculated deduction deposit.",
|
|
111
|
+
"Copy_of_formal_bill_of_lading": "BL copy",
|
|
112
|
+
"Formal_bill_of_lading_copy_to_be_updated": "Formal bill of lading copy to be updated",
|
|
113
|
+
"Draft_bill_to_be_confirmed": "Draft bill of lading information to be confirmed",
|
|
114
|
+
"identify": "identify",
|
|
115
|
+
"claim": "Claim",
|
|
116
|
+
"Booking_information_to_be_updated": "Booking information to be updated",
|
|
117
|
+
"uploadIng": "Uploading",
|
|
118
|
+
"please_select_file": "Please select a file",
|
|
119
|
+
"Selected": "Selected",
|
|
120
|
+
"item": "",
|
|
121
|
+
"Download_All": "Download All",
|
|
122
|
+
"Delete_All": "Delete All",
|
|
123
|
+
"Deselect": "Deselect",
|
|
124
|
+
"BLCopy": "Original BL",
|
|
125
|
+
"loading": "Loading",
|
|
126
|
+
"Claim_completion": "Claim completion",
|
|
127
|
+
"Claim_documents": "Claim documents",
|
|
128
|
+
"Contract_No": "Contract No.",
|
|
129
|
+
"Contract_Status": "Contract Status",
|
|
130
|
+
"Credit_Note": "Credit Note",
|
|
131
|
+
"BL_No": "BL:",
|
|
132
|
+
"Debit_Note": "Debit Note",
|
|
133
|
+
"Deposit": "Deposit",
|
|
134
|
+
"Deposit_Paid": "Deposit Paid",
|
|
135
|
+
"Deposit_Unpaid": "Deposit Unpaid",
|
|
136
|
+
"Final_payment": "Final payment",
|
|
137
|
+
"reference_invince": "Reference purchase invoice",
|
|
138
|
+
"select_receive_buyer": "Please select the receiving buyer first",
|
|
139
|
+
"select_receive_buyer_tips": "Please select a buyer below who you need to ship to",
|
|
140
|
+
"Payment_receipt": "Payment receipt",
|
|
141
|
+
"please_waiting": "Please waiting",
|
|
142
|
+
"view_history": "View historical version",
|
|
143
|
+
"Pending_Confirmation": "Pending Confirmation",
|
|
144
|
+
"askId": "Associated ASK ID",
|
|
145
|
+
"askName": "ASK Name",
|
|
146
|
+
"askOverview": "ASK Overview",
|
|
147
|
+
"update_after_shipping": " will be updated after the seller has shipped",
|
|
148
|
+
"billOfLadingNo": "BL LadingNO.",
|
|
149
|
+
"billTo": "Bill To",
|
|
150
|
+
"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!",
|
|
151
|
+
"blInfo": "BL instruction",
|
|
152
|
+
"blInfo_unconfirm": "BL instruction to be confirmed",
|
|
153
|
+
"bookingConfirmation": "Booking Confirmation",
|
|
154
|
+
"withdraw_sign": "Withdraw Signed",
|
|
155
|
+
"withdraw_sign_success": "Withdraw signed successfully",
|
|
156
|
+
"invoice_list": "Invoice List",
|
|
157
|
+
"categoryName": "Category",
|
|
158
|
+
"chargingStatus": "Telex Release Status",
|
|
159
|
+
"closeInvoiceInfo": "Collapse invoice information",
|
|
160
|
+
"commodityInfo": "Commodity Information",
|
|
161
|
+
"commodityPicture": "Commodity Pictures",
|
|
162
|
+
"conrainerNo": "Container NO.",
|
|
163
|
+
"contractInfoConfirm": "Contract Information",
|
|
164
|
+
"contractNo": "Contract number",
|
|
165
|
+
"contractStatus": "Contract Status",
|
|
166
|
+
"dealSummary": "Summary of Deals",
|
|
167
|
+
"dealTime": "Deal Time",
|
|
168
|
+
"delete": "Delete",
|
|
169
|
+
"deleteAndUpload": "Delete and re upload",
|
|
170
|
+
"deposit": "Deposit",
|
|
171
|
+
"depositInvoice": "Deposit Invoice",
|
|
172
|
+
"deposit_unpaid": "Deposit Unpaid",
|
|
173
|
+
"identification_summary": "Identification Summary",
|
|
174
|
+
"edit_shipment": "Edit Shipment",
|
|
175
|
+
"add_shipment": "Add Shipment",
|
|
176
|
+
"upload_by": "Uploaded on ",
|
|
177
|
+
"share": "Share",
|
|
178
|
+
"select_all": "Select All",
|
|
179
|
+
"deposit_unreceipt": "Payment voucher to be provided",
|
|
180
|
+
"depositPaid": "Deposit Paid",
|
|
181
|
+
"depositRemittanceReceipt": "Deposit Remittance Receipt/Swift",
|
|
182
|
+
"description": "Description",
|
|
183
|
+
"destination": "Port",
|
|
184
|
+
"download": "download",
|
|
185
|
+
"downloadZip": "Batch Download",
|
|
186
|
+
"draftBillOfLading": "Draft BL",
|
|
187
|
+
"draftBillOfLading_confirm_success": "Draft BL comfirmed successfully",
|
|
188
|
+
"edit": "Edit",
|
|
189
|
+
"BLConfirm": "B/L Instruction",
|
|
190
|
+
"BL_Not_Confirm": "Buyer Not Confirmed",
|
|
191
|
+
"BL_Confirmed": "Buyer Confirmed",
|
|
192
|
+
"BL_info_confirmed": "BL information confirmed",
|
|
193
|
+
"bl_draft_confirm": "Confirmed BL Draft",
|
|
194
|
+
"editBLInformation": "Edit BL information",
|
|
195
|
+
"fileManage": "Docs Manage",
|
|
196
|
+
"fileNmae": "file name",
|
|
197
|
+
"finalPaymentMemo": "Final Payment Remittance Receipt",
|
|
198
|
+
"finallyInvoice": "Final invoice",
|
|
199
|
+
"info": "Contract Details",
|
|
200
|
+
"invoiceDate": "Invoice Date",
|
|
201
|
+
"invoiceInfo": "Invoice Information",
|
|
202
|
+
"invoiceNo": "invoice NO.",
|
|
203
|
+
"invoiceSpecies": "Invoice Species",
|
|
204
|
+
"invoiceType": "Invoice Type",
|
|
205
|
+
"issuer": "Issuer",
|
|
206
|
+
"loadingCountry": "Loading Country/Region",
|
|
207
|
+
"no": "No",
|
|
208
|
+
"operate": "operation",
|
|
209
|
+
"originCountry": "Country of Origin",
|
|
210
|
+
"otherFile": "Other files",
|
|
211
|
+
"otherShipmentFile": "Other Shipping Documents",
|
|
212
|
+
"packaging": "Packaging",
|
|
213
|
+
"packingList": "Packing list",
|
|
214
|
+
"packingPhoto": "Photos of Packing",
|
|
215
|
+
"paymentTerms": "PaymentTerms",
|
|
216
|
+
"paymentType": "Payment Type",
|
|
217
|
+
"payment_voucher": "payment voucher",
|
|
218
|
+
"preferredQuoteMethod": "Preferred Quote Method",
|
|
219
|
+
"preview": "Preview",
|
|
220
|
+
"purchaseContract": "Purchase contract",
|
|
221
|
+
"quotePrice": "Buyer Price/MT",
|
|
222
|
+
"quoteType": "QuotationType",
|
|
223
|
+
"relatedContract": "Related contract",
|
|
224
|
+
"remark": "Remarks",
|
|
225
|
+
"saleContract": "Sales Contract",
|
|
226
|
+
"saleFinallyInvoice": "Fixed Invoice",
|
|
227
|
+
"normalFinallyInvoice": "Fixed Invoice",
|
|
228
|
+
"sellerFinallyInvoice": "Seller purchase invoice",
|
|
229
|
+
"uploadPurchaseInvoice": "Upload Purchase Invoice",
|
|
230
|
+
"saleTemporaryFinallyInvoice": "Provision Invoice",
|
|
231
|
+
"Temporary_final_payment_invoice_to_be_updated": "Provisional Payment Invoice to be updated",
|
|
232
|
+
"sellerPrice": "Seller Price/MT",
|
|
233
|
+
"shipmentDays": "Shipment Date",
|
|
234
|
+
"shipmentStatus": "Shipping Status",
|
|
235
|
+
"shipping": "Shipping",
|
|
236
|
+
"shipment": "Shipment",
|
|
237
|
+
"contract": "Contract",
|
|
238
|
+
"receiving": "Receiving",
|
|
239
|
+
"progress": "Progress",
|
|
240
|
+
"signContract": "Signed Contract",
|
|
241
|
+
"signContract_success": "Signed contract successfully",
|
|
242
|
+
"release_success": "Telex release successfully",
|
|
243
|
+
"drag_and_upload": "Drag and drop the file here to upload",
|
|
244
|
+
"upload": "Upload ",
|
|
245
|
+
"signPuchaseContract": "Sign back the puchase contract",
|
|
246
|
+
"signSaleContract": "Sign back the sales contract",
|
|
247
|
+
"signed": "Signed",
|
|
248
|
+
"containers_shipped": " containers to be shipped",
|
|
249
|
+
"packinglist_true": "Packing List updated",
|
|
250
|
+
"packinglist_false": "Shipping docs-Packing list to be updated",
|
|
251
|
+
"balance_invoice_true": "Invoice and Packing List updated",
|
|
252
|
+
"balance_invoice_false": "Balance Invoice to be updated",
|
|
253
|
+
"container_photos_true": "Packing photos updated",
|
|
254
|
+
"container_photos_false": "Shipping docs-Shipping photos to be updated",
|
|
255
|
+
"draftBl_true": "Draft BL updated",
|
|
256
|
+
"draftBl_false": "Shipping docs-Draft BL to be updated",
|
|
257
|
+
"draftBl_buyer_confirm_true": "Draft BL confirmed",
|
|
258
|
+
"draftBl_buyer_confirm_false": "Draft BL to be confirmed",
|
|
259
|
+
"balancePartPaid_true": "Final Payment partially paid",
|
|
260
|
+
"Balance_Invoice_to_be_paid": "Balance Invoice to be paid",
|
|
261
|
+
"balancePartPaid_false": "Balance Invoice to be paid",
|
|
262
|
+
"balancePaid_true": "Final Payment paid",
|
|
263
|
+
"balancePaid_false": "Balance Invoice to be paid",
|
|
264
|
+
"releasedTelex_true": "Bill of Lading release",
|
|
265
|
+
"releasedTelex_false": "Bill of Lading release to be done",
|
|
266
|
+
"claiming": "Claiming",
|
|
267
|
+
"claiming_update": "Claiming-CN/DN issued",
|
|
268
|
+
"claiming_closed": "Claim closed",
|
|
269
|
+
"draftContract_unsend": "Draft contract to be sent out",
|
|
270
|
+
"bl_confirm_true": "BL Instruction confirmed",
|
|
271
|
+
"bl_confirm_false": "BL Instruction to be confirmed",
|
|
272
|
+
"contract_send_true": "Formal Contract have been sent out",
|
|
273
|
+
"contract_send_false": "Formal contract to be sent out",
|
|
274
|
+
"contract_signback_true": "Signed Contract has been signed back",
|
|
275
|
+
"contract_signback_false": "Formal contract to be signed back",
|
|
276
|
+
"depositPaid_true": "Deposit paid",
|
|
277
|
+
"depositPaid_false": "Deposit to be paid",
|
|
278
|
+
"no_files": "There are currently no files",
|
|
279
|
+
"add_success": "Successfully added",
|
|
280
|
+
"has_copy": "Copied to clipboard",
|
|
281
|
+
"subCategory": "SubCategory",
|
|
282
|
+
"summary": "Order Review",
|
|
283
|
+
"swift": "swift",
|
|
284
|
+
"tip1": "Delivery within ",
|
|
285
|
+
"tip2": " days after transaction",
|
|
286
|
+
"tip3": "Origin Certificate Provided",
|
|
287
|
+
"tip4": "Responsible for Customs Rejection",
|
|
288
|
+
"tip5": "Shipment",
|
|
289
|
+
"tip6": "Release BL Or Other Documents",
|
|
290
|
+
"tip7": "Release Order",
|
|
291
|
+
"tip8": "Completion of contract performance",
|
|
292
|
+
"totalQuote": "Total Price/MT",
|
|
293
|
+
"viewPaymentInfo": "View payment information",
|
|
294
|
+
"voided": "Voided",
|
|
295
|
+
"voucherOrReceipt": "Voucher/Receipt",
|
|
296
|
+
"weight": "weight(MT)",
|
|
297
|
+
"yes": "Yes",
|
|
298
|
+
"cndn": "Debit note & Credit note"
|
|
299
|
+
},
|
|
300
|
+
"distpicker":{
|
|
301
|
+
"province": "Province",
|
|
302
|
+
"city": "City",
|
|
303
|
+
"area": "Area"
|
|
304
|
+
}
|
|
305
|
+
}
|
|
@@ -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
|