Showing
10 changed files
with
312 additions
and
112 deletions
src/assets/fonts/fedex_table_fonticon.ttf
0 → 100644
No preview for this file type
| 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, |
| ... | @@ -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 | } | 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" | ... | ... |
This diff is collapsed. Click to expand it.
| ... | @@ -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,11 +1431,35 @@ export default { | ... | @@ -1451,11 +1431,35 @@ 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 | + } | ||
| 1442 | + } | ||
| 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; | ||
| 1458 | } | 1459 | } |
| 1460 | + .el-icon-arrow-down:before { | ||
| 1461 | + content: "\e7d6"; | ||
| 1462 | + font-size: 18px; | ||
| 1459 | } | 1463 | } |
| 1460 | } | 1464 | } |
| 1461 | } | 1465 | } | ... | ... |
-
Please register or login to post a comment