Merge remote-tracking branch 'origin/master'
正在显示
34 个修改的文件
包含
4760 行增加
和
340 行删除
| @@ -30,8 +30,9 @@ module.exports = { | @@ -30,8 +30,9 @@ module.exports = { | ||
| 30 | assetsPublicPath: '/', | 30 | assetsPublicPath: '/', |
| 31 | proxyTable: { | 31 | proxyTable: { |
| 32 | '/api':{ | 32 | '/api':{ |
| 33 | - target: 'http://192.168.1.53:12343',//设置你调用的接口域名和端口号 别忘了加http | ||
| 34 | - // target: 'http://localhost:12343',//设置你调用的接口域名和端口号 别忘了加http | 33 | + target: 'http://192.168.1.53:12343',//设置你调用的接口域名和端口号 别忘了加http |
| 34 | + // target: 'http://192.168.1.189:12343',//设置你调用的接口域名和端口号 别忘了加http | ||
| 35 | + // target: 'http://localhost:12343',//设置你调用的接口域名和端口号 别忘了加http | ||
| 35 | changeOrigin: true, | 36 | changeOrigin: true, |
| 36 | pathRewrite: { | 37 | pathRewrite: { |
| 37 | '^/api/': '/'//这里理解成用‘/api’代替target里面的地址,后面组件中我们掉接口时直接用api代替 比如我要调用'http://40.00.100.100:3002/user/add',直接写‘/api/user/add’即可 | 38 | '^/api/': '/'//这里理解成用‘/api’代替target里面的地址,后面组件中我们掉接口时直接用api代替 比如我要调用'http://40.00.100.100:3002/user/add',直接写‘/api/user/add’即可 |
package-lock.json
已删除
100644 → 0
此 diff 太大无法显示。
package.json
100755 → 100644
| @@ -10,10 +10,12 @@ | @@ -10,10 +10,12 @@ | ||
| 10 | "build": "node build/build.js" | 10 | "build": "node build/build.js" |
| 11 | }, | 11 | }, |
| 12 | "dependencies": { | 12 | "dependencies": { |
| 13 | + "@xkeshi/vue-barcode": "^1.0.0", | ||
| 13 | "axios": "^0.19.0", | 14 | "axios": "^0.19.0", |
| 14 | "echarts": "^3.3.2", | 15 | "echarts": "^3.3.2", |
| 15 | "element-ui": "^2.13.0", | 16 | "element-ui": "^2.13.0", |
| 16 | "eslint": "^5.14.1", | 17 | "eslint": "^5.14.1", |
| 18 | + "eslint-plugin-html": "^6.0.2", | ||
| 17 | "fecha": "^4.2.0", | 19 | "fecha": "^4.2.0", |
| 18 | "file-saver": "^2.0.2", | 20 | "file-saver": "^2.0.2", |
| 19 | "font-awesome": "^4.7.0", | 21 | "font-awesome": "^4.7.0", |
| @@ -62,7 +64,7 @@ | @@ -62,7 +64,7 @@ | ||
| 62 | "http-proxy-middleware": "^0.19.1", | 64 | "http-proxy-middleware": "^0.19.1", |
| 63 | "json-loader": "^0.5.4", | 65 | "json-loader": "^0.5.4", |
| 64 | "mockjs": "^1.0.1-beta3", | 66 | "mockjs": "^1.0.1-beta3", |
| 65 | - "node-sass": "^4.14.1", | 67 | + "node-sass": "^4.5.0", |
| 66 | "opn": "^4.0.2", | 68 | "opn": "^4.0.2", |
| 67 | "optimize-css-assets-webpack-plugin": "^1.3.0", | 69 | "optimize-css-assets-webpack-plugin": "^1.3.0", |
| 68 | "ora": "^1.0.0", | 70 | "ora": "^1.0.0", |
src/api/consigner/consignee.js
0 → 100644
| 1 | +import axios from 'axios' | ||
| 2 | +import http from "../http"; | ||
| 3 | + | ||
| 4 | + | ||
| 5 | +let baseUrl = 'wltp-flight-consigneeconsigner/consignee' | ||
| 6 | + | ||
| 7 | +export const getList = params => { return axios.get(`${baseUrl}/list`, { params: params }); }; | ||
| 8 | + | ||
| 9 | +export const remove = params => { return axios.delete(`${baseUrl}/remove`, { params: params }); }; | ||
| 10 | + | ||
| 11 | +export const add = params => { return http.post(`${baseUrl}/add`,params)}; | ||
| 12 | + | ||
| 13 | +export const edit = params => { return http.put(`${baseUrl}/edit`,params)}; | ||
| 14 | + | ||
| 15 | + |
src/api/consigner/consigner.js
0 → 100644
| 1 | +import axios from 'axios' | ||
| 2 | +import http from '../http.js' | ||
| 3 | + | ||
| 4 | + | ||
| 5 | +let baseUrl = 'wltp-flight-consigneeconsigner/consigner' | ||
| 6 | + | ||
| 7 | +export const getList = params => { return axios.get(`${baseUrl}/list`, { params: params }); }; | ||
| 8 | + | ||
| 9 | +export const remove = params => { return axios.delete(`${baseUrl}/remove`, { params: params }); }; | ||
| 10 | + | ||
| 11 | +export const add = params => { return http.post(`${baseUrl}/add`,params)}; | ||
| 12 | + | ||
| 13 | +export const edit = params => { return http.put(`${baseUrl}/edit`,params)}; | ||
| 14 | + | ||
| 15 | + |
| @@ -12,6 +12,8 @@ export const updateMT2201 = params => { return http.put(`${baseUrl}/updateMt2201 | @@ -12,6 +12,8 @@ export const updateMT2201 = params => { return http.put(`${baseUrl}/updateMt2201 | ||
| 12 | 12 | ||
| 13 | export const addMt2201 = params => { return http.post(`${baseUrl}/addMt2201`,params)}; | 13 | export const addMt2201 = params => { return http.post(`${baseUrl}/addMt2201`,params)}; |
| 14 | 14 | ||
| 15 | +export const selectSecurityAwba = params => { return http.get(`${baseUrl}/selectSecurityAwba`,params)}; | ||
| 16 | + | ||
| 15 | export const getLostLoadChange = params => { return http.get(`${baseUrl}/getLostLoadChange`, params)}; | 17 | export const getLostLoadChange = params => { return http.get(`${baseUrl}/getLostLoadChange`, params)}; |
| 16 | 18 | ||
| 17 | export const saveLostChange = params => { return http.get(`${baseUrl}/saveLostChange`, params)}; | 19 | export const saveLostChange = params => { return http.get(`${baseUrl}/saveLostChange`, params)}; |
src/api/history/history.js
0 → 100644
src/api/inquiry/inquiry.js
0 → 100644
src/api/security/security.js
0 → 100644
| 1 | +import http from '../http.js' | ||
| 2 | +import axios from "axios"; | ||
| 3 | + | ||
| 4 | +let baseUrl = 'wltp-security-declaration/security' | ||
| 5 | + | ||
| 6 | +export const getList = params => { return http.get(`${baseUrl}/list`, params)}; | ||
| 7 | + | ||
| 8 | +export const remove = params => { return axios.delete(`${baseUrl}/remove`, { params: params }); }; | ||
| 9 | + | ||
| 10 | +export const edit = params => { return http.put(`${baseUrl}/edit`, params)}; | ||
| 11 | + | ||
| 12 | +export const add = params => { return http.post(`${baseUrl}/add`,params)}; | ||
| 13 | + | ||
| 14 | + |
| 1 | - | ||
| 2 | import Vue from 'vue' | 1 | import Vue from 'vue' |
| 3 | import App from './App' | 2 | import App from './App' |
| 4 | import ElementUI from 'element-ui' | 3 | import ElementUI from 'element-ui' |
| @@ -17,6 +16,10 @@ import * as socketApi from './api/socket' | @@ -17,6 +16,10 @@ import * as socketApi from './api/socket' | ||
| 17 | import '@/styles/index.scss' | 16 | import '@/styles/index.scss' |
| 18 | import sys_init from '@/common/init/sys_init' | 17 | import sys_init from '@/common/init/sys_init' |
| 19 | 18 | ||
| 19 | +// 条形组件 | ||
| 20 | +import VueBarcode from '@xkeshi/vue-barcode'; //导入条形码插件 | ||
| 21 | +Vue.component('barcode', VueBarcode); | ||
| 22 | + | ||
| 20 | 23 | ||
| 21 | //定义一个全局过滤器实现日期格式化 | 24 | //定义一个全局过滤器实现日期格式化 |
| 22 | Vue.filter('datefmt',function(input,fmtstring){ | 25 | Vue.filter('datefmt',function(input,fmtstring){ |
| @@ -25,7 +25,6 @@ import ExitLoading from './views/nmms/ExitLoading.vue' | @@ -25,7 +25,6 @@ import ExitLoading from './views/nmms/ExitLoading.vue' | ||
| 25 | import ExitFlightDesc from './views/nmms/ExitFlightDesc.vue' | 25 | import ExitFlightDesc from './views/nmms/ExitFlightDesc.vue' |
| 26 | import LostLoad from './views/lostLoadChange/lostLoading.vue' | 26 | import LostLoad from './views/lostLoadChange/lostLoading.vue' |
| 27 | import LostLoadChange from './views/lostLoadChange/lostLoadChange.vue' | 27 | import LostLoadChange from './views/lostLoadChange/lostLoadChange.vue' |
| 28 | - | ||
| 29 | import OrigFlightList from './views/nmms_import/OrigFlightList.vue' | 28 | import OrigFlightList from './views/nmms_import/OrigFlightList.vue' |
| 30 | import EnterFlightInfo from './views/nmms_import/EnterFlightInfo.vue' | 29 | import EnterFlightInfo from './views/nmms_import/EnterFlightInfo.vue' |
| 31 | import OrigMaster from './views/nmms_import/OrigMaster.vue' | 30 | import OrigMaster from './views/nmms_import/OrigMaster.vue' |
| @@ -36,9 +35,21 @@ import AllocateSearch from './views/nmms_import/AllocateSearch.vue' | @@ -36,9 +35,21 @@ import AllocateSearch from './views/nmms_import/AllocateSearch.vue' | ||
| 36 | import Importallocation from './views/nmms_import/Importallocation.vue' | 35 | import Importallocation from './views/nmms_import/Importallocation.vue' |
| 37 | import Allocatearrive from './views/nmms_import/Allocatearrive.vue' | 36 | import Allocatearrive from './views/nmms_import/Allocatearrive.vue' |
| 38 | import User from './views/nav1/user.vue' | 37 | import User from './views/nav1/user.vue' |
| 39 | -import Page4 from './views/nav2/Page4.vue' | ||
| 40 | -import Page5 from './views/nav2/Page5.vue' | 38 | +import preConfiguration from './views/nav2/preConfiguration.vue' |
| 39 | +import allocate from './views/nav2/allocate.vue' | ||
| 40 | +import charge from './views/nav2/charge.vue' | ||
| 41 | +import documents from './views/nav2/documents.vue' | ||
| 42 | +import booking from './views/nav4/booking.vue' | ||
| 43 | +import order from './views/nav4/order.vue' | ||
| 44 | +import airlift from './views/nav4/airlift.vue' | ||
| 45 | +import inquiry from './views/nav4/inquiry.vue' | ||
| 41 | import Page6 from './views/nav3/Page6.vue' | 46 | import Page6 from './views/nav3/Page6.vue' |
| 47 | +import Page7 from './views/nav3/Page7.vue' | ||
| 48 | + | ||
| 49 | + | ||
| 50 | + | ||
| 51 | + | ||
| 52 | + | ||
| 42 | import echarts from './views/charts/echarts.vue' | 53 | import echarts from './views/charts/echarts.vue' |
| 43 | import SecrityInspection from './views/staff/security_inspection.vue' | 54 | import SecrityInspection from './views/staff/security_inspection.vue' |
| 44 | import Key from './views/staff/key.vue' | 55 | import Key from './views/staff/key.vue' |
| @@ -75,6 +86,9 @@ import queryDeparture from './views/airtransport/queryDeparture.vue' | @@ -75,6 +86,9 @@ import queryDeparture from './views/airtransport/queryDeparture.vue' | ||
| 75 | import queryDeclare from './views/airtransport/queryDeclare.vue' | 86 | import queryDeclare from './views/airtransport/queryDeclare.vue' |
| 76 | import outConfigure from './views/airtransport/outConfigure.vue' | 87 | import outConfigure from './views/airtransport/outConfigure.vue' |
| 77 | import queryFlightConfigure from './views/airtransport/queryFlightConfigure.vue' | 88 | import queryFlightConfigure from './views/airtransport/queryFlightConfigure.vue' |
| 89 | +import Consigner from './views/consigner/consigner.vue' | ||
| 90 | +import Consignee from './views/consigner/consignee.vue' | ||
| 91 | +import Security from './views/security/security.vue' | ||
| 78 | 92 | ||
| 79 | 93 | ||
| 80 | 94 | ||
| @@ -103,15 +117,44 @@ let routes = [ | @@ -103,15 +117,44 @@ let routes = [ | ||
| 103 | }, | 117 | }, |
| 104 | // { path: '/test', component: Main }, | 118 | // { path: '/test', component: Main }, |
| 105 | 119 | ||
| 120 | + { | ||
| 121 | + path: '/', | ||
| 122 | + component: Home, | ||
| 123 | + name: '海关货物流转', | ||
| 124 | + iconCls: 'el-icon-delete-location', | ||
| 125 | + children: [ | ||
| 126 | + { path: '/Page6', component: Page6, name: '申请列表' }, | ||
| 127 | + { path: '/Page7', component: Page7, name: '申请添加' }, | ||
| 128 | + ] | ||
| 129 | + }, | ||
| 130 | + | ||
| 131 | + { | ||
| 132 | + path: '/domdep', | ||
| 133 | + component: Home, | ||
| 134 | + name: '订舱系统', | ||
| 135 | + iconCls: 'el-icon-delete-location', | ||
| 136 | + children: [ | ||
| 137 | + { path: '/booking', component: booking, name: '在线订舱' }, | ||
| 138 | + { path: '/order', component: order, name: '订舱信息' }, | ||
| 139 | + { path: '/airlift', component: airlift, name: '空运专线' }, | ||
| 140 | + ] | ||
| 141 | + }, | ||
| 142 | + | ||
| 143 | + | ||
| 144 | + | ||
| 145 | + | ||
| 106 | // 货运系统--航班预配 | 146 | // 货运系统--航班预配 |
| 107 | { | 147 | { |
| 108 | path: '/domdep', | 148 | path: '/domdep', |
| 109 | component: Home, | 149 | component: Home, |
| 110 | name: '国内出港', | 150 | name: '国内出港', |
| 111 | - iconCls: 'el-icon-setting', | 151 | + iconCls: 'el-icon-position', |
| 112 | children: [ | 152 | children: [ |
| 113 | - { path: '/Page4', component: Page4, name: '航班预配' }, | ||
| 114 | - // { path: '/role', component: Role, name: '组织机构' }, | 153 | + { path: '/preConfiguration', component: preConfiguration, name: '航班预配' }, |
| 154 | + { path: '/allocate', component: allocate, name: '航班配载' }, | ||
| 155 | + { path: '/documents', component: documents, name: '航班文件' }, | ||
| 156 | + { path: '/charge', component: charge, name: '付费处理' }, | ||
| 157 | + | ||
| 115 | // { path: '/perm', component: Perm, name: '权限管理' }, | 158 | // { path: '/perm', component: Perm, name: '权限管理' }, |
| 116 | // { path: '/log', component: LOG, name: '系统日志' }, | 159 | // { path: '/log', component: LOG, name: '系统日志' }, |
| 117 | // { path: '/department', component: Department, name: '部门管理' }, | 160 | // { path: '/department', component: Department, name: '部门管理' }, |
| @@ -161,6 +204,15 @@ let routes = [ | @@ -161,6 +204,15 @@ let routes = [ | ||
| 161 | ] | 204 | ] |
| 162 | }, | 205 | }, |
| 163 | { | 206 | { |
| 207 | + path: '/sec', | ||
| 208 | + component: Home, | ||
| 209 | + name: '安检清单申报管理', | ||
| 210 | + iconCls: 'el-icon-collection', | ||
| 211 | + children: [ | ||
| 212 | + {path: '/security', component: Security, name: '安检清单申报'} | ||
| 213 | + ] | ||
| 214 | + }, | ||
| 215 | + { | ||
| 164 | path: '/nmms2', | 216 | path: '/nmms2', |
| 165 | component: Home, | 217 | component: Home, |
| 166 | name: '进港业务申报', | 218 | name: '进港业务申报', |
| @@ -177,6 +229,16 @@ let routes = [ | @@ -177,6 +229,16 @@ let routes = [ | ||
| 177 | {path:'/allocatearrive',component:Allocatearrive,name:'分拨运抵'}, | 229 | {path:'/allocatearrive',component:Allocatearrive,name:'分拨运抵'}, |
| 178 | ] | 230 | ] |
| 179 | }, | 231 | }, |
| 232 | + // 货运系统--航班预配 | ||
| 233 | + { | ||
| 234 | + path: '/flight_scheduling', | ||
| 235 | + component: Home, | ||
| 236 | + name: '航班计划', | ||
| 237 | + iconCls: 'el-icon-delete-location', | ||
| 238 | + children: [ | ||
| 239 | + { path: '/inquiry', component: inquiry, name: '航班计划查询' }, | ||
| 240 | + ] | ||
| 241 | + }, | ||
| 180 | { | 242 | { |
| 181 | path: '/lost', | 243 | path: '/lost', |
| 182 | component: Home, | 244 | component: Home, |
| @@ -231,6 +293,16 @@ let routes = [ | @@ -231,6 +293,16 @@ let routes = [ | ||
| 231 | ] | 293 | ] |
| 232 | }, | 294 | }, |
| 233 | { | 295 | { |
| 296 | + path: '/con', | ||
| 297 | + component: Home, | ||
| 298 | + name: '收发货人管理', | ||
| 299 | + iconCls:'el-icon-goods', | ||
| 300 | + children:[ | ||
| 301 | + {path:'/consigner',component:Consigner,name:'发货人管理'}, | ||
| 302 | + {path:'/consignee',component:Consignee,name:'收货人管理'}, | ||
| 303 | + ] | ||
| 304 | + }, | ||
| 305 | + { | ||
| 234 | path: '/out', | 306 | path: '/out', |
| 235 | component: Home, | 307 | component: Home, |
| 236 | name: '出港申报', | 308 | name: '出港申报', |
| @@ -252,6 +324,7 @@ let routes = [ | @@ -252,6 +324,7 @@ let routes = [ | ||
| 252 | iconCls: 'fa fa-id-card-o', | 324 | iconCls: 'fa fa-id-card-o', |
| 253 | children: [ | 325 | children: [ |
| 254 | { path: '/location', component: Location, name: '能源缴费' }, | 326 | { path: '/location', component: Location, name: '能源缴费' }, |
| 327 | + | ||
| 255 | ] | 328 | ] |
| 256 | }, | 329 | }, |
| 257 | { | 330 | { |
src/views/consigner/consignee.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <section> | ||
| 3 | + <!--工具条--> | ||
| 4 | + <el-col :span="24" class="toolbar" style="padding-bottom: 0px;"> | ||
| 5 | + <el-form :inline="true" :model="filters"> | ||
| 6 | + <el-form-item> | ||
| 7 | + <el-input v-model="filters.companyName" placeholder="关键字查询"></el-input> | ||
| 8 | + </el-form-item> | ||
| 9 | + <el-form-item> | ||
| 10 | + <el-button type="primary" v-on:click="getConsigner()">查询</el-button> | ||
| 11 | + </el-form-item> | ||
| 12 | + <el-form-item> | ||
| 13 | + <el-button type="primary" @click="companyAdd">新增</el-button> | ||
| 14 | + </el-form-item> | ||
| 15 | + </el-form> | ||
| 16 | + </el-col> | ||
| 17 | + | ||
| 18 | + <!--列表--> | ||
| 19 | + <el-table :data="consignerList" highlight-current-row v-loading="listLoading" @selection-change="selsChange" style="width: 100%;"> | ||
| 20 | + <el-table-column type="selection" width="55"> | ||
| 21 | + </el-table-column> | ||
| 22 | + <el-table-column label="序号" type="index"> | ||
| 23 | + </el-table-column> | ||
| 24 | + <el-table-column prop="companyName" label="收货人公司" > | ||
| 25 | + </el-table-column> | ||
| 26 | + <el-table-column prop="conCity" label="收货人城市" > | ||
| 27 | + </el-table-column> | ||
| 28 | + <el-table-column prop="country" label="收货人国家代码" > | ||
| 29 | + </el-table-column> | ||
| 30 | + <el-table-column prop="conPhone" label="收货人电话" > | ||
| 31 | + </el-table-column> | ||
| 32 | + <el-table-column prop="enterprise" label="收货人企业代码" > | ||
| 33 | + </el-table-column> | ||
| 34 | + <el-table-column label="操作" min-width="150"> | ||
| 35 | + <template slot-scope="scope"> | ||
| 36 | + <el-button size="small" @click="handleEdit(scope.$index, scope.row)">编辑</el-button> | ||
| 37 | + <el-button type="danger" size="small" @click="handleDel(scope.$index, scope.row)">删除</el-button> | ||
| 38 | + </template> | ||
| 39 | + </el-table-column> | ||
| 40 | + </el-table> | ||
| 41 | + | ||
| 42 | + <!--编辑界面--> | ||
| 43 | + <el-dialog title="编辑" :visible.sync="editFormVisible" :close-on-click-modal="false"> | ||
| 44 | + <el-form :model="editForm" label-width="100px" :rules="editFormRules" ref="editForm"> | ||
| 45 | + <el-form-item label="ID"> | ||
| 46 | + <span>{{editForm.id}}</span> | ||
| 47 | + </el-form-item> | ||
| 48 | + <el-form-item label="公司" prop="companyName"> | ||
| 49 | + <el-input v-model="editForm.companyName" auto-complete="on" placeholder="公司"></el-input> | ||
| 50 | + </el-form-item> | ||
| 51 | + <el-form-item label="收货人名称" prop="conName"> | ||
| 52 | + <el-input v-model="editForm.conName" auto-complete="on" placeholder="收货人名称"></el-input> | ||
| 53 | + </el-form-item> | ||
| 54 | + <el-form-item label="电话" prop="conPhone"> | ||
| 55 | + <el-input v-model="editForm.conPhone" auto-complete="on" placeholder="电话"></el-input> | ||
| 56 | + </el-form-item> | ||
| 57 | + <el-form-item label="传真" prop="conFax"> | ||
| 58 | + <el-input v-model="editForm.conFax" auto-complete="on" placeholder="传真"></el-input> | ||
| 59 | + </el-form-item> | ||
| 60 | + <el-form-item label="国家代码" prop="country"> | ||
| 61 | + <el-input v-model="editForm.country" auto-complete="on" placeholder="国家代码"></el-input> | ||
| 62 | + </el-form-item> | ||
| 63 | + <el-form-item label="城市" prop="conCity"> | ||
| 64 | + <el-input v-model="editForm.conCity" auto-complete="on" placeholder="城市"></el-input> | ||
| 65 | + </el-form-item> | ||
| 66 | + <el-form-item label="邮编" prop="conPostcode"> | ||
| 67 | + <el-input v-model="editForm.conPostcode" auto-complete="on" placeholder="邮编"></el-input> | ||
| 68 | + </el-form-item> | ||
| 69 | + <el-form-item label="地址" prop="conAddress"> | ||
| 70 | + <el-input v-model="editForm.conAddress" auto-complete="on" placeholder="地址"></el-input> | ||
| 71 | + </el-form-item> | ||
| 72 | + <el-form-item label="收货人AEO" prop="conAeo"> | ||
| 73 | + <el-input v-model="editForm.conAeo" auto-complete="on" placeholder="收货人AEO"></el-input> | ||
| 74 | + </el-form-item> | ||
| 75 | + <el-row> | ||
| 76 | + <el-col :span="6"> | ||
| 77 | + <el-form-item label="企业代码" prop="enterprise"> | ||
| 78 | + <el-select v-model="editForm.enterprise" placeholder="请选择"> | ||
| 79 | + <el-option | ||
| 80 | + v-for="item in options" | ||
| 81 | + :key="item.value" | ||
| 82 | + :label="item.label" | ||
| 83 | + :value="item.value"> | ||
| 84 | + </el-option> | ||
| 85 | + </el-select> | ||
| 86 | + </el-form-item> | ||
| 87 | + </el-col> | ||
| 88 | + <el-col :span="10"> | ||
| 89 | + <el-form-item label="+" prop="enterprise"> | ||
| 90 | + <el-input v-model="editForm.ent"/> | ||
| 91 | + </el-form-item> | ||
| 92 | + </el-col> | ||
| 93 | + </el-row> | ||
| 94 | + </el-form> | ||
| 95 | + <div slot="footer" class="dialog-footer"> | ||
| 96 | + <el-button @click.native="editFormVisible = false">取消</el-button> | ||
| 97 | + <el-button type="primary" @click.native="editSubmit">提交</el-button> | ||
| 98 | + </div> | ||
| 99 | + </el-dialog> | ||
| 100 | + | ||
| 101 | + <!--新增界面--> | ||
| 102 | + <el-dialog title="新增" :visible.sync="addFormVisible" :close-on-click-modal="false"> | ||
| 103 | + <el-form :model="addForm" label-width="100px" :rules="addFormRules" ref="addForm"> | ||
| 104 | + <el-form-item label="公司" prop="companyName"> | ||
| 105 | + <el-input v-model="addForm.companyName" auto-complete="on" placeholder="公司"></el-input> | ||
| 106 | + </el-form-item> | ||
| 107 | + <el-form-item label="收货人名称" prop="conName"> | ||
| 108 | + <el-input v-model="addForm.conName" auto-complete="on" placeholder="收货人名称"></el-input> | ||
| 109 | + </el-form-item> | ||
| 110 | + <el-form-item label="电话" prop="conPhone"> | ||
| 111 | + <el-input v-model="addForm.conPhone" auto-complete="on" placeholder="电话"></el-input> | ||
| 112 | + </el-form-item> | ||
| 113 | + <el-form-item label="传真" prop="conFax"> | ||
| 114 | + <el-input v-model="addForm.conFax" auto-complete="on" placeholder="传真"></el-input> | ||
| 115 | + </el-form-item> | ||
| 116 | + <el-form-item label="国家代码" prop="country"> | ||
| 117 | + <el-input v-model="addForm.country" auto-complete="on" placeholder="国家代码"></el-input> | ||
| 118 | + </el-form-item> | ||
| 119 | + <el-form-item label="城市" prop="conCity"> | ||
| 120 | + <el-input v-model="addForm.conCity" auto-complete="on" placeholder="城市"></el-input> | ||
| 121 | + </el-form-item> | ||
| 122 | + <el-form-item label="邮编" prop="conPostcode"> | ||
| 123 | + <el-input v-model="addForm.conPostcode" auto-complete="on" placeholder="邮编"></el-input> | ||
| 124 | + </el-form-item> | ||
| 125 | + <el-form-item label="地址" prop="conAddress"> | ||
| 126 | + <el-input v-model="addForm.conAddress" auto-complete="on" placeholder="地址"></el-input> | ||
| 127 | + </el-form-item> | ||
| 128 | + <el-form-item label="收货人AEO" prop="conAeo"> | ||
| 129 | + <el-input v-model="addForm.conAeo" auto-complete="on" placeholder="收货人AEO"></el-input> | ||
| 130 | + </el-form-item> | ||
| 131 | + <el-row> | ||
| 132 | + <el-col :span="6"> | ||
| 133 | + <el-form-item label="企业代码" prop="enterprise"> | ||
| 134 | + <el-select v-model="addForm.enterprise" placeholder="请选择"> | ||
| 135 | + <el-option | ||
| 136 | + v-for="item in options" | ||
| 137 | + :key="item.value" | ||
| 138 | + :label="item.label" | ||
| 139 | + :value="item.value"> | ||
| 140 | + </el-option> | ||
| 141 | + </el-select> | ||
| 142 | + </el-form-item> | ||
| 143 | + </el-col> | ||
| 144 | + <el-col :span="10"> | ||
| 145 | + <el-form-item label="+" prop="enterprise"> | ||
| 146 | + <el-input v-model="addForm.ent"/> | ||
| 147 | + </el-form-item> | ||
| 148 | + </el-col> | ||
| 149 | + </el-row> | ||
| 150 | + </el-form> | ||
| 151 | + <div slot="footer" class="dialog-footer"> | ||
| 152 | + <el-button @click.native="addFormVisible = false">取消</el-button> | ||
| 153 | + <el-button type="primary" @click.native="addSubmit">提交</el-button> | ||
| 154 | + </div> | ||
| 155 | + </el-dialog> | ||
| 156 | + </section> | ||
| 157 | +</template> | ||
| 158 | + | ||
| 159 | +<script> | ||
| 160 | + import util from '../../common/js/util' | ||
| 161 | + import NProgress from 'nprogress' | ||
| 162 | + import { getList, remove, add, edit} from '../../api/consigner/consignee'; | ||
| 163 | + import moment from 'moment' | ||
| 164 | + | ||
| 165 | + export default { | ||
| 166 | + data() { | ||
| 167 | + return { | ||
| 168 | + | ||
| 169 | + options: [{ | ||
| 170 | + value: 'USCI', | ||
| 171 | + label: 'USCI' | ||
| 172 | + }, { | ||
| 173 | + value: 'OC', | ||
| 174 | + label: 'OC' | ||
| 175 | + }, { | ||
| 176 | + value: '9999', | ||
| 177 | + label: '9999' | ||
| 178 | + }], | ||
| 179 | + | ||
| 180 | + filters: { | ||
| 181 | + companyName: '' | ||
| 182 | + }, | ||
| 183 | + consignerList: [], | ||
| 184 | + total: 0, | ||
| 185 | + pageSize: 1, | ||
| 186 | + limitSize: 5, | ||
| 187 | + listLoading: false, | ||
| 188 | + //编辑界面是否显示 | ||
| 189 | + editFormVisible: false, | ||
| 190 | + editLoading: false, | ||
| 191 | + editFormRules: { | ||
| 192 | + | ||
| 193 | + companyName: [ | ||
| 194 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 195 | + ], | ||
| 196 | + | ||
| 197 | + conName: [ | ||
| 198 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 199 | + ], | ||
| 200 | + country: [ | ||
| 201 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 202 | + ], | ||
| 203 | + enterprise: [ | ||
| 204 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 205 | + ], | ||
| 206 | + conCity: [ | ||
| 207 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 208 | + ], | ||
| 209 | + conAddress: [ | ||
| 210 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 211 | + ] | ||
| 212 | + }, | ||
| 213 | + //编辑界面数据 | ||
| 214 | + editForm: { | ||
| 215 | + id:'', | ||
| 216 | + companyName: '', | ||
| 217 | + conAddress: '', | ||
| 218 | + conAeo: '', | ||
| 219 | + conCity: '', | ||
| 220 | + conFax: '', | ||
| 221 | + conName: '', | ||
| 222 | + conPhone: '', | ||
| 223 | + conPostcode: '', | ||
| 224 | + country: '', | ||
| 225 | + enterprise: '', | ||
| 226 | + ent: '' | ||
| 227 | + }, | ||
| 228 | + //新增界面是否显示 | ||
| 229 | + addFormVisible: false, | ||
| 230 | + addFormRules: { | ||
| 231 | + companyName: [ | ||
| 232 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 233 | + ], | ||
| 234 | + conName: [ | ||
| 235 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 236 | + ], | ||
| 237 | + country: [ | ||
| 238 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 239 | + ], | ||
| 240 | + enterprise: [ | ||
| 241 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 242 | + ], | ||
| 243 | + conCity: [ | ||
| 244 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 245 | + ], | ||
| 246 | + conAddress: [ | ||
| 247 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 248 | + ] | ||
| 249 | + }, | ||
| 250 | + | ||
| 251 | + //新增界面数据 | ||
| 252 | + addForm: { | ||
| 253 | + companyName: '', | ||
| 254 | + conAddress: '', | ||
| 255 | + conAeo: '', | ||
| 256 | + conCity: '', | ||
| 257 | + conFax: '', | ||
| 258 | + conName: '', | ||
| 259 | + conPhone: '', | ||
| 260 | + conPostcode: '', | ||
| 261 | + country: '', | ||
| 262 | + enterprise: '', | ||
| 263 | + ent: '' | ||
| 264 | + } | ||
| 265 | + } | ||
| 266 | + }, | ||
| 267 | + mounted() { | ||
| 268 | + this.getConsigner(); | ||
| 269 | + | ||
| 270 | + }, | ||
| 271 | + methods: { | ||
| 272 | + | ||
| 273 | + //获取收货人列表 | ||
| 274 | + getConsigner() { | ||
| 275 | + let para = { | ||
| 276 | + pageSize: this.pageSize, | ||
| 277 | + limitSize: this.limitSize, | ||
| 278 | + companyName: this.filters.companyName | ||
| 279 | + }; | ||
| 280 | + this.listLoading = true; | ||
| 281 | + getList(para).then((res) => { | ||
| 282 | + this.total = res.data.data.total; | ||
| 283 | + this.consignerList = res.data.data.list; | ||
| 284 | + this.listLoading = false; | ||
| 285 | + }).catch((error) => { | ||
| 286 | + this.listLoading = false; | ||
| 287 | + if(null!= error.response && error.response!==undefined){ | ||
| 288 | + let status= error.response.status; | ||
| 289 | + let msg = error.response.statusText; | ||
| 290 | + alert(status+msg); | ||
| 291 | + }else { | ||
| 292 | + alert(error); | ||
| 293 | + } | ||
| 294 | + | ||
| 295 | + }); | ||
| 296 | + | ||
| 297 | + }, | ||
| 298 | + | ||
| 299 | + | ||
| 300 | + //删除 | ||
| 301 | + handleDel: function (index, row) { | ||
| 302 | + this.$confirm('确认删除该记录吗?', '提示', { | ||
| 303 | + type: 'warning' | ||
| 304 | + }).then(() => { | ||
| 305 | + this.listLoading = true; | ||
| 306 | + let para = {id: row.id }; | ||
| 307 | + remove(para).then((res) => { | ||
| 308 | + if (res.data.code == 200){ | ||
| 309 | + this.listLoading = false; | ||
| 310 | + this.$message({ | ||
| 311 | + message: '删除成功', | ||
| 312 | + type: 'success' | ||
| 313 | + }); | ||
| 314 | + this.getConsigner(); | ||
| 315 | + }else { | ||
| 316 | + this.listLoading = false; | ||
| 317 | + this.$message({ | ||
| 318 | + message: '删除失败', | ||
| 319 | + type: 'error' | ||
| 320 | + }); | ||
| 321 | + this.getConsigner(); | ||
| 322 | + } | ||
| 323 | + | ||
| 324 | + }).catch((error) => { | ||
| 325 | + this.listLoading = false; | ||
| 326 | + alert(error); | ||
| 327 | + }); | ||
| 328 | + }).catch(); | ||
| 329 | + }, | ||
| 330 | + /** | ||
| 331 | + * 显示编辑界面 | ||
| 332 | + * @param index | ||
| 333 | + * @param row 为这行的数据对象 | ||
| 334 | + */ | ||
| 335 | + handleEdit: function (index, row) { | ||
| 336 | + this.editFormVisible = true; | ||
| 337 | + let strings = row.enterprise.split("+"); | ||
| 338 | + row.enterprise = strings[0]; | ||
| 339 | + row.ent = strings[1] | ||
| 340 | + this.editForm = Object.assign({}, row); | ||
| 341 | + this.getConsigner(); | ||
| 342 | + }, | ||
| 343 | + | ||
| 344 | + //编辑 | ||
| 345 | + editSubmit: function () { | ||
| 346 | + | ||
| 347 | + this.$refs.editForm.validate((valid) => { | ||
| 348 | + if (valid) { | ||
| 349 | + this.$confirm('确认提交吗?', '提示', {}).then(() => { | ||
| 350 | + this.editLoading = true; | ||
| 351 | + this.editForm.enterprise = this.editForm.enterprise+"+"+this.editForm.ent; | ||
| 352 | + let para = Object.assign({}, this.editForm); | ||
| 353 | + this.editLoading = true; | ||
| 354 | + edit(para).then((res) => { | ||
| 355 | + if (res.data.code == 200){ | ||
| 356 | + this.$message({ | ||
| 357 | + message: '提交成功', | ||
| 358 | + type: 'success' | ||
| 359 | + }); | ||
| 360 | + this.$refs['editForm'].resetFields(); | ||
| 361 | + this.editFormVisible = false; | ||
| 362 | + this.getConsigner(); | ||
| 363 | + }else { | ||
| 364 | + this.$message({ | ||
| 365 | + message: '提交失败', | ||
| 366 | + type: 'error' | ||
| 367 | + }); | ||
| 368 | + } | ||
| 369 | + | ||
| 370 | + }).catch(error => alert(error)); | ||
| 371 | + }); | ||
| 372 | + } | ||
| 373 | + }); | ||
| 374 | + }, | ||
| 375 | + | ||
| 376 | + //显示新增界面,每次点开初始化数据 | ||
| 377 | + companyAdd: function () { | ||
| 378 | + this.addFormVisible = true; | ||
| 379 | + this.getConsigner(); | ||
| 380 | + }, | ||
| 381 | + //新增 | ||
| 382 | + addSubmit: function () { | ||
| 383 | + this.$refs.addForm.validate((valid) => { | ||
| 384 | + if (valid) { | ||
| 385 | + this.$confirm('确认提交吗?', '提示', {}).then(() => { | ||
| 386 | + //NProgress.start(); | ||
| 387 | + this.listLoading = true; | ||
| 388 | + this.addForm.enterprise = this.addForm.enterprise+"+"+this.addForm.ent; | ||
| 389 | + let para = Object.assign({}, this.addForm); | ||
| 390 | + add(para).then((res) => { | ||
| 391 | + if (res.data.code == 200){ | ||
| 392 | + //NProgress.done(); | ||
| 393 | + this.$message({ | ||
| 394 | + message: '提交成功', | ||
| 395 | + type: 'success' | ||
| 396 | + }); | ||
| 397 | + this.$refs['addForm'].resetFields(); | ||
| 398 | + this.addFormVisible = false; | ||
| 399 | + this.getConsigner(); | ||
| 400 | + }else { | ||
| 401 | + this.$message({ | ||
| 402 | + message: '提交失败', | ||
| 403 | + type: 'error' | ||
| 404 | + }); | ||
| 405 | + } | ||
| 406 | + }).catch(error => alert(error)); | ||
| 407 | + }); | ||
| 408 | + } | ||
| 409 | + }); | ||
| 410 | + }, | ||
| 411 | + selsChange: function (sels) { | ||
| 412 | + this.sels = sels; | ||
| 413 | + }, | ||
| 414 | + //批量删除 | ||
| 415 | + batchRemove: function () { | ||
| 416 | + var ids = this.sels.map(item => item.id).toString(); | ||
| 417 | + this.$confirm('确认删除选中记录吗?', '提示', { | ||
| 418 | + type: 'warning' | ||
| 419 | + }).then(() => { | ||
| 420 | + this.listLoading = true; | ||
| 421 | + //NProgress.start(); | ||
| 422 | + let para = { ids: ids }; | ||
| 423 | + batchRemove(para).then((res) => { | ||
| 424 | + this.listLoading = false; | ||
| 425 | + //NProgress.done(); | ||
| 426 | + this.$message({ | ||
| 427 | + message: '删除成功', | ||
| 428 | + type: 'success' | ||
| 429 | + }); | ||
| 430 | + this.getConsigner(); | ||
| 431 | + }); | ||
| 432 | + }).catch(() => { | ||
| 433 | + | ||
| 434 | + }); | ||
| 435 | + } | ||
| 436 | + }, | ||
| 437 | + | ||
| 438 | + } | ||
| 439 | +</script> |
src/views/consigner/consigner.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <section> | ||
| 3 | + <!--工具条--> | ||
| 4 | + <el-col :span="24" class="toolbar" style="padding-bottom: 0px;"> | ||
| 5 | + <el-form :inline="true" :model="filters"> | ||
| 6 | + <el-form-item> | ||
| 7 | + <el-input v-model="filters.companyName" placeholder="关键字查询"></el-input> | ||
| 8 | + </el-form-item> | ||
| 9 | + <el-form-item> | ||
| 10 | + <el-button type="primary" v-on:click="getConsigner()">查询</el-button> | ||
| 11 | + </el-form-item> | ||
| 12 | + <el-form-item> | ||
| 13 | + <el-button type="primary" @click="companyAdd">新增</el-button> | ||
| 14 | + </el-form-item> | ||
| 15 | + </el-form> | ||
| 16 | + </el-col> | ||
| 17 | + | ||
| 18 | + <!--列表--> | ||
| 19 | + <el-table :data="consignerList" highlight-current-row v-loading="listLoading" @selection-change="selsChange" style="width: 100%;"> | ||
| 20 | + <el-table-column type="selection" width="55"> | ||
| 21 | + </el-table-column> | ||
| 22 | + <el-table-column label="序号" type="index"> | ||
| 23 | + </el-table-column> | ||
| 24 | + <el-table-column prop="companyName" label="发货人公司" > | ||
| 25 | + </el-table-column> | ||
| 26 | + <el-table-column prop="conCity" label="发货人城市" > | ||
| 27 | + </el-table-column> | ||
| 28 | + <el-table-column prop="country" label="发货人国家代码" > | ||
| 29 | + </el-table-column> | ||
| 30 | + <el-table-column prop="conPhone" label="发货人电话" > | ||
| 31 | + </el-table-column> | ||
| 32 | + <el-table-column prop="enterprise" label="发货人企业代码" > | ||
| 33 | + </el-table-column> | ||
| 34 | + <el-table-column label="操作" min-width="150"> | ||
| 35 | + <template slot-scope="scope"> | ||
| 36 | + <el-button size="small" @click="handleEdit(scope.$index, scope.row)">编辑</el-button> | ||
| 37 | + <el-button type="danger" size="small" @click="handleDel(scope.$index, scope.row)">删除</el-button> | ||
| 38 | + </template> | ||
| 39 | + </el-table-column> | ||
| 40 | + </el-table> | ||
| 41 | + | ||
| 42 | + <!--编辑界面--> | ||
| 43 | + <el-dialog title="编辑" :visible.sync="editFormVisible" :close-on-click-modal="false"> | ||
| 44 | + <el-form :model="editForm" label-width="100px" :rules="editFormRules" ref="editForm"> | ||
| 45 | + <el-form-item label="ID"> | ||
| 46 | + <span>{{editForm.id}}</span> | ||
| 47 | + </el-form-item> | ||
| 48 | + <el-form-item label="公司" prop="companyName"> | ||
| 49 | + <el-input v-model="editForm.companyName" auto-complete="on" placeholder="公司"></el-input> | ||
| 50 | + </el-form-item> | ||
| 51 | + <el-form-item label="发货人名称" prop="conName"> | ||
| 52 | + <el-input v-model="editForm.conName" auto-complete="on" placeholder="发货人名称"></el-input> | ||
| 53 | + </el-form-item> | ||
| 54 | + <el-form-item label="电话" prop="conPhone"> | ||
| 55 | + <el-input v-model="editForm.conPhone" auto-complete="on" placeholder="电话"></el-input> | ||
| 56 | + </el-form-item> | ||
| 57 | + <el-form-item label="传真" prop="conFax"> | ||
| 58 | + <el-input v-model="editForm.conFax" auto-complete="on" placeholder="传真"></el-input> | ||
| 59 | + </el-form-item> | ||
| 60 | + <el-form-item label="国家代码" prop="country"> | ||
| 61 | + <el-input v-model="editForm.country" auto-complete="on" placeholder="国家代码"></el-input> | ||
| 62 | + </el-form-item> | ||
| 63 | + <el-form-item label="城市" prop="conCity"> | ||
| 64 | + <el-input v-model="editForm.conCity" auto-complete="on" placeholder="城市"></el-input> | ||
| 65 | + </el-form-item> | ||
| 66 | + <el-form-item label="邮编" prop="conPostcode"> | ||
| 67 | + <el-input v-model="editForm.conPostcode" auto-complete="on" placeholder="邮编"></el-input> | ||
| 68 | + </el-form-item> | ||
| 69 | + <el-form-item label="地址" prop="conAddress"> | ||
| 70 | + <el-input v-model="editForm.conAddress" auto-complete="on" placeholder="地址"></el-input> | ||
| 71 | + </el-form-item> | ||
| 72 | + <el-form-item label="发货人AEO" prop="conAeo"> | ||
| 73 | + <el-input v-model="editForm.conAeo" auto-complete="on" placeholder="发货人AEO"></el-input> | ||
| 74 | + </el-form-item> | ||
| 75 | + <el-row> | ||
| 76 | + <el-col :span="6"> | ||
| 77 | + <el-form-item label="企业代码" prop="enterprise"> | ||
| 78 | + <el-select v-model="editForm.enterprise" placeholder="请选择"> | ||
| 79 | + <el-option | ||
| 80 | + v-for="item in options" | ||
| 81 | + :key="item.value" | ||
| 82 | + :label="item.label" | ||
| 83 | + :value="item.value"> | ||
| 84 | + </el-option> | ||
| 85 | + </el-select> | ||
| 86 | + </el-form-item> | ||
| 87 | + </el-col> | ||
| 88 | + <el-col :span="10"> | ||
| 89 | + <el-form-item label="+" prop="enterprise"> | ||
| 90 | + <el-input v-model="editForm.ent"/> | ||
| 91 | + </el-form-item> | ||
| 92 | + </el-col> | ||
| 93 | + </el-row> | ||
| 94 | + </el-form> | ||
| 95 | + <div slot="footer" class="dialog-footer"> | ||
| 96 | + <el-button @click.native="editFormVisible = false">取消</el-button> | ||
| 97 | + <el-button type="primary" @click.native="editSubmit" :loading="editLoading">提交</el-button> | ||
| 98 | + </div> | ||
| 99 | + </el-dialog> | ||
| 100 | + | ||
| 101 | + <!--新增界面--> | ||
| 102 | + <el-dialog title="新增" :visible.sync="addFormVisible" :close-on-click-modal="false"> | ||
| 103 | + <el-form :model="addForm" label-width="100px" :rules="addFormRules" ref="addForm"> | ||
| 104 | + <el-form-item label="公司" prop="companyName"> | ||
| 105 | + <el-input v-model="addForm.companyName" auto-complete="on" placeholder="公司"></el-input> | ||
| 106 | + </el-form-item> | ||
| 107 | + <el-form-item label="发货人名称" prop="conName"> | ||
| 108 | + <el-input v-model="addForm.conName" auto-complete="on" placeholder="发货人名称"></el-input> | ||
| 109 | + </el-form-item> | ||
| 110 | + <el-form-item label="电话" prop="conPhone"> | ||
| 111 | + <el-input v-model="addForm.conPhone" auto-complete="on" placeholder="电话"></el-input> | ||
| 112 | + </el-form-item> | ||
| 113 | + <el-form-item label="传真" prop="conFax"> | ||
| 114 | + <el-input v-model="addForm.conFax" auto-complete="on" placeholder="传真"></el-input> | ||
| 115 | + </el-form-item> | ||
| 116 | + <el-form-item label="国家代码" prop="country"> | ||
| 117 | + <el-input v-model="addForm.country" auto-complete="on" placeholder="国家代码"></el-input> | ||
| 118 | + </el-form-item> | ||
| 119 | + <el-form-item label="城市" prop="conCity"> | ||
| 120 | + <el-input v-model="addForm.conCity" auto-complete="on" placeholder="城市"></el-input> | ||
| 121 | + </el-form-item> | ||
| 122 | + <el-form-item label="邮编" prop="conPostcode"> | ||
| 123 | + <el-input v-model="addForm.conPostcode" auto-complete="on" placeholder="邮编"></el-input> | ||
| 124 | + </el-form-item> | ||
| 125 | + <el-form-item label="地址" prop="conAddress"> | ||
| 126 | + <el-input v-model="addForm.conAddress" auto-complete="on" placeholder="地址"></el-input> | ||
| 127 | + </el-form-item> | ||
| 128 | + <el-form-item label="发货人AEO" prop="conAeo"> | ||
| 129 | + <el-input v-model="addForm.conAeo" auto-complete="on" placeholder="发货人AEO"></el-input> | ||
| 130 | + </el-form-item> | ||
| 131 | + <el-row> | ||
| 132 | + <el-col :span="6"> | ||
| 133 | + <el-form-item label="企业代码" prop="enterprise"> | ||
| 134 | + <el-select v-model="addForm.enterprise" placeholder="请选择"> | ||
| 135 | + <el-option | ||
| 136 | + v-for="item in options" | ||
| 137 | + :key="item.value" | ||
| 138 | + :label="item.label" | ||
| 139 | + :value="item.value"> | ||
| 140 | + </el-option> | ||
| 141 | + </el-select> | ||
| 142 | + </el-form-item> | ||
| 143 | + </el-col> | ||
| 144 | + <el-col :span="10"> | ||
| 145 | + <el-form-item label="+" prop="enterprise"> | ||
| 146 | + <el-input v-model="addForm.ent"/> | ||
| 147 | + </el-form-item> | ||
| 148 | + </el-col> | ||
| 149 | + </el-row> | ||
| 150 | + </el-form> | ||
| 151 | + <div slot="footer" class="dialog-footer"> | ||
| 152 | + <el-button @click.native="addFormVisible = false">取消</el-button> | ||
| 153 | + <el-button type="primary" @click.native="addSubmit">提交</el-button> | ||
| 154 | + </div> | ||
| 155 | + </el-dialog> | ||
| 156 | + </section> | ||
| 157 | +</template> | ||
| 158 | + | ||
| 159 | +<script> | ||
| 160 | + import util from '../../common/js/util' | ||
| 161 | + import NProgress from 'nprogress' | ||
| 162 | + import { getList, remove, add, edit} from '../../api/consigner/consigner'; | ||
| 163 | + import moment from 'moment' | ||
| 164 | + | ||
| 165 | + export default { | ||
| 166 | + data() { | ||
| 167 | + return { | ||
| 168 | + | ||
| 169 | + options: [{ | ||
| 170 | + value: 'USCI', | ||
| 171 | + label: 'USCI' | ||
| 172 | + }, { | ||
| 173 | + value: 'OC', | ||
| 174 | + label: 'OC' | ||
| 175 | + }, { | ||
| 176 | + value: '9999', | ||
| 177 | + label: '9999' | ||
| 178 | + }], | ||
| 179 | + | ||
| 180 | + filters: { | ||
| 181 | + companyName: '' | ||
| 182 | + }, | ||
| 183 | + consignerList: [], | ||
| 184 | + total: 0, | ||
| 185 | + pageSize: 1, | ||
| 186 | + limitSize: 5, | ||
| 187 | + listLoading: false, | ||
| 188 | + //编辑界面是否显示 | ||
| 189 | + editFormVisible: false, | ||
| 190 | + editLoading: false, | ||
| 191 | + editFormRules: { | ||
| 192 | + | ||
| 193 | + companyName: [ | ||
| 194 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 195 | + ], | ||
| 196 | + | ||
| 197 | + conName: [ | ||
| 198 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 199 | + ], | ||
| 200 | + country: [ | ||
| 201 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 202 | + ], | ||
| 203 | + enterprise: [ | ||
| 204 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 205 | + ], | ||
| 206 | + conCity: [ | ||
| 207 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 208 | + ], | ||
| 209 | + conAddress: [ | ||
| 210 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 211 | + ] | ||
| 212 | + }, | ||
| 213 | + //编辑界面数据 | ||
| 214 | + editForm: { | ||
| 215 | + id:'', | ||
| 216 | + companyName: '', | ||
| 217 | + conAddress: '', | ||
| 218 | + conAeo: '', | ||
| 219 | + conCity: '', | ||
| 220 | + conFax: '', | ||
| 221 | + conName: '', | ||
| 222 | + conPhone: '', | ||
| 223 | + conPostcode: '', | ||
| 224 | + country: '', | ||
| 225 | + enterprise: '', | ||
| 226 | + ent: '' | ||
| 227 | + }, | ||
| 228 | + //新增界面是否显示 | ||
| 229 | + addFormVisible: false, | ||
| 230 | + addFormRules: { | ||
| 231 | + companyName: [ | ||
| 232 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 233 | + ], | ||
| 234 | + conName: [ | ||
| 235 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 236 | + ], | ||
| 237 | + country: [ | ||
| 238 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 239 | + ], | ||
| 240 | + enterprise: [ | ||
| 241 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 242 | + ], | ||
| 243 | + conCity: [ | ||
| 244 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 245 | + ], | ||
| 246 | + conAddress: [ | ||
| 247 | + { required: true, message: '不能为空!!!', trigger: 'blur' } | ||
| 248 | + ] | ||
| 249 | + }, | ||
| 250 | + | ||
| 251 | + //新增界面数据 | ||
| 252 | + addForm: { | ||
| 253 | + companyName: '', | ||
| 254 | + conAddress: '', | ||
| 255 | + conAeo: '', | ||
| 256 | + conCity: '', | ||
| 257 | + conFax: '', | ||
| 258 | + conName: '', | ||
| 259 | + conPhone: '', | ||
| 260 | + conPostcode: '', | ||
| 261 | + country: '', | ||
| 262 | + enterprise: '', | ||
| 263 | + ent: '' | ||
| 264 | + } | ||
| 265 | + } | ||
| 266 | + }, | ||
| 267 | + mounted() { | ||
| 268 | + this.getConsigner(); | ||
| 269 | + | ||
| 270 | + }, | ||
| 271 | + methods: { | ||
| 272 | + | ||
| 273 | + //获取发货人列表 | ||
| 274 | + getConsigner() { | ||
| 275 | + let para = { | ||
| 276 | + pageSize: this.pageSize, | ||
| 277 | + limitSize: this.limitSize, | ||
| 278 | + companyName: this.filters.companyName | ||
| 279 | + }; | ||
| 280 | + this.listLoading = true; | ||
| 281 | + getList(para).then((res) => { | ||
| 282 | + this.total = res.data.data.total; | ||
| 283 | + this.consignerList = res.data.data.list; | ||
| 284 | + this.listLoading = false; | ||
| 285 | + }).catch((error) => { | ||
| 286 | + this.listLoading = false; | ||
| 287 | + if(null!= error.response && error.response!==undefined){ | ||
| 288 | + let status= error.response.status; | ||
| 289 | + let msg = error.response.statusText; | ||
| 290 | + alert(status+msg); | ||
| 291 | + }else { | ||
| 292 | + alert(error); | ||
| 293 | + } | ||
| 294 | + | ||
| 295 | + }); | ||
| 296 | + | ||
| 297 | + }, | ||
| 298 | + | ||
| 299 | + | ||
| 300 | + //删除 | ||
| 301 | + handleDel: function (index, row) { | ||
| 302 | + this.$confirm('确认删除该记录吗?', '提示', { | ||
| 303 | + type: 'warning' | ||
| 304 | + }).then(() => { | ||
| 305 | + this.listLoading = true; | ||
| 306 | + let para = {id: row.id }; | ||
| 307 | + remove(para).then((res) => { | ||
| 308 | + if (res.data.code == 200){ | ||
| 309 | + this.listLoading = false; | ||
| 310 | + this.$message({ | ||
| 311 | + message: '删除成功', | ||
| 312 | + type: 'success' | ||
| 313 | + }); | ||
| 314 | + this.getConsigner(); | ||
| 315 | + }else { | ||
| 316 | + this.listLoading = false; | ||
| 317 | + this.$message({ | ||
| 318 | + message: '删除失败', | ||
| 319 | + type: 'error' | ||
| 320 | + }); | ||
| 321 | + this.getConsigner(); | ||
| 322 | + } | ||
| 323 | + | ||
| 324 | + }).catch((error) => { | ||
| 325 | + this.listLoading = false; | ||
| 326 | + alert(error); | ||
| 327 | + }); | ||
| 328 | + }).catch(); | ||
| 329 | + }, | ||
| 330 | + /** | ||
| 331 | + * 显示编辑界面 | ||
| 332 | + * @param index | ||
| 333 | + * @param row 为这行的数据对象 | ||
| 334 | + */ | ||
| 335 | + handleEdit: function (index, row) { | ||
| 336 | + this.editFormVisible = true; | ||
| 337 | + let strings = row.enterprise.split("+"); | ||
| 338 | + row.enterprise = strings[0]; | ||
| 339 | + row.ent = strings[1] | ||
| 340 | + this.editForm = Object.assign({}, row); | ||
| 341 | + this.getConsigner(); | ||
| 342 | + }, | ||
| 343 | + | ||
| 344 | + //编辑 | ||
| 345 | + editSubmit: function () { | ||
| 346 | + | ||
| 347 | + this.$refs.editForm.validate((valid) => { | ||
| 348 | + if (valid) { | ||
| 349 | + this.$confirm('确认提交吗?', '提示', {}).then(() => { | ||
| 350 | + this.editLoading = true; | ||
| 351 | + this.editForm.enterprise = this.editForm.enterprise+"+"+this.editForm.ent; | ||
| 352 | + let para = Object.assign({}, this.editForm); | ||
| 353 | + this.editLoading = true; | ||
| 354 | + edit(para).then((res) => { | ||
| 355 | + if (res.data.code == 200){ | ||
| 356 | + this.$message({ | ||
| 357 | + message: '提交成功', | ||
| 358 | + type: 'success' | ||
| 359 | + }); | ||
| 360 | + this.$refs['editForm'].resetFields(); | ||
| 361 | + this.editFormVisible = false; | ||
| 362 | + this.getConsigner(); | ||
| 363 | + }else { | ||
| 364 | + this.$message({ | ||
| 365 | + message: '提交失败', | ||
| 366 | + type: 'error' | ||
| 367 | + }); | ||
| 368 | + } | ||
| 369 | + | ||
| 370 | + }).catch(error => alert(error)); | ||
| 371 | + }); | ||
| 372 | + } | ||
| 373 | + }); | ||
| 374 | + }, | ||
| 375 | + | ||
| 376 | + //显示新增界面,每次点开初始化数据 | ||
| 377 | + companyAdd: function () { | ||
| 378 | + this.addFormVisible = true; | ||
| 379 | + this.getConsigner(); | ||
| 380 | + }, | ||
| 381 | + //新增 | ||
| 382 | + addSubmit: function () { | ||
| 383 | + this.$refs.addForm.validate((valid) => { | ||
| 384 | + if (valid) { | ||
| 385 | + this.$confirm('确认提交吗?', '提示', {}).then(() => { | ||
| 386 | + //NProgress.start(); | ||
| 387 | + this.listLoading = true; | ||
| 388 | + this.addForm.enterprise = this.addForm.enterprise+"+"+this.addForm.ent; | ||
| 389 | + let para = Object.assign({}, this.addForm); | ||
| 390 | + add(para).then((res) => { | ||
| 391 | + if (res.data.code == 200){ | ||
| 392 | + //NProgress.done(); | ||
| 393 | + this.$message({ | ||
| 394 | + message: '提交成功', | ||
| 395 | + type: 'success' | ||
| 396 | + }); | ||
| 397 | + this.$refs['addForm'].resetFields(); | ||
| 398 | + this.addFormVisible = false; | ||
| 399 | + this.getConsigner(); | ||
| 400 | + }else { | ||
| 401 | + this.$message({ | ||
| 402 | + message: '提交失败', | ||
| 403 | + type: 'error' | ||
| 404 | + }); | ||
| 405 | + } | ||
| 406 | + }).catch(error => alert(error)); | ||
| 407 | + }); | ||
| 408 | + } | ||
| 409 | + }); | ||
| 410 | + }, | ||
| 411 | + selsChange: function (sels) { | ||
| 412 | + this.sels = sels; | ||
| 413 | + }, | ||
| 414 | + //批量删除 | ||
| 415 | + batchRemove: function () { | ||
| 416 | + var ids = this.sels.map(item => item.id).toString(); | ||
| 417 | + this.$confirm('确认删除选中记录吗?', '提示', { | ||
| 418 | + type: 'warning' | ||
| 419 | + }).then(() => { | ||
| 420 | + this.listLoading = true; | ||
| 421 | + //NProgress.start(); | ||
| 422 | + let para = { ids: ids }; | ||
| 423 | + batchRemove(para).then((res) => { | ||
| 424 | + this.listLoading = false; | ||
| 425 | + //NProgress.done(); | ||
| 426 | + this.$message({ | ||
| 427 | + message: '删除成功', | ||
| 428 | + type: 'success' | ||
| 429 | + }); | ||
| 430 | + this.getConsigner(); | ||
| 431 | + }); | ||
| 432 | + }).catch(() => { | ||
| 433 | + | ||
| 434 | + }); | ||
| 435 | + } | ||
| 436 | + }, | ||
| 437 | + | ||
| 438 | + } | ||
| 439 | +</script> |
src/views/nav2/Page4.vue
已删除
100755 → 0
| 1 | -<template> | ||
| 2 | - <el-container> | ||
| 3 | - <el-main> | ||
| 4 | - <el-row> | ||
| 5 | - <el-col :span="24"> | ||
| 6 | - <div class="grid-content content">航班预配</div> | ||
| 7 | - </el-col> | ||
| 8 | - </el-row> | ||
| 9 | -<!-- 搜索区域--> | ||
| 10 | - <el-row> | ||
| 11 | - <el-form :inline="true" :model="formInline" class="demo-form-inline"> | ||
| 12 | - <el-col :span="5"> | ||
| 13 | - <el-form-item label="航班号"> | ||
| 14 | - <el-input v-model="formInline.user" placeholder="请输入航班号"></el-input> | ||
| 15 | - </el-form-item> | ||
| 16 | - </el-col> | ||
| 17 | - <el-col :span="4"> | ||
| 18 | - <el-form-item> | ||
| 19 | - <el-button type="primary" @click="onSubmit">查询</el-button> | ||
| 20 | - </el-form-item> | ||
| 21 | - </el-col> | ||
| 22 | - <el-col :span="4"> | ||
| 23 | - <el-form-item> | ||
| 24 | - <el-select v-model="formInline.value" placeholder="航班操作" style="margin-left: 50px"> | ||
| 25 | - <el-option | ||
| 26 | - v-for="item in options" | ||
| 27 | - :key="item.value" | ||
| 28 | - :label="item.label" | ||
| 29 | - :value="item.value"> | ||
| 30 | - </el-option> | ||
| 31 | - </el-select> | ||
| 32 | - </el-form-item> | ||
| 33 | - </el-col> | ||
| 34 | - </el-form> | ||
| 35 | - </el-row> | ||
| 36 | -<!-- 表单区域①--> | ||
| 37 | - <el-row> | ||
| 38 | - <el-table | ||
| 39 | - ref="multipleTable" | ||
| 40 | - :data="tableData" | ||
| 41 | - tooltip-effect="dark" | ||
| 42 | - style="width: 100%" | ||
| 43 | - @selection-change="handleSelectionChange"> | ||
| 44 | - <el-table-column | ||
| 45 | - type="selection" | ||
| 46 | - width="55"> | ||
| 47 | - </el-table-column> | ||
| 48 | - <el-table-column | ||
| 49 | - label="运单号"> | ||
| 50 | - <template slot-scope="scope">{{ scope.row.date }}</template> | ||
| 51 | - </el-table-column> | ||
| 52 | - <el-table-column | ||
| 53 | - prop="name" | ||
| 54 | - label="件数"> | ||
| 55 | - </el-table-column> | ||
| 56 | - <el-table-column | ||
| 57 | - prop="address" | ||
| 58 | - label="重量"> | ||
| 59 | - </el-table-column> | ||
| 60 | - <el-table-column | ||
| 61 | - prop="name" | ||
| 62 | - label="体积"> | ||
| 63 | - </el-table-column> | ||
| 64 | - <el-table-column | ||
| 65 | - prop="address" | ||
| 66 | - label="品名"> | ||
| 67 | - </el-table-column> | ||
| 68 | - </el-table> | ||
| 69 | - <div style="margin-top:5px;margin-left: 1000px"> | ||
| 70 | - <el-button type="primary" >配上</el-button> | ||
| 71 | - <el-button type="success" @click="dialogFormVisible = true">新增</el-button> | ||
| 72 | - <el-button type="warning" @click="dialogFormsVisible = true">导入</el-button> | ||
| 73 | - </div> | ||
| 74 | - </el-row> | ||
| 75 | -<!-- 表单①新增按钮弹框--> | ||
| 76 | - <el-row> | ||
| 77 | - <el-dialog title="新增页面" :visible.sync="dialogFormVisible"> | ||
| 78 | - <el-form :model="form"> | ||
| 79 | - <el-row> | ||
| 80 | - <el-col :span="10"> | ||
| 81 | - <el-form-item label="运单号" :label-width="formLabelWidth"> | ||
| 82 | - <el-input v-model="form.name" autocomplete="off"></el-input> | ||
| 83 | - </el-form-item> | ||
| 84 | - </el-col> | ||
| 85 | - <el-col :span="10"> | ||
| 86 | - <el-form-item label="目的站" :label-width="formLabelWidth"> | ||
| 87 | - <el-input v-model="form.name" autocomplete="off"></el-input> | ||
| 88 | - </el-form-item> | ||
| 89 | - </el-col> | ||
| 90 | - <el-col :span="10"> | ||
| 91 | - <el-form-item label="件数" :label-width="formLabelWidth"> | ||
| 92 | - <el-input v-model="form.name" autocomplete="off"></el-input> | ||
| 93 | - </el-form-item> | ||
| 94 | - </el-col> | ||
| 95 | - <el-col :span="10"> | ||
| 96 | - <el-form-item label="重量" :label-width="formLabelWidth"> | ||
| 97 | - <el-input v-model="form.name" autocomplete="off" placeholder="单位:KG"></el-input> | ||
| 98 | - </el-form-item> | ||
| 99 | - </el-col> | ||
| 100 | - <el-col :span="10"> | ||
| 101 | - <el-form-item label="体积" :label-width="formLabelWidth"> | ||
| 102 | - <el-input v-model="form.name" autocomplete="off"></el-input> | ||
| 103 | - </el-form-item> | ||
| 104 | - </el-col> | ||
| 105 | - <el-col :span="10"> | ||
| 106 | - <el-form-item label="品名" :label-width="formLabelWidth"> | ||
| 107 | - <el-select v-model="form.region" placeholder="请选择品名"> | ||
| 108 | - <el-option label="品名一" value="品名一"></el-option> | ||
| 109 | - <el-option label="品名二" value="品名二"></el-option> | ||
| 110 | - </el-select> | ||
| 111 | - </el-form-item> | ||
| 112 | - </el-col> | ||
| 113 | - <el-col :span="10"> | ||
| 114 | - <el-form-item label="特货代码" :label-width="formLabelWidth"> | ||
| 115 | - <el-input v-model="form.name" autocomplete="off"></el-input> | ||
| 116 | - </el-form-item> | ||
| 117 | - </el-col> | ||
| 118 | - <el-col :span="10"> | ||
| 119 | - <el-form-item label="代理人" :label-width="formLabelWidth"> | ||
| 120 | - <el-input v-model="form.name" autocomplete="off"></el-input> | ||
| 121 | - </el-form-item> | ||
| 122 | - </el-col> | ||
| 123 | - <el-col :span="10"> | ||
| 124 | - <el-form-item label="优先级" :label-width="formLabelWidth"> | ||
| 125 | - <el-input v-model="form.name" autocomplete="off"></el-input> | ||
| 126 | - </el-form-item> | ||
| 127 | - </el-col> | ||
| 128 | - <el-col :span="10"> | ||
| 129 | - <el-form-item label="备注" :label-width="formLabelWidth"> | ||
| 130 | - <el-input v-model="form.name" autocomplete="off"></el-input> | ||
| 131 | - </el-form-item> | ||
| 132 | - </el-col> | ||
| 133 | - </el-row> | ||
| 134 | - </el-form> | ||
| 135 | - <div slot="footer" class="dialog-footer"> | ||
| 136 | - <el-button @click="dialogFormVisible = false">取 消</el-button> | ||
| 137 | - <el-button type="primary" @click="dialogFormVisible = false">保 存</el-button> | ||
| 138 | - </div> | ||
| 139 | - </el-dialog> | ||
| 140 | - </el-row> | ||
| 141 | -<!-- 表单①导入按钮弹框--> | ||
| 142 | - <el-row> | ||
| 143 | - <el-dialog title="批量导入" :visible.sync="dialogFormsVisible"> | ||
| 144 | - <el-form :model="form1" > | ||
| 145 | - <el-row> | ||
| 146 | - <el-col :span="5"> | ||
| 147 | - <el-form-item> | ||
| 148 | - <el-form-item label="ULD" :label-width="formsLabelWidths"> | ||
| 149 | - <el-input v-model="form1.name" autocomplete="off"></el-input> | ||
| 150 | - </el-form-item> | ||
| 151 | - </el-form-item> | ||
| 152 | - </el-col> | ||
| 153 | - </el-row> | ||
| 154 | - </el-form> | ||
| 155 | - </el-dialog> | ||
| 156 | - </el-row> | ||
| 157 | -<!-- 表单区域②--> | ||
| 158 | - <el-row> | ||
| 159 | - <el-table | ||
| 160 | - ref="multipleTable" | ||
| 161 | - :data="tableData" | ||
| 162 | - tooltip-effect="dark" | ||
| 163 | - style="width: 100%" | ||
| 164 | - @selection-change="handleSelectionChange"> | ||
| 165 | - <el-table-column | ||
| 166 | - label="ULD类型"> | ||
| 167 | - <template slot-scope="scope">{{ scope.row.date }}</template> | ||
| 168 | - </el-table-column> | ||
| 169 | - <el-table-column | ||
| 170 | - prop="name" | ||
| 171 | - label="件数"> | ||
| 172 | - </el-table-column> | ||
| 173 | - <el-table-column | ||
| 174 | - prop="address" | ||
| 175 | - label="机仓位"> | ||
| 176 | - </el-table-column> | ||
| 177 | - </el-table> | ||
| 178 | - <div style="margin-top:5px;margin-left: 1000px"> | ||
| 179 | - <el-button type="primary" >拉下</el-button> | ||
| 180 | - <el-button type="success" @click="dialogFormVisibles = true">新增</el-button> | ||
| 181 | - <el-button type="danger" >删除</el-button> | ||
| 182 | - </div> | ||
| 183 | - </el-row> | ||
| 184 | -<!-- 表单②新增按钮弹框--> | ||
| 185 | - <el-row> | ||
| 186 | - <el-dialog title="新增页面" :visible.sync="dialogFormVisibles"> | ||
| 187 | - <el-form :model="forms"> | ||
| 188 | - <el-row> | ||
| 189 | - <el-col :span="10"> | ||
| 190 | - <el-form-item label="ULD" :label-width="formLabelWidths"> | ||
| 191 | - <el-input v-model="forms.name" autocomplete="off"></el-input> | ||
| 192 | - </el-form-item> | ||
| 193 | - </el-col> | ||
| 194 | - <el-col :span="10"> | ||
| 195 | - <el-form-item label="件数" :label-width="formLabelWidths"> | ||
| 196 | - <el-input v-model="forms.name" autocomplete="off"></el-input> | ||
| 197 | - </el-form-item> | ||
| 198 | - </el-col> | ||
| 199 | - <el-col :span="10"> | ||
| 200 | - <el-form-item label="机仓位" :label-width="formLabelWidths"> | ||
| 201 | - <el-select v-model="forms.region" placeholder="请选择机仓位"> | ||
| 202 | - <el-option label="仓位一" value="仓位一"></el-option> | ||
| 203 | - <el-option label="仓位二" value="仓位二"></el-option> | ||
| 204 | - </el-select> | ||
| 205 | - </el-form-item> | ||
| 206 | - </el-col> | ||
| 207 | - <el-col :span="10"> | ||
| 208 | - <el-form-item label="板位" :label-width="formLabelWidths"> | ||
| 209 | - <el-select v-model="forms.region" placeholder="请选择板位"> | ||
| 210 | - <el-option label="板位一" value="板位一"></el-option> | ||
| 211 | - <el-option label="板位二" value="板位二"></el-option> | ||
| 212 | - </el-select> | ||
| 213 | - </el-form-item> | ||
| 214 | - </el-col> | ||
| 215 | - <el-col :span="10"> | ||
| 216 | - <el-form-item label="板型" :label-width="formLabelWidths"> | ||
| 217 | - <el-select v-model="forms.region" placeholder="请选择板型"> | ||
| 218 | - <el-option label="板型一" value="板型一"></el-option> | ||
| 219 | - <el-option label="板型二" value="板型二"></el-option> | ||
| 220 | - </el-select> | ||
| 221 | - </el-form-item> | ||
| 222 | - </el-col> | ||
| 223 | - </el-row> | ||
| 224 | - </el-form> | ||
| 225 | - <div slot="footer" class="dialog-footer"> | ||
| 226 | - <el-button @click="dialogFormVisibles = false">取 消</el-button> | ||
| 227 | - <el-button type="primary" @click="dialogFormVisibles = false">保 存</el-button> | ||
| 228 | - </div> | ||
| 229 | - | ||
| 230 | - </el-dialog> | ||
| 231 | - </el-row> | ||
| 232 | - </el-main> | ||
| 233 | - </el-container> | ||
| 234 | -</template> | ||
| 235 | -<script> | ||
| 236 | - export default { | ||
| 237 | - data() { | ||
| 238 | - return { | ||
| 239 | - formInline: { | ||
| 240 | - user: '', | ||
| 241 | - value: '' | ||
| 242 | - }, | ||
| 243 | - tableData:[], | ||
| 244 | - multipleSelection: [], | ||
| 245 | - options: [{ | ||
| 246 | - value: '操作1', | ||
| 247 | - label: '操作1' | ||
| 248 | - }, { | ||
| 249 | - value: '操作2', | ||
| 250 | - label: '操作2' | ||
| 251 | - }], | ||
| 252 | - dialogFormVisible: false, | ||
| 253 | - dialogFormVisibles: false, | ||
| 254 | - dialogFormsVisible: false, | ||
| 255 | - form: {}, | ||
| 256 | - form1: {}, | ||
| 257 | - forms: {}, | ||
| 258 | - formLabelWidth: '120px', | ||
| 259 | - formLabelWidths: '120px', | ||
| 260 | - } | ||
| 261 | - }, | ||
| 262 | - methods: { | ||
| 263 | - onSubmit() { | ||
| 264 | - console.log('submit!'); | ||
| 265 | - }, | ||
| 266 | - handleSelectionChange(val) { | ||
| 267 | - this.multipleSelection = val; | ||
| 268 | - } | ||
| 269 | - } | ||
| 270 | - } | ||
| 271 | -</script> |
src/views/nav2/Page5.vue
已删除
100755 → 0
src/views/nav2/allocate.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <el-container> | ||
| 3 | + <el-main> | ||
| 4 | + <el-row> | ||
| 5 | + <el-col :span="24"> | ||
| 6 | + <div class="grid-content content">航班配载</div> | ||
| 7 | + </el-col> | ||
| 8 | + </el-row> | ||
| 9 | + <!-- 搜索区域--> | ||
| 10 | + <el-row> | ||
| 11 | + <el-form :inline="true" :model="formInline" class="demo-form-inline"> | ||
| 12 | + <el-col :span="5"> | ||
| 13 | + <el-form-item label="航班号"> | ||
| 14 | + <el-input v-model="formInline.flightNo" placeholder="请输入航班号"></el-input> | ||
| 15 | + </el-form-item> | ||
| 16 | + </el-col> | ||
| 17 | + <el-col :span="4"> | ||
| 18 | + <el-form-item> | ||
| 19 | + <el-button type="primary" @click="onSubmit">查询</el-button> | ||
| 20 | + </el-form-item> | ||
| 21 | + </el-col> | ||
| 22 | + <el-col :span="4"> | ||
| 23 | + <el-form-item> | ||
| 24 | + <el-select v-model="formInline.operation" placeholder="航班操作" style="margin-left: 50px"> | ||
| 25 | + <el-option | ||
| 26 | + v-for="item in operation" | ||
| 27 | + :key="item.value" | ||
| 28 | + :label="item.label" | ||
| 29 | + :value="item.value"> | ||
| 30 | + </el-option> | ||
| 31 | + </el-select> | ||
| 32 | + </el-form-item> | ||
| 33 | + </el-col> | ||
| 34 | + </el-form> | ||
| 35 | + </el-row> | ||
| 36 | +<!-- 表单区域①--> | ||
| 37 | + <el-row> | ||
| 38 | + <el-table | ||
| 39 | + ref="multipleTable" | ||
| 40 | + :data="tableData" | ||
| 41 | + tooltip-effect="dark" | ||
| 42 | + style="width: 100%" | ||
| 43 | + @selection-change="handleSelectionChange"> | ||
| 44 | + <el-table-column | ||
| 45 | + type="selection" | ||
| 46 | + width="55"> | ||
| 47 | + </el-table-column> | ||
| 48 | + <el-table-column | ||
| 49 | + prop="uld" | ||
| 50 | + label="ULD"> | ||
| 51 | + </el-table-column> | ||
| 52 | + <el-table-column | ||
| 53 | + prop="stowage" | ||
| 54 | + label="配载重量"> | ||
| 55 | + </el-table-column> | ||
| 56 | + <el-table-column | ||
| 57 | + prop="ground" | ||
| 58 | + label="是否地勤交接"> | ||
| 59 | + </el-table-column> | ||
| 60 | + <el-table-column | ||
| 61 | + prop="warehouse" | ||
| 62 | + label="仓库"> | ||
| 63 | + </el-table-column> | ||
| 64 | + <el-table-column | ||
| 65 | + prop="bup" | ||
| 66 | + label="BUP"> | ||
| 67 | + </el-table-column> | ||
| 68 | + </el-table> | ||
| 69 | + <el-table | ||
| 70 | + ref="multipleTable" | ||
| 71 | + :data="tableData1" | ||
| 72 | + tooltip-effect="dark" | ||
| 73 | + style="width: 100%" | ||
| 74 | + @selection-change="handleSelectionChange"> | ||
| 75 | + <el-table-column | ||
| 76 | + type="selection" | ||
| 77 | + width="55"> | ||
| 78 | + </el-table-column> | ||
| 79 | + <el-table-column | ||
| 80 | + prop="box" | ||
| 81 | + label="板箱号"> | ||
| 82 | + </el-table-column> | ||
| 83 | + <el-table-column | ||
| 84 | + prop="assembling" | ||
| 85 | + label="装配件数"> | ||
| 86 | + </el-table-column> | ||
| 87 | + <el-table-column | ||
| 88 | + prop="stowage" | ||
| 89 | + label="配载重量"> | ||
| 90 | + </el-table-column> | ||
| 91 | + </el-table> | ||
| 92 | + <div style="margin-top:5px;margin-left: 20px"> | ||
| 93 | + <el-button @click="dialogFormVisible = true">待运导入</el-button> | ||
| 94 | + <el-button>装箱</el-button> | ||
| 95 | + <el-button>部分装箱</el-button> | ||
| 96 | + <el-button>放散舱</el-button> | ||
| 97 | + <el-button>部分放散舱</el-button> | ||
| 98 | + <el-button @click="dialogTableVisible = true">正式舱单</el-button> | ||
| 99 | + <el-button>地勤交接</el-button> | ||
| 100 | + <el-button @click="dialogFormVisible3 = true">转配</el-button> | ||
| 101 | + <el-button>航班文件</el-button> | ||
| 102 | + <el-button type="primary" >散货配上</el-button> | ||
| 103 | + <el-button type="success">卸下</el-button> | ||
| 104 | + <el-button type="warning">运单保存</el-button> | ||
| 105 | + </div> | ||
| 106 | + </el-row> | ||
| 107 | + <!-- 表单①待运导入按钮弹框--> | ||
| 108 | + <el-row> | ||
| 109 | + <el-dialog title="待运导入" :visible.sync="dialogFormVisible"> | ||
| 110 | + <el-form :model="form"> | ||
| 111 | + <el-row> | ||
| 112 | + <el-col :span="10"> | ||
| 113 | + <el-form-item> | ||
| 114 | + <el-form-item label="航班号" :label-width="formLabelWidth"> | ||
| 115 | + <el-input v-model="form.flightNo" ></el-input> | ||
| 116 | + </el-form-item> | ||
| 117 | + </el-form-item> | ||
| 118 | + </el-col> | ||
| 119 | + <el-col :span="10"> | ||
| 120 | + <el-form-item> | ||
| 121 | + <el-form-item label="运单号" :label-width="formLabelWidth"> | ||
| 122 | + <el-input v-model="form.waybillNo"></el-input> | ||
| 123 | + </el-form-item> | ||
| 124 | + </el-form-item> | ||
| 125 | + </el-col> | ||
| 126 | + </el-row> | ||
| 127 | + <el-row> | ||
| 128 | + <el-col :span="7"> | ||
| 129 | + <el-form-item> | ||
| 130 | + <el-form-item label="代理人" :label-width="formLabelWidth"> | ||
| 131 | + <el-input v-model="form.agent" ></el-input> | ||
| 132 | + </el-form-item> | ||
| 133 | + </el-form-item> | ||
| 134 | + </el-col> | ||
| 135 | + <el-col :span="7"> | ||
| 136 | + <el-form-item> | ||
| 137 | + <el-form-item label="承运人" :label-width="formLabelWidth"> | ||
| 138 | + <el-input v-model="form.carrier"></el-input> | ||
| 139 | + </el-form-item> | ||
| 140 | + </el-form-item> | ||
| 141 | + </el-col> | ||
| 142 | + <el-col :span="7"> | ||
| 143 | + <el-form-item> | ||
| 144 | + <el-form-item label="起始站" :label-width="formLabelWidth"> | ||
| 145 | + <el-input v-model="form.departure"></el-input> | ||
| 146 | + </el-form-item> | ||
| 147 | + </el-form-item> | ||
| 148 | + </el-col> | ||
| 149 | + </el-row> | ||
| 150 | + <el-row> | ||
| 151 | + <el-col :span="7"> | ||
| 152 | + <el-form-item> | ||
| 153 | + <el-form-item label="中转/目的站" :label-width="formLabelWidth"> | ||
| 154 | + <el-input v-model="form.destination" ></el-input> | ||
| 155 | + </el-form-item> | ||
| 156 | + </el-form-item> | ||
| 157 | + </el-col> | ||
| 158 | + <el-col :span="7"> | ||
| 159 | + <el-form-item> | ||
| 160 | + <el-form-item label="特货代码" :label-width="formLabelWidth"> | ||
| 161 | + <el-input v-model="form.code"></el-input> | ||
| 162 | + </el-form-item> | ||
| 163 | + </el-form-item> | ||
| 164 | + </el-col> | ||
| 165 | + <el-col :span="8"> | ||
| 166 | + <el-form-item> | ||
| 167 | + <el-form-item label="CBA" :label-width="formLabelWidth"> | ||
| 168 | + <el-radio v-model="form.radio" label="1">是</el-radio> | ||
| 169 | + <el-radio v-model="form.radio" label="2">否</el-radio> | ||
| 170 | + </el-form-item> | ||
| 171 | + </el-form-item> | ||
| 172 | + </el-col> | ||
| 173 | + </el-row> | ||
| 174 | + <el-row> | ||
| 175 | + <el-col :span="19"> | ||
| 176 | + <el-form-item> | ||
| 177 | + <el-form-item label="制单时间" :label-width="formLabelWidth"> | ||
| 178 | + <el-date-picker | ||
| 179 | + v-model="form.value1" | ||
| 180 | + type="datetimerange" | ||
| 181 | + start-placeholder="开始日期" | ||
| 182 | + end-placeholder="结束日期" | ||
| 183 | + :default-time="['12:00:00']"> | ||
| 184 | + </el-date-picker> | ||
| 185 | + </el-form-item> | ||
| 186 | + </el-form-item> | ||
| 187 | + </el-col> | ||
| 188 | + <el-col :span="2" > | ||
| 189 | + <el-form-item > | ||
| 190 | + <el-button type="primary">查 询</el-button> | ||
| 191 | + </el-form-item> | ||
| 192 | + </el-col> | ||
| 193 | + </el-row> | ||
| 194 | + <el-table | ||
| 195 | + ref="multipleTable" | ||
| 196 | + :data="tableData3" | ||
| 197 | + tooltip-effect="dark" | ||
| 198 | + style="width: 100%" | ||
| 199 | + @selection-change="handleSelectionChange"> | ||
| 200 | + <el-table-column | ||
| 201 | + type="selection" | ||
| 202 | + width="55"> | ||
| 203 | + </el-table-column> | ||
| 204 | + <el-table-column | ||
| 205 | + prop="productName" | ||
| 206 | + label="品名"> | ||
| 207 | + </el-table-column> | ||
| 208 | + <el-table-column | ||
| 209 | + prop="waybillNo" | ||
| 210 | + label="运单号"> | ||
| 211 | + </el-table-column> | ||
| 212 | + <el-table-column | ||
| 213 | + prop="departure" | ||
| 214 | + label="始发站"> | ||
| 215 | + </el-table-column> | ||
| 216 | + <el-table-column | ||
| 217 | + prop="destination" | ||
| 218 | + label="目的站"> | ||
| 219 | + </el-table-column> | ||
| 220 | + <el-table-column | ||
| 221 | + prop="number" | ||
| 222 | + label="仓库件数"> | ||
| 223 | + </el-table-column> | ||
| 224 | + <el-table-column | ||
| 225 | + prop="weight" | ||
| 226 | + label="仓库重量"> | ||
| 227 | + </el-table-column> | ||
| 228 | + </el-table> | ||
| 229 | + <div style="margin-top: 20px;margin-left: 585px"> | ||
| 230 | + <el-button @click="dialogFormVisible1=true">散货装配</el-button> | ||
| 231 | + </div> | ||
| 232 | + <el-table | ||
| 233 | + ref="multipleTable" | ||
| 234 | + :data="tableData4" | ||
| 235 | + tooltip-effect="dark" | ||
| 236 | + style="width: 100%" | ||
| 237 | + @selection-change="handleSelectionChange"> | ||
| 238 | + <el-table-column | ||
| 239 | + type="selection" | ||
| 240 | + width="55"> | ||
| 241 | + </el-table-column> | ||
| 242 | + <el-table-column | ||
| 243 | + prop="box" | ||
| 244 | + label="板箱号"> | ||
| 245 | + </el-table-column> | ||
| 246 | + <el-table-column | ||
| 247 | + prop="total" | ||
| 248 | + label="总件数"> | ||
| 249 | + </el-table-column> | ||
| 250 | + <el-table-column | ||
| 251 | + prop="totalWeight" | ||
| 252 | + label="总重量" | ||
| 253 | + show-overflow-tooltip> | ||
| 254 | + </el-table-column> | ||
| 255 | + </el-table> | ||
| 256 | + <div style="margin-top: 20px;margin-left: 585px"> | ||
| 257 | + <el-button @click="dialogFormVisible2=true">ULD装配</el-button> | ||
| 258 | + </div> | ||
| 259 | + </el-form> | ||
| 260 | + </el-dialog> | ||
| 261 | + </el-row> | ||
| 262 | + <!-- 表单①正式舱单按钮弹框--> | ||
| 263 | + <el-row> | ||
| 264 | + <el-dialog title="打印" :visible.sync="dialogTableVisible"> | ||
| 265 | + <el-tabs v-model="activeName" @tab-click="handleClick"> | ||
| 266 | + <el-tab-pane label="舱单打印" name="first"> | ||
| 267 | + <el-table | ||
| 268 | + :data="tableData1" | ||
| 269 | + style="width: 100%" | ||
| 270 | + row-key="id" | ||
| 271 | + border | ||
| 272 | + lazy | ||
| 273 | + :load="load" | ||
| 274 | + :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> | ||
| 275 | + <el-table-column | ||
| 276 | + type="selection" | ||
| 277 | + width="55"> | ||
| 278 | + </el-table-column> | ||
| 279 | + <el-table-column | ||
| 280 | + prop="date" | ||
| 281 | + label="板箱号"> | ||
| 282 | + </el-table-column> | ||
| 283 | + <el-table-column | ||
| 284 | + prop="name" | ||
| 285 | + label="配载件数"> | ||
| 286 | + </el-table-column> | ||
| 287 | + <el-table-column | ||
| 288 | + prop="address" | ||
| 289 | + label="配载重量"> | ||
| 290 | + </el-table-column> | ||
| 291 | + <el-table-column | ||
| 292 | + prop="date" | ||
| 293 | + label="配载体积"> | ||
| 294 | + </el-table-column> | ||
| 295 | + <el-table-column | ||
| 296 | + prop="name" | ||
| 297 | + label="特殊处理代码" | ||
| 298 | + width="120px"> | ||
| 299 | + </el-table-column> | ||
| 300 | + <el-table-column | ||
| 301 | + prop="address" | ||
| 302 | + label="品名"> | ||
| 303 | + </el-table-column> | ||
| 304 | + <el-table-column | ||
| 305 | + prop="date" | ||
| 306 | + label="始发站"> | ||
| 307 | + </el-table-column> | ||
| 308 | + <el-table-column | ||
| 309 | + prop="name" | ||
| 310 | + label="目的站"> | ||
| 311 | + </el-table-column> | ||
| 312 | + <el-table-column | ||
| 313 | + prop="address" | ||
| 314 | + label="优先级"> | ||
| 315 | + </el-table-column> | ||
| 316 | + <el-table-column | ||
| 317 | + prop="name" | ||
| 318 | + label="备注"> | ||
| 319 | + </el-table-column> | ||
| 320 | + <el-table-column | ||
| 321 | + prop="address" | ||
| 322 | + label="舱单打印"> | ||
| 323 | + </el-table-column> | ||
| 324 | + </el-table> | ||
| 325 | + </el-tab-pane> | ||
| 326 | + <el-tab-pane label="分批单打印" name="second">分批单打印</el-tab-pane> | ||
| 327 | + <el-tab-pane label="分批单打印" name="third">分批单打印</el-tab-pane> | ||
| 328 | + </el-tabs> | ||
| 329 | + <div style="margin-top: 10px;margin-left: 250px"> | ||
| 330 | + <el-button @click="">无ULD打印</el-button> | ||
| 331 | + <el-button @click="">有ULD打印</el-button> | ||
| 332 | + <el-button @click="">装载舱单打印</el-button> | ||
| 333 | + </div> | ||
| 334 | + </el-dialog> | ||
| 335 | + </el-row> | ||
| 336 | + <!-- 表单①转配按钮弹框--> | ||
| 337 | + <el-row> | ||
| 338 | + <el-dialog title="转配航班" :visible.sync="dialogFormVisible3" width="30%"> | ||
| 339 | + <el-form :model="form3"> | ||
| 340 | + <el-row> | ||
| 341 | + <el-col :span="20"> | ||
| 342 | + <el-form-item label="航班号" :label-width="formLabelWidth"> | ||
| 343 | + <el-input v-model="form3.flightNo" autocomplete="off"></el-input> | ||
| 344 | + </el-form-item> | ||
| 345 | + </el-col> | ||
| 346 | + </el-row> | ||
| 347 | + <el-row> | ||
| 348 | + <el-col :span="20"> | ||
| 349 | + <el-form-item label="航班日期" :label-width="formLabelWidth"> | ||
| 350 | + <el-input v-model="form3.flightDate" autocomplete="off"></el-input> | ||
| 351 | + </el-form-item> | ||
| 352 | + </el-col> | ||
| 353 | + </el-row> | ||
| 354 | + <el-row> | ||
| 355 | + <el-col :span="20"> | ||
| 356 | + <el-form-item label="航段" :label-width="formLabelWidth"> | ||
| 357 | + <el-input v-model="form3.segment" autocomplete="off"></el-input> | ||
| 358 | + </el-form-item> | ||
| 359 | + </el-col> | ||
| 360 | + </el-row> | ||
| 361 | + </el-form> | ||
| 362 | + <div style="text-align: center"> | ||
| 363 | + <el-button type="primary" @click="dialogFormVisible3 = false">转 配</el-button> | ||
| 364 | + <el-button @click="dialogFormVisible3 = false">取 消</el-button> | ||
| 365 | + </div> | ||
| 366 | + </el-dialog> | ||
| 367 | + </el-row> | ||
| 368 | + <!-- 航班配载 待运导入 散货装配按钮--> | ||
| 369 | + <el-row> | ||
| 370 | + <el-dialog title="操作区" :visible.sync="dialogFormVisible1"> | ||
| 371 | + <el-form :model="form1"> | ||
| 372 | + <el-row> | ||
| 373 | + <el-col :span="21"> | ||
| 374 | + <el-form-item label="小计:" :label-width="formLabelWidth"> | ||
| 375 | + <el-input | ||
| 376 | + placeholder="货物信息" | ||
| 377 | + v-model="form1.subtotal" | ||
| 378 | + :disabled="true"> | ||
| 379 | + </el-input> | ||
| 380 | + </el-form-item> | ||
| 381 | + </el-col> | ||
| 382 | + </el-row> | ||
| 383 | + <el-row> | ||
| 384 | + <el-col :span="7"> | ||
| 385 | + <el-form-item label="运单号" :label-width="formLabelWidth"> | ||
| 386 | + <el-select v-model="form1.waybillNo" placeholder="请选择"> | ||
| 387 | + <el-option label="货单一" value="yi"></el-option> | ||
| 388 | + <el-option label="货单二" value="er"></el-option> | ||
| 389 | + </el-select> | ||
| 390 | + </el-form-item> | ||
| 391 | + </el-col> | ||
| 392 | + <el-col :span="5"> | ||
| 393 | + <el-input v-model="form1.waybill" placeholder="单号"></el-input> | ||
| 394 | + </el-col> | ||
| 395 | + <el-col :span="8"> | ||
| 396 | + <el-input v-model="form1.location" placeholder="库位"></el-input> | ||
| 397 | + </el-col> | ||
| 398 | + </el-row> | ||
| 399 | + <el-row> | ||
| 400 | + <el-col :span="8"> | ||
| 401 | + <el-form-item label="件数" :label-width="formLabelWidth"> | ||
| 402 | + <el-input v-model="form1.number"></el-input> | ||
| 403 | + </el-form-item> | ||
| 404 | + </el-col> | ||
| 405 | + <el-col :span="8"> | ||
| 406 | + <el-form-item label="重量" :label-width="formLabelWidth"> | ||
| 407 | + <el-input v-model="form1.weight" placeholder="KG"></el-input> | ||
| 408 | + </el-form-item> | ||
| 409 | + </el-col> | ||
| 410 | + </el-row> | ||
| 411 | + <el-row > | ||
| 412 | + <el-col :span="21"> | ||
| 413 | + <el-form-item label="储运备注" :label-width="formLabelWidth"> | ||
| 414 | + <el-input v-model="form1.remarks"></el-input> | ||
| 415 | + </el-form-item> | ||
| 416 | + </el-col> | ||
| 417 | + </el-row> | ||
| 418 | + </el-form> | ||
| 419 | + <div slot="footer" class="dialog-footer"> | ||
| 420 | + <el-button @click="dialogFormVisible1 = false">散货配上</el-button> | ||
| 421 | + <el-button @click="dialogFormVisible1 = false">卸下</el-button> | ||
| 422 | + <el-button type="primary" @click="dialogFormVisible1 = false">运单保存</el-button> | ||
| 423 | + </div> | ||
| 424 | + </el-dialog> | ||
| 425 | + </el-row> | ||
| 426 | + <!-- 航班配载 待运导入 ULD装配按钮--> | ||
| 427 | + <el-row> | ||
| 428 | + <el-dialog title="操作区" :visible.sync="dialogFormVisible2"> | ||
| 429 | + <el-form :model="form2"> | ||
| 430 | + <el-row> | ||
| 431 | + <el-col :span="21"> | ||
| 432 | + <el-form-item label="小计:" :label-width="formLabelWidth"> | ||
| 433 | + <el-input | ||
| 434 | + placeholder="货物信息" | ||
| 435 | + v-model="form2.subtotal" | ||
| 436 | + :disabled="true"> | ||
| 437 | + </el-input> | ||
| 438 | + </el-form-item> | ||
| 439 | + </el-col> | ||
| 440 | + </el-row> | ||
| 441 | + <el-row> | ||
| 442 | + <el-col :span="8"> | ||
| 443 | + <el-form-item label="仓库" :label-width="formLabelWidth"> | ||
| 444 | + <el-input v-model="form2.warehouse"></el-input> | ||
| 445 | + </el-form-item> | ||
| 446 | + </el-col> | ||
| 447 | + <el-col :span="8"> | ||
| 448 | + <el-form-item label="库位" :label-width="formLabelWidth"> | ||
| 449 | + <el-input v-model="form2.location"></el-input> | ||
| 450 | + </el-form-item> | ||
| 451 | + </el-col> | ||
| 452 | + </el-row> | ||
| 453 | + <el-row > | ||
| 454 | + <el-col :span="6"> | ||
| 455 | + <el-form-item label="ULD号" :label-width="formLabelWidth"> | ||
| 456 | + <el-input v-model="form2.uldNo"></el-input> | ||
| 457 | + </el-form-item> | ||
| 458 | + </el-col> | ||
| 459 | + <el-col :span="5"> | ||
| 460 | + <el-input v-model="form2.uldNo" placeholder=""></el-input> | ||
| 461 | + </el-col> | ||
| 462 | + <el-col :span="3"> | ||
| 463 | + <el-input v-model="form2.uldNo" placeholder=""></el-input> | ||
| 464 | + </el-col> | ||
| 465 | + </el-row> | ||
| 466 | + </el-form> | ||
| 467 | + <div slot="footer" class="dialog-footer"> | ||
| 468 | + <el-button @click="dialogFormVisible2 = false">板箱配上</el-button> | ||
| 469 | + <el-button @click="dialogFormVisible2 = false">卸下</el-button> | ||
| 470 | + </div> | ||
| 471 | + </el-dialog> | ||
| 472 | + </el-row> | ||
| 473 | + <!-- 表单区域②--> | ||
| 474 | + <el-row style="margin-top:20px"> | ||
| 475 | + <el-table | ||
| 476 | + ref="multipleTable" | ||
| 477 | + :data="tableData2" | ||
| 478 | + tooltip-effect="dark" | ||
| 479 | + style="width: 100%" | ||
| 480 | + @selection-change="handleSelectionChange"> | ||
| 481 | + <el-table-column | ||
| 482 | + type="selection" | ||
| 483 | + width="55"> | ||
| 484 | + </el-table-column> | ||
| 485 | + <el-table-column | ||
| 486 | + prop="box" | ||
| 487 | + label="板箱号"> | ||
| 488 | + </el-table-column> | ||
| 489 | + <el-table-column | ||
| 490 | + prop="assembling" | ||
| 491 | + label="装配件数"> | ||
| 492 | + </el-table-column> | ||
| 493 | + <el-table-column | ||
| 494 | + prop="stowage" | ||
| 495 | + label="配载重量"> | ||
| 496 | + </el-table-column> | ||
| 497 | + </el-table> | ||
| 498 | + </el-row> | ||
| 499 | + <div style="margin-left: 970px"> | ||
| 500 | + <el-button type="primary">板箱配上</el-button> | ||
| 501 | + <el-button type="success">卸下</el-button> | ||
| 502 | + </div> | ||
| 503 | + </el-main> | ||
| 504 | + </el-container> | ||
| 505 | +</template> | ||
| 506 | + | ||
| 507 | +<script> | ||
| 508 | + export default { | ||
| 509 | + data() { | ||
| 510 | + return { | ||
| 511 | + formInline: { | ||
| 512 | + flightNo: undefined, | ||
| 513 | + operation: undefined | ||
| 514 | + }, | ||
| 515 | + operation: [{ | ||
| 516 | + value: '操作1', | ||
| 517 | + label: '操作1' | ||
| 518 | + }, { | ||
| 519 | + value: '操作2', | ||
| 520 | + label: '操作2' | ||
| 521 | + }], | ||
| 522 | + tableData:[], | ||
| 523 | + tableData1:[], | ||
| 524 | + tableData2:[], | ||
| 525 | + form: { | ||
| 526 | + flightNo:undefined, | ||
| 527 | + waybillNo:undefined, | ||
| 528 | + agent:undefined, | ||
| 529 | + carrier:undefined, | ||
| 530 | + departure:undefined, | ||
| 531 | + destination:undefined, | ||
| 532 | + code:undefined, | ||
| 533 | + value1: '', | ||
| 534 | + radio: '1' | ||
| 535 | + }, | ||
| 536 | + tableData3:[], | ||
| 537 | + tableData4:[], | ||
| 538 | + dialogFormVisible: false, | ||
| 539 | + form1: { | ||
| 540 | + subtotal: undefined, | ||
| 541 | + waybillNo: undefined, | ||
| 542 | + waybill: undefined, | ||
| 543 | + location: undefined, | ||
| 544 | + number: undefined, | ||
| 545 | + weight: undefined, | ||
| 546 | + remarks: undefined, | ||
| 547 | + }, | ||
| 548 | + form2: { | ||
| 549 | + subtotal: undefined, | ||
| 550 | + warehouse: undefined, | ||
| 551 | + location: undefined, | ||
| 552 | + uldNo: undefined, | ||
| 553 | + }, | ||
| 554 | + form3: { | ||
| 555 | + flightNo:undefined, | ||
| 556 | + flightDate:undefined, | ||
| 557 | + segment:undefined, | ||
| 558 | + }, | ||
| 559 | + dialogFormVisible1: false, | ||
| 560 | + dialogFormVisible2: false, | ||
| 561 | + dialogFormVisible3: false, | ||
| 562 | + dialogTableVisible: false, | ||
| 563 | + innerVisible: false, | ||
| 564 | + innerVisible1: false, | ||
| 565 | + formLabelWidth: '120px', | ||
| 566 | + } | ||
| 567 | + } | ||
| 568 | + } | ||
| 569 | +</script> |
src/views/nav2/charge.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <el-container> | ||
| 3 | + <el-main> | ||
| 4 | + <el-row> | ||
| 5 | + <el-col :span="24"> | ||
| 6 | + <div class="grid-content content">收费处理</div> | ||
| 7 | + </el-col> | ||
| 8 | + </el-row> | ||
| 9 | + <!-- 两个表单区域--> | ||
| 10 | + <el-row> | ||
| 11 | + <el-tabs v-model="activeName" @tab-click="handleClick"> | ||
| 12 | + <el-tab-pane label="计费" name="first"> | ||
| 13 | + <el-form ref="form" :model="form" label-width="80px"> | ||
| 14 | + <el-row> | ||
| 15 | + <el-col :span="6"> | ||
| 16 | + <el-form-item label="运单号"> | ||
| 17 | + <el-input v-model="form.name"></el-input> | ||
| 18 | + </el-form-item> | ||
| 19 | + </el-col> | ||
| 20 | + <el-col :span="6"> | ||
| 21 | + <el-form-item label=""> | ||
| 22 | + <el-button @click="">挑单</el-button> | ||
| 23 | + <el-button @click="">批量挑单</el-button> | ||
| 24 | + </el-form-item> | ||
| 25 | + </el-col> | ||
| 26 | + </el-row> | ||
| 27 | + <el-row> | ||
| 28 | + <el-col :span="6"> | ||
| 29 | + <el-form-item label="结算客户"> | ||
| 30 | + <el-input v-model="form.name"></el-input> | ||
| 31 | + </el-form-item> | ||
| 32 | + </el-col> | ||
| 33 | + <el-col :span="6"> | ||
| 34 | + <el-form-item label="付款方式" :label-width="formLabelWidth"> | ||
| 35 | + <el-select v-model="form.waybillNo" placeholder="请选择"> | ||
| 36 | + <el-option label="方式一" value="yi"></el-option> | ||
| 37 | + <el-option label="方式二" value="er"></el-option> | ||
| 38 | + </el-select> | ||
| 39 | + </el-form-item> | ||
| 40 | + </el-col> | ||
| 41 | + </el-row> | ||
| 42 | + <el-row> | ||
| 43 | + <el-table | ||
| 44 | + :data="tableData" | ||
| 45 | + style="width: 100%" | ||
| 46 | + row-key="id" | ||
| 47 | + border | ||
| 48 | + lazy | ||
| 49 | + :load="load" | ||
| 50 | + :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> | ||
| 51 | + <el-table-column | ||
| 52 | + prop="date" | ||
| 53 | + label="状态"> | ||
| 54 | + </el-table-column> | ||
| 55 | + <el-table-column | ||
| 56 | + prop="name" | ||
| 57 | + label="运单号"> | ||
| 58 | + </el-table-column> | ||
| 59 | + <el-table-column | ||
| 60 | + prop="address" | ||
| 61 | + label="计费重量"> | ||
| 62 | + </el-table-column> | ||
| 63 | + <el-table-column | ||
| 64 | + prop="date" | ||
| 65 | + label="处置费"> | ||
| 66 | + </el-table-column> | ||
| 67 | + <el-table-column | ||
| 68 | + prop="name" | ||
| 69 | + label="超重费"> | ||
| 70 | + </el-table-column> | ||
| 71 | + <el-table-column | ||
| 72 | + prop="address" | ||
| 73 | + label="仓储费"> | ||
| 74 | + </el-table-column> | ||
| 75 | + <el-table-column | ||
| 76 | + prop="date" | ||
| 77 | + label="总费用"> | ||
| 78 | + </el-table-column> | ||
| 79 | + <el-table-column | ||
| 80 | + prop="name" | ||
| 81 | + label="航班"> | ||
| 82 | + </el-table-column> | ||
| 83 | + <el-table-column | ||
| 84 | + prop="address" | ||
| 85 | + label="特货代码"> | ||
| 86 | + </el-table-column> | ||
| 87 | + <el-table-column | ||
| 88 | + prop="date" | ||
| 89 | + label="品名"> | ||
| 90 | + </el-table-column> | ||
| 91 | + <el-table-column | ||
| 92 | + prop="name" | ||
| 93 | + label="方式"> | ||
| 94 | + </el-table-column> | ||
| 95 | + <el-table-column | ||
| 96 | + prop="address" | ||
| 97 | + label="客户"> | ||
| 98 | + </el-table-column> | ||
| 99 | + <el-table-column | ||
| 100 | + prop="address" | ||
| 101 | + label="收/发货人"> | ||
| 102 | + </el-table-column> | ||
| 103 | + </el-table> | ||
| 104 | + </el-row> | ||
| 105 | + <div> | ||
| 106 | + <el-button @click="">清除</el-button> | ||
| 107 | + <el-button @click="">核对并现结结算</el-button> | ||
| 108 | + <el-button @click="">导出</el-button> | ||
| 109 | + <el-button @click="">打印</el-button> | ||
| 110 | + </div> | ||
| 111 | + </el-form> | ||
| 112 | + </el-tab-pane> | ||
| 113 | + <el-tab-pane label="已结算" name="second">已结算</el-tab-pane> | ||
| 114 | + </el-tabs> | ||
| 115 | + </el-row> | ||
| 116 | + </el-main> | ||
| 117 | + </el-container> | ||
| 118 | +</template> | ||
| 119 | + | ||
| 120 | +<script> | ||
| 121 | + export default { | ||
| 122 | + data() { | ||
| 123 | + return { | ||
| 124 | + form: { | ||
| 125 | + | ||
| 126 | + }, | ||
| 127 | + activeName: 'first', | ||
| 128 | + tableData:[], | ||
| 129 | + } | ||
| 130 | + } | ||
| 131 | + } | ||
| 132 | +</script> | ||
| 133 | + | ||
| 134 | +<style scoped> | ||
| 135 | + | ||
| 136 | +</style> |
src/views/nav2/documents.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <el-container> | ||
| 3 | + <el-main> | ||
| 4 | + <el-row> | ||
| 5 | + <el-col :span="24"> | ||
| 6 | + <div class="grid-content content">航班文件</div> | ||
| 7 | + </el-col> | ||
| 8 | + </el-row> | ||
| 9 | + <!-- 搜索区域--> | ||
| 10 | + <el-row> | ||
| 11 | + <el-form :inline="true" :model="formInline" class="demo-form-inline"> | ||
| 12 | + <el-col :span="5"> | ||
| 13 | + <el-form-item label="航班号"> | ||
| 14 | + <el-input v-model="formInline.flightNo" placeholder="请输入航班号"></el-input> | ||
| 15 | + </el-form-item> | ||
| 16 | + </el-col> | ||
| 17 | + <el-col :span="4"> | ||
| 18 | + <el-form-item> | ||
| 19 | + <el-button type="primary" @click="onSubmit">查询</el-button> | ||
| 20 | + </el-form-item> | ||
| 21 | + </el-col> | ||
| 22 | + <el-col :span="4"> | ||
| 23 | + <el-form-item> | ||
| 24 | + <el-select v-model="formInline.operation" placeholder="航班操作" style="margin-left: 50px"> | ||
| 25 | + <el-option | ||
| 26 | + v-for="item in operation" | ||
| 27 | + :key="item.value" | ||
| 28 | + :label="item.label" | ||
| 29 | + :value="item.value"> | ||
| 30 | + </el-option> | ||
| 31 | + </el-select> | ||
| 32 | + </el-form-item> | ||
| 33 | + </el-col> | ||
| 34 | + </el-form> | ||
| 35 | + </el-row> | ||
| 36 | + <!-- 三个表单区域--> | ||
| 37 | + <el-row> | ||
| 38 | + <el-tabs v-model="activeName" @tab-click="handleClick"> | ||
| 39 | + <el-tab-pane label="舱单" name="first"> | ||
| 40 | + <el-table | ||
| 41 | + :data="tableData" | ||
| 42 | + style="width: 100%" | ||
| 43 | + row-key="id" | ||
| 44 | + border | ||
| 45 | + lazy | ||
| 46 | + :load="load" | ||
| 47 | + :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> | ||
| 48 | + <el-table-column | ||
| 49 | + prop="box" | ||
| 50 | + label="板箱号"> | ||
| 51 | + </el-table-column> | ||
| 52 | + <el-table-column | ||
| 53 | + prop="assembling" | ||
| 54 | + label="配载件数"> | ||
| 55 | + </el-table-column> | ||
| 56 | + <el-table-column | ||
| 57 | + prop="stowage" | ||
| 58 | + label="配载重量"> | ||
| 59 | + </el-table-column> | ||
| 60 | + <el-table-column | ||
| 61 | + prop="stowageVol" | ||
| 62 | + label="配载体积"> | ||
| 63 | + </el-table-column> | ||
| 64 | + <el-table-column | ||
| 65 | + prop="code" | ||
| 66 | + label="特殊处理代码"> | ||
| 67 | + </el-table-column> | ||
| 68 | + <el-table-column | ||
| 69 | + prop="productName" | ||
| 70 | + label="品名"> | ||
| 71 | + </el-table-column> | ||
| 72 | + <el-table-column | ||
| 73 | + prop="departure" | ||
| 74 | + label="始发站"> | ||
| 75 | + </el-table-column> | ||
| 76 | + <el-table-column | ||
| 77 | + prop="destination" | ||
| 78 | + label="目的站"> | ||
| 79 | + </el-table-column> | ||
| 80 | + <el-table-column | ||
| 81 | + prop="priority" | ||
| 82 | + label="优先级"> | ||
| 83 | + </el-table-column> | ||
| 84 | + <el-table-column | ||
| 85 | + prop="remarks" | ||
| 86 | + label="备注"> | ||
| 87 | + </el-table-column> | ||
| 88 | + </el-table> | ||
| 89 | + </el-tab-pane> | ||
| 90 | + <el-tab-pane label="机长通知单" name="second"> | ||
| 91 | + | ||
| 92 | + </el-tab-pane> | ||
| 93 | + <el-tab-pane label="舱单编辑区" name="third"> | ||
| 94 | + <el-form ref="form" :model="form" label-width="80px"> | ||
| 95 | + <el-row> | ||
| 96 | + <el-col :span="6"> | ||
| 97 | + <el-form-item label="ULD类别"> | ||
| 98 | + <el-select v-model="form.type" placeholder="请选择"> | ||
| 99 | + <el-option label="ULD" value="ULD"></el-option> | ||
| 100 | + <el-option label="其他" value="其他"></el-option> | ||
| 101 | + </el-select> | ||
| 102 | + </el-form-item> | ||
| 103 | + </el-col> | ||
| 104 | + <el-col :span="6"> | ||
| 105 | + <el-form-item label="ULD号"> | ||
| 106 | + <el-input v-model="form.uldNo"></el-input> | ||
| 107 | + </el-form-item> | ||
| 108 | + </el-col> | ||
| 109 | + <el-col :span="6"> | ||
| 110 | + <el-form-item label=""> | ||
| 111 | + <el-button>添加ULD</el-button> | ||
| 112 | + <el-button>清空ULD</el-button> | ||
| 113 | + </el-form-item> | ||
| 114 | + </el-col> | ||
| 115 | + </el-row> | ||
| 116 | + <el-row> | ||
| 117 | + <el-col :span="6"> | ||
| 118 | + <el-form-item label="运单号"> | ||
| 119 | + <el-input v-model="form.waybillNo"></el-input> | ||
| 120 | + </el-form-item> | ||
| 121 | + </el-col> | ||
| 122 | + <el-col :span="6"> | ||
| 123 | + <el-form-item label="件数"> | ||
| 124 | + <el-input v-model="form.number"></el-input> | ||
| 125 | + </el-form-item> | ||
| 126 | + </el-col> | ||
| 127 | + <el-col :span="6"> | ||
| 128 | + <el-form-item label="重量"> | ||
| 129 | + <el-input v-model="form.weight"></el-input> | ||
| 130 | + </el-form-item> | ||
| 131 | + </el-col> | ||
| 132 | + </el-row> | ||
| 133 | + <el-row> | ||
| 134 | + <el-col :span="6"> | ||
| 135 | + <el-form-item label="配载件数"> | ||
| 136 | + <el-input v-model="form.assembling"></el-input> | ||
| 137 | + </el-form-item> | ||
| 138 | + </el-col> | ||
| 139 | + <el-col :span="6"> | ||
| 140 | + <el-form-item label="配载重量"> | ||
| 141 | + <el-input v-model="form.stowage"></el-input> | ||
| 142 | + </el-form-item> | ||
| 143 | + </el-col> | ||
| 144 | + <el-col :span="6"> | ||
| 145 | + <el-form-item label="配载体积"> | ||
| 146 | + <el-input v-model="form.stowageVol"></el-input> | ||
| 147 | + </el-form-item> | ||
| 148 | + </el-col> | ||
| 149 | + </el-row> | ||
| 150 | + <el-row> | ||
| 151 | + <el-col :span="6"> | ||
| 152 | + <el-form-item label="特货代码"> | ||
| 153 | + <el-input v-model="form.code"></el-input> | ||
| 154 | + </el-form-item> | ||
| 155 | + </el-col> | ||
| 156 | + <el-col :span="6"> | ||
| 157 | + <el-form-item label="品名"> | ||
| 158 | + <el-input v-model="form.productName"></el-input> | ||
| 159 | + </el-form-item> | ||
| 160 | + </el-col> | ||
| 161 | + <el-col :span="6"> | ||
| 162 | + <el-form-item label="始发站"> | ||
| 163 | + <el-input v-model="form.departure"></el-input> | ||
| 164 | + </el-form-item> | ||
| 165 | + </el-col> | ||
| 166 | + </el-row> | ||
| 167 | + <el-row> | ||
| 168 | + <el-col :span="6"> | ||
| 169 | + <el-form-item label="目的站"> | ||
| 170 | + <el-input v-model="form.destination"></el-input> | ||
| 171 | + </el-form-item> | ||
| 172 | + </el-col> | ||
| 173 | + <el-col :span="6"> | ||
| 174 | + <el-form-item label="优先级"> | ||
| 175 | + <el-select v-model="form.priority" placeholder="请选择"> | ||
| 176 | + <el-option label="一" value="一"></el-option> | ||
| 177 | + <el-option label="二" value="二"></el-option> | ||
| 178 | + </el-select> | ||
| 179 | + </el-form-item> | ||
| 180 | + </el-col> | ||
| 181 | + <el-col :span="6"> | ||
| 182 | + <el-form-item label="备注"> | ||
| 183 | + <el-input v-model="form.remarks"></el-input> | ||
| 184 | + </el-form-item> | ||
| 185 | + </el-col> | ||
| 186 | + </el-row> | ||
| 187 | + </el-form> | ||
| 188 | + </el-tab-pane> | ||
| 189 | + </el-tabs> | ||
| 190 | + <div> | ||
| 191 | + <el-button>导入舱单</el-button> | ||
| 192 | + <el-button>舱单保存</el-button> | ||
| 193 | + <el-button>发送FFM</el-button> | ||
| 194 | + <el-button>发送H2000舱单报</el-button> | ||
| 195 | + <el-button>不正常检查</el-button> | ||
| 196 | + <el-button @click="dialogTableVisible = true">打印</el-button> | ||
| 197 | + <el-button>打印标签</el-button> | ||
| 198 | + </div> | ||
| 199 | + </el-row> | ||
| 200 | + <!-- 航班文件 打印按钮--> | ||
| 201 | + <el-row> | ||
| 202 | + <el-dialog title="打印" :visible.sync="dialogTableVisible"> | ||
| 203 | + <el-tabs v-model="activeName1" @tab-click="handleClick"> | ||
| 204 | + <el-tab-pane label="舱单打印" name="first"> | ||
| 205 | + <el-table | ||
| 206 | + :data="tableData1" | ||
| 207 | + style="width: 100%" | ||
| 208 | + row-key="id" | ||
| 209 | + border | ||
| 210 | + lazy | ||
| 211 | + :load="load" | ||
| 212 | + :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> | ||
| 213 | + <el-table-column | ||
| 214 | + type="selection" | ||
| 215 | + width="55"> | ||
| 216 | + </el-table-column> | ||
| 217 | + <el-table-column | ||
| 218 | + prop="date" | ||
| 219 | + label="板箱号"> | ||
| 220 | + </el-table-column> | ||
| 221 | + <el-table-column | ||
| 222 | + prop="name" | ||
| 223 | + label="配载件数"> | ||
| 224 | + </el-table-column> | ||
| 225 | + <el-table-column | ||
| 226 | + prop="address" | ||
| 227 | + label="配载重量"> | ||
| 228 | + </el-table-column> | ||
| 229 | + <el-table-column | ||
| 230 | + prop="date" | ||
| 231 | + label="配载体积"> | ||
| 232 | + </el-table-column> | ||
| 233 | + <el-table-column | ||
| 234 | + prop="name" | ||
| 235 | + label="特殊处理代码" | ||
| 236 | + width="120px"> | ||
| 237 | + </el-table-column> | ||
| 238 | + <el-table-column | ||
| 239 | + prop="address" | ||
| 240 | + label="品名"> | ||
| 241 | + </el-table-column> | ||
| 242 | + <el-table-column | ||
| 243 | + prop="date" | ||
| 244 | + label="始发站"> | ||
| 245 | + </el-table-column> | ||
| 246 | + <el-table-column | ||
| 247 | + prop="name" | ||
| 248 | + label="目的站"> | ||
| 249 | + </el-table-column> | ||
| 250 | + <el-table-column | ||
| 251 | + prop="address" | ||
| 252 | + label="优先级"> | ||
| 253 | + </el-table-column> | ||
| 254 | + <el-table-column | ||
| 255 | + prop="name" | ||
| 256 | + label="备注"> | ||
| 257 | + </el-table-column> | ||
| 258 | + <el-table-column | ||
| 259 | + prop="address" | ||
| 260 | + label="舱单打印"> | ||
| 261 | + </el-table-column> | ||
| 262 | + </el-table> | ||
| 263 | + </el-tab-pane> | ||
| 264 | + <el-tab-pane label="分批单打印" name="second">分批单打印</el-tab-pane> | ||
| 265 | + <el-tab-pane label="分批单打印" name="third">分批单打印</el-tab-pane> | ||
| 266 | + </el-tabs> | ||
| 267 | + <div style="margin-top: 10px;margin-left: 250px"> | ||
| 268 | + <el-button @click="">无ULD打印</el-button> | ||
| 269 | + <el-button @click="">有ULD打印</el-button> | ||
| 270 | + <el-button @click="">装载舱单打印</el-button> | ||
| 271 | + </div> | ||
| 272 | + </el-dialog> | ||
| 273 | + </el-row> | ||
| 274 | + </el-main> | ||
| 275 | + </el-container> | ||
| 276 | +</template> | ||
| 277 | + | ||
| 278 | +<script> | ||
| 279 | + export default { | ||
| 280 | + data() { | ||
| 281 | + return { | ||
| 282 | + formInline: { | ||
| 283 | + flightNo: undefined, | ||
| 284 | + operation: undefined | ||
| 285 | + }, | ||
| 286 | + form: { | ||
| 287 | + type:undefined, | ||
| 288 | + uldNo:undefined, | ||
| 289 | + waybillNo:undefined, | ||
| 290 | + number:undefined, | ||
| 291 | + weight:undefined, | ||
| 292 | + assembling:undefined, | ||
| 293 | + stowage:undefined, | ||
| 294 | + stowageVol:undefined, | ||
| 295 | + code:undefined, | ||
| 296 | + productName:undefined, | ||
| 297 | + departure:undefined, | ||
| 298 | + destination:undefined, | ||
| 299 | + priority:undefined, | ||
| 300 | + remarks:undefined, | ||
| 301 | + }, | ||
| 302 | + tableData:[], | ||
| 303 | + tableData1:[], | ||
| 304 | + dialogTableVisible: false, | ||
| 305 | + dialogTableVisible1: false, | ||
| 306 | + activeName: 'first', | ||
| 307 | + activeName1: 'first', | ||
| 308 | + | ||
| 309 | + }; | ||
| 310 | + | ||
| 311 | + } | ||
| 312 | + } | ||
| 313 | +</script> | ||
| 314 | + | ||
| 315 | +<style scoped> | ||
| 316 | + | ||
| 317 | +</style> |
src/views/nav2/preConfiguration.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <el-container> | ||
| 3 | + <el-main> | ||
| 4 | + <el-row> | ||
| 5 | + <el-col :span="24"> | ||
| 6 | + <div class="grid-content content">航班预配</div> | ||
| 7 | + </el-col> | ||
| 8 | + </el-row> | ||
| 9 | +<!-- 搜索区域--> | ||
| 10 | + <el-row> | ||
| 11 | + <el-form :inline="true" :model="formInline" class="demo-form-inline"> | ||
| 12 | + <el-col :span="5"> | ||
| 13 | + <el-form-item label="航班号"> | ||
| 14 | + <el-input v-model="formInline.flightNo" placeholder="请输入航班号"></el-input> | ||
| 15 | + </el-form-item> | ||
| 16 | + </el-col> | ||
| 17 | + <el-col :span="4"> | ||
| 18 | + <el-form-item> | ||
| 19 | + <el-button type="primary" @click="onSubmit">查询</el-button> | ||
| 20 | + </el-form-item> | ||
| 21 | + </el-col> | ||
| 22 | + <el-col :span="4"> | ||
| 23 | + <el-form-item> | ||
| 24 | + <el-select v-model="formInline.operation" placeholder="航班操作" style="margin-left: 50px"> | ||
| 25 | + <el-option | ||
| 26 | + v-for="item in operation" | ||
| 27 | + :key="item.value" | ||
| 28 | + :label="item.label" | ||
| 29 | + :value="item.value"> | ||
| 30 | + </el-option> | ||
| 31 | + </el-select> | ||
| 32 | + </el-form-item> | ||
| 33 | + </el-col> | ||
| 34 | + </el-form> | ||
| 35 | + </el-row> | ||
| 36 | +<!-- 表单区域①--> | ||
| 37 | + <el-row> | ||
| 38 | + <el-table | ||
| 39 | + ref="multipleTable" | ||
| 40 | + :data="tableData" | ||
| 41 | + tooltip-effect="dark" | ||
| 42 | + style="width: 100%" | ||
| 43 | + @selection-change="handleSelectionChange"> | ||
| 44 | + <el-table-column | ||
| 45 | + type="selection" | ||
| 46 | + width="55"> | ||
| 47 | + </el-table-column> | ||
| 48 | + <el-table-column | ||
| 49 | + prop="waybillNo" | ||
| 50 | + label="运单号"> | ||
| 51 | + </el-table-column> | ||
| 52 | + <el-table-column | ||
| 53 | + prop="number" | ||
| 54 | + label="件数"> | ||
| 55 | + </el-table-column> | ||
| 56 | + <el-table-column | ||
| 57 | + prop="weight" | ||
| 58 | + label="重量"> | ||
| 59 | + </el-table-column> | ||
| 60 | + <el-table-column | ||
| 61 | + prop="volume" | ||
| 62 | + label="体积"> | ||
| 63 | + </el-table-column> | ||
| 64 | + <el-table-column | ||
| 65 | + prop="product" | ||
| 66 | + label="品名"> | ||
| 67 | + </el-table-column> | ||
| 68 | + </el-table> | ||
| 69 | + <div style="margin-top:5px;margin-left: 1000px"> | ||
| 70 | + <el-button type="primary" >配上</el-button> | ||
| 71 | + <el-button type="success" @click="dialogFormVisible = true">新增</el-button> | ||
| 72 | + <el-button type="warning" @click="dialogForm1Visible = true">导入</el-button> | ||
| 73 | + </div> | ||
| 74 | + </el-row> | ||
| 75 | +<!-- 表单①新增按钮弹框--> | ||
| 76 | + <el-row > | ||
| 77 | + <el-dialog title="新增页面" :visible.sync="dialogFormVisible"> | ||
| 78 | + <el-form :model="form"> | ||
| 79 | + <el-row> | ||
| 80 | + <el-col :span="10"> | ||
| 81 | + <el-form-item label="运单号" :label-width="formLabelWidth"> | ||
| 82 | + <el-input v-model="form.waybillNo" autocomplete="off"></el-input> | ||
| 83 | + </el-form-item> | ||
| 84 | + </el-col> | ||
| 85 | + <el-col :span="10"> | ||
| 86 | + <el-form-item label="目的站" :label-width="formLabelWidth"> | ||
| 87 | + <el-input v-model="form.destination" autocomplete="off"></el-input> | ||
| 88 | + </el-form-item> | ||
| 89 | + </el-col> | ||
| 90 | + <el-col :span="10"> | ||
| 91 | + <el-form-item label="件数" :label-width="formLabelWidth"> | ||
| 92 | + <el-input v-model="form.number" autocomplete="off"></el-input> | ||
| 93 | + </el-form-item> | ||
| 94 | + </el-col> | ||
| 95 | + <el-col :span="10"> | ||
| 96 | + <el-form-item label="重量" :label-width="formLabelWidth"> | ||
| 97 | + <el-input v-model="form.weight" autocomplete="off" placeholder="单位:KG"></el-input> | ||
| 98 | + </el-form-item> | ||
| 99 | + </el-col> | ||
| 100 | + <el-col :span="10"> | ||
| 101 | + <el-form-item label="体积" :label-width="formLabelWidth"> | ||
| 102 | + <el-input v-model="form.volume" autocomplete="off"></el-input> | ||
| 103 | + </el-form-item> | ||
| 104 | + </el-col> | ||
| 105 | + <el-col :span="10"> | ||
| 106 | + <el-form-item label="品名" :label-width="formLabelWidth"> | ||
| 107 | + <el-select v-model="form.product" placeholder="请选择品名"> | ||
| 108 | + <el-option label="品名一" value="品名一"></el-option> | ||
| 109 | + <el-option label="品名二" value="品名二"></el-option> | ||
| 110 | + </el-select> | ||
| 111 | + </el-form-item> | ||
| 112 | + </el-col> | ||
| 113 | + <el-col :span="10"> | ||
| 114 | + <el-form-item label="特货代码" :label-width="formLabelWidth"> | ||
| 115 | + <el-input v-model="form.code" autocomplete="off"></el-input> | ||
| 116 | + </el-form-item> | ||
| 117 | + </el-col> | ||
| 118 | + <el-col :span="10"> | ||
| 119 | + <el-form-item label="代理人" :label-width="formLabelWidth"> | ||
| 120 | + <el-input v-model="form.agent" autocomplete="off"></el-input> | ||
| 121 | + </el-form-item> | ||
| 122 | + </el-col> | ||
| 123 | + <el-col :span="10"> | ||
| 124 | + <el-form-item label="优先级" :label-width="formLabelWidth"> | ||
| 125 | + <el-input v-model="form.priority" autocomplete="off"></el-input> | ||
| 126 | + </el-form-item> | ||
| 127 | + </el-col> | ||
| 128 | + <el-col :span="10"> | ||
| 129 | + <el-form-item label="备注" :label-width="formLabelWidth"> | ||
| 130 | + <el-input v-model="form.remarks" autocomplete="off"></el-input> | ||
| 131 | + </el-form-item> | ||
| 132 | + </el-col> | ||
| 133 | + </el-row> | ||
| 134 | + </el-form> | ||
| 135 | + <div slot="footer" class="dialog-footer"> | ||
| 136 | + <el-button @click="dialogFormVisible = false">取 消</el-button> | ||
| 137 | + <el-button type="primary" @click="dialogFormVisible = false">保 存</el-button> | ||
| 138 | + </div> | ||
| 139 | + </el-dialog> | ||
| 140 | + </el-row> | ||
| 141 | +<!-- 表单①导入按钮弹框--> | ||
| 142 | + <el-row align="center"> | ||
| 143 | + <el-dialog title="批量导入" :visible.sync="dialogForm1Visible" style="width: 100%"> | ||
| 144 | + <el-form :model="form1" > | ||
| 145 | + <el-row> | ||
| 146 | + <el-col :span="7"> | ||
| 147 | + <el-form-item> | ||
| 148 | + <el-form-item label="航班号" :label-width="formLabelWidthd"> | ||
| 149 | + <el-input v-model="form1.flightNo"></el-input> | ||
| 150 | + </el-form-item> | ||
| 151 | + </el-form-item> | ||
| 152 | + </el-col> | ||
| 153 | + <el-col :span="7"> | ||
| 154 | + <el-form-item> | ||
| 155 | + <el-form-item label="始发站" :label-width="formLabelWidthd"> | ||
| 156 | + <el-input v-model="form1.departure"></el-input> | ||
| 157 | + </el-form-item> | ||
| 158 | + </el-form-item> | ||
| 159 | + </el-col> | ||
| 160 | + <el-col :span="7"> | ||
| 161 | + <el-form-item> | ||
| 162 | + <el-form-item label="中转站" :label-width="formLabelWidthd"> | ||
| 163 | + <el-input v-model="form1.transfer"></el-input> | ||
| 164 | + </el-form-item> | ||
| 165 | + </el-form-item> | ||
| 166 | + </el-col> | ||
| 167 | + <el-col :span="7"> | ||
| 168 | + <el-form-item> | ||
| 169 | + <el-form-item label="目的站" :label-width="formLabelWidthd"> | ||
| 170 | + <el-input v-model="form1.destination"></el-input> | ||
| 171 | + </el-form-item> | ||
| 172 | + </el-form-item> | ||
| 173 | + </el-col> | ||
| 174 | + <el-col :span="7"> | ||
| 175 | + <el-form-item> | ||
| 176 | + <el-form-item label="代理人" :label-width="formLabelWidthd"> | ||
| 177 | + <el-input v-model="form1.agent"></el-input> | ||
| 178 | + </el-form-item> | ||
| 179 | + </el-form-item> | ||
| 180 | + </el-col> | ||
| 181 | + <el-col :span="7"> | ||
| 182 | + <el-form-item> | ||
| 183 | + <el-form-item label="特货代码" :label-width="formLabelWidthd"> | ||
| 184 | + <el-input v-model="form1.code"></el-input> | ||
| 185 | + </el-form-item> | ||
| 186 | + </el-form-item> | ||
| 187 | + </el-col> | ||
| 188 | + <el-col :span="10"> | ||
| 189 | + <el-form-item label="是否拉货" :label-width="formLabelWidthd"> | ||
| 190 | + <el-select v-model="form1.goods" placeholder="是否拉货" style="width: 160px"> | ||
| 191 | + <el-option | ||
| 192 | + v-for="item in goods" | ||
| 193 | + :key="item.value" | ||
| 194 | + :label="item.label" | ||
| 195 | + :value="item.value"> | ||
| 196 | + </el-option> | ||
| 197 | + </el-select> | ||
| 198 | + </el-form-item> | ||
| 199 | + </el-col> | ||
| 200 | + <el-col :span="10"> | ||
| 201 | + <el-form-item> | ||
| 202 | + <el-form-item label="制单时间" :label-width="formLabelWidthd"> | ||
| 203 | + <el-date-picker | ||
| 204 | + v-model="form1.voucher" | ||
| 205 | + type="date" | ||
| 206 | + placeholder="选择日期" | ||
| 207 | + style="width: 160px"> | ||
| 208 | + </el-date-picker> | ||
| 209 | + </el-form-item> | ||
| 210 | + </el-form-item> | ||
| 211 | + </el-col> | ||
| 212 | + <el-col :span="8"> | ||
| 213 | + <el-form-item> | ||
| 214 | + <el-form-item label="入仓时间" :label-width="formLabelWidthd"> | ||
| 215 | + <el-date-picker | ||
| 216 | + v-model="form1.warehousing" | ||
| 217 | + type="date" | ||
| 218 | + placeholder="选择日期" | ||
| 219 | + style="width: 160px"> | ||
| 220 | + </el-date-picker> | ||
| 221 | + </el-form-item> | ||
| 222 | + </el-form-item> | ||
| 223 | + </el-col> | ||
| 224 | + <el-col :span="13" style="margin-left: 70px"> | ||
| 225 | + <el-form-item> | ||
| 226 | + <el-radio-group v-model="form1.radio"> | ||
| 227 | + <el-radio :label="3">邮件单</el-radio> | ||
| 228 | + <el-radio :label="6">有库存</el-radio> | ||
| 229 | + <el-radio :label="9">已审核</el-radio> | ||
| 230 | + <el-radio :label="12">已放行</el-radio> | ||
| 231 | + </el-radio-group> | ||
| 232 | + </el-form-item> | ||
| 233 | + </el-col> | ||
| 234 | + <el-col> | ||
| 235 | + <div style="margin-top: 20px;margin-left: 580px"> | ||
| 236 | + <el-button type="primary">查询</el-button> | ||
| 237 | + </div> | ||
| 238 | + </el-col> | ||
| 239 | + <el-col> | ||
| 240 | + <el-table | ||
| 241 | + ref="multipleTable" | ||
| 242 | + :data="tableData1" | ||
| 243 | + tooltip-effect="dark" | ||
| 244 | + style="width: 100%" | ||
| 245 | + @selection-change="handleSelectionChange"> | ||
| 246 | + <el-table-column | ||
| 247 | + type="selection" | ||
| 248 | + width="55"> | ||
| 249 | + </el-table-column> | ||
| 250 | + <el-table-column | ||
| 251 | + prop="waybillNo" | ||
| 252 | + label="运单号" | ||
| 253 | + width="120"> | ||
| 254 | + </el-table-column> | ||
| 255 | + <el-table-column | ||
| 256 | + prop="number" | ||
| 257 | + label="件数" | ||
| 258 | + width="120"> | ||
| 259 | + </el-table-column> | ||
| 260 | + <el-table-column | ||
| 261 | + prop="volume" | ||
| 262 | + label="体积" | ||
| 263 | + width="120"> | ||
| 264 | + </el-table-column> | ||
| 265 | + <el-table-column | ||
| 266 | + prop="weight" | ||
| 267 | + label="重量" | ||
| 268 | + show-overflow-tooltip> | ||
| 269 | + </el-table-column> | ||
| 270 | + </el-table> | ||
| 271 | + <div style="margin-top: 20px;margin-left: 580px"> | ||
| 272 | + <el-button type="success">导入</el-button> | ||
| 273 | + <el-button type="info">取消</el-button> | ||
| 274 | + </div> | ||
| 275 | + </el-col> | ||
| 276 | + </el-row> | ||
| 277 | + </el-form> | ||
| 278 | + </el-dialog> | ||
| 279 | + </el-row> | ||
| 280 | +<!-- 表单区域②--> | ||
| 281 | + <el-row> | ||
| 282 | + <el-table | ||
| 283 | + ref="multipleTable" | ||
| 284 | + :data="tableData2" | ||
| 285 | + tooltip-effect="dark" | ||
| 286 | + style="width: 100%" | ||
| 287 | + @selection-change="handleSelectionChange"> | ||
| 288 | + <el-table-column | ||
| 289 | + prop="type" | ||
| 290 | + label="ULD类型"> | ||
| 291 | + </el-table-column> | ||
| 292 | + <el-table-column | ||
| 293 | + prop="number" | ||
| 294 | + label="件数"> | ||
| 295 | + </el-table-column> | ||
| 296 | + <el-table-column | ||
| 297 | + prop="machine" | ||
| 298 | + label="机仓位"> | ||
| 299 | + </el-table-column> | ||
| 300 | + </el-table> | ||
| 301 | + <div style="margin-top:5px;margin-left: 1000px"> | ||
| 302 | + <el-button type="primary" >拉下</el-button> | ||
| 303 | + <el-button type="success" @click="dialogFormVisibles = true">新增</el-button> | ||
| 304 | + <el-button type="danger" >删除</el-button> | ||
| 305 | + </div> | ||
| 306 | + </el-row> | ||
| 307 | +<!-- 表单②新增按钮弹框--> | ||
| 308 | + <el-row> | ||
| 309 | + <el-dialog title="新增页面" :visible.sync="dialogFormVisibles"> | ||
| 310 | + <el-form :model="forms"> | ||
| 311 | + <el-row> | ||
| 312 | + <el-col :span="10"> | ||
| 313 | + <el-form-item label="ULD" :label-width="formLabelWidths"> | ||
| 314 | + <el-input v-model="forms.uld" autocomplete="off"></el-input> | ||
| 315 | + </el-form-item> | ||
| 316 | + </el-col> | ||
| 317 | + <el-col :span="10"> | ||
| 318 | + <el-form-item label="件数" :label-width="formLabelWidths"> | ||
| 319 | + <el-input v-model="forms.number" autocomplete="off"></el-input> | ||
| 320 | + </el-form-item> | ||
| 321 | + </el-col> | ||
| 322 | + <el-col :span="10"> | ||
| 323 | + <el-form-item label="机仓位" :label-width="formLabelWidths"> | ||
| 324 | + <el-select v-model="forms.machine" placeholder="请选择机仓位"> | ||
| 325 | + <el-option label="仓位一" value="仓位一"></el-option> | ||
| 326 | + <el-option label="仓位二" value="仓位二"></el-option> | ||
| 327 | + </el-select> | ||
| 328 | + </el-form-item> | ||
| 329 | + </el-col> | ||
| 330 | + <el-col :span="10"> | ||
| 331 | + <el-form-item label="板位" :label-width="formLabelWidths"> | ||
| 332 | + <el-select v-model="forms.position" placeholder="请选择板位"> | ||
| 333 | + <el-option label="板位一" value="板位一"></el-option> | ||
| 334 | + <el-option label="板位二" value="板位二"></el-option> | ||
| 335 | + </el-select> | ||
| 336 | + </el-form-item> | ||
| 337 | + </el-col> | ||
| 338 | + <el-col :span="10"> | ||
| 339 | + <el-form-item label="板型" :label-width="formLabelWidths"> | ||
| 340 | + <el-select v-model="forms.plate" placeholder="请选择板型"> | ||
| 341 | + <el-option label="板型一" value="板型一"></el-option> | ||
| 342 | + <el-option label="板型二" value="板型二"></el-option> | ||
| 343 | + </el-select> | ||
| 344 | + </el-form-item> | ||
| 345 | + </el-col> | ||
| 346 | + </el-row> | ||
| 347 | + </el-form> | ||
| 348 | + <div slot="footer" class="dialog-footer"> | ||
| 349 | + <el-button @click="dialogFormVisibles = false">取 消</el-button> | ||
| 350 | + <el-button type="primary" @click="dialogFormVisibles = false">保 存</el-button> | ||
| 351 | + </div> | ||
| 352 | + </el-dialog> | ||
| 353 | + </el-row> | ||
| 354 | + </el-main> | ||
| 355 | + </el-container> | ||
| 356 | +</template> | ||
| 357 | +<script> | ||
| 358 | + export default { | ||
| 359 | + data() { | ||
| 360 | + return { | ||
| 361 | + formInline: { | ||
| 362 | + flightNo: undefined, | ||
| 363 | + operation: undefined, | ||
| 364 | + }, | ||
| 365 | + tableData:[], | ||
| 366 | + form: { | ||
| 367 | + waybillNo:undefined, | ||
| 368 | + destination:undefined, | ||
| 369 | + number:undefined, | ||
| 370 | + weight:undefined, | ||
| 371 | + volume:undefined, | ||
| 372 | + product:undefined, | ||
| 373 | + code:undefined, | ||
| 374 | + agent:undefined, | ||
| 375 | + priority:undefined, | ||
| 376 | + remarks:undefined, | ||
| 377 | + }, | ||
| 378 | + form1: { | ||
| 379 | + flightNo:undefined, | ||
| 380 | + departure:undefined, | ||
| 381 | + transfer:undefined, | ||
| 382 | + destination:undefined, | ||
| 383 | + agent:undefined, | ||
| 384 | + code:undefined, | ||
| 385 | + goods:undefined, | ||
| 386 | + voucher:undefined, | ||
| 387 | + warehousing:undefined, | ||
| 388 | + radio:undefined, | ||
| 389 | + }, | ||
| 390 | + tableData1:[], | ||
| 391 | + tableData2:[], | ||
| 392 | + forms: { | ||
| 393 | + uld:undefined, | ||
| 394 | + number:undefined, | ||
| 395 | + machine:undefined, | ||
| 396 | + position:undefined, | ||
| 397 | + plate:undefined, | ||
| 398 | + }, | ||
| 399 | + dialogFormVisible: false, | ||
| 400 | + dialogForm1Visible: false, | ||
| 401 | + dialogFormVisibles: false, | ||
| 402 | + radio: 3, | ||
| 403 | + formLabelWidth: '120px', | ||
| 404 | + formLabelWidths: '120px', | ||
| 405 | + formLabelWidthd: '120px', | ||
| 406 | + operation: [{ | ||
| 407 | + value: '操作1', | ||
| 408 | + label: '操作1' | ||
| 409 | + }, { | ||
| 410 | + value: '操作2', | ||
| 411 | + label: '操作2' | ||
| 412 | + }], | ||
| 413 | + goods: [{ | ||
| 414 | + value: '是', | ||
| 415 | + label: '是' | ||
| 416 | + }, { | ||
| 417 | + value: '否', | ||
| 418 | + label: '否' | ||
| 419 | + }], | ||
| 420 | + } | ||
| 421 | + }, | ||
| 422 | + methods: { | ||
| 423 | + onSubmit() { | ||
| 424 | + console.log('submit!'); | ||
| 425 | + }, | ||
| 426 | + handleSelectionChange(val) { | ||
| 427 | + this.multipleSelection = val; | ||
| 428 | + } | ||
| 429 | + } | ||
| 430 | + } | ||
| 431 | +</script> |
| 1 | <template> | 1 | <template> |
| 2 | - <section>page6... | 2 | + <section> |
| 3 | +<!-- 工具条--> | ||
| 4 | + <el-row class="toolbar" style="padding-bottom: 0px;"> | ||
| 5 | + <el-form :inline="true" ref="form" :model="form"> | ||
| 6 | + <el-row> | ||
| 7 | + <el-col span="5"> | ||
| 8 | + <el-form-item label="车牌号:"> | ||
| 9 | + <el-input v-model="form.input" placeholder="" size="small"style="width: 120px"></el-input> | ||
| 10 | + </el-form-item> | ||
| 11 | + </el-col> | ||
| 12 | + <el-col span="5"> | ||
| 13 | + <el-form-item label="挂靠名称:"> | ||
| 14 | + <el-input v-model="form.input" placeholder="" size="small" style="width: 120px"></el-input> | ||
| 15 | + </el-form-item> | ||
| 16 | + </el-col> | ||
| 17 | + <el-col span="5"> | ||
| 18 | + <el-form-item label="目的场站:"> | ||
| 19 | + <el-select v-model="form.region" placeholder="请选择" size="small" style="width: 120px"> | ||
| 20 | + <el-option label="综保区货站" value="zongbaoqu"></el-option> | ||
| 21 | + <el-option label="三号货站" value="sanhao"></el-option> | ||
| 22 | + <el-option label="冷链货站" value="lenglian"></el-option> | ||
| 23 | + <el-option label="快邮货站" value="kuaiyou"></el-option> | ||
| 24 | + <el-option label="西货站" value="xi"></el-option> | ||
| 25 | + </el-select> | ||
| 26 | + </el-form-item> | ||
| 27 | + </el-col> | ||
| 28 | + <el-col span="5"> | ||
| 29 | + <el-form-item label="卡 口:" style="margin-left: 10px"> | ||
| 30 | + <el-select v-model="form.region" placeholder="请选择" size="small" style="width: 120px"> | ||
| 31 | + </el-select> | ||
| 32 | + </el-form-item> | ||
| 33 | + </el-col> | ||
| 34 | + <el-col span="2"> | ||
| 35 | + <el-form-item> | ||
| 36 | + <el-button type="primary" @click="" size="small">查 询</el-button> | ||
| 37 | + </el-form-item> | ||
| 38 | + </el-col> | ||
| 39 | + </el-row> | ||
| 40 | + </el-form> | ||
| 41 | + </el-row> | ||
| 42 | +<!-- 列表--> | ||
| 43 | + <el-row> | ||
| 44 | + <el-table | ||
| 45 | + :data="tableData" | ||
| 46 | + border | ||
| 47 | + style="width: 100%"> | ||
| 48 | + <el-table-column | ||
| 49 | + fixed | ||
| 50 | + prop="date" | ||
| 51 | + label="操作"> | ||
| 52 | + <el-button @click="handleClick(scope.row)" type="primary" size="small">查看</el-button> | ||
| 53 | + </el-table-column> | ||
| 54 | + <el-table-column | ||
| 55 | + prop="name" | ||
| 56 | + label="是否失效"> | ||
| 57 | + </el-table-column> | ||
| 58 | + <el-table-column | ||
| 59 | + prop="province" | ||
| 60 | + label="车牌号" | ||
| 61 | + width="100"> | ||
| 62 | + </el-table-column> | ||
| 63 | + <el-table-column | ||
| 64 | + prop="city" | ||
| 65 | + label="挂靠单位"> | ||
| 66 | + </el-table-column> | ||
| 67 | + <el-table-column | ||
| 68 | + prop="zip" | ||
| 69 | + label="目的关区"> | ||
| 70 | + </el-table-column> | ||
| 71 | + <el-table-column | ||
| 72 | + prop="name" | ||
| 73 | + label="卡口"> | ||
| 74 | + </el-table-column> | ||
| 75 | + <el-table-column | ||
| 76 | + prop="province" | ||
| 77 | + label="地磅称重"> | ||
| 78 | + </el-table-column> | ||
| 79 | + <el-table-column | ||
| 80 | + prop="city" | ||
| 81 | + label="总货重"> | ||
| 82 | + </el-table-column> | ||
| 83 | + <el-table-column | ||
| 84 | + prop="address" | ||
| 85 | + label="进出差值"> | ||
| 86 | + </el-table-column> | ||
| 87 | + <el-table-column | ||
| 88 | + prop="zip" | ||
| 89 | + label="备案车重"> | ||
| 90 | + </el-table-column> | ||
| 91 | + <el-table-column | ||
| 92 | + prop="name" | ||
| 93 | + label="业务类型"> | ||
| 94 | + </el-table-column> | ||
| 95 | + <el-table-column | ||
| 96 | + prop="province" | ||
| 97 | + label="货物类型"> | ||
| 98 | + </el-table-column> | ||
| 99 | + <el-table-column | ||
| 100 | + prop="city" | ||
| 101 | + label="二维码编号" | ||
| 102 | + width="110"> | ||
| 103 | + </el-table-column> | ||
| 104 | + <el-table-column | ||
| 105 | + prop="address" | ||
| 106 | + label="进出场站"> | ||
| 107 | + </el-table-column> | ||
| 108 | + <el-table-column | ||
| 109 | + prop="zip" | ||
| 110 | + label="已进已出"> | ||
| 111 | + </el-table-column> | ||
| 112 | + <el-table-column | ||
| 113 | + prop="zip" | ||
| 114 | + label="更新时间"> | ||
| 115 | + </el-table-column> | ||
| 116 | + <el-table-column | ||
| 117 | + fixed="right" | ||
| 118 | + label="操作" | ||
| 119 | + width="150"> | ||
| 120 | + <template slot-scope="scope"> | ||
| 121 | + <el-button type="success" size="mini">修改</el-button> | ||
| 122 | + <el-button type="danger" size="mini">删除</el-button> | ||
| 123 | + <el-button type="warning" size="mini" style="margin-top: 2px;margin-left: 0px">审核</el-button> | ||
| 124 | + <el-button type="info" size="mini">异常</el-button> | ||
| 125 | + </template> | ||
| 126 | + </el-table-column> | ||
| 127 | + </el-table> | ||
| 128 | + </el-row> | ||
| 129 | + <!-- 分页--> | ||
| 130 | + <div class="block"> | ||
| 131 | + <el-pagination | ||
| 132 | + @size-change="handleSizeChange" | ||
| 133 | + @current-change="handleCurrentChange" | ||
| 134 | + :current-page="currentPage4" | ||
| 135 | + :page-sizes="[100, 200, 300, 400]" | ||
| 136 | + :page-size="100" | ||
| 137 | + layout="total, sizes, prev, pager, next, jumper" | ||
| 138 | + :total="400"> | ||
| 139 | + </el-pagination> | ||
| 140 | + </div> | ||
| 3 | </section> | 141 | </section> |
| 4 | -</template> | ||
| 142 | +</template> | ||
| 143 | + | ||
| 144 | +<script> | ||
| 145 | + export default { | ||
| 146 | + data() { | ||
| 147 | + return { | ||
| 148 | + tableData:[ | ||
| 149 | + { | ||
| 150 | + date: '', | ||
| 151 | + name: '未失效', | ||
| 152 | + province: '晋A5ES6', | ||
| 153 | + city: '河南诺畅', | ||
| 154 | + address: '4604', | ||
| 155 | + zip: '西货站' | ||
| 156 | + } | ||
| 157 | + ], | ||
| 158 | + currentPage4: 4, | ||
| 159 | + form: { | ||
| 160 | + name: '', | ||
| 161 | + region: '', | ||
| 162 | + date1: '', | ||
| 163 | + date2: '', | ||
| 164 | + delivery: false, | ||
| 165 | + type: [], | ||
| 166 | + resource: '', | ||
| 167 | + desc: '' | ||
| 168 | + } | ||
| 169 | + } | ||
| 170 | + }, | ||
| 171 | + methods: { | ||
| 172 | + onSubmit() { | ||
| 173 | + console.log('submit!'); | ||
| 174 | + }, | ||
| 175 | + handleSizeChange(val) { | ||
| 176 | + console.log(`每页 ${val} 条`); | ||
| 177 | + }, | ||
| 178 | + handleCurrentChange(val) { | ||
| 179 | + console.log(`当前页: ${val}`); | ||
| 180 | + } | ||
| 181 | + } | ||
| 182 | + } | ||
| 183 | +</script> | ||
| 184 | + | ||
| 185 | +<style scoped> | ||
| 186 | + | ||
| 187 | + | ||
| 188 | +</style> |
src/views/nav3/Page7.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <section> | ||
| 3 | + <!-- 工具条--> | ||
| 4 | + <el-row class="toolbar" style="padding-bottom: 0px;"> | ||
| 5 | + <el-form :inline="true" ref="form" :model="form" > | ||
| 6 | + <el-row> | ||
| 7 | + <el-col span="8"> | ||
| 8 | + <el-form-item label="主单号:"> | ||
| 9 | + <el-input v-model="form.input" placeholder="" size="small" style="width: 240px"></el-input> | ||
| 10 | + </el-form-item> | ||
| 11 | + </el-col> | ||
| 12 | + <el-col span="8"> | ||
| 13 | + <el-form-item> | ||
| 14 | + <el-button type="primary" @click="" size="small" style="margin-left: 40px">查 询</el-button> | ||
| 15 | + <span style="color: red;margin-left: 10px">查询单号前请先选定业务类型</span> | ||
| 16 | + </el-form-item> | ||
| 17 | + </el-col> | ||
| 18 | + </el-row> | ||
| 19 | + </el-form> | ||
| 20 | + </el-row> | ||
| 21 | + <!-- 列表--> | ||
| 22 | + <el-row> | ||
| 23 | + <el-table | ||
| 24 | + :data="tableData" | ||
| 25 | + style="width: 100%"> | ||
| 26 | + <el-table-column | ||
| 27 | + fixed | ||
| 28 | + prop="date" | ||
| 29 | + label="操作"> | ||
| 30 | + <el-button @click="handleClick(scope.row)" type="primary" size="small">查看</el-button> | ||
| 31 | + </el-table-column> | ||
| 32 | + <el-table-column | ||
| 33 | + prop="date" | ||
| 34 | + label="航班号"> | ||
| 35 | + </el-table-column> | ||
| 36 | + <el-table-column | ||
| 37 | + prop="name" | ||
| 38 | + label="航班日期"> | ||
| 39 | + </el-table-column> | ||
| 40 | + <el-table-column | ||
| 41 | + prop="address" | ||
| 42 | + label="航段"> | ||
| 43 | + </el-table-column> | ||
| 44 | + <el-table-column | ||
| 45 | + prop="date" | ||
| 46 | + label="主单号"> | ||
| 47 | + </el-table-column> | ||
| 48 | + <el-table-column | ||
| 49 | + prop="name" | ||
| 50 | + label="件数"> | ||
| 51 | + </el-table-column> | ||
| 52 | + <el-table-column | ||
| 53 | + prop="address" | ||
| 54 | + label="重量"> | ||
| 55 | + </el-table-column> | ||
| 56 | + <el-table-column | ||
| 57 | + prop="date" | ||
| 58 | + label="关区"> | ||
| 59 | + </el-table-column> | ||
| 60 | + <el-table-column | ||
| 61 | + prop="name" | ||
| 62 | + label="时间"> | ||
| 63 | + </el-table-column> | ||
| 64 | + <el-table-column | ||
| 65 | + prop="address" | ||
| 66 | + label="回执内容"> | ||
| 67 | + </el-table-column> | ||
| 68 | + </el-table> | ||
| 69 | + </el-row> | ||
| 70 | + <!-- 申请表单信息--> | ||
| 71 | + <el-row style="padding-bottom: 0px;"> | ||
| 72 | + <el-form ref="form" :model="form"> | ||
| 73 | + <el-row> | ||
| 74 | + <el-col span="8"> | ||
| 75 | + <el-row> | ||
| 76 | + <el-form-item label="输入备注:"> | ||
| 77 | + <el-input | ||
| 78 | + type="text" | ||
| 79 | + placeholder="" | ||
| 80 | + v-model="form.text" | ||
| 81 | + maxlength="10" | ||
| 82 | + show-word-limit | ||
| 83 | + size="small" style="width: 180px"> | ||
| 84 | + </el-input> | ||
| 85 | + </el-form-item> | ||
| 86 | + </el-row> | ||
| 87 | + <el-row> | ||
| 88 | + <el-form-item label="车牌号码:"> | ||
| 89 | + <el-input v-model="form.input" placeholder="" size="small" style="width: 180px"></el-input> | ||
| 90 | + </el-form-item> | ||
| 91 | + </el-row> | ||
| 92 | + <el-row> | ||
| 93 | + <el-form-item label="货物类型:"> | ||
| 94 | + <el-select v-model="form.region" placeholder="请选择" size="small" style="width: 180px"> | ||
| 95 | + <el-option label="转关货" value="zongbaoqu"></el-option> | ||
| 96 | + <el-option label="换单货" value="sanhao"></el-option> | ||
| 97 | + <el-option label="普通货" value="lenglian"></el-option> | ||
| 98 | + <el-option label="退库货" value="kuaiyou"></el-option> | ||
| 99 | + <el-option label="查验货" value="xi"></el-option> | ||
| 100 | + </el-select> | ||
| 101 | + </el-form-item> | ||
| 102 | + </el-row> | ||
| 103 | + <el-row> | ||
| 104 | + <el-form-item label="运输公司:"> | ||
| 105 | + <el-input v-model="form.input" placeholder="" size="small" style="width: 180px"></el-input> | ||
| 106 | + </el-form-item> | ||
| 107 | + </el-row> | ||
| 108 | + <el-row> | ||
| 109 | + <el-form-item label="挂靠单位:"> | ||
| 110 | + <el-input v-model="form.input" placeholder="" size="small" style="width: 180px"></el-input> | ||
| 111 | + </el-form-item> | ||
| 112 | + </el-row> | ||
| 113 | + </el-col> | ||
| 114 | + <el-col span="7"> | ||
| 115 | + <el-row> | ||
| 116 | + <el-form-item label="是否空车:"> | ||
| 117 | + <el-radio v-model="radio" label="1" style="margin-left: 20px">是</el-radio> | ||
| 118 | + <el-radio v-model="radio" label="2">否</el-radio> | ||
| 119 | + </el-form-item> | ||
| 120 | + </el-row> | ||
| 121 | + <el-row> | ||
| 122 | + <el-form-item label="业务类型:"> | ||
| 123 | + <el-select v-model="form.region" placeholder="请选择" size="small" style="width: 180px"> | ||
| 124 | + <el-option label="进口提货" value="zongbaoqu"></el-option> | ||
| 125 | + <el-option label="出口送货" value="sanhao"></el-option> | ||
| 126 | + <el-option label="分拨业务" value="lenglian"></el-option> | ||
| 127 | + <el-option label="调拨业务" value="kuaiyou"></el-option> | ||
| 128 | + </el-select> | ||
| 129 | + </el-form-item> | ||
| 130 | + | ||
| 131 | + </el-row> | ||
| 132 | + <el-row> | ||
| 133 | + <el-form-item label="申请单位:"> | ||
| 134 | + <el-input v-model="form.input" placeholder="" size="small" style="width: 180px"></el-input> | ||
| 135 | + </el-form-item> | ||
| 136 | + </el-row> | ||
| 137 | + <el-row> | ||
| 138 | + <el-form-item label="备案单位:"> | ||
| 139 | + <el-input v-model="form.input" placeholder="" size="small" style="width: 180px"></el-input> | ||
| 140 | + </el-form-item> | ||
| 141 | + | ||
| 142 | + </el-row> | ||
| 143 | + <el-row> | ||
| 144 | + <el-form-item label="主单列表:"> | ||
| 145 | + <el-input | ||
| 146 | + type="textarea" | ||
| 147 | + :rows="4" | ||
| 148 | + placeholder="请输入主单号,例如17212341234,多个单号以‘,’(英文)分割" | ||
| 149 | + v-model="textarea" | ||
| 150 | + style="width: 180px"> | ||
| 151 | + </el-input> | ||
| 152 | + </el-form-item> | ||
| 153 | + </el-row> | ||
| 154 | + | ||
| 155 | + </el-col> | ||
| 156 | + <el-col span="3"> | ||
| 157 | + <el-row> | ||
| 158 | + <el-form-item label="选择场站信息:" > | ||
| 159 | + </el-form-item> | ||
| 160 | + </el-row> | ||
| 161 | + </el-col> | ||
| 162 | + <el-col span="4"> | ||
| 163 | + <el-row> | ||
| 164 | + <el-tree | ||
| 165 | + :data="data" | ||
| 166 | + show-checkbox | ||
| 167 | + node-key="id" | ||
| 168 | + :default-expanded-keys="[2, 3]"> | ||
| 169 | + </el-tree> | ||
| 170 | + </el-row> | ||
| 171 | + </el-col> | ||
| 172 | + </el-row> | ||
| 173 | + <el-row style="margin-left: 320px"> | ||
| 174 | + <el-button type="success">保 存</el-button> | ||
| 175 | + <el-button type="info">返 回</el-button> | ||
| 176 | + </el-row> | ||
| 177 | + </el-form> | ||
| 178 | + </el-row> | ||
| 179 | + </section> | ||
| 180 | + | ||
| 181 | +</template> | ||
| 182 | + | ||
| 183 | +<script> | ||
| 184 | + export default { | ||
| 185 | + data() { | ||
| 186 | + return { | ||
| 187 | + form: { | ||
| 188 | + input: '', | ||
| 189 | + }, | ||
| 190 | + radio:'', | ||
| 191 | + tableData:[], | ||
| 192 | + data: [{ | ||
| 193 | + id: 1, | ||
| 194 | + label: '4604', | ||
| 195 | + children: [{ | ||
| 196 | + id: 3, | ||
| 197 | + label: '西货站', | ||
| 198 | + children: [{ | ||
| 199 | + id: 4, | ||
| 200 | + label: '一号卡口进' | ||
| 201 | + }, { | ||
| 202 | + id: 5, | ||
| 203 | + label: '一号卡口出', | ||
| 204 | + }] | ||
| 205 | + }, { | ||
| 206 | + id: 2, | ||
| 207 | + label: '军投货站', | ||
| 208 | + children: [{ | ||
| 209 | + id: 6, | ||
| 210 | + label: '一号卡口进' | ||
| 211 | + }, { | ||
| 212 | + id: 7, | ||
| 213 | + label: '一号卡口出', | ||
| 214 | + }] | ||
| 215 | + }] | ||
| 216 | + }, | ||
| 217 | + { | ||
| 218 | + id: 1, | ||
| 219 | + label: '4620', | ||
| 220 | + children: [{ | ||
| 221 | + id: 3, | ||
| 222 | + label: '综保区货站仓库', | ||
| 223 | + children: [{ | ||
| 224 | + id: 4, | ||
| 225 | + label: '内三卡口进' | ||
| 226 | + }, { | ||
| 227 | + id: 5, | ||
| 228 | + label: '内三卡口出', | ||
| 229 | + }] | ||
| 230 | + }] | ||
| 231 | + }, | ||
| 232 | + { | ||
| 233 | + id: 1, | ||
| 234 | + label: '4612', | ||
| 235 | + children: [{ | ||
| 236 | + id: 3, | ||
| 237 | + label: '综保区', | ||
| 238 | + children: [{ | ||
| 239 | + id: 4, | ||
| 240 | + label: '六号主卡口进' | ||
| 241 | + }, { | ||
| 242 | + id: 5, | ||
| 243 | + label: '六号主卡口出', | ||
| 244 | + }] | ||
| 245 | + }] | ||
| 246 | + }], | ||
| 247 | + defaultProps: { | ||
| 248 | + children: 'children', | ||
| 249 | + label: 'label' | ||
| 250 | + }, | ||
| 251 | + textarea: '' | ||
| 252 | + } | ||
| 253 | + }, | ||
| 254 | + methods: { | ||
| 255 | + | ||
| 256 | + }, | ||
| 257 | + } | ||
| 258 | +</script> | ||
| 259 | + | ||
| 260 | +<style scoped> | ||
| 261 | + /*.father{*/ | ||
| 262 | + /* position: relative;*/ | ||
| 263 | + /*}*/ | ||
| 264 | + /*.sun{*/ | ||
| 265 | + /* position: absolute;*/ | ||
| 266 | + /* top:-220px;*/ | ||
| 267 | + /* right:80px*/ | ||
| 268 | + /*}*/ | ||
| 269 | + | ||
| 270 | + | ||
| 271 | +</style> |
src/views/nav4/airlift.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <div class="bg order"> | ||
| 3 | + <span class="air">空运服务-订舱确认</span> | ||
| 4 | + <div class="px"> | ||
| 5 | +<!-- 发件人信息--> | ||
| 6 | + <h4 class="title">发件人信息</h4> | ||
| 7 | + <div class="r-table"> | ||
| 8 | + <table class="tb" width="100%"> | ||
| 9 | + <tbody> | ||
| 10 | + <tr> | ||
| 11 | + <th width="15%">姓名</th> | ||
| 12 | + <td width="18%"><el-input v-model="name" placeholder="" ></el-input></td> | ||
| 13 | + <th width="15%">联系电话</th> | ||
| 14 | + <td width="18%"><el-input v-model="tel" placeholder="" ></el-input></td> | ||
| 15 | + <th width="15%">公司</th> | ||
| 16 | + <td width="18%"><el-input v-model="company" placeholder="" ></el-input></td> | ||
| 17 | + </tr> | ||
| 18 | + <tr> | ||
| 19 | + <th width="15%">税号</th> | ||
| 20 | + <td width="18%"><el-input v-model="taxId" placeholder="" ></el-input></td> | ||
| 21 | + <th width="15%">邮编</th> | ||
| 22 | + <td width="18%"><el-input v-model="postcode" placeholder="" ></el-input></td> | ||
| 23 | + <th width="15%">省市区</th> | ||
| 24 | + <td width="18%"><el-input v-model="province" placeholder="" ></el-input></td> | ||
| 25 | + </tr> | ||
| 26 | + <tr> | ||
| 27 | + <th colspan="1">详细地址</th> | ||
| 28 | + <td colspan="5"><el-input v-model="address" placeholder="" ></el-input></td> | ||
| 29 | + </tr> | ||
| 30 | + </tbody> | ||
| 31 | + </table> | ||
| 32 | + </div> | ||
| 33 | +<!-- 收件人信息--> | ||
| 34 | + <h4 class="title">收件人信息</h4> | ||
| 35 | + <div class="r-table"> | ||
| 36 | + <table class="tb" width="100%"> | ||
| 37 | + <tbody> | ||
| 38 | + <tr> | ||
| 39 | + <th width="15%">姓名</th> | ||
| 40 | + <td width="18%"><el-input v-model="name" placeholder="" ></el-input></td> | ||
| 41 | + <th width="15%">联系电话</th> | ||
| 42 | + <td width="18%"><el-input v-model="tel" placeholder="" ></el-input></td> | ||
| 43 | + <th width="15%">公司</th> | ||
| 44 | + <td width="18%"><el-input v-model="company" placeholder="" ></el-input></td> | ||
| 45 | + </tr> | ||
| 46 | + <tr> | ||
| 47 | + <th width="15%">邮箱</th> | ||
| 48 | + <td width="18%"><el-input v-model="postcode" placeholder="" ></el-input></td> | ||
| 49 | + <th width="15%">身份证/护照</th> | ||
| 50 | + <td width="18%"><el-input v-model="idCard" placeholder="" ></el-input></td> | ||
| 51 | + <th width="15%">税号</th> | ||
| 52 | + <td width="18%"><el-input v-model="companyTaxesNumber" placeholder="" ></el-input></td> | ||
| 53 | + </tr> | ||
| 54 | + <tr> | ||
| 55 | + <th width="15%">国家</th> | ||
| 56 | + <td width="18%"><el-input v-model="country" placeholder="" ></el-input></td> | ||
| 57 | + <th width="15%">省/州</th> | ||
| 58 | + <td width="18%"><el-input v-model="province" placeholder="" ></el-input></td> | ||
| 59 | + <th width="15%">城市</th> | ||
| 60 | + <td width="18%"><el-input v-model="city" placeholder="" ></el-input></td> | ||
| 61 | + </tr> | ||
| 62 | + <tr> | ||
| 63 | + <th colspan="1">详细地址</th> | ||
| 64 | + <td colspan="5"><el-input v-model="address" placeholder="" ></el-input></td> | ||
| 65 | + </tr> | ||
| 66 | + <tr> | ||
| 67 | + <th colspan="1">邮编</th> | ||
| 68 | + <td colspan="5"><el-input v-model="postcode" placeholder="" ></el-input></td> | ||
| 69 | + </tr> | ||
| 70 | + </tbody> | ||
| 71 | + </table> | ||
| 72 | + </div> | ||
| 73 | +<!-- 货件信息--> | ||
| 74 | + <h4 class="title">货件信息</h4> | ||
| 75 | + <div class="r-table"> | ||
| 76 | + <table class="tb" width="100%"> | ||
| 77 | + <tbody> | ||
| 78 | + <tr> | ||
| 79 | + <th width="15%">客户单号</th> | ||
| 80 | + <td width="18%"><el-input v-model="input" placeholder="" ></el-input></td> | ||
| 81 | + <th width="15%">总件数</th> | ||
| 82 | + <td width="18%"><el-input v-model="input" placeholder="" ></el-input></td> | ||
| 83 | + <th width="15%">总重量(kg)</th> | ||
| 84 | + <td width="18%"><el-input v-model="input" placeholder="" ></el-input></td> | ||
| 85 | + </tr> | ||
| 86 | + <tr> | ||
| 87 | + <th width="15%">总体积(m³)</th> | ||
| 88 | + <td width="18%"><el-input v-model="input" placeholder="" ></el-input></td> | ||
| 89 | + <th width="15%">包裹</th> | ||
| 90 | + <td width="18%"> | ||
| 91 | + <el-input v-model="input" placeholder="长" style="width: 60px" ></el-input>× | ||
| 92 | + <el-input v-model="input" placeholder="宽" style="width: 60px" ></el-input>× | ||
| 93 | + <el-input v-model="input" placeholder="高" style="width: 60px" ></el-input> | ||
| 94 | + </td> | ||
| 95 | + <th width="15%">是否退件</th> | ||
| 96 | + <td width="18%"> | ||
| 97 | + <el-select v-model="value" placeholder="请选择"> | ||
| 98 | + <el-option | ||
| 99 | + v-for="item in options" | ||
| 100 | + :key="item.value" | ||
| 101 | + :label="item.label" | ||
| 102 | + :value="item.value"> | ||
| 103 | + </el-option> | ||
| 104 | + </el-select> | ||
| 105 | + </td> | ||
| 106 | + </tr> | ||
| 107 | + <tr> | ||
| 108 | + <th width="15%">运输方式</th> | ||
| 109 | + <td width="18%"> | ||
| 110 | + <el-select v-model="value" placeholder="请选择"> | ||
| 111 | + <el-option | ||
| 112 | + v-for="item in options" | ||
| 113 | + :key="item.value" | ||
| 114 | + :label="item.label" | ||
| 115 | + :value="item.value"> | ||
| 116 | + </el-option> | ||
| 117 | + </el-select> | ||
| 118 | + </td> | ||
| 119 | + <th width="15%">是否带电</th> | ||
| 120 | + <td width="18%"> | ||
| 121 | + <el-select v-model="value" placeholder="请选择"> | ||
| 122 | + <el-option | ||
| 123 | + v-for="item in options" | ||
| 124 | + :key="item.value" | ||
| 125 | + :label="item.label" | ||
| 126 | + :value="item.value"> | ||
| 127 | + </el-option> | ||
| 128 | + </el-select> | ||
| 129 | + </td> | ||
| 130 | + <th width="15%">运费付款方式</th> | ||
| 131 | + <td width="18%"> | ||
| 132 | + <el-select v-model="value" placeholder="请选择"> | ||
| 133 | + <el-option | ||
| 134 | + v-for="item in options" | ||
| 135 | + :key="item.value" | ||
| 136 | + :label="item.label" | ||
| 137 | + :value="item.value"> | ||
| 138 | + </el-option> | ||
| 139 | + </el-select> | ||
| 140 | + </td> | ||
| 141 | + </tr> | ||
| 142 | + <tr> | ||
| 143 | + <th width="15%">税金支付方式</th> | ||
| 144 | + <td width="18%"> | ||
| 145 | + <el-select v-model="value" placeholder="请选择"> | ||
| 146 | + <el-option | ||
| 147 | + v-for="item in options" | ||
| 148 | + :key="item.value" | ||
| 149 | + :label="item.label" | ||
| 150 | + :value="item.value"> | ||
| 151 | + </el-option> | ||
| 152 | + </el-select> | ||
| 153 | + </td> | ||
| 154 | + <th width="15%">一般贸易报关出口</th> | ||
| 155 | + <td width="18%"> | ||
| 156 | + <el-select v-model="value" placeholder="请选择"> | ||
| 157 | + <el-option | ||
| 158 | + v-for="item in options" | ||
| 159 | + :key="item.value" | ||
| 160 | + :label="item.label" | ||
| 161 | + :value="item.value"> | ||
| 162 | + </el-option> | ||
| 163 | + </el-select> | ||
| 164 | + </td> | ||
| 165 | + <th width="15%">一般贸易报关进口</th> | ||
| 166 | + <td width="18%"> | ||
| 167 | + <el-select v-model="value" placeholder="请选择"> | ||
| 168 | + <el-option | ||
| 169 | + v-for="item in options" | ||
| 170 | + :key="item.value" | ||
| 171 | + :label="item.label" | ||
| 172 | + :value="item.value"> | ||
| 173 | + </el-option> | ||
| 174 | + </el-select> | ||
| 175 | + </td> | ||
| 176 | + </tr> | ||
| 177 | + <tr> | ||
| 178 | + <th colspan="1">贸易条款</th> | ||
| 179 | + <td colspan="1"><el-input v-model="input" placeholder="" ></el-input></td> | ||
| 180 | + <th colspan="1">出口原因</th> | ||
| 181 | + <td colspan="6"> | ||
| 182 | + <el-select v-model="value" placeholder="请选择" style="width: 100%"> | ||
| 183 | + <el-option | ||
| 184 | + v-for="item in options" | ||
| 185 | + :key="item.value" | ||
| 186 | + :label="item.label" | ||
| 187 | + :value="item.value"> | ||
| 188 | + </el-option> | ||
| 189 | + </el-select> | ||
| 190 | + </td> | ||
| 191 | + | ||
| 192 | + </tr> | ||
| 193 | + <tr> | ||
| 194 | + <th colspan="1">商业发票备注</th> | ||
| 195 | + <td colspan="5"><el-input v-model="input" placeholder="" ></el-input></td> | ||
| 196 | + </tr> | ||
| 197 | + </tbody> | ||
| 198 | + </table> | ||
| 199 | + </div> | ||
| 200 | +<!-- 货物信息--> | ||
| 201 | + <h4 class="title">货物信息</h4> | ||
| 202 | + <div class="r-table order"> | ||
| 203 | + <table class="tb" width="100%"> | ||
| 204 | + <tbody> | ||
| 205 | + <tr> | ||
| 206 | + <th width="9%">中文名</th> | ||
| 207 | + <th width="13%">英文名</th> | ||
| 208 | + <th width="9%">材质</th> | ||
| 209 | + <th width="9%">申报价值(单价)</th> | ||
| 210 | + <th width="5%">数量</th> | ||
| 211 | + <th width="9%">申报价值(总价)</th> | ||
| 212 | + <th width="9%">原产地</th> | ||
| 213 | + <th width="9%">海关货物编号</th> | ||
| 214 | + <th width="9%">配货名称</th> | ||
| 215 | + <th width="12%">配货备注</th> | ||
| 216 | + <th width="7%">操作</th> | ||
| 217 | + </tr> | ||
| 218 | + <tr> | ||
| 219 | + <td width="9%"><el-input v-model="nameCn" placeholder="" ></el-input></td> | ||
| 220 | + <td width="13%"><el-input v-model="name" placeholder="" ></el-input></td> | ||
| 221 | + <td width="9%"><el-input v-model="texture" placeholder="" ></el-input></td> | ||
| 222 | + <td width="9%"><el-input v-model="perPrice" placeholder="" ></el-input></td> | ||
| 223 | + <td width="5%"><el-input v-model="input" placeholder="" ></el-input></td> | ||
| 224 | + <td width="9%"><el-input v-model="totalPrices" placeholder="" ></el-input></td> | ||
| 225 | + <td width="9%"><el-input v-model="originArea" placeholder="" ></el-input></td> | ||
| 226 | + <td width="9%"><el-input v-model="hsCode" placeholder="" ></el-input></td> | ||
| 227 | + <td width="9%"><el-input v-model="cargoName" placeholder="" ></el-input></td> | ||
| 228 | + <td width="12%"><el-input v-model="cargoRemark" placeholder="" ></el-input></td> | ||
| 229 | + <td width="7%" style="text-align: center"> | ||
| 230 | + <el-button icon="el-icon-plus" size="mini" circle></el-button> | ||
| 231 | + <el-button icon="el-icon-minus" size="mini" circle></el-button> | ||
| 232 | + </td> | ||
| 233 | + </tr> | ||
| 234 | + </tbody> | ||
| 235 | + </table> | ||
| 236 | + </div> | ||
| 237 | + <div style="text-align: center;margin-top: 30px"> | ||
| 238 | + <el-button type="danger" style="width: 180px;height: 50px">确认下单</el-button> | ||
| 239 | + </div> | ||
| 240 | + <div style="margin-top: 50px;height: 80px"> </div> | ||
| 241 | + </div> | ||
| 242 | + </div> | ||
| 243 | +</template> | ||
| 244 | + | ||
| 245 | +<script> | ||
| 246 | + export default { | ||
| 247 | + name: "airlift" | ||
| 248 | + } | ||
| 249 | +</script> | ||
| 250 | + | ||
| 251 | +<style scoped> | ||
| 252 | + .bg{ | ||
| 253 | + background-color: #F2F2F2; | ||
| 254 | + } | ||
| 255 | + .air{ | ||
| 256 | + font-size: 20px; | ||
| 257 | + color: #308aee; | ||
| 258 | + margin-top: 20px; | ||
| 259 | + display: block; | ||
| 260 | + } | ||
| 261 | + .px{ | ||
| 262 | + background-color: #FFFFFF; | ||
| 263 | + width: 100%; | ||
| 264 | + height: 500px; | ||
| 265 | + } | ||
| 266 | + .title{ | ||
| 267 | + color: #127ef2; | ||
| 268 | + font-size: 16px; | ||
| 269 | + font-weight: bold; | ||
| 270 | + margin: 20px 30px; | ||
| 271 | + text-align: left; | ||
| 272 | + } | ||
| 273 | + .r-table .tb > tbody > tr > th { | ||
| 274 | + background-color: #d8ecff; | ||
| 275 | + text-align: center; | ||
| 276 | + } | ||
| 277 | + .r-table .tb > tbody > tr > td { | ||
| 278 | + /*padding: 4px; (间接决定了行高)*/ | ||
| 279 | + /*display: table-cell;*/ | ||
| 280 | + } | ||
| 281 | + | ||
| 282 | +</style> |
src/views/nav4/booking.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <div class="bg"> | ||
| 3 | + <el-container> | ||
| 4 | +<!-- 顶栏区域--> | ||
| 5 | + <el-header style="height: 120px"> | ||
| 6 | + <el-row class="header"> | ||
| 7 | + <el-col :span="9"> | ||
| 8 | + <span style="font-size: 50px">KT际通</span> | ||
| 9 | + <span>在线订舱平台</span> | ||
| 10 | + </el-col> | ||
| 11 | + <el-col :span="13" style="margin-left: 30px;margin-top: 30px;width: 300px "> | ||
| 12 | + <el-menu :default-active="activeIndex" | ||
| 13 | + class="el-menu-demo" | ||
| 14 | + mode="horizontal" | ||
| 15 | + @select="handleSelect" | ||
| 16 | + style="text-color:#303133;active-text-color:#FFF"> | ||
| 17 | + <el-menu-item index="1">首 页</el-menu-item> | ||
| 18 | + <el-menu-item index="2">行业方案</el-menu-item> | ||
| 19 | + <el-menu-item index="3">关于我们</el-menu-item> | ||
| 20 | + </el-menu> | ||
| 21 | + </el-col> | ||
| 22 | + </el-row> | ||
| 23 | + </el-header> | ||
| 24 | +<!-- 主要区域--> | ||
| 25 | + <el-main> | ||
| 26 | +<!-- 空运查询内容--> | ||
| 27 | + <el-row style="margin-top: 30px"> | ||
| 28 | + <el-col :span="10" style="margin-right: 10px;background-color: #FFF;"> | ||
| 29 | + <div style="height: 600px;"> | ||
| 30 | + <div style="width: 100%;height: 80px;border-bottom: solid 2px #29A1F7;"> | ||
| 31 | + <el-col :span="15" style="margin-left: 0px;margin-top: 20px;"> | ||
| 32 | + <span style="font-size: 25px;margin-left: 50px">空运查询</span> | ||
| 33 | + </el-col> | ||
| 34 | + <el-col :span="8" style="margin-top: 23px;"> | ||
| 35 | + <span style="font-size: 17px">约计3000条航线数据</span> | ||
| 36 | + </el-col> | ||
| 37 | + </div> | ||
| 38 | + <el-row> | ||
| 39 | + <el-form ref="form" :model="form" label-width="80px" style="font-size: 50px;" > | ||
| 40 | + <el-form-item label="航程方向" > | ||
| 41 | + <el-radio-group v-model="form.airLine"> | ||
| 42 | + <el-radio style="padding-left: 20px" label="出口"></el-radio> | ||
| 43 | + <el-radio label="进口"></el-radio> | ||
| 44 | + </el-radio-group> | ||
| 45 | + </el-form-item> | ||
| 46 | + <el-form-item label="起运地"> | ||
| 47 | + <el-select style="width: 320px" v-model="form.originStation" placeholder="起运地"> | ||
| 48 | + <el-option label="上海" value="shanghai"></el-option> | ||
| 49 | + <el-option label="北京" value="beijing"></el-option> | ||
| 50 | + </el-select> | ||
| 51 | + </el-form-item> | ||
| 52 | + <el-form-item label="目的地"> | ||
| 53 | + <el-select style="width: 320px" v-model="form.deliveryAddress" placeholder="目的地"> | ||
| 54 | + <el-option label="上海" value="shanghai"></el-option> | ||
| 55 | + <el-option label="北京" value="beijing"></el-option> | ||
| 56 | + </el-select> | ||
| 57 | + </el-form-item> | ||
| 58 | + <el-form-item label="货物重量"> | ||
| 59 | + <el-input style="width: 320px" v-model="form.weight" placeholder="单位:KG"></el-input> | ||
| 60 | + </el-form-item> | ||
| 61 | + <div style="padding-left: 150px"> | ||
| 62 | + <el-button style="background-color: #F18F4C;color: #FFF">查价下单</el-button> | ||
| 63 | + </div> | ||
| 64 | + </el-form> | ||
| 65 | + <div style="width: 100%;height: 200px;margin-top: 30px;padding-left: 50px;border-top: dashed 2px #D5D5D5;"> | ||
| 66 | + <p> | ||
| 67 | + <span><i class="el-icon-phone" style="color: #29A1F7;padding-right: 5px"></i>一键订舱,方便快捷</span> | ||
| 68 | + </p> | ||
| 69 | + <p> | ||
| 70 | + <span><i class="el-icon-edit-outline" style="color: #29A1F7;padding-right: 5px"></i>数据准确,专有团队维护</span> | ||
| 71 | + </p> | ||
| 72 | + <span><i class="el-icon-location-information" style="color: #29A1F7;padding-right: 5px"></i>货物在线跟踪</span> | ||
| 73 | + </div> | ||
| 74 | + </el-row> | ||
| 75 | + </div> | ||
| 76 | + </el-col> | ||
| 77 | +<!-- 广告位--> | ||
| 78 | + <el-col :span="13" style="margin-right: 0px;background-color: rgba(41,161,247,0.1);float: right;"> | ||
| 79 | + <div style="height: 600px;"> | ||
| 80 | + </div> | ||
| 81 | + </el-col> | ||
| 82 | + </el-row> | ||
| 83 | +<!-- 优价航线标题栏--> | ||
| 84 | + <el-row style="margin-top: 30px"> | ||
| 85 | + <span style="font-size: 25px">优价航线</span> | ||
| 86 | + </el-row> | ||
| 87 | +<!-- 优价航线内容--> | ||
| 88 | + <el-row style="background-color: #FFF;height: 300px;"> | ||
| 89 | + <el-table | ||
| 90 | + :data="tableData" | ||
| 91 | + style="width: 100%"> | ||
| 92 | + <el-table-column | ||
| 93 | + prop="airLine" | ||
| 94 | + label="航行路线"> | ||
| 95 | + </el-table-column> | ||
| 96 | + <el-table-column | ||
| 97 | + prop="transportLimitation" | ||
| 98 | + label="运输时效"> | ||
| 99 | + </el-table-column> | ||
| 100 | + <el-table-column | ||
| 101 | + prop="deliveryAddress" | ||
| 102 | + label="交货地"> | ||
| 103 | + </el-table-column> | ||
| 104 | + <el-table-column | ||
| 105 | + prop="flightCycle" | ||
| 106 | + label="航班周期"> | ||
| 107 | + </el-table-column> | ||
| 108 | + <el-table-column | ||
| 109 | + prop="transportPrice" | ||
| 110 | + label="最低价格"> | ||
| 111 | + </el-table-column> | ||
| 112 | + <el-table-column | ||
| 113 | + fixed="right" | ||
| 114 | + label="" | ||
| 115 | + width="120"> | ||
| 116 | + <template slot-scope="scope"> | ||
| 117 | + <el-button | ||
| 118 | + size="small" plain | ||
| 119 | + type="warning" | ||
| 120 | + @click="">订舱</el-button> | ||
| 121 | + </template> | ||
| 122 | + </el-table-column> | ||
| 123 | + </el-table> | ||
| 124 | + </el-row> | ||
| 125 | +<!-- 热门航线标题栏--> | ||
| 126 | + <el-row style="margin-top: 30px"> | ||
| 127 | + <span style="font-size: 25px">热门航线</span> | ||
| 128 | + </el-row> | ||
| 129 | +<!-- 热门航线内容--> | ||
| 130 | + <el-row style="background-color: #FFF;height: 680px;"> | ||
| 131 | + <el-col :span="24"> | ||
| 132 | + <el-tabs type="border-card" style="width: 100%;height: 680px" stretch="true"> | ||
| 133 | + <el-tab-pane> | ||
| 134 | + <span slot="label"><i class="el-icon-right"></i>出口航线</span> | ||
| 135 | + <el-row style="height: 300px;margin-top: 0px"> | ||
| 136 | + <el-col :span="8" | ||
| 137 | + style="border-right:solid 1px #F5F5F5;border-bottom:solid 1px #F5F5F5;height: 300px;width: 32%;margin-right: 15px"> | ||
| 138 | + <h2>CZ</h2> | ||
| 139 | + <el-table | ||
| 140 | + :data="tableData1" | ||
| 141 | + :header-cell-style="headClass" | ||
| 142 | + :cell-style="rowClass" | ||
| 143 | + style="width: 100%;background-color: #F5F5F5"> | ||
| 144 | + <el-table-column | ||
| 145 | + prop="airLine" | ||
| 146 | + label="航段"> | ||
| 147 | + </el-table-column> | ||
| 148 | + <el-table-column | ||
| 149 | + prop="transportLimitation" | ||
| 150 | + label="时效"> | ||
| 151 | + </el-table-column> | ||
| 152 | + <el-table-column | ||
| 153 | + prop="flightCycle" | ||
| 154 | + label="周期"> | ||
| 155 | + </el-table-column> | ||
| 156 | + <el-table-column | ||
| 157 | + prop="transportPrice" | ||
| 158 | + label="航运价"> | ||
| 159 | + </el-table-column> | ||
| 160 | + </el-table> | ||
| 161 | + <div style="text-align: center;margin-top: 6px">交货地:GUANGZHOU AIRPORT 广州</div> | ||
| 162 | + <div style="text-align: center;margin-top: 6px"> | ||
| 163 | + <el-button type="warning" plain style="width: 120px" >订舱</el-button> | ||
| 164 | + </div> | ||
| 165 | + </el-col> | ||
| 166 | + <el-col :span="8" | ||
| 167 | + style="border-right:solid 1px #F5F5F5;border-bottom:solid 1px #F5F5F5;height: 300px;width: 32%;margin-right: 15px"> | ||
| 168 | + <h2>CZ</h2> | ||
| 169 | + <el-table | ||
| 170 | + :data="tableData2" | ||
| 171 | + :header-cell-style="headClass" | ||
| 172 | + :cell-style="rowClass" | ||
| 173 | + style="width: 100%;background-color: #F5F5F5"> | ||
| 174 | + <el-table-column | ||
| 175 | + prop="airLine" | ||
| 176 | + label="航段"> | ||
| 177 | + </el-table-column> | ||
| 178 | + <el-table-column | ||
| 179 | + prop="transportLimitation" | ||
| 180 | + label="时效"> | ||
| 181 | + </el-table-column> | ||
| 182 | + <el-table-column | ||
| 183 | + prop="flightCycle" | ||
| 184 | + label="周期"> | ||
| 185 | + </el-table-column> | ||
| 186 | + <el-table-column | ||
| 187 | + prop="transportPrice" | ||
| 188 | + label="航运价"> | ||
| 189 | + </el-table-column> | ||
| 190 | + </el-table> | ||
| 191 | + <div style="text-align: center;margin-top: 6px">交货地:GUANGZHOU AIRPORT 广州</div> | ||
| 192 | + <div style="text-align: center;margin-top: 6px"> | ||
| 193 | + <el-button type="warning" plain style="width: 120px" >订舱</el-button> | ||
| 194 | + </div> | ||
| 195 | + </el-col> | ||
| 196 | + <el-col :span="8" | ||
| 197 | + style="border-bottom:solid 1px #F5F5F5;height: 300px;width: 32%"> | ||
| 198 | + <h2>CZ</h2> | ||
| 199 | + <el-table | ||
| 200 | + :data="tableData3" | ||
| 201 | + :header-cell-style="headClass" | ||
| 202 | + :cell-style="rowClass" | ||
| 203 | + style="width: 100%;background-color: #F5F5F5"> | ||
| 204 | + <el-table-column | ||
| 205 | + prop="airLine" | ||
| 206 | + label="航段"> | ||
| 207 | + </el-table-column> | ||
| 208 | + <el-table-column | ||
| 209 | + prop="transportLimitation" | ||
| 210 | + label="时效"> | ||
| 211 | + </el-table-column> | ||
| 212 | + <el-table-column | ||
| 213 | + prop="flightCycle" | ||
| 214 | + label="周期"> | ||
| 215 | + </el-table-column> | ||
| 216 | + <el-table-column | ||
| 217 | + prop="transportPrice" | ||
| 218 | + label="航运价"> | ||
| 219 | + </el-table-column> | ||
| 220 | + </el-table> | ||
| 221 | + <div style="text-align: center;margin-top: 6px">交货地:GUANGZHOU AIRPORT 广州</div> | ||
| 222 | + <div style="text-align: center;margin-top: 6px"> | ||
| 223 | + <el-button type="warning" plain style="width: 120px" >订舱</el-button> | ||
| 224 | + </div> | ||
| 225 | + </el-col> | ||
| 226 | + </el-row> | ||
| 227 | + <el-row style="height: 300px;margin-top: 0px"> | ||
| 228 | + <el-col :span="8" | ||
| 229 | + style="border-right:solid 1px #F5F5F5;height: 300px;width: 32%;margin-right: 15px"> | ||
| 230 | + <h2>CZ</h2> | ||
| 231 | + <el-table | ||
| 232 | + :data="tableData4" | ||
| 233 | + :header-cell-style="headClass" | ||
| 234 | + :cell-style="rowClass" | ||
| 235 | + style="width: 100%;background-color: #F5F5F5"> | ||
| 236 | + <el-table-column | ||
| 237 | + prop="airLine" | ||
| 238 | + label="航段"> | ||
| 239 | + </el-table-column> | ||
| 240 | + <el-table-column | ||
| 241 | + prop="transportLimitation" | ||
| 242 | + label="时效"> | ||
| 243 | + </el-table-column> | ||
| 244 | + <el-table-column | ||
| 245 | + prop="flightCycle" | ||
| 246 | + label="周期"> | ||
| 247 | + </el-table-column> | ||
| 248 | + <el-table-column | ||
| 249 | + prop="transportPrice" | ||
| 250 | + label="航运价"> | ||
| 251 | + </el-table-column> | ||
| 252 | + </el-table> | ||
| 253 | + <div style="text-align: center;margin-top: 6px">交货地:GUANGZHOU AIRPORT 广州</div> | ||
| 254 | + <div style="text-align: center;margin-top: 6px"> | ||
| 255 | + <el-button type="warning" plain style="width: 120px" >订舱</el-button> | ||
| 256 | + </div> | ||
| 257 | + </el-col> | ||
| 258 | + <el-col :span="8" | ||
| 259 | + style="border-right:solid 1px #F5F5F5;height: 300px;width: 32%;margin-right: 15px"> | ||
| 260 | + <h2>CZ</h2> | ||
| 261 | + <el-table | ||
| 262 | + :data="tableData5" | ||
| 263 | + :header-cell-style="headClass" | ||
| 264 | + :cell-style="rowClass" | ||
| 265 | + style="width: 100%;background-color: #F5F5F5"> | ||
| 266 | + <el-table-column | ||
| 267 | + prop="airLine" | ||
| 268 | + label="航段"> | ||
| 269 | + </el-table-column> | ||
| 270 | + <el-table-column | ||
| 271 | + prop="transportLimitation" | ||
| 272 | + label="时效"> | ||
| 273 | + </el-table-column> | ||
| 274 | + <el-table-column | ||
| 275 | + prop="flightCycle" | ||
| 276 | + label="周期"> | ||
| 277 | + </el-table-column> | ||
| 278 | + <el-table-column | ||
| 279 | + prop="transportPrice" | ||
| 280 | + label="航运价"> | ||
| 281 | + </el-table-column> | ||
| 282 | + </el-table> | ||
| 283 | + <div style="text-align: center;margin-top: 6px">交货地:GUANGZHOU AIRPORT 广州</div> | ||
| 284 | + <div style="text-align: center;margin-top: 6px"> | ||
| 285 | + <el-button type="warning" plain style="width: 120px" >订舱</el-button> | ||
| 286 | + </div> | ||
| 287 | + </el-col> | ||
| 288 | + <el-col :span="8" | ||
| 289 | + style="height: 300px;width: 32%"> | ||
| 290 | + <h2>CZ</h2> | ||
| 291 | + <el-table | ||
| 292 | + :data="tableData6" | ||
| 293 | + :header-cell-style="headClass" | ||
| 294 | + :cell-style="rowClass" | ||
| 295 | + style="width: 100%;background-color: #F5F5F5"> | ||
| 296 | + <el-table-column | ||
| 297 | + prop="airLine" | ||
| 298 | + label="航段"> | ||
| 299 | + </el-table-column> | ||
| 300 | + <el-table-column | ||
| 301 | + prop="transportLimitation" | ||
| 302 | + label="时效"> | ||
| 303 | + </el-table-column> | ||
| 304 | + <el-table-column | ||
| 305 | + prop="flightCycle" | ||
| 306 | + label="周期"> | ||
| 307 | + </el-table-column> | ||
| 308 | + <el-table-column | ||
| 309 | + prop="transportPrice" | ||
| 310 | + label="航运价"> | ||
| 311 | + </el-table-column> | ||
| 312 | + </el-table> | ||
| 313 | + <div style="text-align: center;margin-top: 6px">交货地:GUANGZHOU AIRPORT 广州</div> | ||
| 314 | + <div style="text-align: center;margin-top: 6px"> | ||
| 315 | + <el-button type="warning" plain style="width: 120px" >订舱</el-button> | ||
| 316 | + </div> | ||
| 317 | + </el-col> | ||
| 318 | + </el-row> | ||
| 319 | + </el-tab-pane> | ||
| 320 | + <el-tab-pane label="进口航线"> | ||
| 321 | + <span slot="label"><i class="el-icon-back"></i>进口航线</span> | ||
| 322 | + </el-tab-pane> | ||
| 323 | + <el-tab-pane label="空运专线"> | ||
| 324 | + <span slot="label"><i class="el-icon-star-off"></i>空运专线</span> | ||
| 325 | + </el-tab-pane> | ||
| 326 | + </el-tabs> | ||
| 327 | + </el-col> | ||
| 328 | + </el-row> | ||
| 329 | +<!-- 热门港口标题栏--> | ||
| 330 | + <el-row style="margin-top: 30px"> | ||
| 331 | + <span style="font-size: 25px">热门港口</span> | ||
| 332 | + </el-row> | ||
| 333 | +<!-- 热门港口内容--> | ||
| 334 | + <el-row style="background-color: #FFF;height: 300px;padding: 25px"> | ||
| 335 | + <el-col :span="24"> | ||
| 336 | + <el-tabs :tab-position="tabPosition" style="width: 100%;height: 280px;"> | ||
| 337 | + <el-tab-pane label="北京"> | ||
| 338 | + <el-table | ||
| 339 | + :data="tableData7" | ||
| 340 | + style="width: 100%"> | ||
| 341 | + <el-table-column | ||
| 342 | + prop="airLine" | ||
| 343 | + label="航行路线"> | ||
| 344 | + </el-table-column> | ||
| 345 | + <el-table-column | ||
| 346 | + prop="transportLimitation" | ||
| 347 | + label="运输时效"> | ||
| 348 | + </el-table-column> | ||
| 349 | + <el-table-column | ||
| 350 | + prop="deliveryAddress" | ||
| 351 | + label="交货地"> | ||
| 352 | + </el-table-column> | ||
| 353 | + <el-table-column | ||
| 354 | + prop="flightCycle" | ||
| 355 | + label="航班周期"> | ||
| 356 | + </el-table-column> | ||
| 357 | + <el-table-column | ||
| 358 | + fixed="right" | ||
| 359 | + label="" | ||
| 360 | + width="120"> | ||
| 361 | + <template slot-scope="scope"> | ||
| 362 | + <el-button | ||
| 363 | + size="small" plain | ||
| 364 | + type="warning" | ||
| 365 | + @click="">订舱</el-button> | ||
| 366 | + </template> | ||
| 367 | + </el-table-column> | ||
| 368 | + </el-table> | ||
| 369 | + </el-tab-pane> | ||
| 370 | + <el-tab-pane label="上海"> | ||
| 371 | + <el-table | ||
| 372 | + :data="tableData8" | ||
| 373 | + style="width: 100%"> | ||
| 374 | + <el-table-column | ||
| 375 | + prop="airLine" | ||
| 376 | + label="航行路线"> | ||
| 377 | + </el-table-column> | ||
| 378 | + <el-table-column | ||
| 379 | + prop="transportLimitation" | ||
| 380 | + label="运输时效"> | ||
| 381 | + </el-table-column> | ||
| 382 | + <el-table-column | ||
| 383 | + prop="deliveryAddress" | ||
| 384 | + label="交货地"> | ||
| 385 | + </el-table-column> | ||
| 386 | + <el-table-column | ||
| 387 | + prop="flightCycle" | ||
| 388 | + label="航班周期"> | ||
| 389 | + </el-table-column> | ||
| 390 | + <el-table-column | ||
| 391 | + fixed="right" | ||
| 392 | + label="" | ||
| 393 | + width="120"> | ||
| 394 | + <template slot-scope="scope"> | ||
| 395 | + <el-button | ||
| 396 | + size="small" plain | ||
| 397 | + type="warning" | ||
| 398 | + @click="">订舱</el-button> | ||
| 399 | + </template> | ||
| 400 | + </el-table-column> | ||
| 401 | + </el-table> | ||
| 402 | + </el-tab-pane> | ||
| 403 | + <el-tab-pane label="深圳"> | ||
| 404 | + <el-table | ||
| 405 | + :data="tableData9" | ||
| 406 | + style="width: 100%"> | ||
| 407 | + <el-table-column | ||
| 408 | + prop="airLine" | ||
| 409 | + label="航行路线"> | ||
| 410 | + </el-table-column> | ||
| 411 | + <el-table-column | ||
| 412 | + prop="transportLimitation" | ||
| 413 | + label="运输时效"> | ||
| 414 | + </el-table-column> | ||
| 415 | + <el-table-column | ||
| 416 | + prop="deliveryAddress" | ||
| 417 | + label="交货地"> | ||
| 418 | + </el-table-column> | ||
| 419 | + <el-table-column | ||
| 420 | + prop="flightCycle" | ||
| 421 | + label="航班周期"> | ||
| 422 | + </el-table-column> | ||
| 423 | + <el-table-column | ||
| 424 | + fixed="right" | ||
| 425 | + label="" | ||
| 426 | + width="120"> | ||
| 427 | + <template slot-scope="scope"> | ||
| 428 | + <el-button | ||
| 429 | + size="small" plain | ||
| 430 | + type="warning" | ||
| 431 | + @click="">订舱</el-button> | ||
| 432 | + </template> | ||
| 433 | + </el-table-column> | ||
| 434 | + </el-table> | ||
| 435 | + </el-tab-pane> | ||
| 436 | + <el-tab-pane label="广州"> | ||
| 437 | + <el-table | ||
| 438 | + :data="tableData10" | ||
| 439 | + style="width: 100%"> | ||
| 440 | + <el-table-column | ||
| 441 | + prop="airLine" | ||
| 442 | + label="航行路线"> | ||
| 443 | + </el-table-column> | ||
| 444 | + <el-table-column | ||
| 445 | + prop="transportLimitation" | ||
| 446 | + label="运输时效"> | ||
| 447 | + </el-table-column> | ||
| 448 | + <el-table-column | ||
| 449 | + prop="deliveryAddress" | ||
| 450 | + label="交货地"> | ||
| 451 | + </el-table-column> | ||
| 452 | + <el-table-column | ||
| 453 | + prop="flightCycle" | ||
| 454 | + label="航班周期"> | ||
| 455 | + </el-table-column> | ||
| 456 | + <el-table-column | ||
| 457 | + fixed="right" | ||
| 458 | + label="" | ||
| 459 | + width="120"> | ||
| 460 | + <template slot-scope="scope"> | ||
| 461 | + <el-button | ||
| 462 | + size="small" plain | ||
| 463 | + type="warning" | ||
| 464 | + @click="">订舱</el-button> | ||
| 465 | + </template> | ||
| 466 | + </el-table-column> | ||
| 467 | + </el-table> | ||
| 468 | + </el-tab-pane> | ||
| 469 | + <el-tab-pane label="宁波"> | ||
| 470 | + <el-table | ||
| 471 | + :data="tableData11" | ||
| 472 | + style="width: 100%"> | ||
| 473 | + <el-table-column | ||
| 474 | + prop="airLine" | ||
| 475 | + label="航行路线"> | ||
| 476 | + </el-table-column> | ||
| 477 | + <el-table-column | ||
| 478 | + prop="transportLimitation" | ||
| 479 | + label="运输时效"> | ||
| 480 | + </el-table-column> | ||
| 481 | + <el-table-column | ||
| 482 | + prop="deliveryAddress" | ||
| 483 | + label="交货地"> | ||
| 484 | + </el-table-column> | ||
| 485 | + <el-table-column | ||
| 486 | + prop="flightCycle" | ||
| 487 | + label="航班周期"> | ||
| 488 | + </el-table-column> | ||
| 489 | + <el-table-column | ||
| 490 | + fixed="right" | ||
| 491 | + label="" | ||
| 492 | + width="120"> | ||
| 493 | + <template slot-scope="scope"> | ||
| 494 | + <el-button | ||
| 495 | + size="small" plain | ||
| 496 | + type="warning" | ||
| 497 | + @click="">订舱</el-button> | ||
| 498 | + </template> | ||
| 499 | + </el-table-column> | ||
| 500 | + </el-table> | ||
| 501 | + </el-tab-pane> | ||
| 502 | + </el-tabs> | ||
| 503 | + </el-col> | ||
| 504 | + </el-row> | ||
| 505 | +<!-- 查询工具--> | ||
| 506 | + <el-row style="background-color: #FFF;height: 180px;margin-top: 60px"> | ||
| 507 | + <el-col :span="24"> | ||
| 508 | + <el-tabs :tab-position="tabPositions" style="width: 80%;height: 280px;margin: 20px"> | ||
| 509 | + <el-tab-pane label="机场代码查询"> | ||
| 510 | + <span style="font-size: 25px">机场代码查询</span> | ||
| 511 | + <span style="font-size: 15px">(收录2016年IATA最新机场三字代码、城市三字代码。)</span> | ||
| 512 | + <el-input v-model="input" placeholder="请输入内容"></el-input> | ||
| 513 | + </el-tab-pane> | ||
| 514 | + <el-tab-pane label="商品编码查询"> | ||
| 515 | + <span style="font-size: 25px">商品编码查询</span> | ||
| 516 | + <span style="font-size: 15px">(提供海关HScode编码、对应税率、申报要素查询服务,根据海关最新政策实时更新。)</span> | ||
| 517 | + <el-input v-model="input" placeholder="请输入内容"></el-input> | ||
| 518 | + </el-tab-pane> | ||
| 519 | + <el-tab-pane label="全球港口查询"> | ||
| 520 | + <span style="font-size: 25px">全球港口查询</span> | ||
| 521 | + <span style="font-size: 15px">(收录2016年IATA最新机场三字代码、城市三字代码。)</span> | ||
| 522 | + <el-input v-model="input" placeholder="请输入内容"></el-input> | ||
| 523 | + </el-tab-pane> | ||
| 524 | + <el-tab-pane label="空运货物查询"> | ||
| 525 | + <span style="font-size: 25px">空运货物查询</span> | ||
| 526 | + <span style="font-size: 15px">(提供世界各国航空公司货物追踪、货物查询服务,实时追踪最新货况。)</span> | ||
| 527 | + <el-input v-model="input" placeholder="请输入内容"></el-input> | ||
| 528 | + </el-tab-pane> | ||
| 529 | + <el-tab-pane label="快件跟踪查询"> | ||
| 530 | + <span style="font-size: 25px">快件跟踪查询</span> | ||
| 531 | + <span style="font-size: 15px"></span> | ||
| 532 | + <el-input v-model="input" placeholder="请输入内容"></el-input> | ||
| 533 | + </el-tab-pane> | ||
| 534 | + </el-tabs> | ||
| 535 | + </el-col> | ||
| 536 | + </el-row> | ||
| 537 | + </el-main> | ||
| 538 | + </el-container> | ||
| 539 | + </div> | ||
| 540 | +</template> | ||
| 541 | + | ||
| 542 | +<script> | ||
| 543 | + export default { | ||
| 544 | + data() { | ||
| 545 | + return { | ||
| 546 | + // 空运查询 | ||
| 547 | + form: { | ||
| 548 | + airLine:undefined, | ||
| 549 | + originStation:undefined, | ||
| 550 | + deliveryAddress:undefined, | ||
| 551 | + weight:undefined, | ||
| 552 | + }, | ||
| 553 | + // 优价航线表格 | ||
| 554 | + tableData:[], | ||
| 555 | + // 热门航线表格 | ||
| 556 | + tableData1:[], | ||
| 557 | + tableData2:[], | ||
| 558 | + tableData3:[], | ||
| 559 | + tableData4:[], | ||
| 560 | + tableData5:[], | ||
| 561 | + tableData6:[], | ||
| 562 | + // 热门港口表格 | ||
| 563 | + tableData7:[], | ||
| 564 | + tableData8:[], | ||
| 565 | + tableData9:[], | ||
| 566 | + tableData10:[], | ||
| 567 | + tableData11:[], | ||
| 568 | + | ||
| 569 | + tabPosition: 'left', | ||
| 570 | + tabPositions: 'bottom', | ||
| 571 | + } | ||
| 572 | + }, | ||
| 573 | + methods: { | ||
| 574 | + headClass () { | ||
| 575 | + return 'text-align: center;background:#F5F5F5;' | ||
| 576 | + }, | ||
| 577 | + rowClass () { | ||
| 578 | + return 'text-align: center;background:#F5F5F5;' | ||
| 579 | + } | ||
| 580 | + }, | ||
| 581 | + } | ||
| 582 | +</script> | ||
| 583 | + | ||
| 584 | +<style scoped> | ||
| 585 | + .bg{ | ||
| 586 | + background-color: #F2F2F2; | ||
| 587 | + } | ||
| 588 | + .header{ | ||
| 589 | + font-size: 20px; | ||
| 590 | + line-height: 120px; | ||
| 591 | + color:#FFF; | ||
| 592 | + } | ||
| 593 | + .el-header{ | ||
| 594 | + background-color: #29A1F7; | ||
| 595 | + } | ||
| 596 | + .el-tabs{ | ||
| 597 | + width: 250px; | ||
| 598 | + } | ||
| 599 | + .el-menu{ | ||
| 600 | + background-color: #29A1F7; | ||
| 601 | + font-size: 20px; | ||
| 602 | + border-bottom-color: #29A1F7; | ||
| 603 | + } | ||
| 604 | +</style> |
src/views/nav4/inquiry.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <el-container> | ||
| 3 | + <el-main style="background-color: #EAEAEA"> | ||
| 4 | +<!-- 航班号查询--> | ||
| 5 | + <el-row style="height: 180px"> | ||
| 6 | + <el-col :span="24"> | ||
| 7 | + <el-row> | ||
| 8 | + <p style="font-size: 28px">航班号查询</p> | ||
| 9 | + </el-row> | ||
| 10 | + <el-row> | ||
| 11 | + <!--工具条--> | ||
| 12 | + <el-form :inline="true" :model="filters"> | ||
| 13 | + <el-form-item> | ||
| 14 | + <el-input v-model="filters.flightNo" ></el-input> | ||
| 15 | + </el-form-item> | ||
| 16 | + <el-form-item> | ||
| 17 | + <el-button type="primary" v-on:click="getDomesticClearance()">查询</el-button> | ||
| 18 | + </el-form-item> | ||
| 19 | + </el-form> | ||
| 20 | + </el-row> | ||
| 21 | + </el-col> | ||
| 22 | + </el-row> | ||
| 23 | +<!-- 条件查询--> | ||
| 24 | + <el-row style=""> | ||
| 25 | + <el-col :span="24"> | ||
| 26 | + <el-row> | ||
| 27 | + <p style="font-size: 28px">条件查询</p> | ||
| 28 | + </el-row> | ||
| 29 | + <el-row> | ||
| 30 | + <el-tabs v-model="activeName" @tab-click="getDomesticClearance()" style="width: 100%"> | ||
| 31 | + <el-tab-pane label="国内出港" name="first"> | ||
| 32 | + <div style=";margin-top: 15px"> | ||
| 33 | + <el-time-picker | ||
| 34 | + v-model="value1" | ||
| 35 | + placeholder="任意时间点" | ||
| 36 | + style="width: 140px"> | ||
| 37 | + </el-time-picker> | ||
| 38 | + <el-time-picker | ||
| 39 | + v-model="value2" | ||
| 40 | + placeholder="任意时间点" | ||
| 41 | + style="width: 140px"> | ||
| 42 | + </el-time-picker> | ||
| 43 | + <el-select v-model="value" placeholder="目的地" style="width: 140px"> | ||
| 44 | + <el-option | ||
| 45 | + v-for="item in options" | ||
| 46 | + :key="item.value" | ||
| 47 | + :label="item.label" | ||
| 48 | + :value="item.value"> | ||
| 49 | + </el-option> | ||
| 50 | + </el-select> | ||
| 51 | + <el-select v-model="value" placeholder="航空公司" style="width: 140px"> | ||
| 52 | + <el-option | ||
| 53 | + v-for="item in options" | ||
| 54 | + :key="item.value" | ||
| 55 | + :label="item.label" | ||
| 56 | + :value="item.value"> | ||
| 57 | + </el-option> | ||
| 58 | + </el-select> | ||
| 59 | + <el-button type="primary">点击查询</el-button> | ||
| 60 | + </div> | ||
| 61 | + <el-row style="margin-top: 15px"> | ||
| 62 | + <el-col :span="23"> | ||
| 63 | + <el-table | ||
| 64 | + :data="tableData" | ||
| 65 | + style="width: 100%"> | ||
| 66 | + <el-table-column | ||
| 67 | + prop="" | ||
| 68 | + label="计划离港"> | ||
| 69 | + </el-table-column> | ||
| 70 | + <el-table-column | ||
| 71 | + prop="" | ||
| 72 | + label="航班号"> | ||
| 73 | + </el-table-column> | ||
| 74 | + <el-table-column | ||
| 75 | + prop="" | ||
| 76 | + label="航空公司"> | ||
| 77 | + </el-table-column> | ||
| 78 | + <el-table-column | ||
| 79 | + prop="" | ||
| 80 | + label="目的地"> | ||
| 81 | + </el-table-column> | ||
| 82 | + <el-table-column | ||
| 83 | + prop="" | ||
| 84 | + label="预计/实际离港"> | ||
| 85 | + </el-table-column> | ||
| 86 | + <el-table-column | ||
| 87 | + prop="" | ||
| 88 | + label="状态"> | ||
| 89 | + </el-table-column> | ||
| 90 | + <el-table-column | ||
| 91 | + prop="" | ||
| 92 | + label="航站楼"> | ||
| 93 | + </el-table-column> | ||
| 94 | + </el-table> | ||
| 95 | + </el-col> | ||
| 96 | + </el-row> | ||
| 97 | + </el-tab-pane> | ||
| 98 | + <el-tab-pane label="国际/地区出港" name="second"> | ||
| 99 | + <div style=";margin-top: 15px"> | ||
| 100 | + <el-time-picker | ||
| 101 | + v-model="value1" | ||
| 102 | + | ||
| 103 | + placeholder="任意时间点" | ||
| 104 | + style="width: 140px"> | ||
| 105 | + </el-time-picker> | ||
| 106 | + <el-time-picker | ||
| 107 | + arrow-control | ||
| 108 | + v-model="value2" | ||
| 109 | + placeholder="任意时间点" | ||
| 110 | + style="width: 140px"> | ||
| 111 | + </el-time-picker> | ||
| 112 | + <el-select v-model="value" placeholder="目的地" style="width: 140px"> | ||
| 113 | + <el-option | ||
| 114 | + v-for="item in options" | ||
| 115 | + :key="item.value" | ||
| 116 | + :label="item.label" | ||
| 117 | + :value="item.value"> | ||
| 118 | + </el-option> | ||
| 119 | + </el-select> | ||
| 120 | + <el-select v-model="value" placeholder="航空公司" style="width: 140px"> | ||
| 121 | + <el-option | ||
| 122 | + v-for="item in options" | ||
| 123 | + :key="item.value" | ||
| 124 | + :label="item.label" | ||
| 125 | + :value="item.value"> | ||
| 126 | + </el-option> | ||
| 127 | + </el-select> | ||
| 128 | + <el-button type="primary">点击查询</el-button> | ||
| 129 | + </div> | ||
| 130 | + <el-row style="margin-top: 15px"> | ||
| 131 | + <el-col :span="23"> | ||
| 132 | + <el-table | ||
| 133 | + :data="tableData" | ||
| 134 | + style="width: 100%"> | ||
| 135 | + <el-table-column | ||
| 136 | + prop="" | ||
| 137 | + label="计划离港"> | ||
| 138 | + </el-table-column> | ||
| 139 | + <el-table-column | ||
| 140 | + prop="" | ||
| 141 | + label="航班号"> | ||
| 142 | + </el-table-column> | ||
| 143 | + <el-table-column | ||
| 144 | + prop="" | ||
| 145 | + label="航空公司"> | ||
| 146 | + </el-table-column> | ||
| 147 | + <el-table-column | ||
| 148 | + prop="" | ||
| 149 | + label="目的地"> | ||
| 150 | + </el-table-column> | ||
| 151 | + <el-table-column | ||
| 152 | + prop="" | ||
| 153 | + label="预计/实际离港"> | ||
| 154 | + </el-table-column> | ||
| 155 | + <el-table-column | ||
| 156 | + prop="" | ||
| 157 | + label="状态"> | ||
| 158 | + </el-table-column> | ||
| 159 | + <el-table-column | ||
| 160 | + prop="" | ||
| 161 | + label="航站楼"> | ||
| 162 | + </el-table-column> | ||
| 163 | + </el-table> | ||
| 164 | + </el-col> | ||
| 165 | + </el-row> | ||
| 166 | + </el-tab-pane> | ||
| 167 | + <el-tab-pane label="国内到港" name="third"> | ||
| 168 | + <div style=";margin-top: 15px"> | ||
| 169 | + <el-time-picker | ||
| 170 | + v-model="value1" | ||
| 171 | + placeholder="任意时间点" | ||
| 172 | + style="width: 140px"> | ||
| 173 | + </el-time-picker> | ||
| 174 | + <el-time-picker | ||
| 175 | + arrow-control | ||
| 176 | + v-model="value2" | ||
| 177 | + placeholder="任意时间点" | ||
| 178 | + style="width: 140px"> | ||
| 179 | + </el-time-picker> | ||
| 180 | + <el-select v-model="value" placeholder="目的地" style="width: 140px"> | ||
| 181 | + <el-option | ||
| 182 | + v-for="item in options" | ||
| 183 | + :key="item.value" | ||
| 184 | + :label="item.label" | ||
| 185 | + :value="item.value"> | ||
| 186 | + </el-option> | ||
| 187 | + </el-select> | ||
| 188 | + <el-select v-model="value" placeholder="航空公司" style="width: 140px"> | ||
| 189 | + <el-option | ||
| 190 | + v-for="item in options" | ||
| 191 | + :key="item.value" | ||
| 192 | + :label="item.label" | ||
| 193 | + :value="item.value"> | ||
| 194 | + </el-option> | ||
| 195 | + </el-select> | ||
| 196 | + <el-button type="primary">点击查询</el-button> | ||
| 197 | + </div> | ||
| 198 | + <el-row style="margin-top: 15px"> | ||
| 199 | + <el-col :span="23"> | ||
| 200 | + <el-table | ||
| 201 | + :data="tableData" | ||
| 202 | + style="width: 100%"> | ||
| 203 | + <el-table-column | ||
| 204 | + prop="" | ||
| 205 | + label="计划离港"> | ||
| 206 | + </el-table-column> | ||
| 207 | + <el-table-column | ||
| 208 | + prop="" | ||
| 209 | + label="航班号"> | ||
| 210 | + </el-table-column> | ||
| 211 | + <el-table-column | ||
| 212 | + prop="" | ||
| 213 | + label="航空公司"> | ||
| 214 | + </el-table-column> | ||
| 215 | + <el-table-column | ||
| 216 | + prop="" | ||
| 217 | + label="目的地"> | ||
| 218 | + </el-table-column> | ||
| 219 | + <el-table-column | ||
| 220 | + prop="" | ||
| 221 | + label="预计/实际离港"> | ||
| 222 | + </el-table-column> | ||
| 223 | + <el-table-column | ||
| 224 | + prop="" | ||
| 225 | + label="状态"> | ||
| 226 | + </el-table-column> | ||
| 227 | + <el-table-column | ||
| 228 | + prop="" | ||
| 229 | + label="航站楼"> | ||
| 230 | + </el-table-column> | ||
| 231 | + </el-table> | ||
| 232 | + </el-col> | ||
| 233 | + </el-row> | ||
| 234 | + </el-tab-pane> | ||
| 235 | + <el-tab-pane label="国际/地区到港" name="fourth"> | ||
| 236 | + <div style=";margin-top: 15px"> | ||
| 237 | + <el-time-picker | ||
| 238 | + v-model="value1" | ||
| 239 | + placeholder="任意时间点" | ||
| 240 | + style="width: 140px"> | ||
| 241 | + </el-time-picker> | ||
| 242 | + <el-time-picker | ||
| 243 | + arrow-control | ||
| 244 | + v-model="value2" | ||
| 245 | + placeholder="任意时间点" | ||
| 246 | + style="width: 140px"> | ||
| 247 | + </el-time-picker> | ||
| 248 | + <el-select v-model="value" placeholder="目的地" style="width: 140px"> | ||
| 249 | + <el-option | ||
| 250 | + v-for="item in options" | ||
| 251 | + :key="item.value" | ||
| 252 | + :label="item.label" | ||
| 253 | + :value="item.value"> | ||
| 254 | + </el-option> | ||
| 255 | + </el-select> | ||
| 256 | + <el-select v-model="value" placeholder="航空公司" style="width: 140px"> | ||
| 257 | + <el-option | ||
| 258 | + v-for="item in options" | ||
| 259 | + :key="item.value" | ||
| 260 | + :label="item.label" | ||
| 261 | + :value="item.value"> | ||
| 262 | + </el-option> | ||
| 263 | + </el-select> | ||
| 264 | + <el-button type="primary">点击查询</el-button> | ||
| 265 | + </div> | ||
| 266 | + <el-row style="margin-top: 15px"> | ||
| 267 | + <el-col :span="23"> | ||
| 268 | + <el-table | ||
| 269 | + :data="tableData" | ||
| 270 | + style="width: 100%"> | ||
| 271 | + <el-table-column | ||
| 272 | + prop="" | ||
| 273 | + label="计划离港"> | ||
| 274 | + </el-table-column> | ||
| 275 | + <el-table-column | ||
| 276 | + prop="" | ||
| 277 | + label="航班号"> | ||
| 278 | + </el-table-column> | ||
| 279 | + <el-table-column | ||
| 280 | + prop="" | ||
| 281 | + label="航空公司"> | ||
| 282 | + </el-table-column> | ||
| 283 | + <el-table-column | ||
| 284 | + prop="" | ||
| 285 | + label="目的地"> | ||
| 286 | + </el-table-column> | ||
| 287 | + <el-table-column | ||
| 288 | + prop="" | ||
| 289 | + label="预计/实际离港"> | ||
| 290 | + </el-table-column> | ||
| 291 | + <el-table-column | ||
| 292 | + prop="" | ||
| 293 | + label="状态"> | ||
| 294 | + </el-table-column> | ||
| 295 | + <el-table-column | ||
| 296 | + prop="" | ||
| 297 | + label="航站楼"> | ||
| 298 | + </el-table-column> | ||
| 299 | + </el-table> | ||
| 300 | + </el-col> | ||
| 301 | + </el-row> | ||
| 302 | + </el-tab-pane> | ||
| 303 | + </el-tabs> | ||
| 304 | + </el-row> | ||
| 305 | + <el-row> | ||
| 306 | + <div> | ||
| 307 | + <pagination background layout="total, prev, pager, next" v-show="total>0" :total="total" :page.sync="pageSize" :limit.sync="pageNum" | ||
| 308 | + @pagination="getDomesticClearance"/> | ||
| 309 | + </div> | ||
| 310 | + | ||
| 311 | + </el-row> | ||
| 312 | + </el-col> | ||
| 313 | + </el-row> | ||
| 314 | + </el-main> | ||
| 315 | + </el-container> | ||
| 316 | +</template> | ||
| 317 | + | ||
| 318 | +<script> | ||
| 319 | + import {getList} from '../../api/inquiry/inquiry' | ||
| 320 | + export default { | ||
| 321 | + data() { | ||
| 322 | + return { | ||
| 323 | + currentPage4: 4, | ||
| 324 | + activeName: 'first', | ||
| 325 | + filters: { | ||
| 326 | + flightNo: '' | ||
| 327 | + }, | ||
| 328 | + total: 1, | ||
| 329 | + pageSize: 1, | ||
| 330 | + pageNum: 30, | ||
| 331 | + domesticClearanceList: [], | ||
| 332 | + }; | ||
| 333 | + }, | ||
| 334 | + methods: { | ||
| 335 | + | ||
| 336 | + //获取列表集合 | ||
| 337 | + getDomesticClearance() { | ||
| 338 | + | ||
| 339 | + // this.listLoading = true; | ||
| 340 | + // //NProgress.start(); | ||
| 341 | + // getList().then((res) => { | ||
| 342 | + // this.total = res.data.total; | ||
| 343 | + // this.domesticClearanceList = res.data.list; | ||
| 344 | + // this.listLoading = false; | ||
| 345 | + // //NProgress.done(); | ||
| 346 | + // }).catch((error) => { | ||
| 347 | + // | ||
| 348 | + // this.listLoading = false; | ||
| 349 | + // if(null!= error.response && error.response!==undefined){ | ||
| 350 | + // let status= error.response.status; | ||
| 351 | + // let msg = error.response.statusText; | ||
| 352 | + // alert(status+msg); | ||
| 353 | + // }else { | ||
| 354 | + // alert(error); | ||
| 355 | + // } | ||
| 356 | + // | ||
| 357 | + // }); | ||
| 358 | + } | ||
| 359 | + }, | ||
| 360 | + | ||
| 361 | + } | ||
| 362 | +</script> | ||
| 363 | + | ||
| 364 | +<style scoped> | ||
| 365 | +.input-with-select{ | ||
| 366 | + width: 450px; | ||
| 367 | +} | ||
| 368 | +.el-row{ | ||
| 369 | + margin-left: 10px; | ||
| 370 | + width: 98%; | ||
| 371 | + background-color: #FFFFFF; | ||
| 372 | +} | ||
| 373 | +</style> |
src/views/nav4/order.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <div class="bg order"> | ||
| 3 | + <span class="air">空运服务-订舱确认</span> | ||
| 4 | + <div class="px"> | ||
| 5 | +<!-- 下单信息--> | ||
| 6 | + <h4 class="title">下单信息</h4> | ||
| 7 | + <div class="r-table"> | ||
| 8 | + <table class="tb"> | ||
| 9 | + <tbody> | ||
| 10 | + <tr> | ||
| 11 | + <th width="10%">航空公司</th> | ||
| 12 | + <td width="10%">{{defaultQuery.flightno}}</td> | ||
| 13 | + <th width="10%">起运机场</th> | ||
| 14 | + <td width="10%">北京</td> | ||
| 15 | + <th width="10%">目的机场</th> | ||
| 16 | + <td width="10%">法兰克福</td> | ||
| 17 | + <th width="10%">下单重量(KG)</th> | ||
| 18 | + <td width="10%"><el-input v-model="weight" placeholder="" size="mini"></el-input></td> | ||
| 19 | + <th width="10%">运价单价</th> | ||
| 20 | + <td width="10%">CNY 23.50/KG</td> | ||
| 21 | + </tr> | ||
| 22 | + <tr> | ||
| 23 | + <th>报关方式</th> | ||
| 24 | + <td colspan="4"> | ||
| 25 | + <el-radio v-model="customsType" label="1">自理报关</el-radio> | ||
| 26 | + <el-radio v-model="customsType" label="2">委托报关</el-radio> | ||
| 27 | + </td> | ||
| 28 | +<!-- surchargePrice--> | ||
| 29 | + <th rowspan="4">附加费</th> | ||
| 30 | + <td colspan="3">操作费: CNY 0.00/票</td> | ||
| 31 | + <td><el-input-number v-model="num" @change="handleChange" :min="1" :max="10" label=""> | ||
| 32 | + </el-input-number></td> | ||
| 33 | + </tr> | ||
| 34 | + <tr> | ||
| 35 | + <th rowspan="3">门到门服务</th> | ||
| 36 | + <td colspan="4"><el-checkbox v-model="homeDelivery">上门提货</el-checkbox></td> | ||
| 37 | + <td colspan="3">制单费: CNY 50.00/票</td> | ||
| 38 | + <td><el-input-number v-model="num" @change="handleChange" :min="1" :max="10" label=""> | ||
| 39 | + </el-input-number></td> | ||
| 40 | + </tr> | ||
| 41 | + <tr> | ||
| 42 | + <td colspan="4" rowspan="2"><el-checkbox v-model="sendToHome">清关派送</el-checkbox></td> | ||
| 43 | + <td colspan="3">订舱预录费: CNY 30.00 /票</td> | ||
| 44 | + <td><el-input-number v-model="num" @change="handleChange" :min="1" :max="10" label=""> | ||
| 45 | + </el-input-number></td> | ||
| 46 | + </tr> | ||
| 47 | + <tr> | ||
| 48 | + <td colspan="4">地面操作费: CNY 0/KG</td> | ||
| 49 | + </tr> | ||
| 50 | + <tr> | ||
| 51 | + <th>预估费用</th> | ||
| 52 | + <td colspan="3">运费:CNY 23500.00 (最低100.00KG 起运)</td> | ||
| 53 | + <td colspan="3">附加费:CNY 230.00</td> | ||
| 54 | + <td colspan="3"> 共计:CNY 23730.00</td> | ||
| 55 | + </tr> | ||
| 56 | + </tbody> | ||
| 57 | + </table> | ||
| 58 | + </div> | ||
| 59 | +<!-- 货物信息--> | ||
| 60 | + <h4 class="title">货物信息</h4> | ||
| 61 | + <div class="r-table"> | ||
| 62 | + <table class="tb" width="100%"> | ||
| 63 | + <tbody> | ||
| 64 | + <tr> | ||
| 65 | + <th width="35%">*是否有电池、液体、粉末、磁性及其它违禁物品</th> | ||
| 66 | + <td width="15%"> | ||
| 67 | + <el-radio v-model="radio1" label="1">是</el-radio> | ||
| 68 | + <el-radio v-model="radio1" label="2">否</el-radio></td> | ||
| 69 | + <th width="35%">*是否购买保险</th> | ||
| 70 | + <td width="15%"> | ||
| 71 | + <el-radio v-model="radio4" label="1">是</el-radio> | ||
| 72 | + <el-radio v-model="radio4" label="2">否</el-radio></td> | ||
| 73 | + </tr> | ||
| 74 | + <tr> | ||
| 75 | + <th width="35%">*是否超长托盘</th> | ||
| 76 | + <td width="15%"> | ||
| 77 | + <el-radio v-model="radio1" label="1">是</el-radio> | ||
| 78 | + <el-radio v-model="radio1" label="2">否</el-radio></td> | ||
| 79 | + <th width="35%">*是否名牌</th> | ||
| 80 | + <td width="15%"> | ||
| 81 | + <el-radio v-model="radio4" label="1">是</el-radio> | ||
| 82 | + <el-radio v-model="radio4" label="2">否</el-radio></td> | ||
| 83 | + </tr> | ||
| 84 | + </tbody> | ||
| 85 | + </table> | ||
| 86 | + <table class="tb" style="margin-top: 10px;width: 100%"> | ||
| 87 | + <tbody> | ||
| 88 | + <tr> | ||
| 89 | + <th width="20%">中文品名</th> | ||
| 90 | + <th width="20%">英文品名</th> | ||
| 91 | + <th width="10%">*数量(件)</th> | ||
| 92 | + <th width="10%">*实重(KG)</th> | ||
| 93 | + <th width="10%">*总体积(CBM)</th> | ||
| 94 | + <th width="20%">最大尺寸(长x宽x高)</th> | ||
| 95 | + <th width="10%">操作</th> | ||
| 96 | + </tr> | ||
| 97 | + <tr> | ||
| 98 | + <td><el-input v-model="nameCn" placeholder="" size="mini"></el-input></td> | ||
| 99 | + <td><el-input v-model="name" placeholder="" size="mini"></el-input></td> | ||
| 100 | + <td><el-input v-model="billCount" placeholder="" size="mini"></el-input></td> | ||
| 101 | + <td><el-input v-model="weight" placeholder="" size="mini"></el-input></td> | ||
| 102 | + <td><el-input v-model="input" placeholder="" size="mini"></el-input></td> | ||
| 103 | + <td><el-input v-model="input" placeholder="" size="mini"></el-input></td> | ||
| 104 | + <td><el-button icon="el-icon-plus" size="mini" circle></el-button> | ||
| 105 | + <el-button icon="el-icon-minus" size="mini" circle></el-button></td> | ||
| 106 | + </tr> | ||
| 107 | + </tbody> | ||
| 108 | + </table> | ||
| 109 | + </div> | ||
| 110 | +<!-- 收发件通知人信息--> | ||
| 111 | + <div class="r-table" style="margin-top: 35px"> | ||
| 112 | + <el-collapse v-model="activeNames" @change="handleChange" class="col"> | ||
| 113 | + <el-collapse-item title="发件人信息" name="1"> | ||
| 114 | + <table class="tb" width="100%"> | ||
| 115 | + <tbody> | ||
| 116 | + <tr> | ||
| 117 | + <th width="15%">姓名</th> | ||
| 118 | + <td width="35%"><el-input v-model="name" placeholder="" ></el-input></td> | ||
| 119 | + <th width="15%">联系电话</th> | ||
| 120 | + <td width="35%"><el-input v-model="tel" placeholder="" ></el-input></td> | ||
| 121 | + </tr> | ||
| 122 | + <tr> | ||
| 123 | + <th colspan="1">公司</th> | ||
| 124 | + <td colspan="3"><el-input v-model="company" placeholder="" ></el-input></td> | ||
| 125 | + </tr> | ||
| 126 | + <tr> | ||
| 127 | + <th colspan="1">详细地址 </th> | ||
| 128 | + <td colspan="3"><el-input v-model="address" placeholder="" ></el-input></td> | ||
| 129 | + </tr> | ||
| 130 | + </tbody> | ||
| 131 | + </table> | ||
| 132 | + </el-collapse-item> | ||
| 133 | + <el-collapse-item title="收件人信息" name="2" class="father"> | ||
| 134 | + <div class="relative"> | ||
| 135 | + <el-button type="text" @click="dialogTableVisible = true">收件地址库</el-button> | ||
| 136 | + <el-checkbox v-model="checked1" style="margin-left: 20px">加入地址库</el-checkbox> | ||
| 137 | + </div> | ||
| 138 | + <table class="tb" width="100%"> | ||
| 139 | + <tbody> | ||
| 140 | + <tr> | ||
| 141 | + <th width="15%">姓名</th> | ||
| 142 | + <td width="35"><el-input v-model="name" placeholder="" ></el-input></td> | ||
| 143 | + <th width="15%">联系电话</th> | ||
| 144 | + <td width="35%"><el-input v-model="tel" placeholder="" ></el-input></td> | ||
| 145 | + </tr> | ||
| 146 | + <tr> | ||
| 147 | + <th colspan="1">公司</th> | ||
| 148 | + <td colspan="3"><el-input v-model="company" placeholder="" ></el-input></td> | ||
| 149 | + </tr> | ||
| 150 | + <tr> | ||
| 151 | + <th colspan="1">详细地址</th> | ||
| 152 | + <td colspan="3"><el-input v-model="address" placeholder="" ></el-input></td> | ||
| 153 | + </tr> | ||
| 154 | + <tr> | ||
| 155 | + <th colspan="1">特殊信息</th> | ||
| 156 | + <td colspan="3"><el-input v-model="input" placeholder="" ></el-input></td> | ||
| 157 | + </tr> | ||
| 158 | + </tbody> | ||
| 159 | + </table> | ||
| 160 | + </el-collapse-item> | ||
| 161 | + <el-collapse-item title="通知人信息" name="3" class="father"> | ||
| 162 | + <div class="relative"><el-checkbox v-model="checked">同收件人</el-checkbox></div> | ||
| 163 | + <table class="tb" width="100%"> | ||
| 164 | + <tbody> | ||
| 165 | + <tr> | ||
| 166 | + <th width="15%">姓名</th> | ||
| 167 | + <td width="35%"><el-input v-model="name" placeholder="" ></el-input></td> | ||
| 168 | + <th width="15%">联系电话</th> | ||
| 169 | + <td width="35%"><el-input v-model="tel" placeholder="" ></el-input></td> | ||
| 170 | + </tr> | ||
| 171 | + <tr> | ||
| 172 | + <th colspan="1">公司</th> | ||
| 173 | + <td colspan="3"><el-input v-model="company" placeholder="" ></el-input></td> | ||
| 174 | + </tr> | ||
| 175 | + <tr> | ||
| 176 | + <th colspan="1">详细地址</th> | ||
| 177 | + <td colspan="3"><el-input v-model="address" placeholder="" ></el-input></td> | ||
| 178 | + </tr> | ||
| 179 | + <tr> | ||
| 180 | + <th colspan="1">特殊信息</th> | ||
| 181 | + <td colspan="3"><el-input v-model="input" placeholder="" ></el-input></td> | ||
| 182 | + </tr> | ||
| 183 | + </tbody> | ||
| 184 | + </table> | ||
| 185 | + </el-collapse-item> | ||
| 186 | + </el-collapse> | ||
| 187 | + </div> | ||
| 188 | + <div style="text-align: center;margin-top: 30px"> | ||
| 189 | + <el-button type="danger" style="width: 180px;height: 50px">确认下单</el-button> | ||
| 190 | + </div> | ||
| 191 | + <div style="margin-top: 50px;height: 80px"> </div> | ||
| 192 | + </div> | ||
| 193 | +<!-- 收件地址库弹框--> | ||
| 194 | + <div> | ||
| 195 | + <el-dialog title="请选择收件人" :visible.sync="dialogTableVisible"> | ||
| 196 | + <el-table :data="gridData"> | ||
| 197 | + <el-table-column property="date" label="姓名" width="150"></el-table-column> | ||
| 198 | + <el-table-column property="name" label="电话" width="200"></el-table-column> | ||
| 199 | + <el-table-column property="address" label="地址"></el-table-column> | ||
| 200 | + </el-table> | ||
| 201 | + <div style="margin-top: 10px;text-align: right"> | ||
| 202 | + <el-button>取消</el-button> | ||
| 203 | + <el-button type="primary">请选择收件人</el-button> | ||
| 204 | + </div> | ||
| 205 | + </el-dialog> | ||
| 206 | + </div> | ||
| 207 | + </div> | ||
| 208 | +</template> | ||
| 209 | + | ||
| 210 | +<script> | ||
| 211 | + export default { | ||
| 212 | + data() { | ||
| 213 | + return{ | ||
| 214 | + num: 1, | ||
| 215 | + radio: '', | ||
| 216 | + radio1: '', | ||
| 217 | + radio2: '', | ||
| 218 | + radio3: '', | ||
| 219 | + radio4: '', | ||
| 220 | + dialogTableVisible:false, | ||
| 221 | + | ||
| 222 | + } | ||
| 223 | + } | ||
| 224 | + } | ||
| 225 | +</script> | ||
| 226 | + | ||
| 227 | +<style scoped> | ||
| 228 | + .bg{ | ||
| 229 | + background-color: #F2F2F2; | ||
| 230 | + } | ||
| 231 | + .air{ | ||
| 232 | + font-size: 20px; | ||
| 233 | + color: #308aee; | ||
| 234 | + margin-top: 20px; | ||
| 235 | + display: block; | ||
| 236 | + } | ||
| 237 | + .r-table{ | ||
| 238 | + text-align: center; | ||
| 239 | + } | ||
| 240 | + | ||
| 241 | + /*line-height: 100px;*/ | ||
| 242 | + .tb{ | ||
| 243 | + font-size: 14px; | ||
| 244 | + box-sizing: border-box; | ||
| 245 | + display: table; | ||
| 246 | + border-spacing: 0; | ||
| 247 | + border-collapse: collapse; | ||
| 248 | + } | ||
| 249 | + .px{ | ||
| 250 | + background-color: #FFFFFF; | ||
| 251 | + width: 100%; | ||
| 252 | + height: 500px; | ||
| 253 | + } | ||
| 254 | + .title{ | ||
| 255 | + color: #127ef2; | ||
| 256 | + font-size: 16px; | ||
| 257 | + font-weight: bold; | ||
| 258 | + margin: 20px 30px; | ||
| 259 | + text-align: left; | ||
| 260 | + } | ||
| 261 | + .r-table .tb > tbody > tr > th { | ||
| 262 | + background-color: #d8ecff; | ||
| 263 | + padding: 10px 5px; | ||
| 264 | + text-align: center; | ||
| 265 | + border: 1px solid #ddd; | ||
| 266 | + } | ||
| 267 | + .r-table .tb > tbody > tr > td { | ||
| 268 | + padding: 8px; | ||
| 269 | + border: 1px solid #ddd; | ||
| 270 | + display: table-cell; | ||
| 271 | + } | ||
| 272 | + .col .tb > tbody > tr > th { | ||
| 273 | + border: 0px; | ||
| 274 | + } | ||
| 275 | + .col .tb > tbody > tr > td { | ||
| 276 | + border: 0px; | ||
| 277 | + } | ||
| 278 | + .father{ | ||
| 279 | + position: relative; | ||
| 280 | + } | ||
| 281 | + .relative{ | ||
| 282 | + position: absolute; | ||
| 283 | + top:11px; | ||
| 284 | + right: 100px; | ||
| 285 | + } | ||
| 286 | +</style> | ||
| 287 | +<style> | ||
| 288 | + .order .el-collapse-item__header{ | ||
| 289 | + color: #127ef2; | ||
| 290 | + font-size: 16px; | ||
| 291 | + font-weight: bold; | ||
| 292 | + margin: 20px 30px; | ||
| 293 | + text-align: left; | ||
| 294 | + } | ||
| 295 | +</style> |
| @@ -84,7 +84,7 @@ | @@ -84,7 +84,7 @@ | ||
| 84 | <span>{{scope.row.weight}}</span> | 84 | <span>{{scope.row.weight}}</span> |
| 85 | </template> | 85 | </template> |
| 86 | </el-table-column> | 86 | </el-table-column> |
| 87 | - <el-table-column label="货物描述" width="120" align="center"> | 87 | + <el-table-column label="货物描述" width="120" style="height: 20px" align="center"> |
| 88 | <template slot-scope="scope"> | 88 | <template slot-scope="scope"> |
| 89 | <span>{{scope.row.goodsname}}</span> | 89 | <span>{{scope.row.goodsname}}</span> |
| 90 | </template> | 90 | </template> |
| @@ -565,9 +565,9 @@ | @@ -565,9 +565,9 @@ | ||
| 565 | this.listLoading = true | 565 | this.listLoading = true |
| 566 | if (this.arriveQuery.awba !== undefined) { | 566 | if (this.arriveQuery.awba !== undefined) { |
| 567 | getMt3201ListForParam(this.arriveQuery).then(res => { | 567 | getMt3201ListForParam(this.arriveQuery).then(res => { |
| 568 | - this.arriveData = res.data.dataList | ||
| 569 | - this.total = res.data.count | ||
| 570 | - if (res.data.dataList.length > 0){ | 568 | + this.arriveData = res.data.data.list |
| 569 | + this.total = res.data.data.total | ||
| 570 | + if (res.data.data.list.length > 0){ | ||
| 571 | this.arriveQuery.carrier = this.arriveData[0].carrier | 571 | this.arriveQuery.carrier = this.arriveData[0].carrier |
| 572 | this.arriveQuery.flightno = this.arriveData[0].flightno | 572 | this.arriveQuery.flightno = this.arriveData[0].flightno |
| 573 | this.arriveQuery.flightdate = this.arriveData[0].flightdate | 573 | this.arriveQuery.flightdate = this.arriveData[0].flightdate |
| @@ -581,8 +581,8 @@ | @@ -581,8 +581,8 @@ | ||
| 581 | }) | 581 | }) |
| 582 | } else { | 582 | } else { |
| 583 | getMt3201ListForParam(this.arriveQuery).then(res => { | 583 | getMt3201ListForParam(this.arriveQuery).then(res => { |
| 584 | - this.arriveData = res.data.dataList | ||
| 585 | - this.total = res.data.count | 584 | + this.arriveData = res.data.data.list |
| 585 | + this.total = res.data.data.total | ||
| 586 | setTimeout(() => { | 586 | setTimeout(() => { |
| 587 | this.listLoading = false | 587 | this.listLoading = false |
| 588 | }, 1.5 * 1000) | 588 | }, 1.5 * 1000) |
| @@ -9,16 +9,16 @@ | @@ -9,16 +9,16 @@ | ||
| 9 | class="filter-item" value-format="yyyy-MM-dd"></el-date-picker> | 9 | class="filter-item" value-format="yyyy-MM-dd"></el-date-picker> |
| 10 | <el-button class="filter-item" type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button> | 10 | <el-button class="filter-item" type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button> |
| 11 | </div> | 11 | </div> |
| 12 | - <el-table :data="flightData" stripe style="font-size: 14px" border> | 12 | + <el-table :data="flightData" v-loading="listLoading" stripe style="font-size: 14px" border> |
| 13 | <el-table-column label="航班号" width="180px" align="center"> | 13 | <el-table-column label="航班号" width="180px" align="center"> |
| 14 | <template slot-scope="scope"> | 14 | <template slot-scope="scope"> |
| 15 | - <span>{{ scope.row.carrier }}{{ scope.row.flightNo }}</span> | 15 | + <span>{{ scope.row.carrier }}{{ scope.row.flightno }}</span> |
| 16 | </template> | 16 | </template> |
| 17 | </el-table-column> | 17 | </el-table-column> |
| 18 | <el-table-column label="航班日期" width="190px" align="center"> | 18 | <el-table-column label="航班日期" width="190px" align="center"> |
| 19 | <template slot-scope="scope"> | 19 | <template slot-scope="scope"> |
| 20 | <i class="el-icon-time"></i> | 20 | <i class="el-icon-time"></i> |
| 21 | - <span>{{ scope.row.flightDate }}</span> | 21 | + <span>{{ scope.row.flightdate }}</span> |
| 22 | </template> | 22 | </template> |
| 23 | </el-table-column> | 23 | </el-table-column> |
| 24 | <el-table-column label="始发站" width="160px" align="center"> | 24 | <el-table-column label="始发站" width="160px" align="center"> |
| @@ -55,6 +55,7 @@ | @@ -55,6 +55,7 @@ | ||
| 55 | inject: ['reload'], | 55 | inject: ['reload'], |
| 56 | data() { | 56 | data() { |
| 57 | return { | 57 | return { |
| 58 | + listLoading: false, | ||
| 58 | total: 1, | 59 | total: 1, |
| 59 | listQuery: { | 60 | listQuery: { |
| 60 | pageSize: 1, | 61 | pageSize: 1, |
| @@ -74,9 +75,11 @@ | @@ -74,9 +75,11 @@ | ||
| 74 | this.listQuery.flightDate = new Date(); | 75 | this.listQuery.flightDate = new Date(); |
| 75 | }, | 76 | }, |
| 76 | getList() { | 77 | getList() { |
| 78 | + this.listLoading = true; | ||
| 77 | getFlightListForParam(this.listQuery).then(res => { | 79 | getFlightListForParam(this.listQuery).then(res => { |
| 78 | - this.flightData = res.data.dataList | ||
| 79 | - this.total = res.data.count | 80 | + this.flightData = res.data.data.list |
| 81 | + this.total = res.data.data.total | ||
| 82 | + this.listLoading = false; | ||
| 80 | }) | 83 | }) |
| 81 | }, | 84 | }, |
| 82 | handleSearch() { | 85 | handleSearch() { |
| @@ -84,26 +87,26 @@ | @@ -84,26 +87,26 @@ | ||
| 84 | }, | 87 | }, |
| 85 | handleLoading(row) { | 88 | handleLoading(row) { |
| 86 | row.messageType = 'MT4201' | 89 | row.messageType = 'MT4201' |
| 87 | - row.flightdate = row.flightDate | ||
| 88 | - row.flightno = row.flightNo | 90 | + row.flightdate = row.flightdate |
| 91 | + row.flightno = row.flightno | ||
| 89 | this.$router.push({name: '出港航班信息', params: {scopeRow: row}}) | 92 | this.$router.push({name: '出港航班信息', params: {scopeRow: row}}) |
| 90 | }, | 93 | }, |
| 91 | handleTidy(row) { | 94 | handleTidy(row) { |
| 92 | row.messageType = 'MT5202' | 95 | row.messageType = 'MT5202' |
| 93 | - row.flightdate = row.flightDate | ||
| 94 | - row.flightno = row.flightNo | 96 | + row.flightdate = row.flightdate |
| 97 | + row.flightno = row.flightno | ||
| 95 | this.$router.push({name: '出港航班信息', params: {scopeRow: row}}) | 98 | this.$router.push({name: '出港航班信息', params: {scopeRow: row}}) |
| 96 | }, | 99 | }, |
| 97 | handleArrive(row) { | 100 | handleArrive(row) { |
| 98 | row.messageType = 'MT3201' | 101 | row.messageType = 'MT3201' |
| 99 | - row.flightdate = row.flightDate | ||
| 100 | - row.flightno = row.flightNo | 102 | + row.flightdate = row.flightdate |
| 103 | + row.flightno = row.flightno | ||
| 101 | this.$router.push({name: '出港航班信息', params: {scopeRow: row}}) | 104 | this.$router.push({name: '出港航班信息', params: {scopeRow: row}}) |
| 102 | }, | 105 | }, |
| 103 | handlePre(row) { | 106 | handlePre(row) { |
| 104 | row.messageType = 'MT2201' | 107 | row.messageType = 'MT2201' |
| 105 | - row.flightdate = row.flightDate | ||
| 106 | - row.flightno = row.flightNo | 108 | + row.flightdate = row.flightdate |
| 109 | + row.flightno = row.flightno | ||
| 107 | this.$router.push({name: '出港航班信息', params: {scopeRow: row}}) | 110 | this.$router.push({name: '出港航班信息', params: {scopeRow: row}}) |
| 108 | } | 111 | } |
| 109 | }, | 112 | }, |
| @@ -117,7 +117,7 @@ | @@ -117,7 +117,7 @@ | ||
| 117 | this.flight.originstation = this.$route.params.scopeRow.originstation | 117 | this.flight.originstation = this.$route.params.scopeRow.originstation |
| 118 | this.flight.destinationstation = this.$route.params.scopeRow.destinationstation | 118 | this.flight.destinationstation = this.$route.params.scopeRow.destinationstation |
| 119 | this.flight.messageType = this.$route.params.scopeRow.messageType | 119 | this.flight.messageType = this.$route.params.scopeRow.messageType |
| 120 | - if (this.$route.params.scopeRow.awba !== undefined) { | 120 | + if (this.$route.params.scopeRow.awba !== undefined && this.$route.params.scopeRow.awba != null) { |
| 121 | this.flight.awba = this.$route.params.scopeRow.awba.replace('-', '') | 121 | this.flight.awba = this.$route.params.scopeRow.awba.replace('-', '') |
| 122 | } | 122 | } |
| 123 | } | 123 | } |
| @@ -126,7 +126,7 @@ | @@ -126,7 +126,7 @@ | ||
| 126 | </el-button> | 126 | </el-button> |
| 127 | 127 | ||
| 128 | <el-button size="mini" type="danger" @click="handleSendDelete(scope.row)" | 128 | <el-button size="mini" type="danger" @click="handleSendDelete(scope.row)" |
| 129 | - :disabled="scope.row.status ==='24'">发删除报 | 129 | + :disabled="scope.row.status ==='24'">发送删除报 |
| 130 | </el-button> | 130 | </el-button> |
| 131 | 131 | ||
| 132 | </template> | 132 | </template> |
| @@ -244,8 +244,7 @@ | @@ -244,8 +244,7 @@ | ||
| 244 | <el-select v-model="loadingModel.customcode" placeholder="请选择关区代码" | 244 | <el-select v-model="loadingModel.customcode" placeholder="请选择关区代码" |
| 245 | filterable clearable remote :remote-method="remoteMethodCustomCode" :loading="customLoading" | 245 | filterable clearable remote :remote-method="remoteMethodCustomCode" :loading="customLoading" |
| 246 | allow-create | 246 | allow-create |
| 247 | - default-first-option | ||
| 248 | - > | 247 | + default-first-option> |
| 249 | <el-option v-for="item in customCodeList" :key="item.customcode" :label="item.customcode" | 248 | <el-option v-for="item in customCodeList" :key="item.customcode" :label="item.customcode" |
| 250 | :value="item.customcode"> | 249 | :value="item.customcode"> |
| 251 | <span style="float: left">{{ item.customcode }}</span> | 250 | <span style="float: left">{{ item.customcode }}</span> |
| @@ -317,7 +316,10 @@ | @@ -317,7 +316,10 @@ | ||
| 317 | </el-table-column> | 316 | </el-table-column> |
| 318 | </el-table> | 317 | </el-table> |
| 319 | </el-dialog> | 318 | </el-dialog> |
| 320 | - <el-dialog title="删除原因" :visible.sync="dialogDeleteVisible" width="30%"> | 319 | + <el-dialog title="删除原因" :visible.sync="dialogDeleteVisible" width="50%"> |
| 320 | + <div style=""> | ||
| 321 | + <el-button type="success" @click="historyList()">选择历史消息</el-button> | ||
| 322 | + </div> | ||
| 321 | <el-form ref="loadingDeleteForm" :model="respModel" :rules="loadingDeleteRules" | 323 | <el-form ref="loadingDeleteForm" :model="respModel" :rules="loadingDeleteRules" |
| 322 | label-width="120px" style="margin-right: 50px"> | 324 | label-width="120px" style="margin-right: 50px"> |
| 323 | <el-form-item label="删除原因" prop="reason"> | 325 | <el-form-item label="删除原因" prop="reason"> |
| @@ -338,6 +340,23 @@ | @@ -338,6 +340,23 @@ | ||
| 338 | <el-button type="primary" @click="sendLoadingDelete()">发送</el-button> | 340 | <el-button type="primary" @click="sendLoadingDelete()">发送</el-button> |
| 339 | </div> | 341 | </div> |
| 340 | </el-dialog> | 342 | </el-dialog> |
| 343 | + <el-dialog title="历史信息" :visible.sync="historyDialog" width="50%"> | ||
| 344 | + <el-table v-loading="listLoading" :data="historyData" stripe style="font-size: 12px" | ||
| 345 | + border > | ||
| 346 | + | ||
| 347 | + <el-table-column prop="operperson" label="删除原因" /> | ||
| 348 | + <el-table-column prop="operreason" label="删除操作人" /> | ||
| 349 | + <el-table-column prop="opertel" label="操作人Tel"/> | ||
| 350 | + <el-table-column label="操作"> | ||
| 351 | + <template slot-scope="scope"> | ||
| 352 | + <el-button type="success" @click="historyEcho(scope.row)">选择</el-button> | ||
| 353 | + </template> | ||
| 354 | + </el-table-column> | ||
| 355 | + </el-table> | ||
| 356 | + <pagination background layout="total, prev, pager, next" v-show="historyTotal>0" :total="historyTotal" :page.sync="historyQuery.pageSize" :limit.sync="historyQuery.limitSize" | ||
| 357 | + @pagination="historyList()"/> | ||
| 358 | + </el-dialog> | ||
| 359 | + | ||
| 341 | </div> | 360 | </div> |
| 342 | </div> | 361 | </div> |
| 343 | </template> | 362 | </template> |
| @@ -348,6 +367,7 @@ | @@ -348,6 +367,7 @@ | ||
| 348 | getMt4201ListForParam, deleteByIsDelete, updateStatus, | 367 | getMt4201ListForParam, deleteByIsDelete, updateStatus, |
| 349 | updateMT4201, addMt4201, sendCreateMt4201, sendDeleteMt4201, test | 368 | updateMT4201, addMt4201, sendCreateMt4201, sendDeleteMt4201, test |
| 350 | } from '@/api/exitLoading' | 369 | } from '@/api/exitLoading' |
| 370 | + import {getHistoryList} from '@/api/history/history'; | ||
| 351 | import {Message} from "element-ui" | 371 | import {Message} from "element-ui" |
| 352 | import { | 372 | import { |
| 353 | validAwb, | 373 | validAwb, |
| @@ -401,6 +421,7 @@ | @@ -401,6 +421,7 @@ | ||
| 401 | } | 421 | } |
| 402 | return { | 422 | return { |
| 403 | total: 0, | 423 | total: 0, |
| 424 | + historyTotal: 0, | ||
| 404 | isAdmin: false, | 425 | isAdmin: false, |
| 405 | dialogMap: { | 426 | dialogMap: { |
| 406 | update: '编辑出港装载', | 427 | update: '编辑出港装载', |
| @@ -408,10 +429,12 @@ | @@ -408,10 +429,12 @@ | ||
| 408 | }, | 429 | }, |
| 409 | customCodeList: [], | 430 | customCodeList: [], |
| 410 | airportCode:[], | 431 | airportCode:[], |
| 432 | + historyData: [], | ||
| 411 | dialogStatus: undefined, | 433 | dialogStatus: undefined, |
| 412 | dialogTableVisible: false, | 434 | dialogTableVisible: false, |
| 413 | dialogFormVisible: false, | 435 | dialogFormVisible: false, |
| 414 | dialogDeleteVisible: false, | 436 | dialogDeleteVisible: false, |
| 437 | + historyDialog: false, | ||
| 415 | customLoading: false, | 438 | customLoading: false, |
| 416 | listLoading: false, | 439 | listLoading: false, |
| 417 | loadingQuery: { | 440 | loadingQuery: { |
| @@ -426,6 +449,10 @@ | @@ -426,6 +449,10 @@ | ||
| 426 | customcode: undefined, | 449 | customcode: undefined, |
| 427 | messageType: undefined | 450 | messageType: undefined |
| 428 | }, | 451 | }, |
| 452 | + historyQuery: { | ||
| 453 | + pageSize: 1, | ||
| 454 | + limitSize: 5, | ||
| 455 | + }, | ||
| 429 | loadingRoles: { | 456 | loadingRoles: { |
| 430 | awba: [{required: true, trigger: 'blur', validator: validatorAwb}], | 457 | awba: [{required: true, trigger: 'blur', validator: validatorAwb}], |
| 431 | awbh: [{required: true, trigger: 'blur', validator: validatorAwbh}], | 458 | awbh: [{required: true, trigger: 'blur', validator: validatorAwbh}], |
| @@ -556,9 +583,9 @@ | @@ -556,9 +583,9 @@ | ||
| 556 | this.listLoading = true | 583 | this.listLoading = true |
| 557 | if (this.loadingQuery.awba !== undefined && this.loadingQuery.awba !== '') { | 584 | if (this.loadingQuery.awba !== undefined && this.loadingQuery.awba !== '') { |
| 558 | getMt4201ListForParam(this.loadingQuery).then(res => { | 585 | getMt4201ListForParam(this.loadingQuery).then(res => { |
| 559 | - this.loadingData = res.data.dataList | ||
| 560 | - this.total = res.data.count | ||
| 561 | - if (res.data.count > 0) { | 586 | + this.loadingData = res.data.data.list |
| 587 | + this.total = res.data.data.total | ||
| 588 | + if (res.data.data.total > 0) { | ||
| 562 | this.loadingQuery.carrier = this.loadingData[0].carrier | 589 | this.loadingQuery.carrier = this.loadingData[0].carrier |
| 563 | this.loadingQuery.flightno = this.loadingData[0].flightno | 590 | this.loadingQuery.flightno = this.loadingData[0].flightno |
| 564 | this.loadingQuery.flightdate = this.loadingData[0].flightdate | 591 | this.loadingQuery.flightdate = this.loadingData[0].flightdate |
| @@ -572,8 +599,8 @@ | @@ -572,8 +599,8 @@ | ||
| 572 | }) | 599 | }) |
| 573 | } else { | 600 | } else { |
| 574 | getMt4201ListForParam(this.loadingQuery).then(res => { | 601 | getMt4201ListForParam(this.loadingQuery).then(res => { |
| 575 | - this.loadingData = res.data.dataList | ||
| 576 | - this.total = res.data.count | 602 | + this.loadingData = res.data.data.list |
| 603 | + this.total = res.data.data.total | ||
| 577 | setTimeout(() => { | 604 | setTimeout(() => { |
| 578 | this.listLoading = false | 605 | this.listLoading = false |
| 579 | }, 1.5 * 1000) | 606 | }, 1.5 * 1000) |
| @@ -667,6 +694,27 @@ | @@ -667,6 +694,27 @@ | ||
| 667 | }) | 694 | }) |
| 668 | }, | 695 | }, |
| 669 | 696 | ||
| 697 | + // 查询删除报历史消息 | ||
| 698 | + historyList(){ | ||
| 699 | + this.historyDialog = true; | ||
| 700 | + this.listLoading = true; | ||
| 701 | + getHistoryList(this.historyQuery).then(res => { | ||
| 702 | + this.historyData = res.data.data.list | ||
| 703 | + this.historyTotal = res.data.data.total | ||
| 704 | + if (res.data.data.total > 0) { | ||
| 705 | + } | ||
| 706 | + setTimeout(() => { | ||
| 707 | + this.listLoading = false | ||
| 708 | + }, 1.5 * 1000) | ||
| 709 | + }) | ||
| 710 | + }, | ||
| 711 | + // 回显删除报历史消息 | ||
| 712 | + historyEcho(val){ | ||
| 713 | + this.respModel.reason = val.operperson; | ||
| 714 | + this.respModel.contactName = val.operreason; | ||
| 715 | + this.respModel.contactTel = val.opertel; | ||
| 716 | + this.historyDialog = false; | ||
| 717 | + }, | ||
| 670 | // 发送删除报 | 718 | // 发送删除报 |
| 671 | handleSendDelete(row) { | 719 | handleSendDelete(row) { |
| 672 | this.respModel = { | 720 | this.respModel = { |
| @@ -41,9 +41,10 @@ | @@ -41,9 +41,10 @@ | ||
| 41 | </el-col> | 41 | </el-col> |
| 42 | </el-row> | 42 | </el-row> |
| 43 | </div> | 43 | </div> |
| 44 | - <tree-table v-loading="listLoading" :data="manifestData" :eval-func="func" :expand-all="true" | 44 | + <el-table v-loading="listLoading" :data="manifestData" :eval-func="func" :expand-all="true" |
| 45 | style="font-size: 13px" border @selection-change="handleSelectionChange" | 45 | style="font-size: 13px" border @selection-change="handleSelectionChange" |
| 46 | :row-class-name="tableRowClassName"> | 46 | :row-class-name="tableRowClassName"> |
| 47 | + <el-table-column type="selection" width="60"></el-table-column> | ||
| 47 | <el-table-column label="航班号" width="80px" align="center"> | 48 | <el-table-column label="航班号" width="80px" align="center"> |
| 48 | <template slot-scope="scope"> | 49 | <template slot-scope="scope"> |
| 49 | <span>{{ scope.row.carrier }}{{ scope.row.flightno }}</span> | 50 | <span>{{ scope.row.carrier }}{{ scope.row.flightno }}</span> |
| @@ -127,10 +128,10 @@ | @@ -127,10 +128,10 @@ | ||
| 127 | <a style="color: #1d8ce0; margin-right: 5px" v-if="scope.row.messageType==='MT3201'" @click="handleUpdate(scope.row)">出港运抵</a> | 128 | <a style="color: #1d8ce0; margin-right: 5px" v-if="scope.row.messageType==='MT3201'" @click="handleUpdate(scope.row)">出港运抵</a> |
| 128 | <a style="color: #1d8ce0; margin-right: 5px" v-if="scope.row.messageType==='MT4201'" @click="handleUpdate(scope.row)">出港装载</a> | 129 | <a style="color: #1d8ce0; margin-right: 5px" v-if="scope.row.messageType==='MT4201'" @click="handleUpdate(scope.row)">出港装载</a> |
| 129 | <a style="color: #1d8ce0; margin-right: 5px" v-if="scope.row.messageType==='MT5202'" @click="handleUpdate(scope.row)">出港理货</a> | 130 | <a style="color: #1d8ce0; margin-right: 5px" v-if="scope.row.messageType==='MT5202'" @click="handleUpdate(scope.row)">出港理货</a> |
| 130 | - <a style="color: #1d8ce0" @click="handleUpdateStatus(scope.row)">更改状态</a> | 131 | +<!-- <a style="color: #1d8ce0" @click="handleUpdateStatus(scope.row)">更改状态</a>--> |
| 131 | </template> | 132 | </template> |
| 132 | </el-table-column> | 133 | </el-table-column> |
| 133 | - </tree-table> | 134 | + </el-table> |
| 134 | <pagination v-show="total>0" :total="total" :page.sync="listQuery.pageSize" :limit.sync="listQuery.limitSize" | 135 | <pagination v-show="total>0" :total="total" :page.sync="listQuery.pageSize" :limit.sync="listQuery.limitSize" |
| 135 | @pagination="getList"/> | 136 | @pagination="getList"/> |
| 136 | </div> | 137 | </div> |
| @@ -201,8 +202,8 @@ | @@ -201,8 +202,8 @@ | ||
| 201 | getList() { | 202 | getList() { |
| 202 | this.listLoading = true | 203 | this.listLoading = true |
| 203 | getManifests(this.listQuery).then(res =>{ | 204 | getManifests(this.listQuery).then(res =>{ |
| 204 | - this.manifestData = res.data.dataList | ||
| 205 | - this.total = res.data.count | 205 | + this.manifestData = res.data.data.list |
| 206 | + this.total = res.data.data.total | ||
| 206 | setTimeout(() =>{ | 207 | setTimeout(() =>{ |
| 207 | this.listLoading = false | 208 | this.listLoading = false |
| 208 | },1500) | 209 | },1500) |
| @@ -212,6 +213,7 @@ | @@ -212,6 +213,7 @@ | ||
| 212 | 213 | ||
| 213 | }, | 214 | }, |
| 214 | handleSearch(){ | 215 | handleSearch(){ |
| 216 | + this.listQuery.pageSize =1; | ||
| 215 | this.getList() | 217 | this.getList() |
| 216 | }, | 218 | }, |
| 217 | handleUpdateStatus(row){ | 219 | handleUpdateStatus(row){ |
| @@ -70,13 +70,6 @@ | @@ -70,13 +70,6 @@ | ||
| 70 | :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> | 70 | :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> |
| 71 | <el-table-column type="selection" width="55"> | 71 | <el-table-column type="selection" width="55"> |
| 72 | </el-table-column> | 72 | </el-table-column> |
| 73 | -<!-- <el-table-column label="航班信息" width="90" align="center">--> | ||
| 74 | -<!-- <template slot-scope="scope">--> | ||
| 75 | -<!-- <p class="tableInline">{{scope.row.carrier}}{{scope.row.flightno}}</p>--> | ||
| 76 | -<!-- <p class="tableInline">{{scope.row.flightdate}}</p>--> | ||
| 77 | -<!-- <p class="tableInline">{{scope.row.originstation}}-{{scope.row.destinationstation}}</p>--> | ||
| 78 | -<!-- </template>--> | ||
| 79 | -<!-- </el-table-column>--> | ||
| 80 | <el-table-column label="运单号" width="200" align="center"> | 73 | <el-table-column label="运单号" width="200" align="center"> |
| 81 | <template slot-scope="scope"> | 74 | <template slot-scope="scope"> |
| 82 | <span class="tableInline" v-if="scope.row.awbh !==''">{{scope.row.awbh}}</span> | 75 | <span class="tableInline" v-if="scope.row.awbh !==''">{{scope.row.awbh}}</span> |
| @@ -384,6 +377,7 @@ | @@ -384,6 +377,7 @@ | ||
| 384 | </el-row> | 377 | </el-row> |
| 385 | <div class="grid-content content" style="font-size: 10px"> | 378 | <div class="grid-content content" style="font-size: 10px"> |
| 386 | 发货人信息 | 379 | 发货人信息 |
| 380 | + <el-button type="success" @click="consignerSelect()">选择发货人信息</el-button> | ||
| 387 | </div> | 381 | </div> |
| 388 | <el-row> | 382 | <el-row> |
| 389 | <el-col :span="3"> | 383 | <el-col :span="3"> |
| @@ -459,6 +453,7 @@ | @@ -459,6 +453,7 @@ | ||
| 459 | </el-row> | 453 | </el-row> |
| 460 | <div class="grid-content content" style="font-size: 10px"> | 454 | <div class="grid-content content" style="font-size: 10px"> |
| 461 | 收货人信息 | 455 | 收货人信息 |
| 456 | + <el-button type="success" @click="consigneeSelect()">选择收货人信息</el-button> | ||
| 462 | </div> | 457 | </div> |
| 463 | <el-row> | 458 | <el-row> |
| 464 | <el-col :span="3"> | 459 | <el-col :span="3"> |
| @@ -638,6 +633,82 @@ | @@ -638,6 +633,82 @@ | ||
| 638 | <el-button type="primary" @click="sendDelete()">发送</el-button> | 633 | <el-button type="primary" @click="sendDelete()">发送</el-button> |
| 639 | </div> | 634 | </div> |
| 640 | </el-dialog> | 635 | </el-dialog> |
| 636 | + | ||
| 637 | + <el-dialog title="发货人信息" :visible.sync="dialogSelectVisible" width="50%"> | ||
| 638 | + <!--工具条--> | ||
| 639 | + <el-col :span="24" class="toolbar" style="padding-bottom: 0px;"> | ||
| 640 | + <el-form :inline="true" :model="consignerQuery"> | ||
| 641 | + <el-form-item> | ||
| 642 | + <el-input v-model="consignerQuery.companyName" placeholder="关键字查询"></el-input> | ||
| 643 | + </el-form-item> | ||
| 644 | + <el-form-item> | ||
| 645 | + <el-button type="primary" v-on:click="consignerSelect()">查询</el-button> | ||
| 646 | + </el-form-item> | ||
| 647 | + </el-form> | ||
| 648 | + </el-col> | ||
| 649 | + <el-table v-loading="listLoading" :data="consignerList" stripe style="font-size: 12px" | ||
| 650 | + border > | ||
| 651 | + <el-table-column type="selection" width="55"> | ||
| 652 | + </el-table-column> | ||
| 653 | + <el-table-column label="序号" type="index"> | ||
| 654 | + </el-table-column> | ||
| 655 | + <el-table-column prop="companyName" label="发货人公司" > | ||
| 656 | + </el-table-column> | ||
| 657 | + <el-table-column prop="conCity" label="发货人城市" > | ||
| 658 | + </el-table-column> | ||
| 659 | + <el-table-column prop="country" label="发货人国家代码" > | ||
| 660 | + </el-table-column> | ||
| 661 | + <el-table-column prop="conPhone" label="发货人电话" > | ||
| 662 | + </el-table-column> | ||
| 663 | + <el-table-column prop="enterprise" label="发货人企业代码" > | ||
| 664 | + </el-table-column> | ||
| 665 | + <el-table-column label="操作"> | ||
| 666 | + <template slot-scope="scope"> | ||
| 667 | + <el-button type="success" @click="consignerClick(scope.row)">选择</el-button> | ||
| 668 | + </template> | ||
| 669 | + </el-table-column> | ||
| 670 | + </el-table> | ||
| 671 | + <pagination background layout="total, prev, pager, next" v-show="consignerQuery.total>0" :total="consignerQuery.total" :page.sync="consignerQuery.pageSize" :limit.sync="consignerQuery.limitSize" | ||
| 672 | + @pagination="consignerSelect()"/> | ||
| 673 | + </el-dialog> | ||
| 674 | + <el-dialog title="收货人信息" :visible.sync="dialogNeeVisible" width="50%"> | ||
| 675 | + <!--工具条--> | ||
| 676 | + <el-col :span="24" class="toolbar" style="padding-bottom: 0px;"> | ||
| 677 | + <el-form :inline="true" :model="consignerQuery"> | ||
| 678 | + <el-form-item> | ||
| 679 | + <el-input v-model="consigneeQuery.companyName" placeholder="关键字查询"></el-input> | ||
| 680 | + </el-form-item> | ||
| 681 | + <el-form-item> | ||
| 682 | + <el-button type="primary" v-on:click="consigneeSelect()">查询</el-button> | ||
| 683 | + </el-form-item> | ||
| 684 | + </el-form> | ||
| 685 | + </el-col> | ||
| 686 | + <el-table v-loading="listLoading" :data="consigneeList" stripe style="font-size: 12px" | ||
| 687 | + border > | ||
| 688 | + <el-table-column type="selection" width="55"> | ||
| 689 | + </el-table-column> | ||
| 690 | + <el-table-column label="序号" type="index"> | ||
| 691 | + </el-table-column> | ||
| 692 | + <el-table-column prop="companyName" label="收货人公司" > | ||
| 693 | + </el-table-column> | ||
| 694 | + <el-table-column prop="conCity" label="收货人城市" > | ||
| 695 | + </el-table-column> | ||
| 696 | + <el-table-column prop="country" label="收货人国家代码" > | ||
| 697 | + </el-table-column> | ||
| 698 | + <el-table-column prop="conPhone" label="收货人电话" > | ||
| 699 | + </el-table-column> | ||
| 700 | + <el-table-column prop="enterprise" label="收货人企业代码" > | ||
| 701 | + </el-table-column> | ||
| 702 | + <el-table-column label="操作"> | ||
| 703 | + <template slot-scope="scope"> | ||
| 704 | + <el-button type="success" @click="consigneeClick(scope.row)">选择</el-button> | ||
| 705 | + </template> | ||
| 706 | + </el-table-column> | ||
| 707 | + </el-table> | ||
| 708 | + <pagination background layout="total, prev, pager, next" v-show="consigneeQuery.total>0" :total="consigneeQuery.total" :page.sync="consigneeQuery.pageSize" :limit.sync="consigneeQuery.limitSize" | ||
| 709 | + @pagination="consignerSelect()"/> | ||
| 710 | + </el-dialog> | ||
| 711 | + | ||
| 641 | </div> | 712 | </div> |
| 642 | </template> | 713 | </template> |
| 643 | <script> | 714 | <script> |
| @@ -659,6 +730,8 @@ | @@ -659,6 +730,8 @@ | ||
| 659 | } from '@/api/exitPre' | 730 | } from '@/api/exitPre' |
| 660 | import {Message} from "element-ui"; | 731 | import {Message} from "element-ui"; |
| 661 | import {getResponseForParam} from '@/api/responseDetail' | 732 | import {getResponseForParam} from '@/api/responseDetail' |
| 733 | + import { getList} from '../../api/consigner/consigner'; | ||
| 734 | + import { getList as neeList} from '../../api/consigner/consignee'; | ||
| 662 | import { | 735 | import { |
| 663 | validAwb, | 736 | validAwb, |
| 664 | validAlphabets, | 737 | validAlphabets, |
| @@ -706,6 +779,22 @@ | @@ -706,6 +779,22 @@ | ||
| 706 | func: treeToArray, | 779 | func: treeToArray, |
| 707 | total: 1, | 780 | total: 1, |
| 708 | isAdmin: false, | 781 | isAdmin: false, |
| 782 | + consignerList: [], | ||
| 783 | + dialogNeeVisible: false, | ||
| 784 | + consigneeList: [], | ||
| 785 | + consignerQuery: { | ||
| 786 | + companyName: '', | ||
| 787 | + total: 0, | ||
| 788 | + pageSize: 1, | ||
| 789 | + limitSize: 5, | ||
| 790 | + }, | ||
| 791 | + consigneeQuery: { | ||
| 792 | + companyName: '', | ||
| 793 | + total: 0, | ||
| 794 | + pageSize: 1, | ||
| 795 | + limitSize: 5, | ||
| 796 | + }, | ||
| 797 | + dialogSelectVisible: false, | ||
| 709 | preQuery: { | 798 | preQuery: { |
| 710 | pageSize: 1, | 799 | pageSize: 1, |
| 711 | limitSize: 30, | 800 | limitSize: 30, |
| @@ -1103,9 +1192,9 @@ | @@ -1103,9 +1192,9 @@ | ||
| 1103 | this.listLoading = true | 1192 | this.listLoading = true |
| 1104 | if (this.preQuery.awba !== undefined && this.preQuery.awba !== '') { | 1193 | if (this.preQuery.awba !== undefined && this.preQuery.awba !== '') { |
| 1105 | getMt2201ListForParam(this.preQuery).then(res => { | 1194 | getMt2201ListForParam(this.preQuery).then(res => { |
| 1106 | - this.preData = res.data.dataList | ||
| 1107 | - this.total = res.data.count | ||
| 1108 | - if (res.data.dataList.length > 0) { | 1195 | + this.preData = res.data.data.list |
| 1196 | + this.total = res.data.data.total | ||
| 1197 | + if (res.data.data.list.length > 0) { | ||
| 1109 | this.preQuery.carrier = this.preData[0].carrier | 1198 | this.preQuery.carrier = this.preData[0].carrier |
| 1110 | this.preQuery.flightno = this.preData[0].flightno | 1199 | this.preQuery.flightno = this.preData[0].flightno |
| 1111 | this.preQuery.flightdate = this.preData[0].flightdate | 1200 | this.preQuery.flightdate = this.preData[0].flightdate |
| @@ -1119,9 +1208,9 @@ | @@ -1119,9 +1208,9 @@ | ||
| 1119 | }) | 1208 | }) |
| 1120 | } else { | 1209 | } else { |
| 1121 | getMt2201ListForParam(this.preQuery).then(res => { | 1210 | getMt2201ListForParam(this.preQuery).then(res => { |
| 1122 | - this.preData = res.data.dataList | 1211 | + this.preData = res.data.data.list |
| 1123 | 1212 | ||
| 1124 | - this.total = res.data.count | 1213 | + this.total = res.data.data.total |
| 1125 | setTimeout(() => { | 1214 | setTimeout(() => { |
| 1126 | this.listLoading = false | 1215 | this.listLoading = false |
| 1127 | }, 1500) | 1216 | }, 1500) |
| @@ -1228,6 +1317,77 @@ | @@ -1228,6 +1317,77 @@ | ||
| 1228 | handleSelectionChange() { | 1317 | handleSelectionChange() { |
| 1229 | 1318 | ||
| 1230 | }, | 1319 | }, |
| 1320 | + // 远程获取发货人信息 | ||
| 1321 | + consignerSelect(){ | ||
| 1322 | + this.dialogSelectVisible = true; | ||
| 1323 | + this.listLoading = true; | ||
| 1324 | + let para = { | ||
| 1325 | + pageSize: this.consignerQuery.pageSize, | ||
| 1326 | + limitSize: this.consignerQuery.limitSize, | ||
| 1327 | + companyName: this.consignerQuery.companyName | ||
| 1328 | + }; | ||
| 1329 | + getList(para).then((res) => { | ||
| 1330 | + this.consignerQuery.total = res.data.data.total; | ||
| 1331 | + this.consignerList = res.data.data.list; | ||
| 1332 | + this.listLoading = false; | ||
| 1333 | + }).catch((error) => { | ||
| 1334 | + this.listLoading = false; | ||
| 1335 | + if(null!= error.response && error.response!==undefined){ | ||
| 1336 | + let status= error.response.status; | ||
| 1337 | + let msg = error.response.statusText; | ||
| 1338 | + alert(status+msg); | ||
| 1339 | + }else { | ||
| 1340 | + alert(error); | ||
| 1341 | + } | ||
| 1342 | + | ||
| 1343 | + }); | ||
| 1344 | + }, | ||
| 1345 | + // 远程获取收货人信息 | ||
| 1346 | + consigneeSelect(){ | ||
| 1347 | + this.dialogNeeVisible = true; | ||
| 1348 | + this.listLoading = true; | ||
| 1349 | + let para = { | ||
| 1350 | + pageSize: this.consigneeQuery.pageSize, | ||
| 1351 | + limitSize: this.consigneeQuery.limitSize, | ||
| 1352 | + companyName: this.consigneeQuery.companyName | ||
| 1353 | + }; | ||
| 1354 | + neeList(para).then((res) => { | ||
| 1355 | + this.consigneeQuery.total = res.data.data.total; | ||
| 1356 | + this.consigneeList = res.data.data.list; | ||
| 1357 | + this.listLoading = false; | ||
| 1358 | + }).catch((error) => { | ||
| 1359 | + this.listLoading = false; | ||
| 1360 | + if(null!= error.response && error.response!==undefined){ | ||
| 1361 | + let status= error.response.status; | ||
| 1362 | + let msg = error.response.statusText; | ||
| 1363 | + alert(status+msg); | ||
| 1364 | + }else { | ||
| 1365 | + alert(error); | ||
| 1366 | + } | ||
| 1367 | + | ||
| 1368 | + }); | ||
| 1369 | + }, | ||
| 1370 | + // 发货人信息赋值 | ||
| 1371 | + consignerClick(val){ | ||
| 1372 | + this.preModel.awbinfo.shprname=val.conName; | ||
| 1373 | + this.preModel.awbinfo.shpraddress=val.conAddress; | ||
| 1374 | + this.preModel.awbinfo.scityid=val.conCity; | ||
| 1375 | + this.preModel.awbinfo.shprtel=val.conPhone; | ||
| 1376 | + this.preModel.awbinfo.shpaeocode=val.conAeo; | ||
| 1377 | + this.preModel.awbinfo.shprcountyr=val.country; | ||
| 1378 | + this.dialogSelectVisible = false; | ||
| 1379 | + }, | ||
| 1380 | + // 收货人信息赋值 | ||
| 1381 | + consigneeClick(val){ | ||
| 1382 | + console.log(val); | ||
| 1383 | + this.preModel.awbinfo.cnsnname=val.conName; | ||
| 1384 | + this.preModel.awbinfo.cnsnaddress=val.conAddress; | ||
| 1385 | + this.preModel.awbinfo.ecityid=val.conCity; | ||
| 1386 | + this.preModel.awbinfo.cnsntel=val.conPhone; | ||
| 1387 | + this.preModel.awbinfo.cnsaeocode=val.conAeo; | ||
| 1388 | + this.preModel.awbinfo.cnscountyr=val.country; | ||
| 1389 | + this.dialogNeeVisible = false; | ||
| 1390 | + }, | ||
| 1231 | // >>>>>>>>>>>>>>>>搜索<<<<<<<<<<<<<<<<<< | 1391 | // >>>>>>>>>>>>>>>>搜索<<<<<<<<<<<<<<<<<< |
| 1232 | handleSerach() { | 1392 | handleSerach() { |
| 1233 | // this.preQuery.flightno = undefined | 1393 | // this.preQuery.flightno = undefined |
| @@ -1535,6 +1695,7 @@ | @@ -1535,6 +1695,7 @@ | ||
| 1535 | let residuePiece = 0 | 1695 | let residuePiece = 0 |
| 1536 | let residueWeight = 0 | 1696 | let residueWeight = 0 |
| 1537 | const childrenList = res.data.dataList[0].children | 1697 | const childrenList = res.data.dataList[0].children |
| 1698 | + | ||
| 1538 | if (childrenList.length < 1) { | 1699 | if (childrenList.length < 1) { |
| 1539 | this.awbPiece = res.data.dataList[0].piece | 1700 | this.awbPiece = res.data.dataList[0].piece |
| 1540 | this.awbWeight = res.data.dataList[0].weight | 1701 | this.awbWeight = res.data.dataList[0].weight |
| @@ -585,9 +585,9 @@ | @@ -585,9 +585,9 @@ | ||
| 585 | //根据是否有主单号 来给查询条件赋值 | 585 | //根据是否有主单号 来给查询条件赋值 |
| 586 | if (this.tidyQuery.awba !== undefined && this.tidyQuery.awba !== '') { | 586 | if (this.tidyQuery.awba !== undefined && this.tidyQuery.awba !== '') { |
| 587 | getMt520XListForParam(this.tidyQuery).then(res => { | 587 | getMt520XListForParam(this.tidyQuery).then(res => { |
| 588 | - this.tidyData = res.data.dataList | ||
| 589 | - this.total = res.data.count | ||
| 590 | - if (res.data.dataList.length > 0) { | 588 | + this.tidyData = res.data.data.list; |
| 589 | + this.total = res.data.data.total | ||
| 590 | + if (res.data.data.list.length > 0) { | ||
| 591 | this.tidyQuery.carrier = this.tidyData[0].carrier | 591 | this.tidyQuery.carrier = this.tidyData[0].carrier |
| 592 | this.tidyQuery.flightno = this.tidyData[0].flightno | 592 | this.tidyQuery.flightno = this.tidyData[0].flightno |
| 593 | this.tidyQuery.flightdate = this.tidyData[0].flightdate | 593 | this.tidyQuery.flightdate = this.tidyData[0].flightdate |
| @@ -601,8 +601,8 @@ | @@ -601,8 +601,8 @@ | ||
| 601 | }) | 601 | }) |
| 602 | } else { | 602 | } else { |
| 603 | getMt520XListForParam(this.tidyQuery).then(res => { | 603 | getMt520XListForParam(this.tidyQuery).then(res => { |
| 604 | - this.tidyData = res.data.dataList | ||
| 605 | - this.total = res.data.count | 604 | + this.tidyData = res.data.data.list; |
| 605 | + this.total = res.data.data.total; | ||
| 606 | setTimeout(() => { | 606 | setTimeout(() => { |
| 607 | this.listLoading = false | 607 | this.listLoading = false |
| 608 | }, 1500) | 608 | }, 1500) |
src/views/security/security.vue
0 → 100644
此 diff 太大无法显示。
-
请 注册 或 登录 后发表评论