|
@@ -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">
|
|
@@ -25,54 +26,56 @@
|
|
<!-- ------------- 检索参数 ------------- -->
|
|
<!-- ------------- 检索参数 ------------- -->
|
|
<div class="c-title">检索参数</div>
|
|
<div class="c-title">检索参数</div>
|
|
<el-form ref="form" :model='p' @submit.native.prevent>
|
|
<el-form ref="form" :model='p' @submit.native.prevent>
|
|
- <sa-item type="text" name="预申报编号" v-model="p.platSeqNo" width="8em"></sa-item>
|
|
|
|
- <sa-item type="text" name="申报单编号" v-model="p.declareId" width="8em"></sa-item>
|
|
|
|
- <sa-item type="text" name="商品名称" v-model="p.goodsNames" width="7em"></sa-item>
|
|
|
|
|
|
+ <sa-item type="text" name="车牌号" v-model="p.veNo" width="7em"></sa-item>
|
|
|
|
+ <sa-item type="date" name="申报日期" v-model="p.declTime" width="7em"></sa-item>
|
|
<el-button type="primary" icon="el-icon-search" @click="p.pageNo = 1; f5()">查询</el-button>
|
|
<el-button type="primary" icon="el-icon-search" @click="p.pageNo = 1; f5()">查询</el-button>
|
|
<el-button size="mini" type="info" @click="sa.f5()">重置</el-button>
|
|
<el-button size="mini" type="info" @click="sa.f5()">重置</el-button>
|
|
</el-form>
|
|
</el-form>
|
|
<!-- ------------- 数据列表 ------------- -->
|
|
<!-- ------------- 数据列表 ------------- -->
|
|
- <el-table class="data-table" ref="data-table" :data="dataList" >
|
|
|
|
|
|
+ <el-table class="data-table" ref="data-table" :data="dataList">
|
|
<sa-td type="index" name="序号"></sa-td>
|
|
<sa-td type="index" name="序号"></sa-td>
|
|
<sa-td name="预申报编号" prop="platSeqNo" width="160px"></sa-td>
|
|
<sa-td name="预申报编号" prop="platSeqNo" width="160px"></sa-td>
|
|
- <sa-td name="申报人姓名" prop="declareName" ></sa-td>
|
|
|
|
- <sa-td name="商铺名称" prop="shopName" width="160"></sa-td>
|
|
|
|
- <sa-td name="商品名称" prop="goodsNames" width="160"></sa-td>
|
|
|
|
- <sa-td name="总金额" prop="sumAmt" ></sa-td>
|
|
|
|
- <sa-td name="总毛重(kg)" prop="sumGrossWt" ></sa-td>
|
|
|
|
- <sa-td name="总净重(kg)" prop="sumNetWt" ></sa-td>
|
|
|
|
- <sa-td name="运输方式" prop="trafMode" ></sa-td>
|
|
|
|
- <sa-td name="币制" prop="currCode" ></sa-td>
|
|
|
|
- <sa-td name="件数" prop="packNo" ></sa-td>
|
|
|
|
- <sa-td name="车牌号" prop="veNo" ></sa-td>
|
|
|
|
- <sa-td type="enum" name="互助社确认" prop="hzsConfirmStatus" :jv="{1: '已确认[green]', 0: '未确认[#ff910a]'}" ></sa-td>
|
|
|
|
- <sa-td name="确认时间" prop="hzsConfirmTime" width="160"></sa-td>
|
|
|
|
- <sa-td name="互市区" prop="fieldName" width="160"></sa-td>
|
|
|
|
|
|
+ <sa-td name="车牌号" prop="veNo"></sa-td>
|
|
|
|
+ <sa-td name="申报时间" prop="declTime" width="160"></sa-td>
|
|
|
|
+ <sa-td name="航次号" prop="voyageNo" width="160"></sa-td>
|
|
|
|
+ <sa-td name="申报人姓名" prop="declareName"></sa-td>
|
|
|
|
+ <sa-td name="商品名称" prop="goodsNames" width="160"></sa-td>
|
|
|
|
+ <sa-td name="总金额" prop="sumAmt"></sa-td>
|
|
|
|
+ <sa-td name="总毛重(kg)" prop="sumGrossWt"></sa-td>
|
|
|
|
+ <sa-td name="总净重(kg)" prop="sumNetWt"></sa-td>
|
|
|
|
+ <sa-td name="商铺名称" prop="shopName" width="160"></sa-td>
|
|
|
|
+ <sa-td name="件数" prop="packNo"></sa-td>
|
|
|
|
+ <sa-td type="enum" name="互助社确认" prop="hzsConfirmStatus"
|
|
|
|
+ :jv="{1: '已确认[green]', 0: '未确认[#ff910a]'}"></sa-td>
|
|
|
|
+ <sa-td name="确认时间" prop="hzsConfirmTime" width="160"></sa-td>
|
|
<sa-td name="申报单编号" prop="declareId" width="160px"></sa-td>
|
|
<sa-td name="申报单编号" prop="declareId" width="160px"></sa-td>
|
|
- <sa-td name="提运单号" prop="billNo" width="160"></sa-td>
|
|
|
|
- <sa-td name="航次号" prop="voyageNo" width="160"></sa-td>
|
|
|
|
- <sa-td name="创建时间" prop="createTime" width="160"></sa-td>
|
|
|
|
- <el-table-column label="操作" width="210px" fixed="right" >
|
|
|
|
|
|
+ <sa-td name="提运单号" prop="billNo" width="160"></sa-td>
|
|
|
|
+ <el-table-column label="操作" width="210px" fixed="right">
|
|
<template slot-scope="s">
|
|
<template slot-scope="s">
|
|
<el-button class="c-btn" type="success" @click="get(s.row)">查看</el-button>
|
|
<el-button class="c-btn" type="success" @click="get(s.row)">查看</el-button>
|
|
- <el-button class="c-btn" type="primary" @click="getOrder(s.row)">边民订单</el-button>
|
|
|
|
|
|
+ <el-button class="c-btn" type="primary" @click="getOrder(s.row)">边民订单</el-button>
|
|
<span>
|
|
<span>
|
|
- <el-button v-if="s.row.hzsConfirmStatus===0 &&sa.isAuth('ht-trade-settlement-hzsconfirm')" class="c-btn" type="info" @click="hzsConfirm(s.row)">互助社确认</el-button>
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ v-if="s.row.hzsConfirmStatus===0 &&sa.isAuth('ht-trade-settlement-hzsconfirm')"
|
|
|
|
+ class="c-btn" type="info" @click="hzsConfirm(s.row)">互助社确认</el-button>
|
|
<el-button v-else :disabled="true" class="c-btn" type="info">互助社确认</el-button>
|
|
<el-button v-else :disabled="true" class="c-btn" type="info">互助社确认</el-button>
|
|
</span>
|
|
</span>
|
|
<span>
|
|
<span>
|
|
- <el-button v-if="sa.isAuth('tb-order-deduction')" class="c-btn" type="warning" @click="ToDeductionByVeNo(s.row)">按车订单扣款</el-button>
|
|
|
|
- <el-button v-else :disabled="true" class="c-btn" type="warning">按车订单扣款</el-button>
|
|
|
|
|
|
+ <el-button v-if="sa.isAuth('tb-order-deduction')" class="c-btn" type="warning"
|
|
|
|
+ @click="ToDeductionByVeNo(s.row)">按车订单扣款</el-button>
|
|
|
|
+ <el-button v-else :disabled="true" class="c-btn" type="warning">按车订单扣款</el-button>
|
|
</span>
|
|
</span>
|
|
<span>
|
|
<span>
|
|
- <el-button v-if="sa.isAuth('tb-order-sendCXB001')" class="c-btn" type="warning" @click="ToSendCXB001ByVeNo(s.row)">按车推送结关</el-button>
|
|
|
|
- <el-button v-else :disabled="true" class="c-btn" type="warning">按车推送结关</el-button>
|
|
|
|
|
|
+ <el-button v-if="sa.isAuth('tb-order-sendCXB001')" class="c-btn" type="warning"
|
|
|
|
+ @click="ToSendCXB001ByVeNo(s.row)">按车推送结关</el-button>
|
|
|
|
+ <el-button v-else :disabled="true" class="c-btn" type="warning">按车推送结关</el-button>
|
|
</span>
|
|
</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</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>
|
|
@@ -84,14 +87,15 @@
|
|
el: '.vue-box',
|
|
el: '.vue-box',
|
|
data: {
|
|
data: {
|
|
p: { // 查询参数
|
|
p: { // 查询参数
|
|
- platSeqNo: '', // 预申报编号
|
|
|
|
- declareId: '', // 申报单编号
|
|
|
|
- goodsNames: '', // 商品名称
|
|
|
|
- returns:0,
|
|
|
|
- chargebacks:0,
|
|
|
|
- pageNo: 1, // 当前页
|
|
|
|
- pageSize: 10, // 页大小
|
|
|
|
- sortType: 0 // 排序方式
|
|
|
|
|
|
+ platSeqNo: '', // 预申报编号
|
|
|
|
+ declareId: '', // 申报单编号
|
|
|
|
+ veNo: '',
|
|
|
|
+ goodsNames: '', // 商品名称
|
|
|
|
+ returns: 0,
|
|
|
|
+ chargebacks: 0,
|
|
|
|
+ pageNo: 1, // 当前页
|
|
|
|
+ pageSize: 10, // 页大小
|
|
|
|
+ sortType: 0 // 排序方式
|
|
|
|
|
|
},
|
|
},
|
|
dataCount: 0,
|
|
dataCount: 0,
|
|
@@ -103,19 +107,20 @@
|
|
sa.ajax('/level-one-server/HtTradeSettlement/getList', sa.removeNull(this.p), function(res) {
|
|
sa.ajax('/level-one-server/HtTradeSettlement/getList', 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));
|
|
},
|
|
},
|
|
// 查看
|
|
// 查看
|
|
get: function(data) {
|
|
get: function(data) {
|
|
sa.showIframe('数据详情', 'ht-trade-settlement-info.html?id=' + data.id, '1050px', '90%');
|
|
sa.showIframe('数据详情', 'ht-trade-settlement-info.html?id=' + data.id, '1050px', '90%');
|
|
},
|
|
},
|
|
- getOrder(data){
|
|
|
|
- sa.showIframe('边民订单', 'ht-trade-settlement-order.html?mainId='+data.id, '90%', '94%');
|
|
|
|
|
|
+ getOrder(data) {
|
|
|
|
+ sa.showIframe('边民订单', 'ht-trade-settlement-order.html?mainId=' + data.id, '90%', '94%');
|
|
},
|
|
},
|
|
hzsConfirm(data) {
|
|
hzsConfirm(data) {
|
|
sa.confirm('是否确认订单', function() {
|
|
sa.confirm('是否确认订单', function() {
|
|
- sa.ajax('/level-one-server/HtTradeSettlement/hzsConfirm?id=' + data.id, function(res) {
|
|
|
|
|
|
+ sa.ajax('/level-one-server/HtTradeSettlement/hzsConfirm?id=' + data.id, function(
|
|
|
|
+ res) {
|
|
sa.ok('确认成功');
|
|
sa.ok('确认成功');
|
|
this.f5();
|
|
this.f5();
|
|
}.bind(this))
|
|
}.bind(this))
|
|
@@ -124,12 +129,14 @@
|
|
ToDeductionByVeNo(data) {
|
|
ToDeductionByVeNo(data) {
|
|
let veNo = data.veNo;
|
|
let veNo = data.veNo;
|
|
let id = data.id;
|
|
let id = data.id;
|
|
- sa.showIframe('按车订单扣款【'+veNo+'】', 'tb-order-deductionByVeNo.html?veNo=' + veNo + '&id='+id, '1660px', '97%');
|
|
|
|
|
|
+ sa.showIframe('按车订单扣款【' + veNo + '】', 'tb-order-deductionByVeNo.html?veNo=' + veNo + '&id=' + id,
|
|
|
|
+ '1660px', '97%');
|
|
},
|
|
},
|
|
ToSendCXB001ByVeNo(data) {
|
|
ToSendCXB001ByVeNo(data) {
|
|
let veNo = data.veNo;
|
|
let veNo = data.veNo;
|
|
let id = data.id;
|
|
let id = data.id;
|
|
- sa.showIframe('按车推送结关【'+veNo+'】', 'tb-order-sendCXB001ByVeNo.html?veNo=' + veNo + '&id='+id, '1660px', '97%');
|
|
|
|
|
|
+ sa.showIframe('按车推送结关【' + veNo + '】', 'tb-order-sendCXB001ByVeNo.html?veNo=' + veNo + '&id=' +
|
|
|
|
+ id, '1660px', '97%');
|
|
},
|
|
},
|
|
},
|
|
},
|
|
created: function() {
|
|
created: function() {
|
|
@@ -139,4 +146,4 @@
|
|
})
|
|
})
|
|
</script>
|
|
</script>
|
|
</body>
|
|
</body>
|
|
-</html>
|
|
|
|
|
|
+</html>
|