zhanbo.xu

feat: 根据需求优化和开发

No preview for this file type
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
235 } 235 }
236 236
237 .entrySave { 237 .entrySave {
238 - margin-top: 64px; 238 + margin-top: 50px;
239 text-align: center; 239 text-align: center;
240 240
241 .el-button { 241 .el-button {
......
1 -@import './variables.scss'; 1 +@import "./variables.scss";
2 -@import './mixin.scss'; 2 +@import "./mixin.scss";
3 -@import './transition.scss'; 3 +@import "./transition.scss";
4 -@import './element-ui.scss'; 4 +@import "./element-ui.scss";
5 -@import './sidebar.scss'; 5 +@import "./sidebar.scss";
6 -@import './btn.scss'; 6 +@import "./btn.scss";
7 7
8 @font-face { 8 @font-face {
9 font-family: FedExSans; 9 font-family: FedExSans;
10 font-style: normal; 10 font-style: normal;
11 font-weight: 300; 11 font-weight: 300;
12 - src: url('../fonts/FedExSans_W-Light.woff') format("woff") 12 + src: url("../fonts/FedExSans_W-Light.woff") format("woff");
13 } 13 }
14 14
15 @font-face { 15 @font-face {
16 font-family: FedExSans; 16 font-family: FedExSans;
17 font-style: normal; 17 font-style: normal;
18 font-weight: 400; 18 font-weight: 400;
19 - src: url('../fonts/FedExSans_W-Regular.woff') format("woff") 19 + src: url("../fonts/FedExSans_W-Regular.woff") format("woff");
20 } 20 }
21 21
22 -
23 @font-face { 22 @font-face {
24 font-family: FedExSans; 23 font-family: FedExSans;
25 font-style: normal; 24 font-style: normal;
26 font-weight: 700; 25 font-weight: 700;
27 - src: url('../fonts/FedExSans_W-Bold.woff') format("woff") 26 + src: url("../fonts/FedExSans_W-Bold.woff") format("woff");
28 } 27 }
29 28
30 @font-face { 29 @font-face {
31 font-family: FedExSansArabic; 30 font-family: FedExSansArabic;
32 font-style: normal; 31 font-style: normal;
33 font-weight: 700; 32 font-weight: 700;
34 - src: url('../fonts/FedExSans_W-Bold.woff') format("woff") 33 + src: url("../fonts/FedExSans_W-Bold.woff") format("woff");
35 } 34 }
36 35
37 @font-face { 36 @font-face {
38 font-family: FedExSansArabic; 37 font-family: FedExSansArabic;
39 font-style: normal; 38 font-style: normal;
40 font-weight: 300; 39 font-weight: 300;
41 - src: url('../fonts/FedExSans_W-Light.woff') format("woff") 40 + src: url("../fonts/FedExSans_W-Light.woff") format("woff");
42 } 41 }
43 42
44 @font-face { 43 @font-face {
45 font-family: FedExSansArabic; 44 font-family: FedExSansArabic;
46 font-style: normal; 45 font-style: normal;
47 font-weight: 400; 46 font-weight: 400;
48 - src: url('../fonts/FedExSans_W-Regular.woff') format("woff") 47 + src: url("../fonts/FedExSans_W-Regular.woff") format("woff");
48 +}
49 +
50 +@font-face {
51 + font-family: "iconfont";
52 + font-style: normal;
53 + font-weight: 200;
54 + src: url("../fonts/fedex_table_fonticon.ttf?t=1748505224980")
55 + format("truetype");
49 } 56 }
50 57
51 html, 58 html,
52 body { 59 body {
53 - font-family: sans-serif !important; 60 + font-family: sans-serif !important;
54 } 61 }
55 62
56 body { 63 body {
...@@ -58,7 +65,7 @@ body { ...@@ -58,7 +65,7 @@ body {
58 -moz-osx-font-smoothing: grayscale; 65 -moz-osx-font-smoothing: grayscale;
59 -webkit-font-smoothing: antialiased; 66 -webkit-font-smoothing: antialiased;
60 text-rendering: optimizeLegibility; 67 text-rendering: optimizeLegibility;
61 - font-family: sans-serif !important; 68 + font-family: sans-serif !important;
62 } 69 }
63 70
64 label { 71 label {
...@@ -160,7 +167,8 @@ aside { ...@@ -160,7 +167,8 @@ aside {
160 display: block; 167 display: block;
161 line-height: 32px; 168 line-height: 32px;
162 font-size: 16px; 169 font-size: 16px;
163 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; 170 + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
171 + Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
164 color: #2c3e50; 172 color: #2c3e50;
165 -webkit-font-smoothing: antialiased; 173 -webkit-font-smoothing: antialiased;
166 -moz-osx-font-smoothing: grayscale; 174 -moz-osx-font-smoothing: grayscale;
...@@ -190,7 +198,7 @@ aside { ...@@ -190,7 +198,7 @@ aside {
190 } 198 }
191 199
192 .text-center { 200 .text-center {
193 - text-align: center 201 + text-align: center;
194 } 202 }
195 203
196 .sub-navbar { 204 .sub-navbar {
...@@ -201,7 +209,13 @@ aside { ...@@ -201,7 +209,13 @@ aside {
201 text-align: right; 209 text-align: right;
202 padding-right: 20px; 210 padding-right: 20px;
203 transition: 600ms ease position; 211 transition: 600ms ease position;
204 - background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%); 212 + background: linear-gradient(
213 + 90deg,
214 + rgba(32, 182, 249, 1) 0%,
215 + rgba(32, 182, 249, 1) 0%,
216 + rgba(33, 120, 241, 1) 100%,
217 + rgba(33, 120, 241, 1) 100%
218 + );
205 219
206 .subtitle { 220 .subtitle {
207 font-size: 20px; 221 font-size: 20px;
...@@ -246,7 +260,6 @@ aside { ...@@ -246,7 +260,6 @@ aside {
246 z-index: 1000 !important; 260 z-index: 1000 !important;
247 } 261 }
248 262
249 - 263 +.el-checkbox__input.is-checked + .el-checkbox__label {
250 -.el-checkbox__input.is-checked+.el-checkbox__label {
251 color: #333333 !important; 264 color: #333333 !important;
252 -}
...\ No newline at end of file ...\ No newline at end of file
265 +}
......
...@@ -45,32 +45,6 @@ ...@@ -45,32 +45,6 @@
45 > 45 >
46 </el-table-column> 46 </el-table-column>
47 </el-table> 47 </el-table>
48 - <!-- <Table
49 - class="fedexDetialTable mt20"
50 - :data="rowData.popoverData"
51 - :headerData="receiptDataHead"
52 - :selection="false"
53 - :selectFixed="false"
54 - :order="false"
55 - :border="true"
56 - :rowSelectDataType="false"
57 - :pagination="false"
58 - :page="1"
59 - :totalCount="0"
60 - :loading="tableLoading"
61 - :emptyText="
62 - loadingDatas &&
63 - rowData &&
64 - rowData.popoverData &&
65 - !rowData.popoverData.length
66 - ? '数据加载中'
67 - : $t('portEntry.emptyText')
68 - "
69 - :height="tableHeight"
70 - :maxHeight="tableHeight"
71 - rowKey="id"
72 - >
73 - </Table> -->
74 </div> 48 </div>
75 <el-button 49 <el-button
76 slot="reference" 50 slot="reference"
......
1 export default { 1 export default {
2 - returnStatus: [ 2 + returnStatus: [
3 - { code: 'RECEIPT_CUSTOMS_CLEARANCE', name: '结关', value: '899' }, 3 + { code: "RECEIPT_CUSTOMS_CLEARANCE", name: "结关", value: "899" },
4 - { code: 'RECEIPT_RELEASE', name: '放行', value: '800' }, 4 + { code: "RECEIPT_RELEASE", name: "放行", value: "800" },
5 - { code: 'RECEIPT_MANUAL_REVIEW', name: '人工审核', value: '300' }, 5 + { code: "RECEIPT_MANUAL_REVIEW", name: "人工审核", value: "300" },
6 - { code: 'RECEIPT_CUSTOMS_WAREHOUSING', name: '海关入库', value: '120' }, 6 + { code: "RECEIPT_CUSTOMS_WAREHOUSING", name: "海关入库", value: "120" },
7 - { code: 'RECEIPT_AUDIT_COMPLETED', name: '海关审结', value: '399' }, 7 + { code: "RECEIPT_AUDIT_COMPLETED", name: "海关审结", value: "399" },
8 - { code: 'RECEIPT_CUSTOMS_REFUND', name: '海关退单', value: '100' }, 8 + { code: "RECEIPT_CUSTOMS_REFUND", name: "海关退单", value: "100" },
9 - { code: 'RECEIPT_FAIL_SEND', name: '发送海关失败', value: '4' }, 9 + { code: "RECEIPT_FAIL_SEND", name: "发送海关失败", value: "4" },
10 - { code: 'RECEIPT_SUCCESSFULLY_SENT', name: '发送海关成功', value: '3' }, 10 + { code: "RECEIPT_SUCCESSFULLY_SENT", name: "发送海关成功", value: "3" },
11 - { code: 'RECEIPT_DECLARE_IN_PROGRESS', name: '电子口岸申报中', value: '2' }, 11 + { code: "RECEIPT_DECLARE_IN_PROGRESS", name: "电子口岸申报中", value: "2" },
12 - { code: 'RECEIPT_TEMPORARILY_STORE', name: '电子口岸已暂存', value: '1' }, 12 + { code: "RECEIPT_TEMPORARILY_STORE", name: "电子口岸已暂存", value: "1" },
13 - ], 13 + ],
14 - appType: [ 14 + appType: [
15 - { code: 'DECLARE_APPTYPE_CHANGE', name: '变更', value: '2' }, 15 + { code: "DECLARE_APPTYPE_CHANGE", name: "变更", value: "2" },
16 - { code: 'DECLARE_APPTYPE_ADD', name: '新增', value: '1' }, 16 + { code: "DECLARE_APPTYPE_ADD", name: "新增", value: "1" },
17 - ], 17 + ],
18 - currency: [ 18 + currency: [
19 - { code: 'AED', name: '阿联酋迪拉姆', value: '138' }, 19 + { code: "AED", name: "阿联酋迪拉姆", value: "138" },
20 - { code: 'ZAR', name: '南非兰特', value: '244' }, 20 + { code: "ZAR", name: "南非兰特", value: "244" },
21 - { code: 'CAD', name: '加拿大元', value: '501' }, 21 + { code: "CAD", name: "加拿大元", value: "501" },
22 - { code: 'CHF', name: '瑞士法郎', value: '331' }, 22 + { code: "CHF", name: "瑞士法郎", value: "331" },
23 - { code: 'CNY', name: '人民币', value: '142' }, 23 + { code: "CNY", name: "人民币", value: "142" },
24 - { code: 'DKK', name: '丹麦克朗', value: '302' }, 24 + { code: "DKK", name: "丹麦克朗", value: "302" },
25 - { code: 'EUR', name: '欧元', value: '300' }, 25 + { code: "EUR", name: "欧元", value: "300" },
26 - { code: 'GBP', name: '英镑', value: '303' }, 26 + { code: "GBP", name: "英镑", value: "303" },
27 - { code: 'HKD', name: '港币', value: '110' }, 27 + { code: "HKD", name: "港币", value: "110" },
28 - { code: 'HUF', name: '匈牙利福林', value: '321' }, 28 + { code: "HUF", name: "匈牙利福林", value: "321" },
29 - { code: 'JPY', name: '日本元', value: '116' }, 29 + { code: "JPY", name: "日本元", value: "116" },
30 - { code: 'KRW', name: '韩国圆', value: '133' }, 30 + { code: "KRW", name: "韩国圆", value: "133" },
31 - { code: 'MOP', name: '澳门元', value: '121' }, 31 + { code: "MOP", name: "澳门元", value: "121" },
32 - { code: 'MXN', name: '墨西哥比索', value: '429' }, 32 + { code: "MXN", name: "墨西哥比索", value: "429" },
33 - { code: 'MYR', name: '马来西亚林吉特', value: '122' }, 33 + { code: "MYR", name: "马来西亚林吉特", value: "122" },
34 - ], 34 + ],
35 - unit: [ 35 + unit: [
36 - { 36 + {
37 - "code": "083", 37 + code: "083",
38 - "name": "盎司" 38 + name: "盎司",
39 - }, 39 + },
40 - { 40 + {
41 + code: "016",
42 + name: "把",
43 + },
44 + {
45 + code: "042",
46 + name: "百把",
47 + },
48 + {
49 + code: "040",
50 + name: "百副",
51 + },
52 + {
53 + code: "043",
54 + name: "百个",
55 + },
56 + {
57 + code: "044",
58 + name: "百片",
59 + },
60 + {
61 + code: "149",
62 + name: "百万贝可",
63 + },
64 + {
65 + code: "049",
66 + name: "百枝",
67 + },
68 + {
69 + code: "041",
70 + name: "百支",
71 + },
72 + {
73 + code: "076",
74 + name: "磅",
75 + },
76 + {
77 + code: "125",
78 + name: "包",
79 + },
80 + {
81 + code: "132",
82 + name: "本",
83 + },
84 + {
85 + code: "163",
86 + name: "部",
87 + },
88 + {
89 + code: "131",
90 + name: "册",
91 + },
92 + {
93 + code: "071",
94 + name: "长吨",
95 + },
96 + {
97 + code: "089",
98 + name: "寸",
99 + },
100 + {
101 + code: "127",
102 + name: "打",
103 + },
104 + {
105 + code: "136",
106 + name: "袋",
107 + },
108 + {
109 + code: "077",
110 + name: "担",
111 + },
112 + {
113 + code: "045",
114 + name: "刀",
115 + },
116 + {
117 + code: "079",
118 + name: "短担",
119 + },
120 + {
121 + code: "072",
122 + name: "短吨",
123 + },
124 + {
125 + code: "026",
126 + name: "对",
127 + },
128 + {
129 + code: "070",
130 + name: "吨",
131 + },
132 + {
133 + code: "133",
134 + name: "发",
135 + },
136 + {
137 + code: "022",
138 + name: "份",
139 + },
140 + {
141 + code: "023",
142 + name: "幅",
143 + },
144 + {
145 + code: "019",
146 + name: "副",
147 + },
148 + {
149 + code: "007",
150 + name: "个",
151 + },
152 + {
153 + code: "014",
154 + name: "根",
155 + },
156 + {
157 + code: "047",
158 + name: "公担",
159 + },
160 + {
161 + code: "116",
162 + name: "公制马力",
163 + },
164 + {
165 + code: "122",
166 + name: "罐",
167 + },
168 + {
169 + code: "096",
170 + name: "毫升",
171 + },
172 + {
173 + code: "141",
174 + name: "合",
175 + },
176 + {
177 + code: "140",
178 + name: "盒",
179 + },
180 + {
181 + code: "005",
182 + name: "架",
183 + },
184 + {
185 + code: "011",
186 + name: "件",
187 + },
188 + {
189 + code: "075",
190 + name: "斤",
191 + },
192 + {
193 + code: "029",
194 + name: "井",
195 + },
196 + {
197 + code: "039",
198 + name: "具",
199 + },
200 + {
201 + code: "018",
202 + name: "卷",
203 + },
204 + {
205 + code: "027",
206 + name: "棵",
207 + },
208 + {
209 + code: "036",
210 + name: "克",
211 + },
212 + {
213 + code: "084",
214 + name: "克拉",
215 + },
216 + {
217 + code: "017",
218 + name: "块",
219 + },
220 + {
221 + code: "128",
222 + name: "筐",
223 + },
224 + {
225 + code: "135",
226 + name: "捆",
227 + },
228 + {
229 + code: "101",
230 + name: "立方尺",
231 + },
232 + {
233 + code: "033",
234 + name: "立方米",
235 + },
236 + {
237 + code: "099",
238 + name: "立方英尺",
239 + },
240 + {
241 + code: "139",
242 + name: "粒",
243 + },
244 + {
245 + code: "080",
246 + name: "两",
247 + },
248 + {
249 + code: "003",
250 + name: "辆",
251 + },
252 + {
253 + code: "118",
254 + name: "令",
255 + },
256 + {
257 + code: "129",
258 + name: "罗",
259 + },
260 + {
261 + code: "126",
262 + name: "箩",
263 + },
264 + {
265 + code: "086",
266 + name: "码",
267 + },
268 + {
269 + code: "134",
270 + name: "枚",
271 + },
272 + {
273 + code: "098",
274 + name: "美加仑",
275 + },
276 + {
277 + code: "030",
278 + name: "米",
279 + },
280 + {
281 + code: "031",
282 + name: "盘",
283 + },
284 + {
285 + code: "037",
286 + name: "盆",
287 + },
288 + {
289 + code: "121",
290 + name: "批",
291 + },
292 + {
293 + code: "130",
294 + name: "匹",
295 + },
296 + {
297 + code: "020",
298 + name: "片",
299 + },
300 + {
301 + code: "112",
302 + name: "平方尺",
303 + },
304 + {
305 + code: "110",
306 + name: "平方码",
307 + },
308 + {
309 + code: "032",
310 + name: "平方米",
311 + },
312 + {
313 + code: "111",
314 + name: "平方英尺",
315 + },
316 + {
317 + code: "142",
318 + name: "瓶",
319 + },
320 + {
321 + code: "060",
322 + name: "千伏安",
323 + },
324 + {
325 + code: "054",
326 + name: "千个",
327 + },
328 + {
329 + code: "052",
330 + name: "千盒",
331 + },
332 + {
333 + code: "035",
334 + name: "千克",
335 + },
336 + {
337 + code: "051",
338 + name: "千块",
339 + },
340 + {
341 + code: "146",
342 + name: "千粒",
343 + },
344 + {
345 + code: "147",
346 + name: "千米",
347 + },
348 + {
349 + code: "063",
350 + name: "千升",
351 + },
352 + {
353 + code: "061",
354 + name: "千瓦",
355 + },
356 + {
357 + code: "062",
358 + ext6: "KWH",
359 + name: "千瓦时",
360 + },
361 + {
362 + code: "148",
363 + name: "千英尺",
364 + },
365 + {
366 + code: "058",
367 + name: "千张",
368 + },
369 + {
370 + code: "053",
371 + name: "千枝",
372 + },
373 + {
374 + code: "143",
375 + name: "千支",
376 + },
377 + {
378 + code: "050",
379 + name: "千只",
380 + },
381 + {
382 + code: "170",
383 + name: "人份",
384 + },
385 + {
386 + code: "048",
387 + name: "扇",
388 + },
389 + {
390 + code: "095",
391 + name: "升",
392 + },
393 + {
394 + code: "085",
395 + name: "市尺",
396 + },
397 + {
398 + code: "081",
399 + name: "市担",
400 + },
401 + {
402 + code: "025",
403 + name: "双",
404 + },
405 + {
406 + code: "073",
407 + name: "司马担",
408 + },
409 + {
410 + code: "074",
411 + name: "司马斤",
412 + },
413 + {
414 + code: "004",
415 + name: "艘",
416 + },
417 + {
418 + code: "001",
419 + name: "台",
420 + },
421 + {
422 + code: "006",
423 + name: "套",
424 + },
425 + {
426 + code: "015",
427 + name: "条",
428 + },
429 + {
430 + code: "123",
431 + name: "桶",
432 + },
433 + {
434 + code: "034",
435 + name: "筒",
436 + },
437 + {
438 + code: "009",
439 + name: "头",
440 + },
441 + {
442 + code: "038",
443 + name: "万个",
444 + },
445 + {
446 + code: "145",
447 + name: "万粒",
448 + },
449 + {
450 + code: "144",
451 + name: "万双",
452 + },
453 + {
454 + code: "057",
455 + name: "万套",
456 + },
457 + {
458 + code: "059",
459 + name: "万张",
460 + },
461 + {
462 + code: "120",
463 + name: "箱",
464 + },
465 + {
466 + code: "056",
467 + name: "亿个",
468 + },
469 + {
470 + code: "055",
471 + name: "亿支",
472 + },
473 + {
474 + code: "067",
475 + name: "英尺",
476 + },
477 + {
478 + code: "088",
479 + name: "英寸",
480 + },
481 + {
482 + code: "078",
483 + name: "英担",
484 + },
485 + {
486 + code: "097",
487 + name: "英加仑",
488 + },
489 + {
490 + code: "115",
491 + name: "英制马力",
492 + },
493 + {
494 + code: "124",
495 + name: "扎",
496 + },
497 + {
498 + code: "010",
499 + name: "张",
500 + },
501 + {
502 + code: "013",
503 + name: "枝",
504 + },
505 + {
506 + code: "012",
507 + name: "支",
508 + },
509 + {
510 + code: "008",
511 + name: "只",
512 + },
513 + {
514 + code: "028",
515 + name: "株",
516 + },
517 + {
518 + code: "021",
519 + name: "组",
520 + },
521 + {
522 + code: "002",
523 + name: "座",
524 + },
525 + {
526 + code: "046",
527 + name: "疋",
528 + },
529 + ],
530 +};
41 531
42 - "code": "016", 532 +export const receiptStatus = () => {
43 - "name": "把" 533 + return [
44 - }, 534 + {
45 - { 535 + text: "未提交",
46 - "code": "042", 536 + value: "99999",
47 - "name": "百把" 537 + },
48 - }, 538 + {
49 - { 539 + text: "已提交",
50 - "code": "040", 540 + value: "0",
51 - "name": "百副" 541 + },
52 - }, 542 + {
53 - { 543 + text: "xml报文加签失败",
54 - "code": "043", 544 + value: "-2",
55 - "name": "百个" 545 + },
56 - }, 546 + {
57 - { 547 + text: "xml报文上传失败",
58 - "code": "044", 548 + value: "-3",
59 - "name": "百片" 549 + },
60 - }, 550 + {
61 - { 551 + text: "电子口岸申报中",
62 - "code": "149", 552 + value: "2",
63 - "name": "百万贝可" 553 + },
64 - }, 554 + {
65 - { 555 + text: "发送海关成功",
66 - "code": "049", 556 + value: "3",
67 - "name": "百枝" 557 + },
68 - }, 558 + {
69 - { 559 + text: "发送海关失败",
70 - "code": "041", 560 + value: "4",
71 - "name": "百支" 561 + },
72 - }, 562 + {
73 - { 563 + text: "海关退单",
74 - "code": "076", 564 + value: "100",
75 - "name": "磅" 565 + },
76 - }, 566 + {
77 - { 567 + text: "海关入库",
78 - "code": "125", 568 + value: "120",
79 - "name": "包" 569 + },
80 - }, 570 + {
81 - { 571 + text: "回执异常",
82 - "code": "132", 572 + value: "-1",
83 - "name": "本" 573 + },
84 - }, 574 + ];
85 - { 575 +};
86 - "code": "163",
87 - "name": "部"
88 - },
89 - {
90 - "code": "131",
91 - "name": "册"
92 - },
93 - {
94 - "code": "071",
95 - "name": "长吨"
96 - },
97 - {
98 - "code": "089",
99 - "name": "寸"
100 - },
101 - {
102 - "code": "127",
103 - "name": "打"
104 - },
105 - {
106 - "code": "136",
107 - "name": "袋"
108 - },
109 - {
110 - "code": "077",
111 - "name": "担"
112 - },
113 - {
114 - "code": "045",
115 - "name": "刀"
116 - },
117 - {
118 - "code": "079",
119 - "name": "短担"
120 - },
121 - {
122 - "code": "072",
123 - "name": "短吨"
124 - },
125 - {
126 - "code": "026",
127 - "name": "对"
128 - },
129 - {
130 - "code": "070",
131 - "name": "吨"
132 - },
133 - {
134 - "code": "133",
135 - "name": "发"
136 - },
137 - {
138 - "code": "022",
139 - "name": "份"
140 - },
141 - {
142 - "code": "023",
143 - "name": "幅"
144 - },
145 - {
146 - "code": "019",
147 - "name": "副"
148 - },
149 - {
150 - "code": "007",
151 - "name": "个"
152 - },
153 - {
154 - "code": "014",
155 - "name": "根"
156 - },
157 - {
158 - "code": "047",
159 - "name": "公担"
160 - },
161 - {
162 - "code": "116",
163 - "name": "公制马力"
164 - },
165 - {
166 - "code": "122",
167 - "name": "罐"
168 - },
169 - {
170 - "code": "096",
171 - "name": "毫升"
172 - },
173 - {
174 - "code": "141",
175 - "name": "合"
176 - },
177 - {
178 - "code": "140",
179 - "name": "盒"
180 - },
181 - {
182 - "code": "005",
183 - "name": "架"
184 - },
185 - {
186 - "code": "011",
187 - "name": "件"
188 - },
189 - {
190 - "code": "075",
191 - "name": "斤"
192 - },
193 - {
194 - "code": "029",
195 - "name": "井"
196 - },
197 - {
198 - "code": "039",
199 - "name": "具"
200 - },
201 - {
202 - "code": "018",
203 - "name": "卷"
204 - },
205 - {
206 - "code": "027",
207 - "name": "棵"
208 - },
209 - {
210 - "code": "036",
211 - "name": "克"
212 - },
213 - {
214 - "code": "084",
215 - "name": "克拉"
216 - },
217 - {
218 - "code": "017",
219 - "name": "块"
220 - },
221 - {
222 - "code": "128",
223 - "name": "筐"
224 - },
225 - {
226 - "code": "135",
227 - "name": "捆"
228 - },
229 - {
230 - "code": "101",
231 - "name": "立方尺"
232 - },
233 - {
234 - "code": "033",
235 - "name": "立方米"
236 - },
237 - {
238 - "code": "099",
239 - "name": "立方英尺"
240 - },
241 - {
242 - "code": "139",
243 - "name": "粒"
244 - },
245 - {
246 - "code": "080",
247 - "name": "两"
248 - },
249 - {
250 - "code": "003",
251 - "name": "辆"
252 - },
253 - {
254 - "code": "118",
255 - "name": "令"
256 - },
257 - {
258 - "code": "129",
259 - "name": "罗"
260 - },
261 - {
262 - "code": "126",
263 - "name": "箩"
264 - },
265 - {
266 - "code": "086",
267 - "name": "码"
268 - },
269 - {
270 - "code": "134",
271 - "name": "枚"
272 - },
273 - {
274 - "code": "098",
275 - "name": "美加仑"
276 - },
277 - {
278 - "code": "030",
279 - "name": "米"
280 - },
281 - {
282 - "code": "031",
283 - "name": "盘"
284 - },
285 - {
286 - "code": "037",
287 - "name": "盆"
288 - },
289 - {
290 - "code": "121",
291 - "name": "批"
292 - },
293 - {
294 - "code": "130",
295 - "name": "匹"
296 - },
297 - {
298 - "code": "020",
299 - "name": "片"
300 - },
301 - {
302 - "code": "112",
303 - "name": "平方尺"
304 - },
305 - {
306 - "code": "110",
307 - "name": "平方码"
308 - },
309 - {
310 - "code": "032",
311 - "name": "平方米"
312 - },
313 - {
314 - "code": "111",
315 - "name": "平方英尺"
316 - },
317 - {
318 - "code": "142",
319 - "name": "瓶"
320 - },
321 - {
322 - "code": "060",
323 - "name": "千伏安"
324 - },
325 - {
326 - "code": "054",
327 - "name": "千个"
328 - },
329 - {
330 - "code": "052",
331 - "name": "千盒"
332 - },
333 - {
334 - "code": "035",
335 - "name": "千克"
336 - },
337 - {
338 - "code": "051",
339 - "name": "千块"
340 - },
341 - {
342 - "code": "146",
343 - "name": "千粒"
344 - },
345 - {
346 - "code": "147",
347 - "name": "千米"
348 - },
349 - {
350 - "code": "063",
351 - "name": "千升"
352 - },
353 - {
354 - "code": "061",
355 - "name": "千瓦"
356 - },
357 - {
358 - "code": "062",
359 - "ext6": "KWH",
360 - "name": "千瓦时"
361 - },
362 - {
363 - "code": "148",
364 - "name": "千英尺"
365 - },
366 - {
367 - "code": "058",
368 - "name": "千张"
369 - },
370 - {
371 - "code": "053",
372 - "name": "千枝"
373 - },
374 - {
375 - "code": "143",
376 - "name": "千支"
377 - },
378 - {
379 - "code": "050",
380 - "name": "千只"
381 - },
382 - {
383 - "code": "170",
384 - "name": "人份"
385 - },
386 - {
387 - "code": "048",
388 - "name": "扇"
389 - },
390 - {
391 - "code": "095",
392 - "name": "升"
393 - },
394 - {
395 - "code": "085",
396 - "name": "市尺"
397 - },
398 - {
399 - "code": "081",
400 - "name": "市担"
401 - },
402 - {
403 - "code": "025",
404 - "name": "双"
405 - },
406 - {
407 - "code": "073",
408 - "name": "司马担"
409 - },
410 - {
411 - "code": "074",
412 - "name": "司马斤"
413 - },
414 - {
415 - "code": "004",
416 - "name": "艘"
417 - },
418 - {
419 - "code": "001",
420 - "name": "台"
421 - },
422 - {
423 - "code": "006",
424 - "name": "套"
425 - },
426 - {
427 - "code": "015",
428 - "name": "条"
429 - },
430 - {
431 - "code": "123",
432 - "name": "桶"
433 - },
434 - {
435 - "code": "034",
436 - "name": "筒"
437 - },
438 - {
439 - "code": "009",
440 - "name": "头"
441 - },
442 - {
443 - "code": "038",
444 - "name": "万个"
445 - },
446 - {
447 - "code": "145",
448 - "name": "万粒"
449 - },
450 - {
451 - "code": "144",
452 - "name": "万双"
453 - },
454 - {
455 - "code": "057",
456 - "name": "万套"
457 - },
458 - {
459 576
460 - "code": "059",
461 - "name": "万张"
462 - },
463 - {
464 - "code": "120",
465 - "name": "箱"
466 - },
467 - {
468 - "code": "056",
469 - "name": "亿个"
470 - },
471 - {
472 - "code": "055",
473 - "name": "亿支"
474 - },
475 - {
476 - "code": "067",
477 - "name": "英尺"
478 - },
479 - {
480 - "code": "088",
481 - "name": "英寸"
482 - },
483 - {
484 - "code": "078",
485 - "name": "英担"
486 - },
487 - {
488 - "code": "097",
489 - "name": "英加仑"
490 - },
491 - {
492 - "code": "115",
493 - "name": "英制马力"
494 - },
495 - {
496 - "code": "124",
497 - "name": "扎"
498 - },
499 - {
500 - "code": "010",
501 - "name": "张"
502 - },
503 - {
504 - "code": "013",
505 - "name": "枝"
506 - },
507 - {
508 - "code": "012",
509 - "name": "支"
510 - },
511 - {
512 - "code": "008",
513 - "name": "只"
514 - },
515 - {
516 - "code": "028",
517 - "name": "株"
518 - },
519 - {
520 - "code": "021",
521 - "name": "组"
522 - },
523 - {
524 - "code": "002",
525 - "name": "座"
526 - },
527 - {
528 - "code": "046",
529 - "name": "疋"
530 - }
531 - ]
532 -}
...\ No newline at end of file ...\ No newline at end of file
577 +export const listStatus = () => {
578 + return [
579 + {
580 + text: "未提交",
581 + value: "99999",
582 + },
583 + {
584 + text: "已提交",
585 + value: "0",
586 + },
587 + {
588 + text: "xml报文加签失败",
589 + value: "-2",
590 + },
591 + {
592 + text: "xml报文上传失败",
593 + value: "-3",
594 + },
595 + {
596 + text: "电子口岸申报中",
597 + value: "2",
598 + },
599 + {
600 + text: "发送海关成功",
601 + value: "3",
602 + },
603 + {
604 + text: "发送海关失败",
605 + value: "4",
606 + },
607 + {
608 + text: "海关退单",
609 + value: "100",
610 + },
611 + {
612 + text: "海关入库",
613 + value: "120",
614 + },
615 + {
616 + text: "海关审结",
617 + value: "399",
618 + },
619 + {
620 + text: "放行",
621 + value: "800",
622 + },
623 + {
624 + text: "结关",
625 + value: "899",
626 + },
627 + {
628 + text: "回执异常",
629 + value: "-1",
630 + },
631 + ];
632 +};
633 +
634 +export const totalScoreStatus = () => {
635 + return [
636 + {
637 + text: "未提交",
638 + value: "99999",
639 + },
640 + {
641 + text: "已提交",
642 + value: "0",
643 + },
644 + {
645 + text: "xml报文加签失败",
646 + value: "-2",
647 + },
648 + {
649 + text: "xml报文上传失败",
650 + value: "-3",
651 + },
652 + {
653 + text: "电子口岸申报中",
654 + value: "2",
655 + },
656 + {
657 + text: "发送海关成功",
658 + value: "3",
659 + },
660 + {
661 + text: "发送海关失败",
662 + value: "4",
663 + },
664 + {
665 + text: "海关退单",
666 + value: "100",
667 + },
668 + // {
669 + // text: "海关入库",
670 + // value: "120",
671 + // },
672 + {
673 + text: "海关审结",
674 + value: "399",
675 + },
676 + {
677 + text: "放行",
678 + value: "800",
679 + },
680 + {
681 + text: "结关",
682 + value: "899",
683 + },
684 + {
685 + text: "回执异常",
686 + value: "-1",
687 + },
688 + ];
689 +};
......
...@@ -201,21 +201,49 @@ ...@@ -201,21 +201,49 @@
201 {{ scope.row.completedCount }} 201 {{ scope.row.completedCount }}
202 </el-button> 202 </el-button>
203 / 203 /
204 - <el-button type="text" @click.stop="linkChange(scope, 1)"> 204 + <el-button
205 + type="text"
206 + style="margin-left: 0"
207 + @click.stop="linkChange(scope, 1)"
208 + >
205 {{ scope.row.uncompletedCount }} 209 {{ scope.row.uncompletedCount }}
206 </el-button> 210 </el-button>
207 </template> 211 </template>
208 <template v-slot:listDontReleaseCount="scope"> 212 <template v-slot:listDontReleaseCount="scope">
209 - 清单放行:{{ scope.row.listReleaseCount }}/{{ 213 + 清单放行:
210 - scope.row.listDontReleaseCount 214 + <el-button
211 - }} 215 + type="text"
212 - <!-- <el-button type="text" style="margin-left: 0"> 216 + style="margin-left: 0"
217 + @click.stop="linkChange(scope, 3)"
218 + >
213 {{ scope.row.listReleaseCount }} 219 {{ scope.row.listReleaseCount }}
214 </el-button> 220 </el-button>
215 / 221 /
216 - <el-button type="text"> 222 + <el-button
223 + type="text"
224 + style="margin-left: 0"
225 + @click.stop="linkChange(scope, 4)"
226 + >
217 {{ scope.row.listDontReleaseCount }} 227 {{ scope.row.listDontReleaseCount }}
218 - </el-button> --> 228 + </el-button>
229 + </template>
230 + <template v-slot:listDontReleaseCountEnd="scope">
231 + 清单结关:
232 + <el-button
233 + type="text"
234 + style="margin-left: 0"
235 + @click.stop="linkChange(scope, 5)"
236 + >
237 + {{ scope.row.listClearanceCount }}
238 + </el-button>
239 + /
240 + <el-button
241 + type="text"
242 + style="margin-left: 0"
243 + @click.stop="linkChange(scope, 6)"
244 + >
245 + {{ scope.row.listNotClearedCount }}
246 + </el-button>
219 </template> 247 </template>
220 <template v-slot:arrivalInReceiptStatus="scope"> 248 <template v-slot:arrivalInReceiptStatus="scope">
221 <TablePopover 249 <TablePopover
...@@ -322,7 +350,7 @@ import { ...@@ -322,7 +350,7 @@ import {
322 import DialogVue from "./dialog.vue"; 350 import DialogVue from "./dialog.vue";
323 import DataPreview from "../reportingData/data-preview.vue"; 351 import DataPreview from "../reportingData/data-preview.vue";
324 import TimeDialog from "../reportingData/time-dialog.vue"; 352 import TimeDialog from "../reportingData/time-dialog.vue";
325 -import { getPortInfo } from "@/api/system/customer-ai.js"; 353 +import { getCurrUserPortInfo } from "@/api/system/user.js";
326 354
327 export default { 355 export default {
328 name: "SupervisePlaceManage", 356 name: "SupervisePlaceManage",
...@@ -388,6 +416,12 @@ export default { ...@@ -388,6 +416,12 @@ export default {
388 slot: true, 416 slot: true,
389 }, 417 },
390 { 418 {
419 + name: "航班号",
420 + value: "flightNumber",
421 + width: "",
422 + align: "left",
423 + },
424 + {
391 name: "清单审结进度", 425 name: "清单审结进度",
392 value: "listReceiptStatus", 426 value: "listReceiptStatus",
393 width: "", 427 width: "",
...@@ -402,6 +436,13 @@ export default { ...@@ -402,6 +436,13 @@ export default {
402 slot: true, 436 slot: true,
403 }, 437 },
404 { 438 {
439 + name: "清单结关进度",
440 + value: "listDontReleaseCountEnd",
441 + width: "",
442 + align: "left",
443 + slot: true,
444 + },
445 + {
405 name: "清单总分单回执", 446 name: "清单总分单回执",
406 value: "totalReceiptStatus", 447 value: "totalReceiptStatus",
407 width: "", 448 width: "",
...@@ -499,7 +540,7 @@ export default { ...@@ -499,7 +540,7 @@ export default {
499 }, 540 },
500 //获取口岸子字典 541 //获取口岸子字典
501 searchPortDictData() { 542 searchPortDictData() {
502 - getPortInfo() 543 + getCurrUserPortInfo()
503 .then((res) => { 544 .then((res) => {
504 console.log(res); 545 console.log(res);
505 if (res.code === "200") { 546 if (res.code === "200") {
...@@ -567,8 +608,15 @@ export default { ...@@ -567,8 +608,15 @@ export default {
567 }, 608 },
568 // 运单号跳转 609 // 运单号跳转
569 linkChange(record, type) { 610 linkChange(record, type) {
570 - const { billNo, completedLogisticsNo, uncompletedLogisticsNo } = 611 + const {
571 - record.row; 612 + billNo,
613 + completedLogisticsNo,
614 + uncompletedLogisticsNo,
615 + listReleaseLogisticsNo,
616 + listDontReleaseLogisticsNo,
617 + listClearanceLogisticsNo,
618 + listNotClearedLogisticsNo,
619 + } = record.row;
572 const query = { billNo, search: true }; 620 const query = { billNo, search: true };
573 if (+type === 1) { 621 if (+type === 1) {
574 query["logisticsNo"] = uncompletedLogisticsNo; 622 query["logisticsNo"] = uncompletedLogisticsNo;
...@@ -576,6 +624,18 @@ export default { ...@@ -576,6 +624,18 @@ export default {
576 if (+type === 2) { 624 if (+type === 2) {
577 query["logisticsNo"] = completedLogisticsNo; 625 query["logisticsNo"] = completedLogisticsNo;
578 } 626 }
627 + if (+type === 3) {
628 + query["logisticsNo"] = listReleaseLogisticsNo;
629 + }
630 + if (+type === 4) {
631 + query["logisticsNo"] = listDontReleaseLogisticsNo;
632 + }
633 + if (+type === 5) {
634 + query["logisticsNo"] = listClearanceLogisticsNo;
635 + }
636 + if (+type === 6) {
637 + query["logisticsNo"] = listNotClearedLogisticsNo;
638 + }
579 console.log(query, record); 639 console.log(query, record);
580 640
581 this.$router.push({ 641 this.$router.push({
......
...@@ -27,21 +27,87 @@ ...@@ -27,21 +27,87 @@
27 <el-transfer 27 <el-transfer
28 v-model="transferValue" 28 v-model="transferValue"
29 :data="logisticsWaybillDimension" 29 :data="logisticsWaybillDimension"
30 + :right-default-checked="currentItem"
30 filterable 31 filterable
31 target-order="push" 32 target-order="push"
32 :props="{ label: 'itemChineseName', key: 'itemValue' }" 33 :props="{ label: 'itemChineseName', key: 'itemValue' }"
33 :titles="['未选内容', '已选内容']" 34 :titles="['未选内容', '已选内容']"
34 - ></el-transfer> 35 + @right-check-change="choose"
36 + >
37 + <span
38 + class="el-icon-arrow-up"
39 + slot="right-footer"
40 + style="margin-left: 10px; cursor: pointer"
41 + @click="handleUp('transferValue')"
42 + title="上移"
43 + >
44 + </span>
45 + <span
46 + class="el-icon-arrow-down"
47 + slot="right-footer"
48 + style="cursor: pointer; margin-left: 8px"
49 + @click="handleDown('transferValue')"
50 + title="下移"
51 + >
52 + </span>
53 + <!-- <el-button
54 + class="transer-footer"
55 + size="mini"
56 +
57 + >上移</el-button
58 + > -->
59 + <!-- <el-button
60 + class="transer-footer"
61 + slot="right-footer"
62 + size="mini"
63 + @click="handleDown('transferValue')"
64 + >下移</el-button
65 + > -->
66 + </el-transfer>
35 </template> 67 </template>
36 <template v-if="radio === 6"> 68 <template v-if="radio === 6">
37 <el-transfer 69 <el-transfer
38 v-model="transferValue1" 70 v-model="transferValue1"
39 :data="commodityDetailDimension" 71 :data="commodityDetailDimension"
72 + :right-default-checked="currentItem"
40 filterable 73 filterable
41 target-order="push" 74 target-order="push"
42 :props="{ label: 'itemChineseName', key: 'itemValue' }" 75 :props="{ label: 'itemChineseName', key: 'itemValue' }"
43 :titles="['未选内容', '已选内容']" 76 :titles="['未选内容', '已选内容']"
44 - ></el-transfer> 77 + @right-check-change="choose"
78 + >
79 + <span
80 + class="el-icon-arrow-up"
81 + slot="right-footer"
82 + style="margin-left: 10px; cursor: pointer"
83 + @click="handleUp('transferValue1')"
84 + title="上移"
85 + >
86 + </span>
87 + <span
88 + class="el-icon-arrow-down"
89 + slot="right-footer"
90 + style="cursor: pointer; margin-left: 8px"
91 + @click="handleDown('transferValue1')"
92 + title="下移"
93 + >
94 + </span>
95 + <!-- <el-button
96 + class="transer-footer"
97 + slot="right-footer"
98 + style="margin-left: 10px"
99 + size="mini"
100 + @click="handleUp('transferValue1')"
101 + >上移</el-button
102 + >
103 + <el-button
104 + class="transer-footer"
105 + slot="right-footer"
106 + size="mini"
107 + @click="handleDown('transferValue1')"
108 + >下移</el-button
109 + > -->
110 + </el-transfer>
45 </template> 111 </template>
46 </div> 112 </div>
47 <div class="dialogOption entrySave revokeOperation"> 113 <div class="dialogOption entrySave revokeOperation">
...@@ -97,6 +163,7 @@ export default { ...@@ -97,6 +163,7 @@ export default {
97 commodityDetailDimension: [], 163 commodityDetailDimension: [],
98 logisticsWaybillDimension: [], 164 logisticsWaybillDimension: [],
99 historyInfo: {}, 165 historyInfo: {},
166 + currentItem: [],
100 }; 167 };
101 }, 168 },
102 watch: { 169 watch: {
...@@ -104,6 +171,7 @@ export default { ...@@ -104,6 +171,7 @@ export default {
104 if (val) { 171 if (val) {
105 this.customVisible = val; 172 this.customVisible = val;
106 this.getList(); 173 this.getList();
174 + this.radio = 3;
107 } 175 }
108 }, 176 },
109 }, 177 },
...@@ -171,6 +239,7 @@ export default { ...@@ -171,6 +239,7 @@ export default {
171 ? this.historyInfo.commodityDetailDimension 239 ? this.historyInfo.commodityDetailDimension
172 : this.historyInfo.defaultCommodityDetail; 240 : this.historyInfo.defaultCommodityDetail;
173 } 241 }
242 + this.currentItem = [];
174 }, 243 },
175 244
176 formSubmit() { 245 formSubmit() {
...@@ -228,8 +297,62 @@ export default { ...@@ -228,8 +297,62 @@ export default {
228 cancelModify(val) { 297 cancelModify(val) {
229 this.customVisible = false; 298 this.customVisible = false;
230 this.dialogLoading = false; 299 this.dialogLoading = false;
300 + this.currentItem = [];
231 this.$emit("cancelModify", val); 301 this.$emit("cancelModify", val);
232 }, 302 },
303 + //===============
304 + //上移事件
305 + handleUp(key) {
306 + let self = this;
307 + let item = self.currentItem;
308 + let index;
309 + if (item.length == 1) {
310 + self[key].find((val, indexs, arr) => {
311 + if (val == item[0]) {
312 + index = indexs;
313 + }
314 + });
315 + if (index == 0) {
316 + self.msgError("已经到顶了");
317 + return;
318 + }
319 + //改变的数组
320 + let changeItem = JSON.parse(JSON.stringify(self[key][index - 1]));
321 + self[key].splice(index - 1, 1);
322 + self[key].splice(index, 0, changeItem);
323 + } else {
324 + self.msgError("只能选择一条数据进行上下移动");
325 + return;
326 + }
327 + },
328 + choose(value) {
329 + this.currentItem = value;
330 + }, //下移事件
331 + handleDown(key) {
332 + let self = this;
333 + let item = self.currentItem;
334 + let index;
335 + if (item.length == 1) {
336 + //选中值的下标
337 + self[key].find((val, indexs, arr) => {
338 + if (val == item) {
339 + index = indexs;
340 + }
341 + });
342 + if (index == self[key].length - 1) {
343 + // 这里是length-1,因为下标值从0开始
344 + self.msgError("已经到底了");
345 + return;
346 + }
347 + let changeItem = JSON.parse(JSON.stringify(self[key][index]));
348 + self[key].splice(index, 1);
349 + self[key].splice(index + 1, 0, changeItem);
350 + } else {
351 + self.msgError("只能选择一条数据进行上下移动");
352 + return;
353 + }
354 + },
355 + // ===========
233 }, 356 },
234 }; 357 };
235 </script> 358 </script>
...@@ -239,13 +362,38 @@ export default { ...@@ -239,13 +362,38 @@ export default {
239 ::v-deep { 362 ::v-deep {
240 .el-transfer-panel .el-checkbox__inner { 363 .el-transfer-panel .el-checkbox__inner {
241 height: 17px; 364 height: 17px;
242 - width: 13px; 365 + width: 14px;
243 } 366 }
244 .el-button--primary, 367 .el-button--primary,
245 .el-button--primary:hover, 368 .el-button--primary:hover,
246 .el-button--primary:focus { 369 .el-button--primary:focus {
247 color: #ff6200; 370 color: #ff6200;
248 } 371 }
372 + /* .el-transfer-panel__list.is-filterable {
373 + padding-bottom: 40px;
374 + } */
375 + .el-transfer-panel__body {
376 + height: 260px;
377 + }
378 + .el-transfer-panel__list.is-filterable {
379 + height: 240px;
380 + }
381 + .is-with-footer {
382 + .el-transfer-panel__list.is-filterable {
383 + height: 205px;
384 + }
385 + }
386 + .el-transfer__buttons {
387 + display: inline-flex;
388 + flex-direction: column;
389 + .el-button + .el-button {
390 + margin-left: 0;
391 + }
392 + }
393 + .el-transfer-panel {
394 + width: 235px;
395 + height: 350px;
396 + }
249 } 397 }
250 398
251 .revokeOperation { 399 .revokeOperation {
......
...@@ -338,6 +338,7 @@ export default { ...@@ -338,6 +338,7 @@ export default {
338 getHsCodeSingleSync({ id: record.skuCode }).then((res) => { 338 getHsCodeSingleSync({ id: record.skuCode }).then((res) => {
339 if (+res.code === 200) { 339 if (+res.code === 200) {
340 this.alertSuccessMsg(res.message); 340 this.alertSuccessMsg(res.message);
341 + this.search(0);
341 } else { 342 } else {
342 this.alertWarningMsg(res.message); 343 this.alertWarningMsg(res.message);
343 } 344 }
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 > 21 >
22 <el-row :gutter="5"> 22 <el-row :gutter="5">
23 <el-col :span="24"> 23 <el-col :span="24">
24 - <Formitem label="同步日期" prop="beginDate" type="edit"> 24 + <Formitem label="起始日期" prop="beginDate" type="edit">
25 <el-date-picker 25 <el-date-picker
26 class="inputInner--beginDate" 26 class="inputInner--beginDate"
27 id="inputInner-edit-beginDate" 27 id="inputInner-edit-beginDate"
...@@ -76,7 +76,7 @@ export default { ...@@ -76,7 +76,7 @@ export default {
76 { 76 {
77 required: true, 77 required: true,
78 trigger: "change", 78 trigger: "change",
79 - message: "同步日期不能为空!", 79 + message: "起始日期不能为空!",
80 }, 80 },
81 ], 81 ],
82 }, 82 },
......
...@@ -535,7 +535,8 @@ import BatchModify from "./batchModify.vue"; ...@@ -535,7 +535,8 @@ import BatchModify from "./batchModify.vue";
535 import TimeDialog from "./time-dialog.vue"; 535 import TimeDialog from "./time-dialog.vue";
536 import DataPreview from "./data-preview.vue"; 536 import DataPreview from "./data-preview.vue";
537 import WeightAdjust from "./weight-adjust.vue"; 537 import WeightAdjust from "./weight-adjust.vue";
538 -import { getPortInfo } from "@/api/system/customer-ai.js"; 538 +import { getCurrUserPortInfo } from "@/api/system/user.js";
539 +import { listStatus, receiptStatus, totalScoreStatus } from "../../utils/dict";
539 export default { 540 export default {
540 name: "ReportingData", 541 name: "ReportingData",
541 components: { 542 components: {
...@@ -573,6 +574,9 @@ export default { ...@@ -573,6 +574,9 @@ export default {
573 }, 574 },
574 tableData: [], 575 tableData: [],
575 orderStatus: [], 576 orderStatus: [],
577 + waybillStatus: [],
578 + listStatus: [],
579 + totalScoreStatus: [],
576 headerData: [ 580 headerData: [
577 { 581 {
578 name: "提运单号", 582 name: "提运单号",
...@@ -617,59 +621,19 @@ export default { ...@@ -617,59 +621,19 @@ export default {
617 align: "left", 621 align: "left",
618 slot: true, 622 slot: true,
619 columnKey: "orderReceiptStatus", 623 columnKey: "orderReceiptStatus",
620 - filters: [ 624 + filterPlacement: "bottom-right",
621 - { 625 + filters: [...receiptStatus()],
622 - text: "已提交",
623 - value: "0",
624 - },
625 - {
626 - text: "xml报文加签失败",
627 - value: "-2",
628 - },
629 - {
630 - text: "xml报文上传失败",
631 - value: "-3",
632 - },
633 - {
634 - text: "电子口岸申报中",
635 - value: "2",
636 - },
637 - {
638 - text: "发送海关成功",
639 - value: "3",
640 - },
641 - {
642 - text: "发送海关失败",
643 - value: "4",
644 - },
645 - {
646 - text: "海关退单",
647 - value: "100",
648 - },
649 - {
650 - text: "海关入库",
651 - value: "120",
652 - },
653 - {
654 - text: "回执异常",
655 - value: "-1",
656 - },
657 - ],
658 - // filterMethod: this.filterMethodFn,
659 }, 626 },
660 - // { 627 +
661 - // name: "收款单回执",
662 - // value: "",
663 - // width: "",
664 - // align: "left",
665 - // slot: true,
666 - // },
667 { 628 {
668 name: "运单回执", 629 name: "运单回执",
669 value: "wayBillReceipt", 630 value: "wayBillReceipt",
670 width: "", 631 width: "",
671 align: "left", 632 align: "left",
672 slot: true, 633 slot: true,
634 + columnKey: "wayBillReceipt",
635 + filterPlacement: "bottom-right",
636 + filters: [...receiptStatus()],
673 }, 637 },
674 { 638 {
675 name: "清单回执", 639 name: "清单回执",
...@@ -677,6 +641,9 @@ export default { ...@@ -677,6 +641,9 @@ export default {
677 width: "", 641 width: "",
678 align: "left", 642 align: "left",
679 slot: true, 643 slot: true,
644 + columnKey: "listReceiptStatus",
645 + filterPlacement: "bottom-right",
646 + filters: [...listStatus()],
680 }, 647 },
681 648
682 { 649 {
...@@ -685,6 +652,9 @@ export default { ...@@ -685,6 +652,9 @@ export default {
685 width: "", 652 width: "",
686 align: "left", 653 align: "left",
687 slot: true, 654 slot: true,
655 + columnKey: "totalSplitOrderStatus",
656 + filterPlacement: "bottom-right",
657 + filters: [...totalScoreStatus()],
688 }, 658 },
689 // { 659 // {
690 // // release-v1.0.9 660 // // release-v1.0.9
...@@ -818,13 +788,16 @@ export default { ...@@ -818,13 +788,16 @@ export default {
818 }, 788 },
819 methods: { 789 methods: {
820 filterChange(value) { 790 filterChange(value) {
821 - this.orderStatus = value.orderReceiptStatus; 791 + this.orderStatus = value?.orderReceiptStatus;
792 + this.waybillStatus = value?.wayBillReceipt;
793 + this.listStatus = value?.listReceiptStatus;
794 + this.totalScoreStatus = value?.totalSplitOrderStatus;
822 console.log(value, this.orderStatus); 795 console.log(value, this.orderStatus);
823 this.search(0); 796 this.search(0);
824 }, 797 },
825 //获取口岸子字典 798 //获取口岸子字典
826 searchPortDictData() { 799 searchPortDictData() {
827 - getPortInfo() 800 + getCurrUserPortInfo()
828 .then((res) => { 801 .then((res) => {
829 console.log(res); 802 console.log(res);
830 if (res.code === "200") { 803 if (res.code === "200") {
...@@ -919,6 +892,9 @@ export default { ...@@ -919,6 +892,9 @@ export default {
919 obj.endCreateTime = obj.createTime[1]; 892 obj.endCreateTime = obj.createTime[1];
920 } 893 }
921 obj.orderStatus = this.orderStatus; 894 obj.orderStatus = this.orderStatus;
895 + obj.waybillStatus = this.waybillStatus;
896 + obj.listStatus = this.listStatus;
897 + obj.totalScoreStatus = this.totalScoreStatus;
922 searchDeclareData(obj) 898 searchDeclareData(obj)
923 .then((res) => { 899 .then((res) => {
924 if (res.code === "200") { 900 if (res.code === "200") {
...@@ -958,6 +934,10 @@ export default { ...@@ -958,6 +934,10 @@ export default {
958 dataSource: [], 934 dataSource: [],
959 ebcName: "", 935 ebcName: "",
960 }; 936 };
937 + // this.orderStatus = [];
938 + // this.waybillStatus = [];
939 + // this.listStatus = [];
940 + // this.totalScoreStatus = [];
961 this.clearPort(); 941 this.clearPort();
962 this.clearStatus(); 942 this.clearStatus();
963 }, 943 },
...@@ -1451,12 +1431,36 @@ export default { ...@@ -1451,12 +1431,36 @@ export default {
1451 .el-table th.el-table__cell > .cell { 1431 .el-table th.el-table__cell > .cell {
1452 display: flex; 1432 display: flex;
1453 align-items: center; 1433 align-items: center;
1454 - gap: 30px; 1434 + cursor: pointer;
1455 - justify-content: space-between; 1435 + /* gap: 30px;
1436 + justify-content: space-between; */
1456 &.highlight { 1437 &.highlight {
1457 color: #007ab7; 1438 color: #007ab7;
1439 + .el-icon-arrow-down {
1440 + color: #007ab7;
1441 + }
1458 } 1442 }
1459 } 1443 }
1444 + .el-table__column-filter-trigger {
1445 + display: inline-flex;
1446 + height: 34px;
1447 + cursor: pointer;
1448 + align-items: center;
1449 + }
1450 + .el-table__column-filter-trigger i {
1451 + transform: scale(1);
1452 + padding-left: 5px;
1453 + font-family: "iconfont" !important;
1454 + font-style: normal;
1455 + -webkit-font-smoothing: antialiased;
1456 + -moz-osx-font-smoothing: grayscale;
1457 + position: relative;
1458 + top: 1px;
1459 + }
1460 + .el-icon-arrow-down:before {
1461 + content: "\e7d6";
1462 + font-size: 18px;
1463 + }
1460 } 1464 }
1461 } 1465 }
1462 </style> 1466 </style>
......