123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238 |
- <template>
- <div style="width: 70%;margin: 0 auto;display:flex;justify-content: space-around">
- <div style="width: 20%;height: 392px; margin-top: 60px;border: 1px solid #e7e7e7">
- <el-menu
- default-active="3"
- class="el-menu-vertical-demo"
- @open="handleOpen"
- @close="handleClose">
- <el-menu-item index="1">
- <i class="el-icon-menu"></i>
- <span slot="title">订舱须知</span>
- </el-menu-item>
- <el-menu-item index="2">
- <i class="el-icon-setting"></i>
- <span slot="title">我的模板</span>
- </el-menu-item>
- <el-menu-item index="3">
- <i class="el-icon-setting"></i>
- <span slot="title">我的订单</span>
- </el-menu-item>
- <el-menu-item index="4">
- <i class="el-icon-setting"></i>
- <span slot="title">申请放货</span>
- </el-menu-item>
- <el-menu-item index="5">
- <i class="el-icon-setting"></i>
- <span slot="title">我的拆改单</span>
- </el-menu-item>
- <el-menu-item index="6">
- <i class="el-icon-setting"></i>
- <span slot="title">在线换单</span>
- </el-menu-item>
- <el-menu-item index="7">
- <i class="el-icon-setting"></i>
- <span slot="title">快捷支付</span>
- </el-menu-item>
- </el-menu>
- </div>
- <div
- style="width: 80%;border: 1px solid #f7f7f7;background: #FFFFFF;box-shadow: 0px 4px 13px 0px rgba(200, 200, 200, 0.44);margin-bottom: 20px">
- <el-menu
- :default-active="activeIndex"
- class="el-menu-demo"
- mode="horizontal"
- @select="handleSelect"
- background-color="#545c64"
- text-color="#fff"
- active-text-color="#ffd04b">
- <el-menu-item index="1">全部</el-menu-item>
- <el-menu-item index="2">订单待付</el-menu-item>
- <el-menu-item index="3">已配船</el-menu-item>
- <el-menu-item index="4">待受理</el-menu-item>
- <el-menu-item index="5">已撤销</el-menu-item>
- <el-menu-item index="6">已驳回</el-menu-item>
- <el-menu-item index="7">运单变更</el-menu-item>
- </el-menu>
- <div style="width: 100%;display:flex;justify-content: space-around;">
- <div style="width: 20%;">
- <el-input placeholder="订舱单" v-model="filterAll.fBillno"></el-input>
- <el-input placeholder="船名" v-model="filterAll.vslidName"></el-input>
- <el-input placeholder="箱号" v-model="filterAll.boxNumber"></el-input>
- </div>
- <div style="width: 20%;">
- <el-input placeholder="收货人" v-model="filterAll.fConsigneername"></el-input>
- <el-input placeholder="航次" v-model="filterAll.voyidName"></el-input>
- <el-input placeholder="条数"></el-input>
- </div>
- <div style="width: 50%;">
- <div style="display:flex;justify-content: space-between">
- <el-input placeholder="始发港" style="width: 45%;"></el-input>
- <span style="margin-top: 20px">至</span>
- <el-input placeholder="目的港" style="width: 45%;"></el-input>
- </div>
- <div style="display:flex;justify-content: space-between;">
- <el-input placeholder="创建开始时间" style="width: 45%;" v-model="filterAll.startTime"></el-input>
- <span style="margin-top: 20px">至</span>
- <el-input placeholder="创建结束时间" style="width: 45%;" v-model="filterAll.endTime"></el-input>
- </div>
- <div style="display:flex;justify-content: space-between;">
- <el-input placeholder="单据有效期结束" style="width: 45%;"></el-input>
- <span style="margin-top: 20px"> </span>
- <el-input placeholder="货名" style="width: 45%;"></el-input>
- </div>
- </div>
- </div>
- <div style="width: 100%;display:flex;justify-content: space-between;">
- <div style="display: flex;align-items: center;padding-left: 20px">
- <!-- <el-checkbox v-model="checked">全选</el-checkbox>-->
- </div>
- <div style="margin-right: 20px">
- <el-button type="success" plain>装箱单下载</el-button>
- <el-dropdown>
- <el-button type="success" plain>
- 委托书下载
- </el-button>
- <el-dropdown-menu slot="dropdown">
- <el-dropdown-item>合并PDF</el-dropdown-item>
- <el-dropdown-item>批量PDF</el-dropdown-item>
- </el-dropdown-menu>
- </el-dropdown>
- <el-dropdown>
- <el-button type="success" plain>
- 运单下载
- </el-button>
- <el-dropdown-menu slot="dropdown">
- <el-dropdown-item>合并PDF</el-dropdown-item>
- <el-dropdown-item>批量PDF</el-dropdown-item>
- </el-dropdown-menu>
- </el-dropdown>
- <el-dropdown>
- <el-button type="success" plain>
- 放箱单下载
- </el-button>
- <el-dropdown-menu slot="dropdown">
- <el-dropdown-item>华南片区</el-dropdown-item>
- <el-dropdown-item>虎门提重</el-dropdown-item>
- </el-dropdown-menu>
- </el-dropdown>
- <el-button type="primary" icon="el-icon-search" @click="getList">查询</el-button>
- </div>
- </div>
- <div
- style="margin-top: 20px;background: #FFFFFF;box-shadow: 0px 4px 13px 0px rgba(200, 200, 200, 0.44);padding-top: 20px;"
- v-for="(item,index) in dataList" :key="index">
- <div style="left: 10px;display: flex;justify-content: space-between;border-bottom: 2px solid #EEEFEE;">
- <div style="display: flex;padding-left:10px;">
- <!-- `checked` 为 true 或 false -->
- <!-- <el-checkbox v-model="checked" style="margin-top: -8px">-->
- <!-- </el-checkbox>-->
- <span style="margin-top: -14px">单箱合计:<span>0元</span></span>
- </div>
- <div style="display: flex;flex-direction: column;align-items: flex-end;margin-right: -10px">
- <div
- style="width:100px;height:30px;background-color: #545c64;line-height: 30px;color: #fff;border-radius: 50px 0 0 50px;margin-top: -20px;font-size: 14px;">
- {{item.fBillstatus}}
- </div>
- <div
- style="width: 0px;height: 0px;border-color: #000000 white white #000000;border-width: 4px 4px 4px 4px;border-style: solid;margin-top:-2px"></div>
- </div>
- </div>
- <div style="display:flex;">
- <div
- style="width:85%;padding-left:20px;display: flex;justify-content: space-around;flex-wrap: wrap;text-align: left;border-right:2px solid #EEEFEE ">
- <p style="width:25%"><span>订舱号:</span><span>{{ item.fBillno }}</span></p>
- <p style="width:25%"><span>提单号:</span><span>{{ item.fMblno }}</span></p>
- <p style="width:25%"><span>运输条款:</span><span>{{ item.fServiceitems }}</span></p>
- <p style="width:25%"><span>收货人:</span><span>{{ item.fConsigneername }}</span></p>
- <p style="width:25%"><span>航线:</span><span>{{ item.fName }}</span></p>
- <p style="width:25%"><span>箱型:</span><span>{{ item.fNo }}</span></p>
- <p style="width:25%"><span>箱量:</span><span>{{ item.fCntrcount }}</span></p>
- <p style="width:25%"><span>装货时间:</span><span>{{ item.fBsdate }}</span></p>
- </div>
- <div style="width:15%;display:flex;flex-direction: column;align-items: center;margin-top: 40px">
- <el-button type="primary" size="small" style="width:80%; margin-left: 4px" @click="details(item.fId)">详情
- </el-button>
- <!-- <el-button type="primary" size="small" style="width:80%;margin: 10px 0 0 4px">再来一单</el-button>-->
- </div>
- </div>
- </div>
- <!-- <div style="float: right;height: 40px;padding-top: 30px;margin-right: 20px">-->
- <!-- <el-pagination-->
- <!-- @size-change="handleSizeChange"-->
- <!-- @current-change="handleCurrentChange"-->
- <!-- :current-page="currentPage4"-->
- <!-- :page-sizes="[100, 200, 300, 400]"-->
- <!-- :page-size="100"-->
- <!-- layout="total, sizes, prev, pager, next, jumper"-->
- <!-- :total="400">-->
- <!-- </el-pagination>-->
- <!-- <pagination-->
- <!-- v-show="total>0"-->
- <!-- :total="total"-->
- <!-- :page.sync="queryParams.pageNum"-->
- <!-- :limit.sync="queryParams.pageSize"-->
- <!-- @pagination="getList"-->
- <!-- />-->
- <!-- </div>-->
- </div>
- </div>
- </template>
- <script>
- import { request } from '../../request/request';
- export default {
- name: 'myorder',
- data() {
- return {
- activeIndex: '1',
- checked: true,
- filterAll: {},
- dataList: []
- };
- },
- created() {
- this.getList()
- },
- methods: {
- getList() {
- request({
- url: '/khwarehouse/warehousebills/webVersionOrderMessage',
- method: 'post',
- data: this.filterAll
- })
- .then(res => {
- console.log(res);
- this.dataList = res.data.rows;
- })
- .catch(err => {
- console.log(err);
- });
- },
- details(fId) {
- // console.log(fId);
- // this.$router.push({ path: '/contractPlacing/index', query: { userId: fId } });
- this.$router.push({
- path: '/contractPlacing/index',
- query: { data:JSON.stringify(fId) },
- });
- },
- handleSelect(key, keyPath) {
- console.log(key, keyPath);
- },
- handleOpen(key, keyPath) {
- console.log(key, keyPath);
- },
- handleClose(key, keyPath) {
- console.log(key, keyPath);
- }
- }
- };
- </script>
- <style scoped>
- .el-input {
- margin: 10px auto;
- }
- </style>
|