|
@@ -3,7 +3,8 @@
|
|
<head>
|
|
<head>
|
|
<title>边民订单表-列表</title>
|
|
<title>边民订单表-列表</title>
|
|
<meta charset="utf-8">
|
|
<meta charset="utf-8">
|
|
- <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
|
|
|
|
|
|
+ <meta name="viewport"
|
|
|
|
+ content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
|
|
<!-- 所有的 css & js 资源 -->
|
|
<!-- 所有的 css & js 资源 -->
|
|
<link rel="stylesheet" href="../../static/kj/element-ui/theme-chalk/index.css">
|
|
<link rel="stylesheet" href="../../static/kj/element-ui/theme-chalk/index.css">
|
|
<link rel="stylesheet" href="../../static/sa.css">
|
|
<link rel="stylesheet" href="../../static/sa.css">
|
|
@@ -15,10 +16,14 @@
|
|
<script src="../../static/sa.js"></script>
|
|
<script src="../../static/sa.js"></script>
|
|
<style>
|
|
<style>
|
|
hr {
|
|
hr {
|
|
- border: none; /* 移除默认边框 */
|
|
|
|
- height: 1px; /* 设置高度 */
|
|
|
|
- background-color: gainsboro;/* 设置颜色 */
|
|
|
|
- margin: 5px 0; /* 设置上下外边距 */
|
|
|
|
|
|
+ border: none;
|
|
|
|
+ /* 移除默认边框 */
|
|
|
|
+ height: 1px;
|
|
|
|
+ /* 设置高度 */
|
|
|
|
+ background-color: gainsboro;
|
|
|
|
+ /* 设置颜色 */
|
|
|
|
+ margin: 5px 0;
|
|
|
|
+ /* 设置上下外边距 */
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|
|
</head>
|
|
</head>
|
|
@@ -26,8 +31,8 @@
|
|
<div class="vue-box" style="display: none;" :style="'display: block;'">
|
|
<div class="vue-box" style="display: none;" :style="'display: block;'">
|
|
<div class="c-panel">
|
|
<div class="c-panel">
|
|
<el-form v-if="bigData">
|
|
<el-form v-if="bigData">
|
|
- <div style="color: red;font-weight: bold">请核对当前进境结算单信息,以下列表为未结关的订单:</div>
|
|
|
|
- <el-row style="margin-left: 200px;">
|
|
|
|
|
|
+ <el-divider content-position="left">结算单信息</el-divider>
|
|
|
|
+ <el-row style="margin-left: 50px;">
|
|
<el-col span="8">
|
|
<el-col span="8">
|
|
<sa-info name="车牌号" br>{{bigData.veNo}}</sa-info>
|
|
<sa-info name="车牌号" br>{{bigData.veNo}}</sa-info>
|
|
<sa-info name="预申报编号" br>{{bigData.platSeqNo}}</sa-info>
|
|
<sa-info name="预申报编号" br>{{bigData.platSeqNo}}</sa-info>
|
|
@@ -36,43 +41,39 @@
|
|
<el-col span="8">
|
|
<el-col span="8">
|
|
<sa-info name="总毛重(kg)" br>{{bigData.sumGrossWt}}</sa-info>
|
|
<sa-info name="总毛重(kg)" br>{{bigData.sumGrossWt}}</sa-info>
|
|
<sa-info name="总净重(kg)" br>{{bigData.sumNetWt}}</sa-info>
|
|
<sa-info name="总净重(kg)" br>{{bigData.sumNetWt}}</sa-info>
|
|
- <sa-info name="总金额" br>{{bigData.sumAmt}}</sa-info>
|
|
|
|
|
|
+ <sa-info name="总金额(元)" br>{{bigData.sumAmt}}</sa-info>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col span="8">
|
|
<el-col span="8">
|
|
<sa-info name="互市区" br>{{bigData.fieldName}}</sa-info>
|
|
<sa-info name="互市区" br>{{bigData.fieldName}}</sa-info>
|
|
<sa-info name="创建时间" br>{{bigData.createTime}}</sa-info>
|
|
<sa-info name="创建时间" br>{{bigData.createTime}}</sa-info>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ <el-button type="success" icon="el-icon-info" @click="sendCXB001ByVeNo()">按车推送结关</el-button>
|
|
</el-row>
|
|
</el-row>
|
|
</el-form>
|
|
</el-form>
|
|
- <hr>
|
|
|
|
- <el-form ref="form" @submit.native.prevent>
|
|
|
|
- <el-button type="success" icon="el-icon-info" @click="sendCXB001ByVeNo()">按车推送结关</el-button>
|
|
|
|
- </el-form>
|
|
|
|
|
|
+ <el-divider content-position="left">边民订单</el-divider>
|
|
<!-- ------------- 数据列表 ------------- -->
|
|
<!-- ------------- 数据列表 ------------- -->
|
|
- <el-table class="data-table" ref="data-table" :data="dataList" >
|
|
|
|
- <sa-td type="index" width="30px"></sa-td>
|
|
|
|
- <sa-td name="车牌号" prop="veNo" ></sa-td>
|
|
|
|
- <sa-td name="订单号" prop="tradeNo" width="180"></sa-td>
|
|
|
|
- <sa-td name="买家" prop="buyUserName" ></sa-td>
|
|
|
|
- <sa-td name="商家名称" prop="enterpriseName" width="280px"></sa-td>
|
|
|
|
|
|
+ <el-table class="data-table" ref="data-table" :data="dataList">
|
|
|
|
+ <sa-td type="index" name="序号" width="80px"></sa-td>
|
|
|
|
+ <sa-td name="车牌号" prop="veNo"></sa-td>
|
|
|
|
+ <sa-td name="买家" prop="buyUserName"></sa-td>
|
|
<sa-td name="商品名称" prop="goodsNames" width="200px"></sa-td>
|
|
<sa-td name="商品名称" prop="goodsNames" width="200px"></sa-td>
|
|
- <sa-td name="总重量" prop="netWt" ></sa-td>
|
|
|
|
- <sa-td name="总金额" prop="totalPrice" ></sa-td>
|
|
|
|
- <sa-td name="上架金额(元)" prop="upPrice" ></sa-td>
|
|
|
|
- <sa-td name="订单状态" prop="upStatus" >
|
|
|
|
|
|
+ <sa-td name="总重量" prop="netWt"></sa-td>
|
|
|
|
+ <sa-td name="总金额" prop="totalPrice"></sa-td>
|
|
|
|
+ <sa-td name="上架金额(元)" prop="upPrice" width="100px"></sa-td>
|
|
|
|
+ <sa-td name="订单状态" prop="upStatus">
|
|
<template slot-scope="s">
|
|
<template slot-scope="s">
|
|
<div v-if="s.row.upStatus===2">已上架</div>
|
|
<div v-if="s.row.upStatus===2">已上架</div>
|
|
<div v-else>未上架</div>
|
|
<div v-else>未上架</div>
|
|
</template>
|
|
</template>
|
|
</sa-td>
|
|
</sa-td>
|
|
- <sa-td name="过卡状态" prop="finishStatus" >
|
|
|
|
|
|
+ <sa-td name="过卡状态" prop="finishStatus">
|
|
<template slot-scope="s">
|
|
<template slot-scope="s">
|
|
<div v-if="s.row.finishStatus===1">已过卡3</div>
|
|
<div v-if="s.row.finishStatus===1">已过卡3</div>
|
|
<div v-else>未过卡3</div>
|
|
<div v-else>未过卡3</div>
|
|
</template>
|
|
</template>
|
|
</sa-td>
|
|
</sa-td>
|
|
<!--(一级市场)订单扣款回执状态[0=初始值 1=扣款成功 2=扣款失败]-->
|
|
<!--(一级市场)订单扣款回执状态[0=初始值 1=扣款成功 2=扣款失败]-->
|
|
- <sa-td name="扣款状态" prop="sxb010Status" >
|
|
|
|
|
|
+ <sa-td name="扣款状态" prop="sxb010Status">
|
|
<template slot-scope="s">
|
|
<template slot-scope="s">
|
|
<div v-if="s.row.sxb010Status===1">扣款成功</div>
|
|
<div v-if="s.row.sxb010Status===1">扣款成功</div>
|
|
<div v-else-if="s.row.sxb010Status===2">扣款失败</div>
|
|
<div v-else-if="s.row.sxb010Status===2">扣款失败</div>
|
|
@@ -80,17 +81,11 @@
|
|
<div v-else>未确认</div>
|
|
<div v-else>未确认</div>
|
|
</template>
|
|
</template>
|
|
</sa-td>
|
|
</sa-td>
|
|
- <sa-td name="补扣次数" prop="deductionCount">
|
|
|
|
- <template slot-scope="s">
|
|
|
|
- <div v-if="s.row.deductionCount==0">0</div>
|
|
|
|
- <div v-else>{{s.row.deductionCount}}</div>
|
|
|
|
- </template>
|
|
|
|
- </sa-td>
|
|
|
|
- <sa-td name="补扣时间" prop="deductionTime" width="140px"></sa-td>
|
|
|
|
<sa-td name="创建时间" prop="createTime" width="140px"></sa-td>
|
|
<sa-td name="创建时间" prop="createTime" width="140px"></sa-td>
|
|
</el-table>
|
|
</el-table>
|
|
<!-- ------------- 分页 ------------- -->
|
|
<!-- ------------- 分页 ------------- -->
|
|
- <sa-item type="page" :curr.sync="p.pageNo" :size.sync="p.pageSize" :total="dataCount" @change="f5()"></sa-item>
|
|
|
|
|
|
+ <sa-item type="page" :curr.sync="p.pageNo" :size.sync="p.pageSize" :total="dataCount"
|
|
|
|
+ @change="f5()"></sa-item>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
<script>
|
|
@@ -106,10 +101,10 @@
|
|
id: sa.p('id', 0),
|
|
id: sa.p('id', 0),
|
|
p: { // 查询参数
|
|
p: { // 查询参数
|
|
id: sa.p('id', 0),
|
|
id: sa.p('id', 0),
|
|
- veNo: sa.p('veNo', 0), // 车牌号
|
|
|
|
- pageNo: 1, // 当前页
|
|
|
|
- pageSize: 10, // 页大小
|
|
|
|
- sortType: 0 // 排序方式
|
|
|
|
|
|
+ veNo: sa.p('veNo', 0), // 车牌号
|
|
|
|
+ pageNo: 1, // 当前页
|
|
|
|
+ pageSize: 10, // 页大小
|
|
|
|
+ sortType: 0 // 排序方式
|
|
},
|
|
},
|
|
dataCount: 0,
|
|
dataCount: 0,
|
|
dataList: [], // 数据集合
|
|
dataList: [], // 数据集合
|
|
@@ -117,37 +112,38 @@
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
sendCXB001ByVeNo() {
|
|
sendCXB001ByVeNo() {
|
|
- if(this.dataCount === 0 ) {
|
|
|
|
- sa.error('当前车没有需要推送结关的订单')
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
sa.confirm('是否执行推送当前列表订单的结关信息操作', function() {
|
|
sa.confirm('是否执行推送当前列表订单的结关信息操作', function() {
|
|
- sa.ajax('/level-one-server/TbOrder/sendCXB001ByVeNo?veNo=' + this.veNo, function(res) {
|
|
|
|
- sa.alert('操作成功', this.clean);
|
|
|
|
- }.bind(this))
|
|
|
|
|
|
+ sa.ajax('/level-one-server/TbOrder/sendCXB001ByVeNo?veNo=' + this.veNo + '&id=' +
|
|
|
|
+ this.id,
|
|
|
|
+ function(res) {
|
|
|
|
+ sa.alert('执行成功', this.clean);
|
|
|
|
+ }.bind(this))
|
|
}.bind(this));
|
|
}.bind(this));
|
|
},
|
|
},
|
|
clean: function() {
|
|
clean: function() {
|
|
- parent.app.f5(); // 刷新父页面列表
|
|
|
|
- sa.closeCurrIframe(); // 关闭本页
|
|
|
|
|
|
+ parent.app.f5(); // 刷新父页面列表
|
|
|
|
+ sa.closeCurrIframe(); // 关闭本页
|
|
},
|
|
},
|
|
f5: function() {
|
|
f5: function() {
|
|
- sa.ajax('/level-one-server/TbOrder/getSendCXB001ByVeNoList', sa.removeNull(this.p), function(res) {
|
|
|
|
|
|
+ sa.ajax('/level-one-server/TbOrder/getSendCXB001ByVeNoList', sa.removeNull(this.p), function(
|
|
|
|
+ res) {
|
|
this.dataList = res.data; // 数据
|
|
this.dataList = res.data; // 数据
|
|
this.dataCount = res.dataCount; // 数据总数
|
|
this.dataCount = res.dataCount; // 数据总数
|
|
- sa.f5TableHeight(); // 刷新表格高度
|
|
|
|
|
|
+ sa.f5TableHeight(); // 刷新表格高度
|
|
}.bind(this));
|
|
}.bind(this));
|
|
},
|
|
},
|
|
},
|
|
},
|
|
created: function() {
|
|
created: function() {
|
|
this.f5();
|
|
this.f5();
|
|
- sa.ajax('/level-one-server/HtTradeSettlement/getById', {id : this.id}, function(res) {
|
|
|
|
|
|
+ sa.ajax('/level-one-server/HtTradeSettlement/getById', {
|
|
|
|
+ id: this.id
|
|
|
|
+ }, function(res) {
|
|
this.bigData = res.data; // 数据
|
|
this.bigData = res.data; // 数据
|
|
- sa.f5TableHeight(); // 刷新表格高度
|
|
|
|
|
|
+ sa.f5TableHeight(); // 刷新表格高度
|
|
}.bind(this));
|
|
}.bind(this));
|
|
sa.onInputEnter();
|
|
sa.onInputEnter();
|
|
}
|
|
}
|
|
})
|
|
})
|
|
</script>
|
|
</script>
|
|
</body>
|
|
</body>
|
|
-</html>
|
|
|
|
|
|
+</html>
|