正在显示
1 个修改的文件
包含
44 行增加
和
2 行删除
| @@ -10,13 +10,28 @@ | @@ -10,13 +10,28 @@ | ||
| 10 | <el-row> | 10 | <el-row> |
| 11 | <el-form :label-position="labelPosition" :model="form" ref="queryFlight" | 11 | <el-form :label-position="labelPosition" :model="form" ref="queryFlight" |
| 12 | label-width="130px" class="demo-ruleForm"> | 12 | label-width="130px" class="demo-ruleForm"> |
| 13 | - <el-col :span="7" > | 13 | + <el-col :span="5" > |
| 14 | <el-form-item label="" prop="awba" label-width="70px"> | 14 | <el-form-item label="" prop="awba" label-width="70px"> |
| 15 | <el-input v-model="form.awba" style="width:250px"> | 15 | <el-input v-model="form.awba" style="width:250px"> |
| 16 | <template slot="prepend">主单号</template> | 16 | <template slot="prepend">主单号</template> |
| 17 | </el-input> | 17 | </el-input> |
| 18 | </el-form-item> | 18 | </el-form-item> |
| 19 | </el-col> | 19 | </el-col> |
| 20 | + <el-col :span="8" > | ||
| 21 | + <el-form-item label="" prop="status" label-width="70px"> | ||
| 22 | +<!-- <el-input v-model="form.status" style="width:250px">--> | ||
| 23 | +<!-- <template slot="prepend">运单状态</template>--> | ||
| 24 | +<!-- </el-input>--> | ||
| 25 | + <div style="display: inline-block;background-color: #6F8294;color: white; | ||
| 26 | + border-top-left-radius: 4px;margin-right: -4px;padding-right: 14px;font-size: 12px; | ||
| 27 | + border-bottom-left-radius:4px;padding-left: 14px">运单状态</div> | ||
| 28 | + <el-select v-model="form.status" style="width:250px"> | ||
| 29 | + <el-option label="正常" value="30"></el-option> | ||
| 30 | + <el-option label="未理货" value="31"></el-option> | ||
| 31 | + <el-option label="无原始" value="33"></el-option> | ||
| 32 | + </el-select> | ||
| 33 | + </el-form-item> | ||
| 34 | + </el-col> | ||
| 20 | <el-col :span="5" > | 35 | <el-col :span="5" > |
| 21 | <el-button type="primary" @click="getList()">查询</el-button> | 36 | <el-button type="primary" @click="getList()">查询</el-button> |
| 22 | </el-col> | 37 | </el-col> |
| @@ -93,6 +108,20 @@ | @@ -93,6 +108,20 @@ | ||
| 93 | </el-table-column> | 108 | </el-table-column> |
| 94 | </el-table> | 109 | </el-table> |
| 95 | </el-row> | 110 | </el-row> |
| 111 | + <!--分页模块--> | ||
| 112 | + <el-row style="float: right;margin-top: 20px"> | ||
| 113 | + <div class="block"> | ||
| 114 | + <el-pagination | ||
| 115 | + @size-change="handleSizeChange" | ||
| 116 | + @current-change="handleCurrentChange" | ||
| 117 | + :current-page="pageNum" | ||
| 118 | + :page-sizes="[10, 20, 30, 40]" | ||
| 119 | + :page-size="pageSize" | ||
| 120 | + layout="total, sizes, prev, pager, next, jumper" | ||
| 121 | + :total="total"> | ||
| 122 | + </el-pagination> | ||
| 123 | + </div> | ||
| 124 | + </el-row> | ||
| 96 | <el-dialog title="运单明细" :visible.sync="dialogFormVisible" width="65%"> | 125 | <el-dialog title="运单明细" :visible.sync="dialogFormVisible" width="65%"> |
| 97 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="labelPosition" size="mini"> | 126 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="labelPosition" size="mini"> |
| 98 | <el-row class="flightInfo"> | 127 | <el-row class="flightInfo"> |
| @@ -241,8 +270,12 @@ | @@ -241,8 +270,12 @@ | ||
| 241 | data(){ | 270 | data(){ |
| 242 | return{ | 271 | return{ |
| 243 | form:{ | 272 | form:{ |
| 244 | - awba:'' | 273 | + awba:'', |
| 274 | + status:'' | ||
| 245 | }, | 275 | }, |
| 276 | + pageNum:1, | ||
| 277 | + pageSize:100, | ||
| 278 | + total:0, | ||
| 246 | ruleForm:{ | 279 | ruleForm:{ |
| 247 | stockpre:'', | 280 | stockpre:'', |
| 248 | stockno:'', | 281 | stockno:'', |
| @@ -274,6 +307,15 @@ | @@ -274,6 +307,15 @@ | ||
| 274 | } | 307 | } |
| 275 | }, | 308 | }, |
| 276 | methods:{ | 309 | methods:{ |
| 310 | + /*分页方法*/ | ||
| 311 | + handleSizeChange(val) { | ||
| 312 | + this.pageSize=val; | ||
| 313 | + this.getList(); | ||
| 314 | + }, | ||
| 315 | + handleCurrentChange(val) { | ||
| 316 | + this.currentPage=val; | ||
| 317 | + this.getList(); | ||
| 318 | + }, | ||
| 277 | // 获取消息标签列表 | 319 | // 获取消息标签列表 |
| 278 | getList() { | 320 | getList() { |
| 279 | const _this = this | 321 | const _this = this |
-
请 注册 或 登录 后发表评论