jinhui.wang

代码更新,文本修正

...@@ -4,241 +4,264 @@ ...@@ -4,241 +4,264 @@
4 */ 4 */
5 5
6 /** 基础通用 **/ 6 /** 基础通用 **/
7 -.pt5 { 7 + .pt5 {
8 - padding-top: 5px; 8 + padding-top: 5px;
9 -} 9 + }
10 -.pr5 { 10 +
11 - padding-right: 5px; 11 + .pr5 {
12 -} 12 + padding-right: 5px;
13 -.pb5 { 13 + }
14 - padding-bottom: 5px; 14 +
15 -} 15 + .pb5 {
16 -.mt5 { 16 + padding-bottom: 5px;
17 - margin-top: 5px; 17 + }
18 -} 18 +
19 -.mr5 { 19 + .mt5 {
20 - margin-right: 5px; 20 + margin-top: 5px;
21 -} 21 + }
22 -.mb5 { 22 +
23 - margin-bottom: 5px; 23 + .mr5 {
24 -} 24 + margin-right: 5px;
25 -.mb8 { 25 + }
26 - margin-bottom: 8px; 26 +
27 -} 27 + .mb5 {
28 -.ml5 { 28 + margin-bottom: 5px;
29 - margin-left: 5px; 29 + }
30 -} 30 +
31 -.mt10 { 31 + .mb8 {
32 - margin-top: 10px; 32 + margin-bottom: 8px;
33 -} 33 + }
34 -.mr10 { 34 +
35 - margin-right: 10px; 35 + .ml5 {
36 -} 36 + margin-left: 5px;
37 -.mb10 { 37 + }
38 - margin-bottom: 10px; 38 +
39 -} 39 + .mt10 {
40 -.ml0 { 40 + margin-top: 10px;
41 - margin-left: 10px; 41 + }
42 -} 42 +
43 -.mt20 { 43 + .mr10 {
44 - margin-top: 20px; 44 + margin-right: 10px;
45 -} 45 + }
46 -.mr20 { 46 +
47 - margin-right: 20px; 47 + .mb10 {
48 -} 48 + margin-bottom: 10px;
49 -.mb20 { 49 + }
50 - margin-bottom: 20px; 50 +
51 -} 51 + .ml0 {
52 -.m20 { 52 + margin-left: 10px;
53 - margin-left: 20px; 53 + }
54 -} 54 +
55 - 55 + .mt20 {
56 -.el-dialog:not(.is-fullscreen){ 56 + margin-top: 20px;
57 - margin-top: 6vh !important; 57 + }
58 -} 58 +
59 - 59 + .mr20 {
60 -.el-table { 60 + margin-right: 20px;
61 - .el-table__header-wrapper, .el-table__fixed-header-wrapper { 61 + }
62 - th { 62 +
63 - word-break: break-word; 63 + .mb20 {
64 - background-color: #f8f8f9; 64 + margin-bottom: 20px;
65 - color: #515a6e; 65 + }
66 - height: 40px; 66 +
67 - font-size: 13px; 67 + .m20 {
68 - } 68 + margin-left: 20px;
69 - } 69 + }
70 - .el-table__body-wrapper { 70 +
71 - .el-button [class*="el-icon-"] + span { 71 + .el-dialog:not(.is-fullscreen) {
72 - margin-left: 1px; 72 + margin-top: 6vh !important;
73 - } 73 + }
74 - } 74 +
75 -} 75 + .el-table {
76 - 76 +
77 -/** 表单布局 **/ 77 + .el-table__header-wrapper,
78 -.form-header { 78 + .el-table__fixed-header-wrapper {
79 - font-size:15px; 79 + th {
80 - color:#6379bb; 80 + word-break: break-word;
81 - border-bottom:1px solid #ddd; 81 + background-color: #f8f8f9;
82 - margin:8px 10px 25px 10px; 82 + color: #515a6e;
83 - padding-top:15px; 83 + height: 40px;
84 - padding-bottom:5px; 84 + font-size: 13px;
85 - .formItem { 85 + }
86 - width: 100%; 86 + }
87 - // max-width: 310px; 87 +
88 - } 88 + .el-table__body-wrapper {
89 -} 89 + .el-button [class*="el-icon-"]+span {
90 - 90 + margin-left: 1px;
91 -/** 表格布局 **/ 91 + }
92 -.pagination-container { 92 + }
93 - position: relative; 93 + }
94 - height: 25px; 94 +
95 - margin-bottom: 10px; 95 + /** 表单布局 **/
96 - margin-top: 15px; 96 + .form-header {
97 - padding: 10px 20px !important; 97 + font-size: 15px;
98 -} 98 + color: #6379bb;
99 - 99 + border-bottom: 1px solid #ddd;
100 -/* tree border */ 100 + margin: 8px 10px 25px 10px;
101 -.tree-border { 101 + padding-top: 15px;
102 - margin-top: 5px; 102 + padding-bottom: 5px;
103 - border: 1px solid #e5e6e7; 103 +
104 - background: #FFFFFF none; 104 + .formItem {
105 - border-radius:4px; 105 + width: 100%;
106 -} 106 + // max-width: 310px;
107 - 107 + }
108 -.pagination-container .el-pagination { 108 + }
109 - right: 0; 109 +
110 - position: absolute; 110 + /** 表格布局 **/
111 -} 111 + .pagination-container {
112 - 112 + position: relative;
113 -.el-table .fixed-width .el-button--mini { 113 + height: 25px;
114 - padding-left: 0; 114 + margin-bottom: 10px;
115 - padding-right: 0; 115 + margin-top: 15px;
116 - width: inherit; 116 + padding: 10px 20px !important;
117 -} 117 + }
118 - 118 +
119 -.el-tree-node__content > .el-checkbox { 119 + /* tree border */
120 - margin-right: 8px; 120 + .tree-border {
121 -} 121 + margin-top: 5px;
122 - 122 + border: 1px solid #e5e6e7;
123 -.list-group-striped > .list-group-item { 123 + background: #FFFFFF none;
124 - border-left: 0; 124 + border-radius: 4px;
125 - border-right: 0; 125 + }
126 - border-radius: 0; 126 +
127 - padding-left: 0; 127 + .pagination-container .el-pagination {
128 - padding-right: 0; 128 + right: 0;
129 -} 129 + position: absolute;
130 - 130 + }
131 -.list-group { 131 +
132 - padding-left: 0px; 132 + .el-table .fixed-width .el-button--mini {
133 - list-style: none; 133 + padding-left: 0;
134 -} 134 + padding-right: 0;
135 - 135 + width: inherit;
136 -.list-group-item { 136 + }
137 - border-bottom: 1px solid #e7eaec; 137 +
138 - border-top: 1px solid #e7eaec; 138 + .el-tree-node__content>.el-checkbox {
139 - margin-bottom: -1px; 139 + margin-right: 8px;
140 - padding: 11px 0px; 140 + }
141 - font-size: 13px; 141 +
142 -} 142 + .list-group-striped>.list-group-item {
143 - 143 + border-left: 0;
144 -.pull-right { 144 + border-right: 0;
145 - float: right !important; 145 + border-radius: 0;
146 -} 146 + padding-left: 0;
147 - 147 + padding-right: 0;
148 -.el-card__header { 148 + }
149 - padding: 14px 15px 7px; 149 +
150 - min-height: 40px; 150 + .list-group {
151 -} 151 + padding-left: 0px;
152 - 152 + list-style: none;
153 -.el-card__body { 153 + }
154 - padding: 15px 20px 20px 20px; 154 +
155 -} 155 + .list-group-item {
156 - 156 + border-bottom: 1px solid #e7eaec;
157 -.card-box { 157 + border-top: 1px solid #e7eaec;
158 - padding-right: 15px; 158 + margin-bottom: -1px;
159 - padding-left: 15px; 159 + padding: 11px 0px;
160 - margin-bottom: 10px; 160 + font-size: 13px;
161 -} 161 + }
162 - 162 +
163 -/* button color */ 163 + .pull-right {
164 -.el-button--cyan.is-active, 164 + float: right !important;
165 -.el-button--cyan:active { 165 + }
166 - background: #20B2AA; 166 +
167 - border-color: #20B2AA; 167 + .el-card__header {
168 - color: #FFFFFF; 168 + padding: 14px 15px 7px;
169 -} 169 + min-height: 40px;
170 - 170 + }
171 -.el-button--cyan:focus, 171 +
172 -.el-button--cyan:hover { 172 + .el-card__body {
173 - background: #48D1CC; 173 + padding: 15px 20px 20px 20px;
174 - border-color: #48D1CC; 174 + }
175 - color: #FFFFFF; 175 +
176 -} 176 + .card-box {
177 - 177 + padding-right: 15px;
178 -.el-button--cyan { 178 + padding-left: 15px;
179 - background-color: #20B2AA; 179 + margin-bottom: 10px;
180 - border-color: #20B2AA; 180 + }
181 - color: #FFFFFF; 181 +
182 -} 182 + /* button color */
183 - 183 + .el-button--cyan.is-active,
184 -/* text color */ 184 + .el-button--cyan:active {
185 -.text-navy { 185 + background: #20B2AA;
186 - color: #1ab394; 186 + border-color: #20B2AA;
187 -} 187 + color: #FFFFFF;
188 - 188 + }
189 -.text-primary { 189 +
190 - color: inherit; 190 + .el-button--cyan:focus,
191 -} 191 + .el-button--cyan:hover {
192 - 192 + background: #48D1CC;
193 -.text-success { 193 + border-color: #48D1CC;
194 - color: #1c84c6; 194 + color: #FFFFFF;
195 -} 195 + }
196 - 196 +
197 -.text-info { 197 + .el-button--cyan {
198 - color: #23c6c8; 198 + background-color: #20B2AA;
199 -} 199 + border-color: #20B2AA;
200 - 200 + color: #FFFFFF;
201 -.text-warning { 201 + }
202 - color: #f8ac59; 202 +
203 -} 203 + /* text color */
204 - 204 + .text-navy {
205 -.text-danger { 205 + color: #1ab394;
206 - color: #ed5565; 206 + }
207 -} 207 +
208 - 208 + .text-primary {
209 -.text-muted { 209 + color: inherit;
210 - color: #888888; 210 + }
211 -} 211 +
212 - 212 + .text-success {
213 -/* image */ 213 + color: #1c84c6;
214 -.img-circle { 214 + }
215 - border-radius: 50%; 215 +
216 -} 216 + .text-info {
217 - 217 + color: #23c6c8;
218 -.img-lg { 218 + }
219 - width: 120px; 219 +
220 - height: 120px; 220 + .text-warning {
221 -} 221 + color: #f8ac59;
222 - 222 + }
223 -.avatar-upload-preview { 223 +
224 - position: absolute; 224 + .text-danger {
225 - top: 50%; 225 + color: #ed5565;
226 - transform: translate(50%, -50%); 226 + }
227 - width: 200px; 227 +
228 - height: 200px; 228 + .text-muted {
229 - border-radius: 50%; 229 + color: #888888;
230 - box-shadow: 0 0 4px #ccc; 230 + }
231 - overflow: hidden; 231 +
232 -} 232 + /* image */
233 - 233 + .img-circle {
234 -/* 拖拽列样式 */ 234 + border-radius: 50%;
235 -.sortable-ghost{ 235 + }
236 - opacity: .8; 236 +
237 - color: #fff!important; 237 + .img-lg {
238 - background: #42b983!important; 238 + width: 120px;
239 -} 239 + height: 120px;
240 - 240 + }
241 -.top-right-btn { 241 +
242 - position: relative; 242 + .avatar-upload-preview {
243 - float: right; 243 + position: absolute;
244 -} 244 + top: 50%;
245 + transform: translate(50%, -50%);
246 + width: 200px;
247 + height: 200px;
248 + border-radius: 50%;
249 + box-shadow: 0 0 4px #ccc;
250 + overflow: hidden;
251 + }
252 +
253 + /* 拖拽列样式 */
254 + .sortable-ghost {
255 + opacity: .8;
256 + color: #fff !important;
257 + background: #42b983 !important;
258 + }
259 +
260 + .top-right-btn {
261 + position: relative;
262 + float: right;
263 + }
264 +
265 + .dialogColumn .el-tooltip {
266 + white-space: pre-line !important;
267 + }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -443,6 +443,9 @@ export default { ...@@ -443,6 +443,9 @@ export default {
443 if (column.property == "roleNames") { 443 if (column.property == "roleNames") {
444 return cellValue.toString(); 444 return cellValue.toString();
445 } 445 }
446 + if (column.property == 'flightIdImac') {
447 + return cellValue == null ? '未配' : '已配'
448 + }
446 return cellValue; 449 return cellValue;
447 }, 450 },
448 }, 451 },
......
...@@ -118,6 +118,14 @@ ...@@ -118,6 +118,14 @@
118 </el-select> 118 </el-select>
119 </el-form-item> 119 </el-form-item>
120 </el-col> 120 </el-col>
121 + <el-col :span="6">
122 + <el-form-item label="配舱状态">
123 + <el-select placeholder="不限" v-model="formData.hasFlight" class="formItem" clearable>
124 + <el-option label="已配" value="1"> </el-option>
125 + <el-option label="未配" value="0"> </el-option>
126 + </el-select>
127 + </el-form-item>
128 + </el-col>
121 </el-row> 129 </el-row>
122 </el-col> 130 </el-col>
123 </el-row> 131 </el-row>
...@@ -156,8 +164,9 @@ ...@@ -156,8 +164,9 @@
156 <el-table :data="selectTable" size="mini" border stripe highlight-current-row style="width: 100%"> 164 <el-table :data="selectTable" size="mini" border stripe highlight-current-row style="width: 100%">
157 <el-table-column type="index" label="序号" align="center"> 165 <el-table-column type="index" label="序号" align="center">
158 </el-table-column> 166 </el-table-column>
159 - <el-table-column v-for="(item, index) in releaseHeader" header-align="center" align="center" :prop="item.value" 167 + <el-table-column v-for="(item, index) in releaseHeader" header-align="center" :align="item.align"
160 - :label="item.name" :key="index" :show-overflow-tooltip="true"> 168 + :prop="item.value" :label="item.name" :key="index" :width="item.width" :show-overflow-tooltip="true"
169 + class-name="dialogColumn">
161 </el-table-column> 170 </el-table-column>
162 </el-table> 171 </el-table>
163 <div slot="footer"> 172 <div slot="footer">
...@@ -184,6 +193,7 @@ export default { ...@@ -184,6 +193,7 @@ export default {
184 createTimeStart: null, 193 createTimeStart: null,
185 createTimeEnd: null, 194 createTimeEnd: null,
186 pickUpDate: null, 195 pickUpDate: null,
196 + hasFlight: null,
187 waybillNo: "", 197 waybillNo: "",
188 siteName: "", 198 siteName: "",
189 fltNo: "", 199 fltNo: "",
...@@ -296,6 +306,15 @@ export default { ...@@ -296,6 +306,15 @@ export default {
296 disabled: true 306 disabled: true
297 }, 307 },
298 { 308 {
309 + name: "配舱状态",
310 + value: "flightIdImac",
311 + width: "100",
312 + align: "center",
313 + sorTable: true,
314 + fixed: false,
315 + disabled: true
316 + },
317 + {
299 name: "释放状态", 318 name: "释放状态",
300 value: "releasing", 319 value: "releasing",
301 width: "100", 320 width: "100",
...@@ -613,74 +632,46 @@ export default { ...@@ -613,74 +632,46 @@ export default {
613 ], //表头数据 632 ], //表头数据
614 releaseHeader: [ 633 releaseHeader: [
615 { 634 {
616 - type: "",
617 name: "提示信息", 635 name: "提示信息",
618 value: "msg", 636 value: "msg",
619 - width: "", 637 + width: "500",
620 align: "center", 638 align: "center",
621 - sorTable: true,
622 - fixed: false,
623 - disabled: true
624 }, 639 },
625 { 640 {
626 - type: "",
627 name: "口岸代码", 641 name: "口岸代码",
628 value: "portName", 642 value: "portName",
629 width: "", 643 width: "",
630 align: "center", 644 align: "center",
631 - sorTable: true,
632 - fixed: false,
633 - disabled: true
634 }, 645 },
635 { 646 {
636 - type: "",
637 name: "运单号", 647 name: "运单号",
638 value: "waybillNo", 648 value: "waybillNo",
639 width: "", 649 width: "",
640 align: "center", 650 align: "center",
641 - sorTable: true,
642 - fixed: false,
643 - disabled: true
644 }, 651 },
645 { 652 {
646 - type: "",
647 name: "推送状态", 653 name: "推送状态",
648 value: "cargoAllocationDataStatus", 654 value: "cargoAllocationDataStatus",
649 width: "", 655 width: "",
650 align: "center", 656 align: "center",
651 - sorTable: true,
652 - fixed: false,
653 - disabled: true
654 }, 657 },
655 { 658 {
656 - type: "",
657 name: "释放状态", 659 name: "释放状态",
658 value: "releasing", 660 value: "releasing",
659 width: "", 661 width: "",
660 align: "center", 662 align: "center",
661 - sorTable: true,
662 - fixed: false,
663 - disabled: true
664 }, 663 },
665 { 664 {
666 - type: "",
667 name: "ACCSpool", 665 name: "ACCSpool",
668 value: "accsPool", 666 value: "accsPool",
669 width: "", 667 width: "",
670 align: "center", 668 align: "center",
671 - sorTable: true,
672 - fixed: false,
673 - disabled: true
674 }, 669 },
675 { 670 {
676 - type: "",
677 name: "货物状态", 671 name: "货物状态",
678 value: "statusName", 672 value: "statusName",
679 width: "", 673 width: "",
680 align: "center", 674 align: "center",
681 - sorTable: true,
682 - fixed: false,
683 - disabled: true
684 } 675 }
685 ], 676 ],
686 findConditionData: {}, //货物查询条件 677 findConditionData: {}, //货物查询条件
...@@ -816,16 +807,19 @@ export default { ...@@ -816,16 +807,19 @@ export default {
816 } else if (res.code === 201) { 807 } else if (res.code === 201) {
817 this.selectTable.map(item => { 808 this.selectTable.map(item => {
818 res.data['success'].map(val => { 809 res.data['success'].map(val => {
819 - val === item.id ? item.msg = item.msg + '操作成功,正在释放中。' : '' 810 + val === item.id ? item.msg = item.msg + '操作成功,正在释放中。\n' : ''
820 }) 811 })
821 res.data['accsPoolFlase'].map(val => { 812 res.data['accsPoolFlase'].map(val => {
822 - val === item.id ? item.msg = item.msg + '推送状态/ACCSpool不正确。' : '' 813 + val === item.id ? item.msg = item.msg + 'Manifest状态不能释放。\n' : ''
823 }) 814 })
824 res.data['existReleasing'].map(val => { 815 res.data['existReleasing'].map(val => {
825 - val === item.id ? item.msg = item.msg + '已经在释放,请勿重复释放。' : '' 816 + val === item.id ? item.msg = item.msg + '正在释放中,请勿重复释放。\n' : ''
826 }) 817 })
827 res.data['noFlight'].map(val => { 818 res.data['noFlight'].map(val => {
828 - val === item.id ? item.msg = item.msg + '无配载航班。' : '' 819 + val === item.id ? item.msg = item.msg + '已释放仓位。\n' : ''
820 + })
821 + res.data['pushFalse'].map(val => {
822 + val === item.id ? item.msg = item.msg + '该货物不为"不推送"状态,不能释放。\n' : ''
829 }) 823 })
830 }) 824 })
831 this.dialogVisible = true 825 this.dialogVisible = true
...@@ -884,6 +878,9 @@ export default { ...@@ -884,6 +878,9 @@ export default {
884 if (this.formData.waybillNo) { 878 if (this.formData.waybillNo) {
885 this.formData.waybillNo = this.formData.waybillNo.trim(); 879 this.formData.waybillNo = this.formData.waybillNo.trim();
886 } 880 }
881 + if (this.formData.hasFlight == "") {
882 + this.formData.hasFlight = null
883 + }
887 this.formData.limitStart = this.limitStart; 884 this.formData.limitStart = this.limitStart;
888 this.formData.limitSize = 100; 885 this.formData.limitSize = 100;
889 }, 886 },
......