Showing
11 changed files
with
2215 additions
and
38 deletions
| ... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
| 10 | </div> | 10 | </div> |
| 11 | </transition-group> | 11 | </transition-group> |
| 12 | </template> | 12 | </template> |
| 13 | - | 13 | + |
| 14 | <script> | 14 | <script> |
| 15 | // draggable 属性规定元素是否可拖动 | 15 | // draggable 属性规定元素是否可拖动 |
| 16 | // dragstart 事件在用户开始拖动元素或选择的文本时触发 | 16 | // dragstart 事件在用户开始拖动元素或选择的文本时触发 |
| ... | @@ -77,14 +77,14 @@ export default { | ... | @@ -77,14 +77,14 @@ export default { |
| 77 | } | 77 | } |
| 78 | } | 78 | } |
| 79 | </script> | 79 | </script> |
| 80 | - | 80 | + |
| 81 | <style lang="scss" scoped> | 81 | <style lang="scss" scoped> |
| 82 | .container { | 82 | .container { |
| 83 | max-width: 350px; | 83 | max-width: 350px; |
| 84 | height: 150px; | 84 | height: 150px; |
| 85 | overflow-y: scroll; | 85 | overflow-y: scroll; |
| 86 | padding: 0; | 86 | padding: 0; |
| 87 | - border: 1px solid #ccc; | 87 | + border: 1px solid #e7eaec; |
| 88 | 88 | ||
| 89 | &::-webkit-scrollbar { | 89 | &::-webkit-scrollbar { |
| 90 | width: 7px; | 90 | width: 7px; |
| ... | @@ -121,4 +121,4 @@ export default { | ... | @@ -121,4 +121,4 @@ export default { |
| 121 | .item:hover { | 121 | .item:hover { |
| 122 | background-color: #c6e2ff; | 122 | background-color: #c6e2ff; |
| 123 | } | 123 | } |
| 124 | -</style> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 124 | +</style> | ... | ... |
src/components/YlDraggable/index.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <el-card> | ||
| 3 | + <div class="row"> | ||
| 4 | + <div class="col-6"> | ||
| 5 | + <draggable class="list-group" tag="ul" v-model="list" v-bind="dragOptions" @start="drag = true" | ||
| 6 | + @end="drag = false"> | ||
| 7 | + <transition-group type="transition" :name="!drag ? 'flip-list' : null"> | ||
| 8 | + <li class="list-group-item" v-for="element in list" :key="element.order"> | ||
| 9 | + <i :class="element.fixed ? 'fa fa-anchor' : 'glyphicon glyphicon-pushpin' | ||
| 10 | + " @click="element.fixed = !element.fixed" aria-hidden="true"></i> | ||
| 11 | + {{ element.name }} | ||
| 12 | + </li> | ||
| 13 | + </transition-group> | ||
| 14 | + </draggable> | ||
| 15 | + </div> | ||
| 16 | + </div> | ||
| 17 | + </el-card> | ||
| 18 | +</template> | ||
| 19 | + | ||
| 20 | +<script> | ||
| 21 | +import draggable from "vuedraggable"; | ||
| 22 | +const message = [ | ||
| 23 | + "vue.draggable", | ||
| 24 | + "draggable", | ||
| 25 | + "component", | ||
| 26 | + "for", | ||
| 27 | + "vue.js 2.0", | ||
| 28 | + "based", | ||
| 29 | + "on", | ||
| 30 | + "Sortablejs" | ||
| 31 | +]; | ||
| 32 | +export default { | ||
| 33 | + name: "transition-example-2", | ||
| 34 | + display: "Transitions", | ||
| 35 | + order: 7, | ||
| 36 | + components: { | ||
| 37 | + draggable | ||
| 38 | + }, | ||
| 39 | + data() { | ||
| 40 | + return { | ||
| 41 | + list: message.map((name, index) => { | ||
| 42 | + return { name, order: index + 1 }; | ||
| 43 | + }), | ||
| 44 | + drag: false | ||
| 45 | + }; | ||
| 46 | + }, | ||
| 47 | + methods: { | ||
| 48 | + sort() { | ||
| 49 | + this.list = this.list.sort((a, b) => a.order - b.order); | ||
| 50 | + } | ||
| 51 | + }, | ||
| 52 | + computed: { | ||
| 53 | + dragOptions() { | ||
| 54 | + return { | ||
| 55 | + animation: 200, | ||
| 56 | + group: "description", | ||
| 57 | + disabled: false, | ||
| 58 | + ghostClass: "ghost" | ||
| 59 | + }; | ||
| 60 | + } | ||
| 61 | + } | ||
| 62 | +}; | ||
| 63 | +</script> | ||
| 64 | + | ||
| 65 | +<style lang="scss"> | ||
| 66 | +.el-card__body { | ||
| 67 | + padding: 15px 10px 0px 10px !important; | ||
| 68 | +} | ||
| 69 | +.list-group { | ||
| 70 | + min-height: 20px; | ||
| 71 | + max-height: 150px; | ||
| 72 | + overflow: auto; | ||
| 73 | + margin-top: 0; | ||
| 74 | + padding: 0; | ||
| 75 | + | ||
| 76 | + &::-webkit-scrollbar { | ||
| 77 | + width: 7px; | ||
| 78 | + height: 7px; | ||
| 79 | + } | ||
| 80 | + | ||
| 81 | + &::-webkit-scrollbar-track { | ||
| 82 | + background-color: #fff; | ||
| 83 | + } | ||
| 84 | + | ||
| 85 | + &::-webkit-scrollbar-thumb { | ||
| 86 | + background-color: #ccc; | ||
| 87 | + border-radius: 20px; | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + &::-webkit-scrollbar-thumb:hover { | ||
| 91 | + background-color: #409eff; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + &::-webkit-scrollbar-track-piece { | ||
| 95 | + background: #F2F6FC; | ||
| 96 | + } | ||
| 97 | +} | ||
| 98 | + | ||
| 99 | +.list-group-item { | ||
| 100 | + cursor: move; | ||
| 101 | + padding: 5px 0px; | ||
| 102 | +} | ||
| 103 | + | ||
| 104 | +.list-group-item i { | ||
| 105 | + cursor: pointer; | ||
| 106 | +} | ||
| 107 | +</style> |
| ... | @@ -41,6 +41,7 @@ | ... | @@ -41,6 +41,7 @@ |
| 41 | :rules="item.rules" | 41 | :rules="item.rules" |
| 42 | :label-width="item.labelWidth" | 42 | :label-width="item.labelWidth" |
| 43 | > | 43 | > |
| 44 | + <slot v-if="item.type === 'slot'"></slot> | ||
| 44 | <!-- 输入框 --> | 45 | <!-- 输入框 --> |
| 45 | <el-input | 46 | <el-input |
| 46 | v-if="item.type === 'Input'" | 47 | v-if="item.type === 'Input'" | ... | ... |
| ... | @@ -87,6 +87,15 @@ export const constantRoutes = [ | ... | @@ -87,6 +87,15 @@ export const constantRoutes = [ |
| 87 | meta: { title: "错误信息提示", icon: "user" }, | 87 | meta: { title: "错误信息提示", icon: "user" }, |
| 88 | }, | 88 | }, |
| 89 | { | 89 | { |
| 90 | + path: "/routeInfo", | ||
| 91 | + component: (resolve) => | ||
| 92 | + require([ | ||
| 93 | + "@/views/allocationConfig/flightAllocConfig/routeInfo", | ||
| 94 | + ], resolve), | ||
| 95 | + name: "routeInfo", | ||
| 96 | + meta: { title: "航班配舱", icon: "user" }, | ||
| 97 | + }, | ||
| 98 | + { | ||
| 90 | path: "/info/:handle/id=:id;routeStatus=:routeStatus;fltNo=:fltNo;route=:route;fltDate=:fltDate;status=:status", | 99 | path: "/info/:handle/id=:id;routeStatus=:routeStatus;fltNo=:fltNo;route=:route;fltDate=:fltDate;status=:status", |
| 91 | component: (resolve) => | 100 | component: (resolve) => |
| 92 | require(["@/views/allocationConfig/flightAllocConfig/info"], resolve), | 101 | require(["@/views/allocationConfig/flightAllocConfig/info"], resolve), | ... | ... |
| ... | @@ -494,16 +494,18 @@ export function removeDuplicates(arr, keys) { | ... | @@ -494,16 +494,18 @@ export function removeDuplicates(arr, keys) { |
| 494 | if (typeof keys == "string") return result; | 494 | if (typeof keys == "string") return result; |
| 495 | // 排序 | 495 | // 排序 |
| 496 | if (typeof keys == "object") { | 496 | if (typeof keys == "object") { |
| 497 | - if (keys.sortType.toLowerCase().trim() == "number") { | 497 | + if (keys.sort) { |
| 498 | - if (result.repeat.length) { | 498 | + if (keys.sortType.toLowerCase().trim() == "number") { |
| 499 | - result.repeat = sortFn("repeat"); | 499 | + if (result.repeat.length) { |
| 500 | - } | 500 | + result.repeat = sortFn("repeat"); |
| 501 | - if (result.unique.length) { | 501 | + } |
| 502 | - result.unique = sortFn("unique"); | 502 | + if (result.unique.length) { |
| 503 | + result.unique = sortFn("unique"); | ||
| 504 | + } | ||
| 505 | + // 返回排序去重结果 | ||
| 503 | } | 506 | } |
| 504 | - // 返回排序去重结果 | ||
| 505 | - return result; | ||
| 506 | } | 507 | } |
| 508 | + return result; | ||
| 507 | } | 509 | } |
| 508 | // 排序方法 | 510 | // 排序方法 |
| 509 | function sortFn(attr) { | 511 | function sortFn(attr) { | ... | ... |
| ... | @@ -173,16 +173,18 @@ export const inputBlurValidate = { | ... | @@ -173,16 +173,18 @@ export const inputBlurValidate = { |
| 173 | this.$refs.minWeight.innerHTML = ""; | 173 | this.$refs.minWeight.innerHTML = ""; |
| 174 | this.$refs.minWeight.innerHTML = "最小重量不得大于最大重量"; | 174 | this.$refs.minWeight.innerHTML = "最小重量不得大于最大重量"; |
| 175 | } | 175 | } |
| 176 | - } else if (this.queryForm[weight] > 34) { | 176 | + } |
| 177 | - this.validateForm = false; | 177 | + // else if (this.queryForm[weight] > 34) { |
| 178 | - if (Array.isArray(this.$refs.minWeight)) { | 178 | + // this.validateForm = false; |
| 179 | - this.msgError("最大重量不能大于34KG"); | 179 | + // if (Array.isArray(this.$refs.minWeight)) { |
| 180 | - } else { | 180 | + // this.msgError("最大重量不能大于34KG"); |
| 181 | - this.validateForm = false; | 181 | + // } else { |
| 182 | - this.$refs.minWeight.innerHTML = ""; | 182 | + // this.validateForm = false; |
| 183 | - this.$refs.minWeight.innerHTML = "最大重量不能大于34KG"; | 183 | + // this.$refs.minWeight.innerHTML = ""; |
| 184 | - } | 184 | + // this.$refs.minWeight.innerHTML = "最大重量不能大于34KG"; |
| 185 | - } else { | 185 | + // } |
| 186 | + // } | ||
| 187 | + else { | ||
| 186 | if (!Array.isArray(this.$refs.minWeight)) { | 188 | if (!Array.isArray(this.$refs.minWeight)) { |
| 187 | this.validateForm = true; | 189 | this.validateForm = true; |
| 188 | this.$refs.minWeight.innerHTML = ""; | 190 | this.$refs.minWeight.innerHTML = ""; | ... | ... |
| 1 | +<template> | ||
| 2 | + <div ref="routeInfo" class="route-container"> | ||
| 3 | + <el-collapse accordion v-model="routesInfo" @change="collapseChange"> | ||
| 4 | + <el-collapse-item v-for="(item, index) in routesInfo" :key="item.route"> | ||
| 5 | + <!-- 航线名 --> | ||
| 6 | + <template slot="title"> | ||
| 7 | + <strong>{{ item.route }}</strong> | ||
| 8 | + </template> | ||
| 9 | + <!-- 航线设置信息 --> | ||
| 10 | + <div class="route-info info-item"> | ||
| 11 | + <el-card class="route-info-card"> | ||
| 12 | + <!-- 有数据时 --> | ||
| 13 | + <section v-if="item.data"> | ||
| 14 | + <div slot="header" class="route-config-header"> | ||
| 15 | + <el-button type="primary" round size="small" :disabled="item.disabled" | ||
| 16 | + :loading="item.loading">保存</el-button> | ||
| 17 | + <span class="flight-route-title">普通规则</span> | ||
| 18 | + </div> | ||
| 19 | + <div class="route-config-info"> | ||
| 20 | + <el-col :span="24"> | ||
| 21 | + <el-form-item label="始发站"> | ||
| 22 | + <el-col :span="4"> | ||
| 23 | + <el-radio-group v-model="item.location" @change="changeLocation"> | ||
| 24 | + <el-radio label="1">包含始发站</el-radio> | ||
| 25 | + <el-radio label="2">不包含始发站</el-radio> | ||
| 26 | + </el-radio-group> | ||
| 27 | + </el-col> | ||
| 28 | + <el-col :span="10"> | ||
| 29 | + <el-input type="textarea" v-model="item.location" :rows="4" placeholder="始发站之间用回车符分隔" | ||
| 30 | + style="width: 500px"> | ||
| 31 | + </el-input> | ||
| 32 | + </el-col> | ||
| 33 | + </el-form-item> | ||
| 34 | + </el-col> | ||
| 35 | + <el-col :span="24"> | ||
| 36 | + <el-form-item label="目的站"> | ||
| 37 | + <el-col :span="4"> | ||
| 38 | + <el-radio-group v-model="isDestinationSite" @change="changeDestinationSite"> | ||
| 39 | + <el-radio label="1">包含目的站</el-radio> | ||
| 40 | + <el-radio label="2">不包含目的站</el-radio> | ||
| 41 | + </el-radio-group> | ||
| 42 | + </el-col> | ||
| 43 | + <el-col :span="10"> | ||
| 44 | + <el-input type="textarea" v-model="item.destinationSite" :rows="4" placeholder="目的站之间用回车符分隔" | ||
| 45 | + style="width: 500px"> | ||
| 46 | + </el-input> | ||
| 47 | + </el-col> | ||
| 48 | + </el-form-item> | ||
| 49 | + </el-col> | ||
| 50 | + <el-col :span="24"> | ||
| 51 | + <el-col :span="12"> | ||
| 52 | + <el-form-item label="URSA包含"> | ||
| 53 | + <el-input type="textarea" v-model="item.includeUrsa" :rows="4" placeholder="URSA之间用分号分隔,例:F2;F3;P_"> | ||
| 54 | + </el-input> | ||
| 55 | + </el-form-item> | ||
| 56 | + </el-col> | ||
| 57 | + <el-col :span="12"> | ||
| 58 | + <el-form-item label="URSA不包含"> | ||
| 59 | + <el-input type="textarea" v-model="item.notIncludeUrsa" :rows="4" | ||
| 60 | + placeholder="URSA之间用分号分隔,例:F2;F3;P_"> | ||
| 61 | + </el-input> | ||
| 62 | + </el-form-item> | ||
| 63 | + </el-col> | ||
| 64 | + </el-col> | ||
| 65 | + <el-col :span="24"> | ||
| 66 | + <el-col :span="9"> | ||
| 67 | + <el-form-item label="件数"> | ||
| 68 | + <el-col :span="10"> | ||
| 69 | + <el-input class="numberInput" v-model.trim="item.minNumOfPieces"> | ||
| 70 | + </el-input> | ||
| 71 | + <span ref="minNumOfPieces" class="el-form-item__error"></span> | ||
| 72 | + </el-col> | ||
| 73 | + <el-col style="text-align: center" :span="1">-</el-col> | ||
| 74 | + <el-col :span="10"> | ||
| 75 | + <el-input class="numberInput" v-model.trim="item.maxNumOfPieces"> | ||
| 76 | + </el-input> | ||
| 77 | + </el-col> | ||
| 78 | + </el-form-item> | ||
| 79 | + </el-col> | ||
| 80 | + <el-col :span="9"> | ||
| 81 | + <el-form-item label="重量(KG)"> | ||
| 82 | + <el-col :span="10"> | ||
| 83 | + <el-input class="numberInput" v-model.trim="item.minWeight"> | ||
| 84 | + </el-input> | ||
| 85 | + <span ref="minWeight" class="el-form-item__error"></span> | ||
| 86 | + </el-col> | ||
| 87 | + <el-col style="text-align: center" :span="1">-</el-col> | ||
| 88 | + <el-col :span="10"> | ||
| 89 | + <el-input class="numberInput" v-model.trim="item.maxWeight"> | ||
| 90 | + </el-input> | ||
| 91 | + </el-col> | ||
| 92 | + </el-form-item> | ||
| 93 | + </el-col> | ||
| 94 | + </el-col> | ||
| 95 | + <el-col :span="24"> | ||
| 96 | + <el-form-item label="申报类别"> | ||
| 97 | + <el-card shadow="never" style="width: 95%"> | ||
| 98 | + <el-checkbox-group v-model="item.typeOfGoods" @change="changeCargoType"> | ||
| 99 | + <el-row> | ||
| 100 | + <el-col v-for="item in cargoType" :span="2" :key="item.id"> | ||
| 101 | + <el-checkbox :label="item.chineseName" :name="item.chineseName" :key="item.code"> | ||
| 102 | + <Tooltips :content="item.chineseName" :refName="item.code"> | ||
| 103 | + </Tooltips> | ||
| 104 | + </el-checkbox> | ||
| 105 | + </el-col> | ||
| 106 | + </el-row> | ||
| 107 | + </el-checkbox-group> | ||
| 108 | + </el-card> | ||
| 109 | + </el-form-item> | ||
| 110 | + </el-col> | ||
| 111 | + <el-col :span="24"> | ||
| 112 | + <el-form-item label="货物类型"> | ||
| 113 | + <el-card shadow="never" style="width: 95%"> | ||
| 114 | + <el-checkbox-group v-model="item.cargoType" @change="changeCargoStatus"> | ||
| 115 | + <el-row> | ||
| 116 | + <el-col :span="3" v-for="item in cargoStatus" :key="item.id"> | ||
| 117 | + <el-checkbox :label="item.chineseName" :name="item.chineseName" :key="item.code" disabled> | ||
| 118 | + <Tooltips :content="item.chineseName" :refName="item.code"> | ||
| 119 | + </Tooltips> | ||
| 120 | + </el-checkbox> | ||
| 121 | + </el-col> | ||
| 122 | + </el-row> | ||
| 123 | + </el-checkbox-group> | ||
| 124 | + </el-card> | ||
| 125 | + </el-form-item> | ||
| 126 | + </el-col> | ||
| 127 | + <el-col :span="24"> | ||
| 128 | + <el-form-item label="取件扫描号"> | ||
| 129 | + <el-card shadow="never" style="width: 95%"> | ||
| 130 | + <el-checkbox-group v-model="item.puporpuxCode" @change="changePuporpux"> | ||
| 131 | + <el-row> | ||
| 132 | + <el-col :span="2" v-for="item in puporpux" :key="item.id"> | ||
| 133 | + <el-checkbox :label="item.chineseName" :name="item.chineseName" :key="item.code"> | ||
| 134 | + <Tooltips :content="item.chineseName" :refName="item.code"> | ||
| 135 | + </Tooltips> | ||
| 136 | + </el-checkbox> | ||
| 137 | + </el-col> | ||
| 138 | + </el-row> | ||
| 139 | + </el-checkbox-group> | ||
| 140 | + </el-card> | ||
| 141 | + </el-form-item> | ||
| 142 | + </el-col> | ||
| 143 | + <el-col :span="24"> | ||
| 144 | + <el-form-item label="Service Code"> | ||
| 145 | + <el-card shadow="never" style="width: 95%"> | ||
| 146 | + <el-checkbox-group v-model="item.serviceCode" @change="changeServiceCode"> | ||
| 147 | + <el-row> | ||
| 148 | + <el-col :span="2" v-for="item in serviceCode" :key="item.id"> | ||
| 149 | + <el-checkbox :label="item.chineseName" :name="item.chineseName" :key="item.code"> | ||
| 150 | + <Tooltips :content="item.chineseName" :refName="item.code"> | ||
| 151 | + </Tooltips> | ||
| 152 | + </el-checkbox> | ||
| 153 | + </el-col> | ||
| 154 | + </el-row> | ||
| 155 | + </el-checkbox-group> | ||
| 156 | + </el-card> | ||
| 157 | + </el-form-item> | ||
| 158 | + </el-col> | ||
| 159 | + <el-col :span="24"> | ||
| 160 | + <el-form-item label="Handling Code"> | ||
| 161 | + <el-card shadow="never" style="width: 95%"> | ||
| 162 | + <el-checkbox-group v-model="item.handlingCode" @change="changeHandlingCode"> | ||
| 163 | + <div class="checkboxItem" v-for="item in handlingCode" :key="item.id"> | ||
| 164 | + <el-checkbox :label="item.chineseName" :name="item.chineseName" :key="item.code"> | ||
| 165 | + <Tooltips :content="item.chineseName" :refName="item.code"> | ||
| 166 | + </Tooltips> | ||
| 167 | + </el-checkbox> | ||
| 168 | + </div> | ||
| 169 | + </el-checkbox-group> | ||
| 170 | + </el-card> | ||
| 171 | + </el-form-item> | ||
| 172 | + </el-col> | ||
| 173 | + <el-col :span="24"> | ||
| 174 | + <el-form-item label="Sub Category"> | ||
| 175 | + <el-card shadow="never" style="width: 95%"> | ||
| 176 | + <el-checkbox-group v-model="item.subCategory" @change="changeSubCategory"> | ||
| 177 | + <div class="checkboxItem" v-for="item in subCategory" :key="item.id"> | ||
| 178 | + <el-checkbox :label="item.chineseName" :name="item.chineseName" :key="item.code"> | ||
| 179 | + <Tooltips :content="item.chineseName" :refName="item.code"> | ||
| 180 | + </Tooltips> | ||
| 181 | + </el-checkbox> | ||
| 182 | + </div> | ||
| 183 | + </el-checkbox-group> | ||
| 184 | + </el-card> | ||
| 185 | + </el-form-item> | ||
| 186 | + </el-col> | ||
| 187 | + </div> | ||
| 188 | + </section> | ||
| 189 | + <!-- 没有数据时 --> | ||
| 190 | + <div class="no-data" v-else> | ||
| 191 | + <el-empty description="未设置规则!"> | ||
| 192 | + <el-button type="primary" size="small" @click="addRouteRule(index)">新增规则</el-button> | ||
| 193 | + </el-empty> | ||
| 194 | + </div> | ||
| 195 | + </el-card> | ||
| 196 | + </div> | ||
| 197 | + </el-collapse-item> | ||
| 198 | + </el-collapse> | ||
| 199 | + </div> | ||
| 200 | +</template> | ||
| 201 | +<script> | ||
| 202 | +export default { | ||
| 203 | + name: "routeInfo", | ||
| 204 | + props: { | ||
| 205 | + routesInfo: { // 航线规则信息 | ||
| 206 | + type: Array, | ||
| 207 | + default: () => [] | ||
| 208 | + }, | ||
| 209 | + cargoType: { // 申报类别 | ||
| 210 | + type: Array, | ||
| 211 | + default: () => [] | ||
| 212 | + }, | ||
| 213 | + cargoStatus: { // 货物类型 | ||
| 214 | + type: Array, | ||
| 215 | + default: () => [] | ||
| 216 | + }, | ||
| 217 | + puporpux: { // 取件扫描号 | ||
| 218 | + type: Array, | ||
| 219 | + default: () => [] | ||
| 220 | + }, | ||
| 221 | + serviceCode: { // Service Code | ||
| 222 | + type: Array, | ||
| 223 | + default: () => [] | ||
| 224 | + }, | ||
| 225 | + handlingCode: { // Handling Code | ||
| 226 | + type: Array, | ||
| 227 | + default: () => [] | ||
| 228 | + }, | ||
| 229 | + subCategory: { // Sub Category | ||
| 230 | + type: Array, | ||
| 231 | + default: () => [] | ||
| 232 | + }, | ||
| 233 | + }, | ||
| 234 | + data() { | ||
| 235 | + return {}; | ||
| 236 | + }, | ||
| 237 | + computed: {}, | ||
| 238 | + created() { }, | ||
| 239 | + mounted() { }, | ||
| 240 | + methods: { | ||
| 241 | + // 当前激活面板改变时触发 | ||
| 242 | + collapseChange(name) { | ||
| 243 | + this.$emit("collapse", name); | ||
| 244 | + }, | ||
| 245 | + // 始发站 | ||
| 246 | + changeLocation(val) { | ||
| 247 | + this.$emit("location", val); | ||
| 248 | + }, | ||
| 249 | + // 目的站 | ||
| 250 | + changeDestinationSite(val) { | ||
| 251 | + this.$emit("destinationSite", val); | ||
| 252 | + }, | ||
| 253 | + // 申报类别 | ||
| 254 | + changeCargoType(arr) { | ||
| 255 | + this.$emit("cargoType", arr); | ||
| 256 | + }, | ||
| 257 | + // 货物类型 | ||
| 258 | + changeCargoStatus(arr) { | ||
| 259 | + this.$emit("cargoStatus", arr); | ||
| 260 | + }, | ||
| 261 | + // 取件扫描号 | ||
| 262 | + changePuporpux(arr) { | ||
| 263 | + this.$emit("puporpux", arr); | ||
| 264 | + }, | ||
| 265 | + // Service Code | ||
| 266 | + changeServiceCode(arr) { | ||
| 267 | + this.$emit("serviceCode", arr); | ||
| 268 | + }, | ||
| 269 | + // Handling Code | ||
| 270 | + changeHandlingCode(arr) { | ||
| 271 | + this.$emit("handlingCode", arr); | ||
| 272 | + }, | ||
| 273 | + // Sub Category | ||
| 274 | + changeSubCategory(arr) { | ||
| 275 | + this.$emit("subCategory", arr); | ||
| 276 | + }, | ||
| 277 | + // 新增规则 | ||
| 278 | + addRouteRule(index) { | ||
| 279 | + this.$emit("addRlue", index); | ||
| 280 | + } | ||
| 281 | + }, | ||
| 282 | +}; | ||
| 283 | +</script> | ||
| 284 | +<style lang='scss'> | ||
| 285 | +.route-container { | ||
| 286 | + .route-info { | ||
| 287 | + .route-info-card { | ||
| 288 | + .route-config-header { | ||
| 289 | + .flight-route-title {} | ||
| 290 | + } | ||
| 291 | + | ||
| 292 | + .route-config-info {} | ||
| 293 | + } | ||
| 294 | + } | ||
| 295 | +} | ||
| 296 | +</style> |
| 1 | +export const formConfig = [ | ||
| 2 | + { | ||
| 3 | + label: "航班号", | ||
| 4 | + type: "Input", | ||
| 5 | + name: "fltNo", | ||
| 6 | + prop: "fltNo", | ||
| 7 | + placeholder: "请输入航班号", | ||
| 8 | + span: 5, | ||
| 9 | + trigger: "blur", | ||
| 10 | + labelWidth: "55px", | ||
| 11 | + }, | ||
| 12 | + { | ||
| 13 | + label: "航班日期", | ||
| 14 | + type: "Date", | ||
| 15 | + name: "startTime", | ||
| 16 | + prop: "startTime", | ||
| 17 | + placeholder: "请选择航班日期", | ||
| 18 | + format: "yyyy-MM-dd", | ||
| 19 | + colWidth: "23%", | ||
| 20 | + inputWidth: "100%", | ||
| 21 | + }, | ||
| 22 | + { | ||
| 23 | + label: "航线", | ||
| 24 | + type: "Input", | ||
| 25 | + name: "route", | ||
| 26 | + prop: "route", | ||
| 27 | + placeholder: "", | ||
| 28 | + span: 5, | ||
| 29 | + labelWidth: "40px", | ||
| 30 | + trigger: "blur", // 事件名 | ||
| 31 | + }, | ||
| 32 | + { | ||
| 33 | + label: "航线优先级", | ||
| 34 | + type: "slot", | ||
| 35 | + name: "flightRoute", | ||
| 36 | + prop: "flightRoute", | ||
| 37 | + placeholder: "", | ||
| 38 | + colWidth: "23%", | ||
| 39 | + labelWidth: "85px", | ||
| 40 | + trigger: "blur", // 事件名 | ||
| 41 | + }, | ||
| 42 | +]; | ||
| 43 | +// 航线规则表单 | ||
| 44 | +export const routeRuleForm = { | ||
| 45 | + flightRoute: "", // 飞行航线 | ||
| 46 | + location: "", // 包含始发站 | ||
| 47 | + notLocation: "", // 不包含始发站 | ||
| 48 | + destinationSite: "", // 包含目的站 | ||
| 49 | + notDestinationSite: "", // 不包含目的站 | ||
| 50 | + includeUrsa: "", // URSA包含 | ||
| 51 | + notIncludeUrsa: "", // URSA不包含 | ||
| 52 | + minNumOfPieces: "", // 最小件数 | ||
| 53 | + maxNumOfPieces: "", // 最大件数 | ||
| 54 | + minWeight: "", // 最小重量 | ||
| 55 | + maxWeight: "", // 最大重量 | ||
| 56 | + typeOfGoods: "", // 申报类别 | ||
| 57 | + cargoType: "", // 货物类型 | ||
| 58 | + puporpuxCode: "", // 取件扫描号 | ||
| 59 | + serviceCode: "", // Service Code | ||
| 60 | + handlingCode: "", // Handling Code | ||
| 61 | + subCategory: "", // Sub Category | ||
| 62 | +} |
| ... | @@ -50,11 +50,10 @@ | ... | @@ -50,11 +50,10 @@ |
| 50 | <template slot="optionColumn"> | 50 | <template slot="optionColumn"> |
| 51 | <el-table-column label="操作" align="center" width="150"> | 51 | <el-table-column label="操作" align="center" width="150"> |
| 52 | <template slot-scope="scope"> | 52 | <template slot-scope="scope"> |
| 53 | - <el-button type="text" size="mini" icon="el-icon-view" | 53 | + <el-button type="text" size="mini" icon="el-icon-view" @click="handleClick(scope.row, 'view')">查看 |
| 54 | - @click="handleClick(scope.row.purposeOfFlightNo, 'detail', scope.row.ruleDate, scope.row.status)">查看 | ||
| 55 | </el-button> | 54 | </el-button> |
| 56 | <el-button type="text" size="mini" icon="el-icon-edit" v-hasPermi="['allocation:alloc:update']" | 55 | <el-button type="text" size="mini" icon="el-icon-edit" v-hasPermi="['allocation:alloc:update']" |
| 57 | - @click="handleClick(scope.row.purposeOfFlightNo, 'update', scope.row.ruleDate, scope.row.status)">修改 | 56 | + @click="handleClick(scope.row, 'edit')">修改 |
| 58 | </el-button> | 57 | </el-button> |
| 59 | <!-- <el-button type="text" size="mini" icon="el-icon-delete" style="color:#ff4949" | 58 | <!-- <el-button type="text" size="mini" icon="el-icon-delete" style="color:#ff4949" |
| 60 | v-hasPermi="['allocation:alloc:delete']" @click="del(scope.row.id, scope.row.status)">删除</el-button> | 59 | v-hasPermi="['allocation:alloc:delete']" @click="del(scope.row.id, scope.row.status)">删除</el-button> |
| ... | @@ -144,21 +143,31 @@ export default { | ... | @@ -144,21 +143,31 @@ export default { |
| 144 | }) | 143 | }) |
| 145 | }, | 144 | }, |
| 146 | //跳转到查看,修改页面 | 145 | //跳转到查看,修改页面 |
| 147 | - handleClick(fltNo, handle, fltDate, status) { | 146 | + handleClick({ purposeOfFlightNo, ruleDate, flightRoute, status }, name) { |
| 148 | - let obj = { | ||
| 149 | - id: ' ', | ||
| 150 | - handle: handle, | ||
| 151 | - fltNo: fltNo, | ||
| 152 | - fltDate: fltDate != null ? fltDate : ' ', | ||
| 153 | - route: ' ', | ||
| 154 | - routeStatus: 'FlightAllocConfig', | ||
| 155 | - status: status == '3' ? '3' : ' ', | ||
| 156 | - createStatus: 1 | ||
| 157 | - } | ||
| 158 | this.$router.push({ | 147 | this.$router.push({ |
| 159 | - name: "FlightAllocConfigInfo", | 148 | + path: "/routeInfo", |
| 160 | - params: obj, | 149 | + query: { |
| 150 | + purposeOfFlightNo: purposeOfFlightNo, | ||
| 151 | + flightDate: ruleDate, | ||
| 152 | + flightRoute: flightRoute, | ||
| 153 | + status: status, | ||
| 154 | + name: name, | ||
| 155 | + }, | ||
| 161 | }); | 156 | }); |
| 157 | + // let obj = { | ||
| 158 | + // id: ' ', | ||
| 159 | + // handle: handle, | ||
| 160 | + // fltNo: fltNo, | ||
| 161 | + // fltDate: fltDate != null ? fltDate : ' ', | ||
| 162 | + // route: ' ', | ||
| 163 | + // routeStatus: 'FlightAllocConfig', | ||
| 164 | + // status: status == '3' ? '3' : ' ', | ||
| 165 | + // createStatus: 1 | ||
| 166 | + // } | ||
| 167 | + // this.$router.push({ | ||
| 168 | + // name: "FlightAllocConfigInfo", | ||
| 169 | + // params: obj, | ||
| 170 | + // }); | ||
| 162 | }, | 171 | }, |
| 163 | //航班优先级修改 | 172 | //航班优先级修改 |
| 164 | toRouteOrder(val) { | 173 | toRouteOrder(val) { | ... | ... |
| 1 | +export const routeData = { | ||
| 2 | + code: 200, | ||
| 3 | + msg: "操作成功", | ||
| 4 | + data: { | ||
| 5 | + list: [ | ||
| 6 | + { | ||
| 7 | + id: 3022, | ||
| 8 | + createTime: "2023-09-14 16:00:18", | ||
| 9 | + createUserId: "5750", | ||
| 10 | + createUserName: "ysy", | ||
| 11 | + updateTime: "2023-09-20 18:24:47", | ||
| 12 | + updateUserName: "ysy", | ||
| 13 | + purposeOfFlightNo: "LK001", | ||
| 14 | + location: "AAE;AB5;AB4;AB1", | ||
| 15 | + includeUrsa: "P_", | ||
| 16 | + notIncludeUrsa: "P4;P5;P6", | ||
| 17 | + minNumOfPieces: null, | ||
| 18 | + maxNumOfPieces: 10, | ||
| 19 | + minWeight: 6, | ||
| 20 | + maxWeight: 25, | ||
| 21 | + serviceCode: "FICP;FO;IED;IPE;IPF", | ||
| 22 | + declarationCategory: null, | ||
| 23 | + typeOfGoods: "D;C", | ||
| 24 | + subCategory: "Blank;Bond;BSO", | ||
| 25 | + status: "1", | ||
| 26 | + whetherHistory: "0", | ||
| 27 | + historyId: null, | ||
| 28 | + updateUserId: 5750, | ||
| 29 | + notLocation: null, | ||
| 30 | + handlingCode: "BLANK;ABC;CHM;DG", | ||
| 31 | + portName: "PVG", | ||
| 32 | + puporpuxCode: "PUP;BLANK;PUX46", | ||
| 33 | + flightRoute: "SZX", | ||
| 34 | + routePriority: "2", | ||
| 35 | + ruleDate: null, | ||
| 36 | + routeSpecifyDateSeq: "TSN;SZX;CAN;CAN-PVG", | ||
| 37 | + destinationSite: null, | ||
| 38 | + notDestinationSite: "91A;84A;ZWO;ZYIA", | ||
| 39 | + }, | ||
| 40 | + { | ||
| 41 | + id: 3267, | ||
| 42 | + createTime: "2023-09-19 15:23:53", | ||
| 43 | + createUserId: "5750", | ||
| 44 | + createUserName: "ysy", | ||
| 45 | + updateTime: "2023-09-20 18:24:47", | ||
| 46 | + updateUserName: "ysy", | ||
| 47 | + purposeOfFlightNo: "LK001", | ||
| 48 | + location: null, | ||
| 49 | + includeUrsa: "P_", | ||
| 50 | + notIncludeUrsa: "P5;P6;P7", | ||
| 51 | + minNumOfPieces: 3, | ||
| 52 | + maxNumOfPieces: null, | ||
| 53 | + minWeight: null, | ||
| 54 | + maxWeight: null, | ||
| 55 | + serviceCode: "ces0193;FICP;FO;IE;IED", | ||
| 56 | + declarationCategory: null, | ||
| 57 | + typeOfGoods: "D", | ||
| 58 | + subCategory: "Blank;Bond;BSO", | ||
| 59 | + status: "1", | ||
| 60 | + whetherHistory: "0", | ||
| 61 | + historyId: "3266", | ||
| 62 | + updateUserId: 5750, | ||
| 63 | + notLocation: null, | ||
| 64 | + handlingCode: "BLANK;ABC;BON;CHM", | ||
| 65 | + portName: "PVG", | ||
| 66 | + puporpuxCode: "POM01;POM03;PUP;POM02;PUX46", | ||
| 67 | + flightRoute: "CAN", | ||
| 68 | + routePriority: "3", | ||
| 69 | + ruleDate: null, | ||
| 70 | + routeSpecifyDateSeq: "TSN;SZX;CAN;CAN-PVG", | ||
| 71 | + destinationSite: null, | ||
| 72 | + notDestinationSite: null, | ||
| 73 | + }, | ||
| 74 | + { | ||
| 75 | + id: 3023, | ||
| 76 | + createTime: "2023-09-14 16:05:56", | ||
| 77 | + createUserId: "5750", | ||
| 78 | + createUserName: "ysy", | ||
| 79 | + updateTime: "2023-09-20 18:24:47", | ||
| 80 | + updateUserName: "ysy", | ||
| 81 | + purposeOfFlightNo: "LK001", | ||
| 82 | + location: null, | ||
| 83 | + includeUrsa: "P_;W_", | ||
| 84 | + notIncludeUrsa: "P1;P7;P6", | ||
| 85 | + minNumOfPieces: 5, | ||
| 86 | + maxNumOfPieces: null, | ||
| 87 | + minWeight: 10, | ||
| 88 | + maxWeight: 30, | ||
| 89 | + serviceCode: "FO;IE", | ||
| 90 | + declarationCategory: null, | ||
| 91 | + typeOfGoods: null, | ||
| 92 | + subCategory: null, | ||
| 93 | + status: "1", | ||
| 94 | + whetherHistory: "0", | ||
| 95 | + historyId: null, | ||
| 96 | + updateUserId: 5750, | ||
| 97 | + notLocation: "SHAA;KCAA", | ||
| 98 | + handlingCode: "ABC;BON;KMW1", | ||
| 99 | + portName: "PVG", | ||
| 100 | + puporpuxCode: "POM01;POM03;PUP;PUX46;PUX79", | ||
| 101 | + flightRoute: "TSN", | ||
| 102 | + routePriority: "1", | ||
| 103 | + ruleDate: null, | ||
| 104 | + routeSpecifyDateSeq: "TSN;SZX;CAN;CAN-PVG", | ||
| 105 | + destinationSite: null, | ||
| 106 | + notDestinationSite: "PEK;PVG", | ||
| 107 | + }, | ||
| 108 | + ], | ||
| 109 | + routeList: [ | ||
| 110 | + { | ||
| 111 | + fltNo: "LK001", | ||
| 112 | + route: "TSN", | ||
| 113 | + routePriority: "1", | ||
| 114 | + }, | ||
| 115 | + { | ||
| 116 | + fltNo: "LK001", | ||
| 117 | + route: "SZX", | ||
| 118 | + routePriority: "2", | ||
| 119 | + }, | ||
| 120 | + { | ||
| 121 | + fltNo: "LK001", | ||
| 122 | + route: "CAN", | ||
| 123 | + routePriority: "3", | ||
| 124 | + }, | ||
| 125 | + { | ||
| 126 | + fltNo: "LK001", | ||
| 127 | + route: "CAN-PVG", | ||
| 128 | + routePriority: "4", | ||
| 129 | + }, | ||
| 130 | + ], | ||
| 131 | + }, | ||
| 132 | +}; | ||
| 133 | + | ||
| 134 | +export const routeInfo = { | ||
| 135 | + code: 200, | ||
| 136 | + msg: "操作成功", | ||
| 137 | + data: { | ||
| 138 | + cargoType: [ | ||
| 139 | + { | ||
| 140 | + id: 83944, | ||
| 141 | + code: "cargoType10", | ||
| 142 | + chineseName: "A", | ||
| 143 | + englishName: "A", | ||
| 144 | + description: "A", | ||
| 145 | + status: 1, | ||
| 146 | + dictId: 50125, | ||
| 147 | + dictCode: "cargoType", | ||
| 148 | + parentId: null, | ||
| 149 | + ext1: 84010, | ||
| 150 | + ext2: null, | ||
| 151 | + ext3: null, | ||
| 152 | + ordinal: 10, | ||
| 153 | + ext4: null, | ||
| 154 | + ext5: null, | ||
| 155 | + ext6: null, | ||
| 156 | + }, | ||
| 157 | + { | ||
| 158 | + id: 83945, | ||
| 159 | + code: "cargoType20", | ||
| 160 | + chineseName: "B", | ||
| 161 | + englishName: "B", | ||
| 162 | + description: "B", | ||
| 163 | + status: 1, | ||
| 164 | + dictId: 50125, | ||
| 165 | + dictCode: "cargoType", | ||
| 166 | + parentId: null, | ||
| 167 | + ext1: null, | ||
| 168 | + ext2: null, | ||
| 169 | + ext3: null, | ||
| 170 | + ordinal: 20, | ||
| 171 | + ext4: null, | ||
| 172 | + ext5: null, | ||
| 173 | + ext6: null, | ||
| 174 | + }, | ||
| 175 | + { | ||
| 176 | + id: 83946, | ||
| 177 | + code: "cargoType30", | ||
| 178 | + chineseName: "C", | ||
| 179 | + englishName: "C", | ||
| 180 | + description: "C", | ||
| 181 | + status: 1, | ||
| 182 | + dictId: 50125, | ||
| 183 | + dictCode: "cargoType", | ||
| 184 | + parentId: null, | ||
| 185 | + ext1: 84011, | ||
| 186 | + ext2: null, | ||
| 187 | + ext3: null, | ||
| 188 | + ordinal: 30, | ||
| 189 | + ext4: null, | ||
| 190 | + ext5: null, | ||
| 191 | + ext6: null, | ||
| 192 | + }, | ||
| 193 | + { | ||
| 194 | + id: 83947, | ||
| 195 | + code: "cargoType40", | ||
| 196 | + chineseName: "D", | ||
| 197 | + englishName: "D", | ||
| 198 | + description: "D", | ||
| 199 | + status: 1, | ||
| 200 | + dictId: 50125, | ||
| 201 | + dictCode: "cargoType", | ||
| 202 | + parentId: null, | ||
| 203 | + ext1: 84009, | ||
| 204 | + ext2: null, | ||
| 205 | + ext3: null, | ||
| 206 | + ordinal: 40, | ||
| 207 | + ext4: null, | ||
| 208 | + ext5: null, | ||
| 209 | + ext6: null, | ||
| 210 | + }, | ||
| 211 | + ], | ||
| 212 | + subCategory: [ | ||
| 213 | + { | ||
| 214 | + id: 107980, | ||
| 215 | + code: "subCategory40", | ||
| 216 | + chineseName: "Blank", | ||
| 217 | + englishName: "Blank", | ||
| 218 | + description: "blank", | ||
| 219 | + status: 1, | ||
| 220 | + dictId: 60230, | ||
| 221 | + dictCode: "subCategory", | ||
| 222 | + parentId: null, | ||
| 223 | + ext1: null, | ||
| 224 | + ext2: null, | ||
| 225 | + ext3: null, | ||
| 226 | + ordinal: 1, | ||
| 227 | + ext4: null, | ||
| 228 | + ext5: null, | ||
| 229 | + ext6: null, | ||
| 230 | + }, | ||
| 231 | + { | ||
| 232 | + id: 108696, | ||
| 233 | + code: "subCategory60", | ||
| 234 | + chineseName: "98563", | ||
| 235 | + englishName: null, | ||
| 236 | + description: null, | ||
| 237 | + status: 0, | ||
| 238 | + dictId: 60230, | ||
| 239 | + dictCode: "subCategory", | ||
| 240 | + parentId: null, | ||
| 241 | + ext1: null, | ||
| 242 | + ext2: null, | ||
| 243 | + ext3: null, | ||
| 244 | + ordinal: 2, | ||
| 245 | + ext4: null, | ||
| 246 | + ext5: null, | ||
| 247 | + ext6: null, | ||
| 248 | + }, | ||
| 249 | + { | ||
| 250 | + id: 107978, | ||
| 251 | + code: "subCategory20", | ||
| 252 | + chineseName: "Bond", | ||
| 253 | + englishName: "Bond", | ||
| 254 | + description: "bond", | ||
| 255 | + status: 1, | ||
| 256 | + dictId: 60230, | ||
| 257 | + dictCode: "subCategory", | ||
| 258 | + parentId: null, | ||
| 259 | + ext1: null, | ||
| 260 | + ext2: null, | ||
| 261 | + ext3: null, | ||
| 262 | + ordinal: 3, | ||
| 263 | + ext4: null, | ||
| 264 | + ext5: null, | ||
| 265 | + ext6: null, | ||
| 266 | + }, | ||
| 267 | + { | ||
| 268 | + id: 107977, | ||
| 269 | + code: "subCategory10", | ||
| 270 | + chineseName: "BSO", | ||
| 271 | + englishName: "BSO", | ||
| 272 | + description: "BSO", | ||
| 273 | + status: 1, | ||
| 274 | + dictId: 60230, | ||
| 275 | + dictCode: "subCategory", | ||
| 276 | + parentId: null, | ||
| 277 | + ext1: null, | ||
| 278 | + ext2: null, | ||
| 279 | + ext3: null, | ||
| 280 | + ordinal: 4, | ||
| 281 | + ext4: null, | ||
| 282 | + ext5: null, | ||
| 283 | + ext6: null, | ||
| 284 | + }, | ||
| 285 | + { | ||
| 286 | + id: 108735, | ||
| 287 | + code: "subCategory70", | ||
| 288 | + chineseName: "cecececececececececec", | ||
| 289 | + englishName: "cecececececececececec", | ||
| 290 | + description: null, | ||
| 291 | + status: 1, | ||
| 292 | + dictId: 60230, | ||
| 293 | + dictCode: "subCategory", | ||
| 294 | + parentId: null, | ||
| 295 | + ext1: null, | ||
| 296 | + ext2: null, | ||
| 297 | + ext3: null, | ||
| 298 | + ordinal: 5, | ||
| 299 | + ext4: null, | ||
| 300 | + ext5: null, | ||
| 301 | + ext6: null, | ||
| 302 | + }, | ||
| 303 | + { | ||
| 304 | + id: 107979, | ||
| 305 | + code: "subCategory30", | ||
| 306 | + chineseName: "Ecommerce", | ||
| 307 | + englishName: "Ecommerce", | ||
| 308 | + description: "ecommerce", | ||
| 309 | + status: 1, | ||
| 310 | + dictId: 60230, | ||
| 311 | + dictCode: "subCategory", | ||
| 312 | + parentId: null, | ||
| 313 | + ext1: null, | ||
| 314 | + ext2: null, | ||
| 315 | + ext3: null, | ||
| 316 | + ordinal: 6, | ||
| 317 | + ext4: null, | ||
| 318 | + ext5: null, | ||
| 319 | + ext6: null, | ||
| 320 | + }, | ||
| 321 | + { | ||
| 322 | + id: 108290, | ||
| 323 | + code: "subCategory50", | ||
| 324 | + chineseName: "KMW5", | ||
| 325 | + englishName: "KMW5", | ||
| 326 | + description: "KMW5", | ||
| 327 | + status: 0, | ||
| 328 | + dictId: 60230, | ||
| 329 | + dictCode: "subCategory", | ||
| 330 | + parentId: null, | ||
| 331 | + ext1: null, | ||
| 332 | + ext2: null, | ||
| 333 | + ext3: null, | ||
| 334 | + ordinal: 7, | ||
| 335 | + ext4: null, | ||
| 336 | + ext5: null, | ||
| 337 | + ext6: null, | ||
| 338 | + }, | ||
| 339 | + { | ||
| 340 | + id: 108858, | ||
| 341 | + code: "subCategory100", | ||
| 342 | + chineseName: "TEsT", | ||
| 343 | + englishName: "TEsT", | ||
| 344 | + description: null, | ||
| 345 | + status: 1, | ||
| 346 | + dictId: 60230, | ||
| 347 | + dictCode: "subCategory", | ||
| 348 | + parentId: null, | ||
| 349 | + ext1: null, | ||
| 350 | + ext2: null, | ||
| 351 | + ext3: null, | ||
| 352 | + ordinal: 8, | ||
| 353 | + ext4: null, | ||
| 354 | + ext5: null, | ||
| 355 | + ext6: null, | ||
| 356 | + }, | ||
| 357 | + { | ||
| 358 | + id: 108808, | ||
| 359 | + code: "subCategory90", | ||
| 360 | + chineseName: "testtesttest", | ||
| 361 | + englishName: "testtesttest", | ||
| 362 | + description: null, | ||
| 363 | + status: 1, | ||
| 364 | + dictId: 60230, | ||
| 365 | + dictCode: "subCategory", | ||
| 366 | + parentId: null, | ||
| 367 | + ext1: null, | ||
| 368 | + ext2: null, | ||
| 369 | + ext3: null, | ||
| 370 | + ordinal: 9, | ||
| 371 | + ext4: null, | ||
| 372 | + ext5: null, | ||
| 373 | + ext6: null, | ||
| 374 | + }, | ||
| 375 | + { | ||
| 376 | + id: 108807, | ||
| 377 | + code: "subCategory80", | ||
| 378 | + chineseName: "testtesttesttesttesttesttesttesttesttesttesttestte", | ||
| 379 | + englishName: "testtesttesttesttesttesttesttesttesttesttesttestte", | ||
| 380 | + description: null, | ||
| 381 | + status: 1, | ||
| 382 | + dictId: 60230, | ||
| 383 | + dictCode: "subCategory", | ||
| 384 | + parentId: null, | ||
| 385 | + ext1: null, | ||
| 386 | + ext2: null, | ||
| 387 | + ext3: null, | ||
| 388 | + ordinal: 10, | ||
| 389 | + ext4: null, | ||
| 390 | + ext5: null, | ||
| 391 | + ext6: null, | ||
| 392 | + }, | ||
| 393 | + ], | ||
| 394 | + cargoStatus: [ | ||
| 395 | + { | ||
| 396 | + id: 107776, | ||
| 397 | + code: "cargoStatus200", | ||
| 398 | + chineseName: "海关查验货", | ||
| 399 | + englishName: "海关查验货", | ||
| 400 | + description: "海关查验货", | ||
| 401 | + status: 1, | ||
| 402 | + dictId: 50127, | ||
| 403 | + dictCode: "cargoStatus", | ||
| 404 | + parentId: null, | ||
| 405 | + ext1: null, | ||
| 406 | + ext2: null, | ||
| 407 | + ext3: null, | ||
| 408 | + ordinal: 21, | ||
| 409 | + ext4: 1, | ||
| 410 | + ext5: null, | ||
| 411 | + ext6: null, | ||
| 412 | + }, | ||
| 413 | + { | ||
| 414 | + id: 107777, | ||
| 415 | + code: "cargoStatus210", | ||
| 416 | + chineseName: "海关退单货", | ||
| 417 | + englishName: "海关退单货", | ||
| 418 | + description: "海关退单货", | ||
| 419 | + status: 1, | ||
| 420 | + dictId: 50127, | ||
| 421 | + dictCode: "cargoStatus", | ||
| 422 | + parentId: null, | ||
| 423 | + ext1: null, | ||
| 424 | + ext2: null, | ||
| 425 | + ext3: null, | ||
| 426 | + ordinal: 22, | ||
| 427 | + ext4: 1, | ||
| 428 | + ext5: null, | ||
| 429 | + ext6: null, | ||
| 430 | + }, | ||
| 431 | + { | ||
| 432 | + id: 107778, | ||
| 433 | + code: "cargoStatus220", | ||
| 434 | + chineseName: "退回货", | ||
| 435 | + englishName: "退回货", | ||
| 436 | + description: "退回货", | ||
| 437 | + status: 1, | ||
| 438 | + dictId: 50127, | ||
| 439 | + dictCode: "cargoStatus", | ||
| 440 | + parentId: null, | ||
| 441 | + ext1: null, | ||
| 442 | + ext2: null, | ||
| 443 | + ext3: null, | ||
| 444 | + ordinal: 23, | ||
| 445 | + ext4: 1, | ||
| 446 | + ext5: null, | ||
| 447 | + ext6: null, | ||
| 448 | + }, | ||
| 449 | + { | ||
| 450 | + id: 107779, | ||
| 451 | + code: "cargoStatus230", | ||
| 452 | + chineseName: "扣关货", | ||
| 453 | + englishName: "扣关货", | ||
| 454 | + description: "扣关货", | ||
| 455 | + status: 1, | ||
| 456 | + dictId: 50127, | ||
| 457 | + dictCode: "cargoStatus", | ||
| 458 | + parentId: null, | ||
| 459 | + ext1: null, | ||
| 460 | + ext2: null, | ||
| 461 | + ext3: null, | ||
| 462 | + ordinal: 24, | ||
| 463 | + ext4: 1, | ||
| 464 | + ext5: null, | ||
| 465 | + ext6: null, | ||
| 466 | + }, | ||
| 467 | + { | ||
| 468 | + id: 107780, | ||
| 469 | + code: "cargoStatus240", | ||
| 470 | + chineseName: "报关货", | ||
| 471 | + englishName: "报关货", | ||
| 472 | + description: "报关货", | ||
| 473 | + status: 1, | ||
| 474 | + dictId: 50127, | ||
| 475 | + dictCode: "cargoStatus", | ||
| 476 | + parentId: null, | ||
| 477 | + ext1: null, | ||
| 478 | + ext2: null, | ||
| 479 | + ext3: null, | ||
| 480 | + ordinal: 25, | ||
| 481 | + ext4: 1, | ||
| 482 | + ext5: null, | ||
| 483 | + ext6: null, | ||
| 484 | + }, | ||
| 485 | + { | ||
| 486 | + id: 107781, | ||
| 487 | + code: "cargoStatus250", | ||
| 488 | + chineseName: "爆仓货", | ||
| 489 | + englishName: "爆仓货", | ||
| 490 | + description: "爆仓货", | ||
| 491 | + status: 1, | ||
| 492 | + dictId: 50127, | ||
| 493 | + dictCode: "cargoStatus", | ||
| 494 | + parentId: null, | ||
| 495 | + ext1: null, | ||
| 496 | + ext2: null, | ||
| 497 | + ext3: null, | ||
| 498 | + ordinal: 26, | ||
| 499 | + ext4: 1, | ||
| 500 | + ext5: null, | ||
| 501 | + ext6: null, | ||
| 502 | + }, | ||
| 503 | + { | ||
| 504 | + id: 107782, | ||
| 505 | + code: "cargoStatus260", | ||
| 506 | + chineseName: "新鲜货", | ||
| 507 | + englishName: "新鲜货", | ||
| 508 | + description: "新鲜货", | ||
| 509 | + status: 1, | ||
| 510 | + dictId: 50127, | ||
| 511 | + dictCode: "cargoStatus", | ||
| 512 | + parentId: null, | ||
| 513 | + ext1: null, | ||
| 514 | + ext2: null, | ||
| 515 | + ext3: null, | ||
| 516 | + ordinal: 27, | ||
| 517 | + ext4: 1, | ||
| 518 | + ext5: null, | ||
| 519 | + ext6: null, | ||
| 520 | + }, | ||
| 521 | + { | ||
| 522 | + id: 107964, | ||
| 523 | + code: "cargoStatus280", | ||
| 524 | + chineseName: "海关放行", | ||
| 525 | + englishName: "海关放行", | ||
| 526 | + description: "海关放行", | ||
| 527 | + status: 1, | ||
| 528 | + dictId: 50127, | ||
| 529 | + dictCode: "cargoStatus", | ||
| 530 | + parentId: null, | ||
| 531 | + ext1: null, | ||
| 532 | + ext2: null, | ||
| 533 | + ext3: null, | ||
| 534 | + ordinal: 29, | ||
| 535 | + ext4: 1, | ||
| 536 | + ext5: null, | ||
| 537 | + ext6: null, | ||
| 538 | + }, | ||
| 539 | + ], | ||
| 540 | + serviceCode: [ | ||
| 541 | + { | ||
| 542 | + id: 108298, | ||
| 543 | + code: "serviceCode12", | ||
| 544 | + chineseName: "CESHI", | ||
| 545 | + englishName: "CESHI", | ||
| 546 | + description: "CESHI", | ||
| 547 | + status: 1, | ||
| 548 | + dictId: 60189, | ||
| 549 | + dictCode: "serviceCode", | ||
| 550 | + parentId: null, | ||
| 551 | + ext1: null, | ||
| 552 | + ext2: null, | ||
| 553 | + ext3: null, | ||
| 554 | + ordinal: 4, | ||
| 555 | + ext4: null, | ||
| 556 | + ext5: null, | ||
| 557 | + ext6: null, | ||
| 558 | + }, | ||
| 559 | + { | ||
| 560 | + id: 108289, | ||
| 561 | + code: "serviceCode10", | ||
| 562 | + chineseName: "CHESHI", | ||
| 563 | + englishName: "CHESHI", | ||
| 564 | + description: "测试", | ||
| 565 | + status: 1, | ||
| 566 | + dictId: 60189, | ||
| 567 | + dictCode: "serviceCode", | ||
| 568 | + parentId: null, | ||
| 569 | + ext1: null, | ||
| 570 | + ext2: null, | ||
| 571 | + ext3: null, | ||
| 572 | + ordinal: 6, | ||
| 573 | + ext4: null, | ||
| 574 | + ext5: null, | ||
| 575 | + ext6: null, | ||
| 576 | + }, | ||
| 577 | + { | ||
| 578 | + id: 108198, | ||
| 579 | + code: "serviceCode8", | ||
| 580 | + chineseName: "FICP", | ||
| 581 | + englishName: "FICP", | ||
| 582 | + description: "FICP", | ||
| 583 | + status: 1, | ||
| 584 | + dictId: 60189, | ||
| 585 | + dictCode: "serviceCode", | ||
| 586 | + parentId: null, | ||
| 587 | + ext1: null, | ||
| 588 | + ext2: null, | ||
| 589 | + ext3: null, | ||
| 590 | + ordinal: 7, | ||
| 591 | + ext4: null, | ||
| 592 | + ext5: null, | ||
| 593 | + ext6: null, | ||
| 594 | + }, | ||
| 595 | + { | ||
| 596 | + id: 108195, | ||
| 597 | + code: "serviceCode5", | ||
| 598 | + chineseName: "FO", | ||
| 599 | + englishName: "FO", | ||
| 600 | + description: "FO", | ||
| 601 | + status: 1, | ||
| 602 | + dictId: 60189, | ||
| 603 | + dictCode: "serviceCode", | ||
| 604 | + parentId: null, | ||
| 605 | + ext1: null, | ||
| 606 | + ext2: null, | ||
| 607 | + ext3: null, | ||
| 608 | + ordinal: 8, | ||
| 609 | + ext4: null, | ||
| 610 | + ext5: null, | ||
| 611 | + ext6: null, | ||
| 612 | + }, | ||
| 613 | + { | ||
| 614 | + id: 108196, | ||
| 615 | + code: "serviceCode6", | ||
| 616 | + chineseName: "IE", | ||
| 617 | + englishName: "IE", | ||
| 618 | + description: "IE", | ||
| 619 | + status: 1, | ||
| 620 | + dictId: 60189, | ||
| 621 | + dictCode: "serviceCode", | ||
| 622 | + parentId: null, | ||
| 623 | + ext1: null, | ||
| 624 | + ext2: null, | ||
| 625 | + ext3: null, | ||
| 626 | + ordinal: 9, | ||
| 627 | + ext4: null, | ||
| 628 | + ext5: null, | ||
| 629 | + ext6: null, | ||
| 630 | + }, | ||
| 631 | + { | ||
| 632 | + id: 108191, | ||
| 633 | + code: "serviceCode1", | ||
| 634 | + chineseName: "IED", | ||
| 635 | + englishName: "IED", | ||
| 636 | + description: "IED", | ||
| 637 | + status: 1, | ||
| 638 | + dictId: 60189, | ||
| 639 | + dictCode: "serviceCode", | ||
| 640 | + parentId: null, | ||
| 641 | + ext1: null, | ||
| 642 | + ext2: null, | ||
| 643 | + ext3: null, | ||
| 644 | + ordinal: 10, | ||
| 645 | + ext4: null, | ||
| 646 | + ext5: null, | ||
| 647 | + ext6: null, | ||
| 648 | + }, | ||
| 649 | + { | ||
| 650 | + id: 108194, | ||
| 651 | + code: "serviceCode4", | ||
| 652 | + chineseName: "IEF", | ||
| 653 | + englishName: "IEF", | ||
| 654 | + description: "IEF", | ||
| 655 | + status: 1, | ||
| 656 | + dictId: 60189, | ||
| 657 | + dictCode: "serviceCode", | ||
| 658 | + parentId: null, | ||
| 659 | + ext1: null, | ||
| 660 | + ext2: null, | ||
| 661 | + ext3: null, | ||
| 662 | + ordinal: 11, | ||
| 663 | + ext4: null, | ||
| 664 | + ext5: null, | ||
| 665 | + ext6: null, | ||
| 666 | + }, | ||
| 667 | + { | ||
| 668 | + id: 108197, | ||
| 669 | + code: "serviceCode7", | ||
| 670 | + chineseName: "IP", | ||
| 671 | + englishName: "IP", | ||
| 672 | + description: "IP", | ||
| 673 | + status: 1, | ||
| 674 | + dictId: 60189, | ||
| 675 | + dictCode: "serviceCode", | ||
| 676 | + parentId: null, | ||
| 677 | + ext1: null, | ||
| 678 | + ext2: null, | ||
| 679 | + ext3: null, | ||
| 680 | + ordinal: 12, | ||
| 681 | + ext4: null, | ||
| 682 | + ext5: null, | ||
| 683 | + ext6: null, | ||
| 684 | + }, | ||
| 685 | + { | ||
| 686 | + id: 108192, | ||
| 687 | + code: "serviceCode2", | ||
| 688 | + chineseName: "IPD", | ||
| 689 | + englishName: "IPD", | ||
| 690 | + description: "IPD", | ||
| 691 | + status: 1, | ||
| 692 | + dictId: 60189, | ||
| 693 | + dictCode: "serviceCode", | ||
| 694 | + parentId: null, | ||
| 695 | + ext1: null, | ||
| 696 | + ext2: null, | ||
| 697 | + ext3: null, | ||
| 698 | + ordinal: 13, | ||
| 699 | + ext4: null, | ||
| 700 | + ext5: null, | ||
| 701 | + ext6: null, | ||
| 702 | + }, | ||
| 703 | + { | ||
| 704 | + id: 108199, | ||
| 705 | + code: "serviceCode9", | ||
| 706 | + chineseName: "IPE", | ||
| 707 | + englishName: "IPE", | ||
| 708 | + description: "IPE", | ||
| 709 | + status: 1, | ||
| 710 | + dictId: 60189, | ||
| 711 | + dictCode: "serviceCode", | ||
| 712 | + parentId: null, | ||
| 713 | + ext1: null, | ||
| 714 | + ext2: null, | ||
| 715 | + ext3: null, | ||
| 716 | + ordinal: 14, | ||
| 717 | + ext4: null, | ||
| 718 | + ext5: null, | ||
| 719 | + ext6: null, | ||
| 720 | + }, | ||
| 721 | + { | ||
| 722 | + id: 108193, | ||
| 723 | + code: "serviceCode3", | ||
| 724 | + chineseName: "IPF", | ||
| 725 | + englishName: "IPF", | ||
| 726 | + description: "IPF", | ||
| 727 | + status: 1, | ||
| 728 | + dictId: 60189, | ||
| 729 | + dictCode: "serviceCode", | ||
| 730 | + parentId: null, | ||
| 731 | + ext1: null, | ||
| 732 | + ext2: null, | ||
| 733 | + ext3: null, | ||
| 734 | + ordinal: 15, | ||
| 735 | + ext4: null, | ||
| 736 | + ext5: null, | ||
| 737 | + ext6: null, | ||
| 738 | + }, | ||
| 739 | + { | ||
| 740 | + id: 108368, | ||
| 741 | + code: "serviceCode14", | ||
| 742 | + chineseName: "ce321", | ||
| 743 | + englishName: "ce321", | ||
| 744 | + description: null, | ||
| 745 | + status: 1, | ||
| 746 | + dictId: 60189, | ||
| 747 | + dictCode: "serviceCode", | ||
| 748 | + parentId: null, | ||
| 749 | + ext1: null, | ||
| 750 | + ext2: null, | ||
| 751 | + ext3: null, | ||
| 752 | + ordinal: 1, | ||
| 753 | + ext4: null, | ||
| 754 | + ext5: null, | ||
| 755 | + ext6: null, | ||
| 756 | + }, | ||
| 757 | + { | ||
| 758 | + id: 108369, | ||
| 759 | + code: "serviceCode15", | ||
| 760 | + chineseName: "ces0193", | ||
| 761 | + englishName: "ces0193", | ||
| 762 | + description: "ces0193", | ||
| 763 | + status: 1, | ||
| 764 | + dictId: 60189, | ||
| 765 | + dictCode: "serviceCode", | ||
| 766 | + parentId: null, | ||
| 767 | + ext1: null, | ||
| 768 | + ext2: null, | ||
| 769 | + ext3: null, | ||
| 770 | + ordinal: 2, | ||
| 771 | + ext4: null, | ||
| 772 | + ext5: null, | ||
| 773 | + ext6: null, | ||
| 774 | + }, | ||
| 775 | + { | ||
| 776 | + id: 108367, | ||
| 777 | + code: "serviceCode13", | ||
| 778 | + chineseName: "ces1234", | ||
| 779 | + englishName: "ces1234", | ||
| 780 | + description: "ces1234", | ||
| 781 | + status: 1, | ||
| 782 | + dictId: 60189, | ||
| 783 | + dictCode: "serviceCode", | ||
| 784 | + parentId: null, | ||
| 785 | + ext1: null, | ||
| 786 | + ext2: null, | ||
| 787 | + ext3: null, | ||
| 788 | + ordinal: 3, | ||
| 789 | + ext4: null, | ||
| 790 | + ext5: null, | ||
| 791 | + ext6: null, | ||
| 792 | + }, | ||
| 793 | + ], | ||
| 794 | + handlingCode: [ | ||
| 795 | + { | ||
| 796 | + id: 108091, | ||
| 797 | + code: "handlingCode40", | ||
| 798 | + chineseName: "ABC", | ||
| 799 | + englishName: "ABC", | ||
| 800 | + description: "ABC", | ||
| 801 | + status: 1, | ||
| 802 | + dictId: 60349, | ||
| 803 | + dictCode: "handlingCode", | ||
| 804 | + parentId: null, | ||
| 805 | + ext1: null, | ||
| 806 | + ext2: null, | ||
| 807 | + ext3: null, | ||
| 808 | + ordinal: 2, | ||
| 809 | + ext4: null, | ||
| 810 | + ext5: null, | ||
| 811 | + ext6: null, | ||
| 812 | + }, | ||
| 813 | + { | ||
| 814 | + id: 108093, | ||
| 815 | + code: "handlingCode60", | ||
| 816 | + chineseName: "BLANK", | ||
| 817 | + englishName: "BLANK", | ||
| 818 | + description: "BLANK", | ||
| 819 | + status: 1, | ||
| 820 | + dictId: 60349, | ||
| 821 | + dictCode: "handlingCode", | ||
| 822 | + parentId: null, | ||
| 823 | + ext1: null, | ||
| 824 | + ext2: null, | ||
| 825 | + ext3: null, | ||
| 826 | + ordinal: 1, | ||
| 827 | + ext4: null, | ||
| 828 | + ext5: null, | ||
| 829 | + ext6: null, | ||
| 830 | + }, | ||
| 831 | + { | ||
| 832 | + id: 108090, | ||
| 833 | + code: "handlingCode30", | ||
| 834 | + chineseName: "BON", | ||
| 835 | + englishName: "BON", | ||
| 836 | + description: "BON", | ||
| 837 | + status: 1, | ||
| 838 | + dictId: 60349, | ||
| 839 | + dictCode: "handlingCode", | ||
| 840 | + parentId: null, | ||
| 841 | + ext1: null, | ||
| 842 | + ext2: null, | ||
| 843 | + ext3: null, | ||
| 844 | + ordinal: 3, | ||
| 845 | + ext4: null, | ||
| 846 | + ext5: null, | ||
| 847 | + ext6: null, | ||
| 848 | + }, | ||
| 849 | + { | ||
| 850 | + id: 108656, | ||
| 851 | + code: "handlingCode100", | ||
| 852 | + chineseName: "CES01;CES02", | ||
| 853 | + englishName: "CES01;CES02", | ||
| 854 | + description: "CES01;CES02", | ||
| 855 | + status: 0, | ||
| 856 | + dictId: 60349, | ||
| 857 | + dictCode: "handlingCode", | ||
| 858 | + parentId: null, | ||
| 859 | + ext1: null, | ||
| 860 | + ext2: null, | ||
| 861 | + ext3: null, | ||
| 862 | + ordinal: 5, | ||
| 863 | + ext4: null, | ||
| 864 | + ext5: null, | ||
| 865 | + ext6: null, | ||
| 866 | + }, | ||
| 867 | + { | ||
| 868 | + id: 108657, | ||
| 869 | + code: "handlingCode110", | ||
| 870 | + chineseName: "CES03", | ||
| 871 | + englishName: "CES03", | ||
| 872 | + description: "123", | ||
| 873 | + status: 0, | ||
| 874 | + dictId: 60349, | ||
| 875 | + dictCode: "handlingCode", | ||
| 876 | + parentId: null, | ||
| 877 | + ext1: null, | ||
| 878 | + ext2: null, | ||
| 879 | + ext3: null, | ||
| 880 | + ordinal: 6, | ||
| 881 | + ext4: null, | ||
| 882 | + ext5: null, | ||
| 883 | + ext6: null, | ||
| 884 | + }, | ||
| 885 | + { | ||
| 886 | + id: 108088, | ||
| 887 | + code: "handlingCode10", | ||
| 888 | + chineseName: "CHM", | ||
| 889 | + englishName: "CHM", | ||
| 890 | + description: "CHM", | ||
| 891 | + status: 1, | ||
| 892 | + dictId: 60349, | ||
| 893 | + dictCode: "handlingCode", | ||
| 894 | + parentId: null, | ||
| 895 | + ext1: null, | ||
| 896 | + ext2: null, | ||
| 897 | + ext3: null, | ||
| 898 | + ordinal: 11, | ||
| 899 | + ext4: null, | ||
| 900 | + ext5: null, | ||
| 901 | + ext6: null, | ||
| 902 | + }, | ||
| 903 | + { | ||
| 904 | + id: 108092, | ||
| 905 | + code: "handlingCode50", | ||
| 906 | + chineseName: "DG", | ||
| 907 | + englishName: "DG", | ||
| 908 | + description: "DG", | ||
| 909 | + status: 1, | ||
| 910 | + dictId: 60349, | ||
| 911 | + dictCode: "handlingCode", | ||
| 912 | + parentId: null, | ||
| 913 | + ext1: null, | ||
| 914 | + ext2: null, | ||
| 915 | + ext3: null, | ||
| 916 | + ordinal: 12, | ||
| 917 | + ext4: null, | ||
| 918 | + ext5: null, | ||
| 919 | + ext6: null, | ||
| 920 | + }, | ||
| 921 | + { | ||
| 922 | + id: 108286, | ||
| 923 | + code: "handlingCode70", | ||
| 924 | + chineseName: "KMW1", | ||
| 925 | + englishName: "KMW1", | ||
| 926 | + description: "测试", | ||
| 927 | + status: 1, | ||
| 928 | + dictId: 60349, | ||
| 929 | + dictCode: "handlingCode", | ||
| 930 | + parentId: null, | ||
| 931 | + ext1: null, | ||
| 932 | + ext2: null, | ||
| 933 | + ext3: null, | ||
| 934 | + ordinal: 13, | ||
| 935 | + ext4: null, | ||
| 936 | + ext5: null, | ||
| 937 | + ext6: null, | ||
| 938 | + }, | ||
| 939 | + { | ||
| 940 | + id: 108089, | ||
| 941 | + code: "handlingCode20", | ||
| 942 | + chineseName: "O50", | ||
| 943 | + englishName: "O50", | ||
| 944 | + description: "O50", | ||
| 945 | + status: 1, | ||
| 946 | + dictId: 60349, | ||
| 947 | + dictCode: "handlingCode", | ||
| 948 | + parentId: null, | ||
| 949 | + ext1: null, | ||
| 950 | + ext2: null, | ||
| 951 | + ext3: null, | ||
| 952 | + ordinal: 14, | ||
| 953 | + ext4: null, | ||
| 954 | + ext5: null, | ||
| 955 | + ext6: null, | ||
| 956 | + }, | ||
| 957 | + { | ||
| 958 | + id: 108324, | ||
| 959 | + code: "handlingCode90", | ||
| 960 | + chineseName: "TEsT", | ||
| 961 | + englishName: "TEST", | ||
| 962 | + description: null, | ||
| 963 | + status: 1, | ||
| 964 | + dictId: 60349, | ||
| 965 | + dictCode: "handlingCode", | ||
| 966 | + parentId: null, | ||
| 967 | + ext1: null, | ||
| 968 | + ext2: null, | ||
| 969 | + ext3: null, | ||
| 970 | + ordinal: 15, | ||
| 971 | + ext4: null, | ||
| 972 | + ext5: null, | ||
| 973 | + ext6: null, | ||
| 974 | + }, | ||
| 975 | + { | ||
| 976 | + id: 108876, | ||
| 977 | + code: "handlingCode150", | ||
| 978 | + chineseName: "ces", | ||
| 979 | + englishName: "ces", | ||
| 980 | + description: null, | ||
| 981 | + status: 1, | ||
| 982 | + dictId: 60349, | ||
| 983 | + dictCode: "handlingCode", | ||
| 984 | + parentId: null, | ||
| 985 | + ext1: null, | ||
| 986 | + ext2: null, | ||
| 987 | + ext3: null, | ||
| 988 | + ordinal: 4, | ||
| 989 | + ext4: null, | ||
| 990 | + ext5: null, | ||
| 991 | + ext6: null, | ||
| 992 | + }, | ||
| 993 | + { | ||
| 994 | + id: 108976, | ||
| 995 | + code: "handlingCode160", | ||
| 996 | + chineseName: "ces4444", | ||
| 997 | + englishName: "ces4444", | ||
| 998 | + description: null, | ||
| 999 | + status: 0, | ||
| 1000 | + dictId: 60349, | ||
| 1001 | + dictCode: "handlingCode", | ||
| 1002 | + parentId: null, | ||
| 1003 | + ext1: null, | ||
| 1004 | + ext2: null, | ||
| 1005 | + ext3: null, | ||
| 1006 | + ordinal: 7, | ||
| 1007 | + ext4: null, | ||
| 1008 | + ext5: null, | ||
| 1009 | + ext6: null, | ||
| 1010 | + }, | ||
| 1011 | + { | ||
| 1012 | + id: 108977, | ||
| 1013 | + code: "handlingCode170", | ||
| 1014 | + chineseName: "cess", | ||
| 1015 | + englishName: "cess", | ||
| 1016 | + description: "cess", | ||
| 1017 | + status: 0, | ||
| 1018 | + dictId: 60349, | ||
| 1019 | + dictCode: "handlingCode", | ||
| 1020 | + parentId: null, | ||
| 1021 | + ext1: null, | ||
| 1022 | + ext2: null, | ||
| 1023 | + ext3: null, | ||
| 1024 | + ordinal: 8, | ||
| 1025 | + ext4: null, | ||
| 1026 | + ext5: null, | ||
| 1027 | + ext6: null, | ||
| 1028 | + }, | ||
| 1029 | + { | ||
| 1030 | + id: 108978, | ||
| 1031 | + code: "handlingCode180", | ||
| 1032 | + chineseName: "cesss", | ||
| 1033 | + englishName: "cesss", | ||
| 1034 | + description: "cesss", | ||
| 1035 | + status: 0, | ||
| 1036 | + dictId: 60349, | ||
| 1037 | + dictCode: "handlingCode", | ||
| 1038 | + parentId: null, | ||
| 1039 | + ext1: null, | ||
| 1040 | + ext2: null, | ||
| 1041 | + ext3: null, | ||
| 1042 | + ordinal: 9, | ||
| 1043 | + ext4: null, | ||
| 1044 | + ext5: null, | ||
| 1045 | + ext6: null, | ||
| 1046 | + }, | ||
| 1047 | + { | ||
| 1048 | + id: 108979, | ||
| 1049 | + code: "handlingCode190", | ||
| 1050 | + chineseName: "cessss", | ||
| 1051 | + englishName: "cessss", | ||
| 1052 | + description: "cessss", | ||
| 1053 | + status: 0, | ||
| 1054 | + dictId: 60349, | ||
| 1055 | + dictCode: "handlingCode", | ||
| 1056 | + parentId: null, | ||
| 1057 | + ext1: null, | ||
| 1058 | + ext2: null, | ||
| 1059 | + ext3: null, | ||
| 1060 | + ordinal: 10, | ||
| 1061 | + ext4: null, | ||
| 1062 | + ext5: null, | ||
| 1063 | + ext6: null, | ||
| 1064 | + }, | ||
| 1065 | + { | ||
| 1066 | + id: 108806, | ||
| 1067 | + code: "handlingCode140", | ||
| 1068 | + chineseName: "testtesttest", | ||
| 1069 | + englishName: "testtesttest", | ||
| 1070 | + description: null, | ||
| 1071 | + status: 1, | ||
| 1072 | + dictId: 60349, | ||
| 1073 | + dictCode: "handlingCode", | ||
| 1074 | + parentId: null, | ||
| 1075 | + ext1: null, | ||
| 1076 | + ext2: null, | ||
| 1077 | + ext3: null, | ||
| 1078 | + ordinal: 16, | ||
| 1079 | + ext4: null, | ||
| 1080 | + ext5: null, | ||
| 1081 | + ext6: null, | ||
| 1082 | + }, | ||
| 1083 | + { | ||
| 1084 | + id: 108805, | ||
| 1085 | + code: "handlingCode130", | ||
| 1086 | + chineseName: "testtesttesttesttesttesttesttesttesttesttesttestte", | ||
| 1087 | + englishName: "testtesttesttesttesttesttesttesttesttesttesttestte", | ||
| 1088 | + description: null, | ||
| 1089 | + status: 1, | ||
| 1090 | + dictId: 60349, | ||
| 1091 | + dictCode: "handlingCode", | ||
| 1092 | + parentId: null, | ||
| 1093 | + ext1: null, | ||
| 1094 | + ext2: null, | ||
| 1095 | + ext3: null, | ||
| 1096 | + ordinal: 17, | ||
| 1097 | + ext4: null, | ||
| 1098 | + ext5: null, | ||
| 1099 | + ext6: null, | ||
| 1100 | + }, | ||
| 1101 | + { | ||
| 1102 | + id: 108981, | ||
| 1103 | + code: "handlingCode210", | ||
| 1104 | + chineseName: "~PJ200", | ||
| 1105 | + englishName: null, | ||
| 1106 | + description: null, | ||
| 1107 | + status: 1, | ||
| 1108 | + dictId: 60349, | ||
| 1109 | + dictCode: "handlingCode", | ||
| 1110 | + parentId: null, | ||
| 1111 | + ext1: null, | ||
| 1112 | + ext2: null, | ||
| 1113 | + ext3: null, | ||
| 1114 | + ordinal: 18, | ||
| 1115 | + ext4: null, | ||
| 1116 | + ext5: null, | ||
| 1117 | + ext6: null, | ||
| 1118 | + }, | ||
| 1119 | + { | ||
| 1120 | + id: 108982, | ||
| 1121 | + code: "handlingCode220", | ||
| 1122 | + chineseName: "~PJ222", | ||
| 1123 | + englishName: null, | ||
| 1124 | + description: null, | ||
| 1125 | + status: 1, | ||
| 1126 | + dictId: 60349, | ||
| 1127 | + dictCode: "handlingCode", | ||
| 1128 | + parentId: null, | ||
| 1129 | + ext1: null, | ||
| 1130 | + ext2: null, | ||
| 1131 | + ext3: null, | ||
| 1132 | + ordinal: 19, | ||
| 1133 | + ext4: null, | ||
| 1134 | + ext5: null, | ||
| 1135 | + ext6: null, | ||
| 1136 | + }, | ||
| 1137 | + { | ||
| 1138 | + id: 108980, | ||
| 1139 | + code: "handlingCode200", | ||
| 1140 | + chineseName: "~PJ223", | ||
| 1141 | + englishName: null, | ||
| 1142 | + description: null, | ||
| 1143 | + status: 1, | ||
| 1144 | + dictId: 60349, | ||
| 1145 | + dictCode: "handlingCode", | ||
| 1146 | + parentId: null, | ||
| 1147 | + ext1: null, | ||
| 1148 | + ext2: null, | ||
| 1149 | + ext3: null, | ||
| 1150 | + ordinal: 20, | ||
| 1151 | + ext4: null, | ||
| 1152 | + ext5: null, | ||
| 1153 | + ext6: null, | ||
| 1154 | + }, | ||
| 1155 | + { | ||
| 1156 | + id: 108695, | ||
| 1157 | + code: "handlingCode120", | ||
| 1158 | + chineseName: "测试321", | ||
| 1159 | + englishName: null, | ||
| 1160 | + description: null, | ||
| 1161 | + status: 0, | ||
| 1162 | + dictId: 60349, | ||
| 1163 | + dictCode: "handlingCode", | ||
| 1164 | + parentId: null, | ||
| 1165 | + ext1: null, | ||
| 1166 | + ext2: null, | ||
| 1167 | + ext3: null, | ||
| 1168 | + ordinal: 21, | ||
| 1169 | + ext4: null, | ||
| 1170 | + ext5: null, | ||
| 1171 | + ext6: null, | ||
| 1172 | + }, | ||
| 1173 | + ], | ||
| 1174 | + puporpux: [ | ||
| 1175 | + { | ||
| 1176 | + id: 108575, | ||
| 1177 | + code: "PUPORPUX11", | ||
| 1178 | + chineseName: "POM01", | ||
| 1179 | + englishName: "POM01", | ||
| 1180 | + description: "POM01", | ||
| 1181 | + status: 1, | ||
| 1182 | + dictId: 60389, | ||
| 1183 | + dictCode: "PUPORPUX", | ||
| 1184 | + parentId: null, | ||
| 1185 | + ext1: null, | ||
| 1186 | + ext2: null, | ||
| 1187 | + ext3: null, | ||
| 1188 | + ordinal: 4, | ||
| 1189 | + ext4: null, | ||
| 1190 | + ext5: null, | ||
| 1191 | + ext6: null, | ||
| 1192 | + }, | ||
| 1193 | + { | ||
| 1194 | + id: 108576, | ||
| 1195 | + code: "PUPORPUX12", | ||
| 1196 | + chineseName: "POM03", | ||
| 1197 | + englishName: "POM03", | ||
| 1198 | + description: "POM03", | ||
| 1199 | + status: 1, | ||
| 1200 | + dictId: 60389, | ||
| 1201 | + dictCode: "PUPORPUX", | ||
| 1202 | + parentId: null, | ||
| 1203 | + ext1: null, | ||
| 1204 | + ext2: null, | ||
| 1205 | + ext3: null, | ||
| 1206 | + ordinal: 6, | ||
| 1207 | + ext4: null, | ||
| 1208 | + ext5: null, | ||
| 1209 | + ext6: null, | ||
| 1210 | + }, | ||
| 1211 | + { | ||
| 1212 | + id: 108498, | ||
| 1213 | + code: "PUPORPUX10", | ||
| 1214 | + chineseName: "QIA33", | ||
| 1215 | + englishName: "QIA33", | ||
| 1216 | + description: "测试", | ||
| 1217 | + status: 0, | ||
| 1218 | + dictId: 60389, | ||
| 1219 | + dictCode: "PUPORPUX", | ||
| 1220 | + parentId: null, | ||
| 1221 | + ext1: null, | ||
| 1222 | + ext2: null, | ||
| 1223 | + ext3: null, | ||
| 1224 | + ordinal: 14, | ||
| 1225 | + ext4: null, | ||
| 1226 | + ext5: null, | ||
| 1227 | + ext6: null, | ||
| 1228 | + }, | ||
| 1229 | + { | ||
| 1230 | + id: 108418, | ||
| 1231 | + code: "PUPORPUX7", | ||
| 1232 | + chineseName: "PUP", | ||
| 1233 | + englishName: "PUP", | ||
| 1234 | + description: "PUP", | ||
| 1235 | + status: 1, | ||
| 1236 | + dictId: 60389, | ||
| 1237 | + dictCode: "PUPORPUX", | ||
| 1238 | + parentId: null, | ||
| 1239 | + ext1: null, | ||
| 1240 | + ext2: null, | ||
| 1241 | + ext3: null, | ||
| 1242 | + ordinal: 7, | ||
| 1243 | + ext4: null, | ||
| 1244 | + ext5: null, | ||
| 1245 | + ext6: null, | ||
| 1246 | + }, | ||
| 1247 | + { | ||
| 1248 | + id: 108878, | ||
| 1249 | + code: "PUPORPUX16", | ||
| 1250 | + chineseName: "aAAXXX", | ||
| 1251 | + englishName: "aAAXXX", | ||
| 1252 | + description: null, | ||
| 1253 | + status: 1, | ||
| 1254 | + dictId: 60389, | ||
| 1255 | + dictCode: "PUPORPUX", | ||
| 1256 | + parentId: null, | ||
| 1257 | + ext1: null, | ||
| 1258 | + ext2: null, | ||
| 1259 | + ext3: null, | ||
| 1260 | + ordinal: 2, | ||
| 1261 | + ext4: null, | ||
| 1262 | + ext5: null, | ||
| 1263 | + ext6: null, | ||
| 1264 | + }, | ||
| 1265 | + { | ||
| 1266 | + id: 108405, | ||
| 1267 | + code: "PUPORPUX1", | ||
| 1268 | + chineseName: "BLANK", | ||
| 1269 | + englishName: "BLANK", | ||
| 1270 | + description: "BLANK", | ||
| 1271 | + status: 1, | ||
| 1272 | + dictId: 60389, | ||
| 1273 | + dictCode: "PUPORPUX", | ||
| 1274 | + parentId: null, | ||
| 1275 | + ext1: null, | ||
| 1276 | + ext2: null, | ||
| 1277 | + ext3: null, | ||
| 1278 | + ordinal: 1, | ||
| 1279 | + ext4: null, | ||
| 1280 | + ext5: null, | ||
| 1281 | + ext6: null, | ||
| 1282 | + }, | ||
| 1283 | + { | ||
| 1284 | + id: 108497, | ||
| 1285 | + code: "PUPORPUX9", | ||
| 1286 | + chineseName: "POM02", | ||
| 1287 | + englishName: "POM02", | ||
| 1288 | + description: "测试用", | ||
| 1289 | + status: 1, | ||
| 1290 | + dictId: 60389, | ||
| 1291 | + dictCode: "PUPORPUX", | ||
| 1292 | + parentId: null, | ||
| 1293 | + ext1: null, | ||
| 1294 | + ext2: null, | ||
| 1295 | + ext3: null, | ||
| 1296 | + ordinal: 5, | ||
| 1297 | + ext4: null, | ||
| 1298 | + ext5: null, | ||
| 1299 | + ext6: null, | ||
| 1300 | + }, | ||
| 1301 | + { | ||
| 1302 | + id: 108855, | ||
| 1303 | + code: "PUPORPUX15", | ||
| 1304 | + chineseName: "TEsT", | ||
| 1305 | + englishName: "TEsT", | ||
| 1306 | + description: null, | ||
| 1307 | + status: 1, | ||
| 1308 | + dictId: 60389, | ||
| 1309 | + dictCode: "PUPORPUX", | ||
| 1310 | + parentId: null, | ||
| 1311 | + ext1: null, | ||
| 1312 | + ext2: null, | ||
| 1313 | + ext3: null, | ||
| 1314 | + ordinal: 15, | ||
| 1315 | + ext4: null, | ||
| 1316 | + ext5: null, | ||
| 1317 | + ext6: null, | ||
| 1318 | + }, | ||
| 1319 | + { | ||
| 1320 | + id: 108496, | ||
| 1321 | + code: "PUPORPUX8", | ||
| 1322 | + chineseName: "POL21", | ||
| 1323 | + englishName: "POL21", | ||
| 1324 | + description: "测试用", | ||
| 1325 | + status: 0, | ||
| 1326 | + dictId: 60389, | ||
| 1327 | + dictCode: "PUPORPUX", | ||
| 1328 | + parentId: null, | ||
| 1329 | + ext1: null, | ||
| 1330 | + ext2: null, | ||
| 1331 | + ext3: null, | ||
| 1332 | + ordinal: 3, | ||
| 1333 | + ext4: null, | ||
| 1334 | + ext5: null, | ||
| 1335 | + ext6: null, | ||
| 1336 | + }, | ||
| 1337 | + { | ||
| 1338 | + id: 108615, | ||
| 1339 | + code: "PUPORPUX13", | ||
| 1340 | + chineseName: "QIA1", | ||
| 1341 | + englishName: "QIA1", | ||
| 1342 | + description: null, | ||
| 1343 | + status: 0, | ||
| 1344 | + dictId: 60389, | ||
| 1345 | + dictCode: "PUPORPUX", | ||
| 1346 | + parentId: null, | ||
| 1347 | + ext1: null, | ||
| 1348 | + ext2: null, | ||
| 1349 | + ext3: null, | ||
| 1350 | + ordinal: 13, | ||
| 1351 | + ext4: null, | ||
| 1352 | + ext5: null, | ||
| 1353 | + ext6: null, | ||
| 1354 | + }, | ||
| 1355 | + { | ||
| 1356 | + id: 108815, | ||
| 1357 | + code: "PUPORPUX14", | ||
| 1358 | + chineseName: "测试0731", | ||
| 1359 | + englishName: "测试0731", | ||
| 1360 | + description: null, | ||
| 1361 | + status: 1, | ||
| 1362 | + dictId: 60389, | ||
| 1363 | + dictCode: "PUPORPUX", | ||
| 1364 | + parentId: null, | ||
| 1365 | + ext1: null, | ||
| 1366 | + ext2: null, | ||
| 1367 | + ext3: null, | ||
| 1368 | + ordinal: 16, | ||
| 1369 | + ext4: null, | ||
| 1370 | + ext5: null, | ||
| 1371 | + ext6: null, | ||
| 1372 | + }, | ||
| 1373 | + { | ||
| 1374 | + id: 108412, | ||
| 1375 | + code: "PUPORPUX2", | ||
| 1376 | + chineseName: "PUX46", | ||
| 1377 | + englishName: "PUX46", | ||
| 1378 | + description: "PUX46", | ||
| 1379 | + status: 1, | ||
| 1380 | + dictId: 60389, | ||
| 1381 | + dictCode: "PUPORPUX", | ||
| 1382 | + parentId: null, | ||
| 1383 | + ext1: null, | ||
| 1384 | + ext2: null, | ||
| 1385 | + ext3: null, | ||
| 1386 | + ordinal: 10, | ||
| 1387 | + ext4: null, | ||
| 1388 | + ext5: null, | ||
| 1389 | + ext6: null, | ||
| 1390 | + }, | ||
| 1391 | + { | ||
| 1392 | + id: 108413, | ||
| 1393 | + code: "PUPORPUX3", | ||
| 1394 | + chineseName: "PUX79", | ||
| 1395 | + englishName: "PUX79", | ||
| 1396 | + description: "PUX79", | ||
| 1397 | + status: 1, | ||
| 1398 | + dictId: 60389, | ||
| 1399 | + dictCode: "PUPORPUX", | ||
| 1400 | + parentId: null, | ||
| 1401 | + ext1: null, | ||
| 1402 | + ext2: null, | ||
| 1403 | + ext3: null, | ||
| 1404 | + ordinal: 11, | ||
| 1405 | + ext4: null, | ||
| 1406 | + ext5: null, | ||
| 1407 | + ext6: null, | ||
| 1408 | + }, | ||
| 1409 | + { | ||
| 1410 | + id: 108414, | ||
| 1411 | + code: "PUPORPUX4", | ||
| 1412 | + chineseName: "PUX23", | ||
| 1413 | + englishName: "PUX23", | ||
| 1414 | + description: "PUX23", | ||
| 1415 | + status: 1, | ||
| 1416 | + dictId: 60389, | ||
| 1417 | + dictCode: "PUPORPUX", | ||
| 1418 | + parentId: null, | ||
| 1419 | + ext1: null, | ||
| 1420 | + ext2: null, | ||
| 1421 | + ext3: null, | ||
| 1422 | + ordinal: 9, | ||
| 1423 | + ext4: null, | ||
| 1424 | + ext5: null, | ||
| 1425 | + ext6: null, | ||
| 1426 | + }, | ||
| 1427 | + { | ||
| 1428 | + id: 108415, | ||
| 1429 | + code: "PUPORPUX5", | ||
| 1430 | + chineseName: "PUX17", | ||
| 1431 | + englishName: "PUX17", | ||
| 1432 | + description: "PUX17", | ||
| 1433 | + status: 1, | ||
| 1434 | + dictId: 60389, | ||
| 1435 | + dictCode: "PUPORPUX", | ||
| 1436 | + parentId: null, | ||
| 1437 | + ext1: null, | ||
| 1438 | + ext2: null, | ||
| 1439 | + ext3: null, | ||
| 1440 | + ordinal: 8, | ||
| 1441 | + ext4: null, | ||
| 1442 | + ext5: null, | ||
| 1443 | + ext6: null, | ||
| 1444 | + }, | ||
| 1445 | + { | ||
| 1446 | + id: 108416, | ||
| 1447 | + code: "PUPORPUX6", | ||
| 1448 | + chineseName: "PUX86", | ||
| 1449 | + englishName: "PUX86", | ||
| 1450 | + description: "PUX86", | ||
| 1451 | + status: 1, | ||
| 1452 | + dictId: 60389, | ||
| 1453 | + dictCode: "PUPORPUX", | ||
| 1454 | + parentId: null, | ||
| 1455 | + ext1: null, | ||
| 1456 | + ext2: null, | ||
| 1457 | + ext3: null, | ||
| 1458 | + ordinal: 12, | ||
| 1459 | + ext4: null, | ||
| 1460 | + ext5: null, | ||
| 1461 | + ext6: null, | ||
| 1462 | + }, | ||
| 1463 | + ], | ||
| 1464 | + }, | ||
| 1465 | +}; |
| 1 | +<template> | ||
| 2 | + <div ref="barEcharts" class="route-info-container"> | ||
| 3 | + <!-- 航线设置规则信息查询条件 --> | ||
| 4 | + <el-row style="padding: 0 50px"> | ||
| 5 | + <el-col> | ||
| 6 | + <yl-form ref="ruleForm" :formConfig="formConfig" :queryForm="queryForm" :inline="false" formWidth="auto" | ||
| 7 | + @blur="blurEvent"> | ||
| 8 | + <yl-draggable></yl-draggable> | ||
| 9 | + </yl-form> | ||
| 10 | + </el-col> | ||
| 11 | + </el-row> | ||
| 12 | + <!-- 航线设置规则信息 --> | ||
| 13 | + <el-row> | ||
| 14 | + <el-col :span="24"> | ||
| 15 | + <el-divider content-position="left">航线维度设置</el-divider> | ||
| 16 | + </el-col> | ||
| 17 | + <el-col> | ||
| 18 | + <route-info :routesInfo="routesInfo" :cargoType="cargoType" :cargoStatus="cargoStatus" :puporpux="puporpux" | ||
| 19 | + :serviceCode="serviceCode" :handlingCode="handlingCode" :subCategory="subCategory" @collapse="collapseChange" | ||
| 20 | + @location="changeLocation" @destinationSite="changeDestinationSite" @cargoType="changeCargoType" | ||
| 21 | + @cargoStatus="changeCargoStatus" @puporpux="changePuporpux" @serviceCode="changeServiceCode" | ||
| 22 | + @handlingCode="changeHandlingCode" @subCategory="changeSubCategory" @addRlue="addRlue"> | ||
| 23 | + </route-info> | ||
| 24 | + </el-col> | ||
| 25 | + </el-row> | ||
| 26 | + </div> | ||
| 27 | +</template> | ||
| 28 | +<script> | ||
| 29 | +import YlForm from "@/components/YlForm"; | ||
| 30 | +import RouteInfo from "./components/routeInfo"; | ||
| 31 | +import YlDraggable from "@/components/YlDraggable"; | ||
| 32 | +import { formConfig, routeRuleForm } from "./formConfig"; | ||
| 33 | +import { removeDuplicates, filterRepeat } from "@/utils" | ||
| 34 | +import { | ||
| 35 | + allDictData, // 获取全部字典 | ||
| 36 | + findDestinationFltRuleByFlightNo, // 航线维度设置详情 | ||
| 37 | + findByFlightId, // 通过id查询目的航班维度配置详情 | ||
| 38 | + updateOrAddFlight, // 修改 | ||
| 39 | + delFlightId, // 删除航线规则配置 | ||
| 40 | + enableOrDisable, // 是否停用/开启航线规则配置 | ||
| 41 | + batchUpdateOrAddFlight, // 更新航线优先级 | ||
| 42 | + queryRouteByFltNo, // 通过航班号查询航线 | ||
| 43 | +} from "@/api/destinationFlight"; | ||
| 44 | +import { routeData, routeInfo } from "./routeData"; | ||
| 45 | +export default { | ||
| 46 | + components: { | ||
| 47 | + YlForm, | ||
| 48 | + RouteInfo, | ||
| 49 | + YlDraggable, | ||
| 50 | + }, | ||
| 51 | + data() { | ||
| 52 | + return { | ||
| 53 | + formConfig: formConfig, // 表单配置项 | ||
| 54 | + queryForm: { | ||
| 55 | + // 表单参数 | ||
| 56 | + }, | ||
| 57 | + routesInfo: [], // 航线规则信息 | ||
| 58 | + cargoType: [], // 申报类别 | ||
| 59 | + cargoStatus: [], // 货物类型 | ||
| 60 | + puporpux: [], // 取件扫描号 | ||
| 61 | + serviceCode: [], // Service Code | ||
| 62 | + handlingCode: [], // Handling Code | ||
| 63 | + subCategory: [], // Sub Category | ||
| 64 | + }; | ||
| 65 | + }, | ||
| 66 | + computed: {}, | ||
| 67 | + created() { | ||
| 68 | + this.getAllDictData(); // 获取全部字典 | ||
| 69 | + if (this.$route.query.name == "view" || this.$route.query.name == "edit") { | ||
| 70 | + let parmas = { | ||
| 71 | + flightDate: this.$route.query.flightDate, // 航班日期 | ||
| 72 | + flightRoute: "", // 航线 | ||
| 73 | + flightRouteListStr: "", // | ||
| 74 | + purposeOfFlightNo: this.$route.query.purposeOfFlightNo, // 原航班号 | ||
| 75 | + status: "", // | ||
| 76 | + }; | ||
| 77 | + // 日期级别 | ||
| 78 | + if (this.$route.query.flightDate) { | ||
| 79 | + delete parmas.flightRouteListStr | ||
| 80 | + this.getFlightRouteConfigInfoDetail(parmas) | ||
| 81 | + } else { | ||
| 82 | + // 普通级别 | ||
| 83 | + this.getFlightRouteConfigInfoDetail(parmas) | ||
| 84 | + } | ||
| 85 | + console.log(this.$route.query); | ||
| 86 | + } | ||
| 87 | + }, | ||
| 88 | + mounted() { }, | ||
| 89 | + methods: { | ||
| 90 | + // 获取所有数据字典 | ||
| 91 | + getAllDictData() { | ||
| 92 | + allDictData() | ||
| 93 | + .then((res) => { | ||
| 94 | + if (res.code != 200) { | ||
| 95 | + this.msgError(res.msg); | ||
| 96 | + return; | ||
| 97 | + } | ||
| 98 | + // 给checkBox表单赋值做展示信息 | ||
| 99 | + const { data } = res; | ||
| 100 | + this.cargoType = data.cargoType; // 申报类别 | ||
| 101 | + this.cargoStatus = data.cargoStatus; // 货物类型 | ||
| 102 | + this.puporpux = data.puporpux; // 取件扫描号 | ||
| 103 | + this.serviceCode = data.serviceCode; // Service Code | ||
| 104 | + this.handlingCode = data.handlingCode; // Handling Code | ||
| 105 | + this.subCategory = data.subCategory; // Sub Category | ||
| 106 | + }) | ||
| 107 | + .catch(() => { }); | ||
| 108 | + }, | ||
| 109 | + // 航线维度设置详情 | ||
| 110 | + getFlightRouteConfigInfoDetail(parmas) { | ||
| 111 | + findDestinationFltRuleByFlightNo(parmas) | ||
| 112 | + .then((res) => { | ||
| 113 | + const { code, data, msg } = res; | ||
| 114 | + if (code != 200) { | ||
| 115 | + this.msgError(msg); | ||
| 116 | + return; | ||
| 117 | + } | ||
| 118 | + let routeList1 = data.routeList; // 航班航线基本信息 | ||
| 119 | + let { flightDate } = parmas; | ||
| 120 | + // 如果是日期级别的再做一次没有日期的查询 | ||
| 121 | + if (flightDate) { | ||
| 122 | + parmas.flightDate = ""; | ||
| 123 | + parmas.flightRouteListStr = "", | ||
| 124 | + findDestinationFltRuleByFlightNo(parmas).then(response => { | ||
| 125 | + if (response.code != 200) { | ||
| 126 | + this.msgError(response.msg); | ||
| 127 | + return; | ||
| 128 | + } | ||
| 129 | + let routeList2 = response.data.routeList; // 航班航线基本信息 | ||
| 130 | + | ||
| 131 | + /* | ||
| 132 | + 日期级别; | ||
| 133 | + 日期级别只拿日期级别的航线,但是日期级别的航线没有数据则去查询没有日期的航班信息, | ||
| 134 | + 然后拿没有日期的航班维度信息; | ||
| 135 | + | ||
| 136 | + */ | ||
| 137 | + // 日期级别航班航线维度规则详情 | ||
| 138 | + const dataList1 = removeDuplicates(data.list, { | ||
| 139 | + duplicate: "flightRoute", // 去重字段 | ||
| 140 | + sort: false, // 是否要排序 | ||
| 141 | + sortType: "Number", // 排序类型 | ||
| 142 | + sortAttr: "routePriority", // 排序字段 | ||
| 143 | + }); | ||
| 144 | + // 普通级别航班航线维度规则详情 | ||
| 145 | + const dataList2 = removeDuplicates(response.data.list, { | ||
| 146 | + duplicate: "flightRoute", // 去重字段 | ||
| 147 | + sort: false, // 是否要排序 | ||
| 148 | + sortType: "Number", // 排序类型 | ||
| 149 | + sortAttr: "routePriority", // 排序字段 | ||
| 150 | + }); | ||
| 151 | + // 先把日期级别的数据合并,然后再对遍历普通级别的dataList2; | ||
| 152 | + // 看看 | ||
| 153 | + // console.log(dataList1) | ||
| 154 | + // console.log(dataList2) | ||
| 155 | + const newRouteList1 = routeList1.filter((item, index, array) => { | ||
| 156 | + if(item.route == dataList1.unique[index].flightRoute){ | ||
| 157 | + console.log(array) | ||
| 158 | + } | ||
| 159 | + }); | ||
| 160 | + console.log(newRouteList1) | ||
| 161 | + | ||
| 162 | + }).catch(() => { }); | ||
| 163 | + } | ||
| 164 | + | ||
| 165 | + // console.log(routeList2); | ||
| 166 | + // 如果当前航班号的航线下没有数据给这个航线在list里面追加一个data属性,值设置为false | ||
| 167 | + // 当点击新增规则按钮往这个routesInfo push数据并且把data属性值设置为true | ||
| 168 | + }) | ||
| 169 | + .catch(() => { }); | ||
| 170 | + }, | ||
| 171 | + // 失焦事件 | ||
| 172 | + blurEvent({ originOfFlightNo }) { | ||
| 173 | + this.queryForm.originOfFlightNo = this.upCase(originOfFlightNo); | ||
| 174 | + }, | ||
| 175 | + // 当前激活面板改变时触发 | ||
| 176 | + collapseChange(name) { | ||
| 177 | + console.log(name); | ||
| 178 | + }, | ||
| 179 | + // 始发站 | ||
| 180 | + changeLocation(val) { | ||
| 181 | + console.log("始发站:", val); | ||
| 182 | + }, | ||
| 183 | + // 目的站 | ||
| 184 | + changeDestinationSite(val) { | ||
| 185 | + console.log("目的站:", val); | ||
| 186 | + }, | ||
| 187 | + // 申报类别 | ||
| 188 | + changeCargoType(arr) { | ||
| 189 | + console.log("申报类别:", arr); | ||
| 190 | + }, | ||
| 191 | + // 货物类型 | ||
| 192 | + changeCargoStatus(arr) { | ||
| 193 | + console.log("货物类型:", arr); | ||
| 194 | + }, | ||
| 195 | + // 取件扫描号 | ||
| 196 | + changePuporpux(arr) { | ||
| 197 | + console.log("取件扫描号:", arr); | ||
| 198 | + }, | ||
| 199 | + // Service Code | ||
| 200 | + changeServiceCode(arr) { | ||
| 201 | + console.log("Service Code:", arr); | ||
| 202 | + }, | ||
| 203 | + // Handling Code | ||
| 204 | + changeHandlingCode(arr) { | ||
| 205 | + console.log("Handling Code:", arr); | ||
| 206 | + }, | ||
| 207 | + // Sub Category | ||
| 208 | + changeSubCategory(arr) { | ||
| 209 | + console.log("Sub Category:", arr); | ||
| 210 | + }, | ||
| 211 | + // 新增规则 | ||
| 212 | + addRlue(index) { | ||
| 213 | + // 如果当前航班号的航线下没有数据给 | ||
| 214 | + this.routesInfo.push(routeRuleForm); // 给新增规则赋上默认数据 | ||
| 215 | + console.log("新增规则:", index); | ||
| 216 | + }, | ||
| 217 | + }, | ||
| 218 | +}; | ||
| 219 | +</script> | ||
| 220 | +<style lang="scss" scoped> | ||
| 221 | +.route-info-container { | ||
| 222 | + padding: 20px; | ||
| 223 | +} | ||
| 224 | +</style> |
-
Please register or login to post a comment