|
@@ -13,12 +13,40 @@
|
|
|
<script src="../../static/kj/jquery.min.js"></script>
|
|
|
<script src="../../static/kj/layer/layer.js"></script>
|
|
|
<script src="../../static/sa.js"></script>
|
|
|
+ <style>
|
|
|
+ hr {
|
|
|
+ border: none; /* 移除默认边框 */
|
|
|
+ height: 1px; /* 设置高度 */
|
|
|
+ background-color: gainsboro;/* 设置颜色 */
|
|
|
+ margin: 5px 0; /* 设置上下外边距 */
|
|
|
+ }
|
|
|
+ </style>
|
|
|
</head>
|
|
|
<body>
|
|
|
<div class="vue-box" style="display: none;" :style="'display: block;'">
|
|
|
<div class="c-panel">
|
|
|
+ <el-form v-if="bigData">
|
|
|
+ <div style="color: red;font-weight: bold">请核对当前进境结算单信息,以下列表为未执行扣款的订单:</div>
|
|
|
+ <el-row style="margin-left: 200px;">
|
|
|
+ <el-col span="8">
|
|
|
+ <sa-info name="车牌号" br>{{bigData.veNo}}</sa-info>
|
|
|
+ <sa-info name="预申报编号" br>{{bigData.platSeqNo}}</sa-info>
|
|
|
+ <sa-info name="商品名称" br>{{bigData.goodsNames}}</sa-info>
|
|
|
+ </el-col>
|
|
|
+ <el-col span="8">
|
|
|
+ <sa-info name="总毛重(kg)" br>{{bigData.sumGrossWt}}</sa-info>
|
|
|
+ <sa-info name="总净重(kg)" br>{{bigData.sumNetWt}}</sa-info>
|
|
|
+ <sa-info name="总金额" br>{{bigData.sumAmt}}</sa-info>
|
|
|
+ </el-col>
|
|
|
+ <el-col span="8">
|
|
|
+ <sa-info name="互市区" br>{{bigData.fieldName}}</sa-info>
|
|
|
+ <sa-info name="创建时间" br>{{bigData.createTime}}</sa-info>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-form>
|
|
|
+ <hr>
|
|
|
<el-form ref="form" @submit.native.prevent>
|
|
|
- <el-button type="success" icon="el-icon-info" @click="deductionByVeNo()">按车补扣款</el-button>
|
|
|
+ <el-button type="success" icon="el-icon-info" @click="deductionByVeNo()">按车扣款</el-button>
|
|
|
</el-form>
|
|
|
<!-- ------------- 数据列表 ------------- -->
|
|
|
<el-table class="data-table" ref="data-table" :data="dataList" >
|
|
@@ -28,7 +56,7 @@
|
|
|
<sa-td name="买家" prop="buyUserName" ></sa-td>
|
|
|
<sa-td name="商家名称" prop="enterpriseName" width="280px"></sa-td>
|
|
|
<sa-td name="商品名称" prop="goodsNames" width="200px"></sa-td>
|
|
|
- <sa-td name="总重量" prop="totalWeight" ></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" >
|
|
@@ -70,11 +98,15 @@
|
|
|
components: {
|
|
|
"sa-item": httpVueLoader('../../sa-frame/com/sa-item.vue'),
|
|
|
"sa-td": httpVueLoader('../../sa-frame/com/sa-td.vue'),
|
|
|
+ "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
|
|
|
},
|
|
|
el: '.vue-box',
|
|
|
data: {
|
|
|
veNo: sa.p('veNo', 0),
|
|
|
+ id: sa.p('id', 0),
|
|
|
+ bigData: [],
|
|
|
p: { // 查询参数
|
|
|
+ id: sa.p('id', 0),
|
|
|
veNo: sa.p('veNo', 0), // 车牌号
|
|
|
pageNo: 1, // 当前页
|
|
|
pageSize: 10, // 页大小
|
|
@@ -90,7 +122,7 @@
|
|
|
return;
|
|
|
}
|
|
|
sa.confirm('是否执行当前列表订单的扣款操作', function() {
|
|
|
- sa.ajax('/level-one-server/TbOrder/deductionByVeNo?veNo=' + this.veNo, function(res) {
|
|
|
+ sa.ajax('/level-one-server/TbOrder/deductionByVeNo?veNo=' + this.veNo + '&id='+this.id, function(res) {
|
|
|
sa.alert('操作成功', this.clean);
|
|
|
}.bind(this))
|
|
|
}.bind(this));
|
|
@@ -109,6 +141,10 @@
|
|
|
},
|
|
|
created: function() {
|
|
|
this.f5();
|
|
|
+ sa.ajax('/level-one-server/HtTradeSettlement/getById', {id : this.id}, function(res) {
|
|
|
+ this.bigData = res.data; // 数据
|
|
|
+ sa.f5TableHeight(); // 刷新表格高度
|
|
|
+ }.bind(this));
|
|
|
sa.onInputEnter();
|
|
|
}
|
|
|
})
|