正在显示
1 个修改的文件
包含
144 行增加
和
0 行删除
1 | +<template> | ||
2 | + <el-container> | ||
3 | + <el-main> | ||
4 | + <el-row class="row-bg"> | ||
5 | + <el-col :span="24"> | ||
6 | + <div class="grid-content content">航线查询</div> | ||
7 | + </el-col> | ||
8 | + </el-row> | ||
9 | + <el-row> | ||
10 | + <el-form :label-position="labelPosition" :model="queryRoute" :rules="rules" ref="queryRoute" label-width="130px" class="demo-ruleForm"> | ||
11 | + <el-col :span="8"> | ||
12 | + <el-form-item label="航线序号" prop="seqNo" label-width="80px"> | ||
13 | + <el-input v-model="queryRoute.seqNo"></el-input> | ||
14 | + </el-form-item> | ||
15 | + </el-col> | ||
16 | + <el-col :span="3"> <el-button type="primary" @click="submitForm('queryRoute')">保 存</el-button></el-col> | ||
17 | + </el-form> | ||
18 | + </el-row> | ||
19 | + <el-row> | ||
20 | + <el-table | ||
21 | + :data="tableData" | ||
22 | + border | ||
23 | + style="width: 100%;margin-bottom: 10px"> | ||
24 | + <el-table-column | ||
25 | + fixed="left" | ||
26 | + label="操作" | ||
27 | + width="100"> | ||
28 | + <template slot-scope="scope"> | ||
29 | + <el-button | ||
30 | + size="mini" | ||
31 | + type="primary" | ||
32 | + @click="handleEdit(scope.$index, scope.row)">选择</el-button> | ||
33 | + </template> | ||
34 | + </el-table-column> | ||
35 | + <el-table-column | ||
36 | + fixed | ||
37 | + prop="serialNo" | ||
38 | + label="航线序号" | ||
39 | + width="80"> | ||
40 | + </el-table-column> | ||
41 | + <el-table-column | ||
42 | + fixed | ||
43 | + prop="departurePort" | ||
44 | + label="出发港" | ||
45 | + width="80"> | ||
46 | + </el-table-column> | ||
47 | + <el-table-column | ||
48 | + fixed | ||
49 | + prop="departureCustomNo" | ||
50 | + label="出发港关区代码" | ||
51 | + width="150"> | ||
52 | + </el-table-column> | ||
53 | + <el-table-column | ||
54 | + fixed | ||
55 | + prop="arrivalPort" | ||
56 | + label="目的港" | ||
57 | + width="80"> | ||
58 | + </el-table-column> | ||
59 | + <el-table-column | ||
60 | + fixed | ||
61 | + prop="arrivalCustomNo" | ||
62 | + label="目的港关区代码" | ||
63 | + width="150"> | ||
64 | + </el-table-column> | ||
65 | + <el-table-column | ||
66 | + fixed | ||
67 | + prop="std" | ||
68 | + label="长期离港时间" | ||
69 | + width="150"> | ||
70 | + </el-table-column> | ||
71 | + <el-table-column | ||
72 | + fixed | ||
73 | + prop="sta" | ||
74 | + label="长期抵港时间" | ||
75 | + width="150"> | ||
76 | + </el-table-column> | ||
77 | + <el-table-column | ||
78 | + fixed | ||
79 | + prop="effStartdate" | ||
80 | + label="有效期起始时间" | ||
81 | + width="150"> | ||
82 | + </el-table-column> | ||
83 | + <el-table-column | ||
84 | + fixed | ||
85 | + prop="effEnddate" | ||
86 | + label="有效期结束时间" | ||
87 | + width="150"> | ||
88 | + </el-table-column> | ||
89 | + <el-table-column | ||
90 | + fixed | ||
91 | + prop="plan" | ||
92 | + label="每周执行情况" | ||
93 | + width="150"> | ||
94 | + </el-table-column> | ||
95 | + <el-table-column | ||
96 | + fixed | ||
97 | + prop="remark" | ||
98 | + label="报文操作" | ||
99 | + width="150"> | ||
100 | + <template slot-scope="scope"> | ||
101 | + <el-button | ||
102 | + size="mini" | ||
103 | + type="primary" | ||
104 | + @click="handleEdit(scope.$index, scope.row)">选择</el-button> | ||
105 | + </template> | ||
106 | + </el-table-column> | ||
107 | + </el-table> | ||
108 | + </el-row> | ||
109 | + | ||
110 | + </el-main> | ||
111 | + </el-container> | ||
112 | +</template> | ||
113 | +<style scoped> | ||
114 | + .grid-content { | ||
115 | + height: 36px; | ||
116 | + line-height: 36px; | ||
117 | + } | ||
118 | + .el-dialog__body{text-align: center} | ||
119 | + .content { | ||
120 | + border-left: 4px #409EFF solid; | ||
121 | + padding-left: 10px; | ||
122 | + background-color: #f9fafc; | ||
123 | + margin-bottom: 2px | ||
124 | + } | ||
125 | + | ||
126 | + .row-bg{ | ||
127 | + background-color: white; | ||
128 | + } | ||
129 | +</style> | ||
130 | +<script> | ||
131 | + export default { | ||
132 | + data(){ | ||
133 | + return{ | ||
134 | + queryRoute:{ | ||
135 | + seqNo:undefined | ||
136 | + }, | ||
137 | + rules:{}, | ||
138 | + labelPosition:'left' | ||
139 | + } | ||
140 | + }, | ||
141 | + methods(){ | ||
142 | + } | ||
143 | + } | ||
144 | +</script> |
-
请 注册 或 登录 后发表评论