ht-trade-settlement-order.html 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>边民订单表-列表</title>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  7. <!-- 所有的 css & js 资源 -->
  8. <link rel="stylesheet" href="../../static/kj/element-ui/theme-chalk/index.css">
  9. <link rel="stylesheet" href="../../static/sa.css">
  10. <script src="../../static/kj/vue.min.js"></script>
  11. <script src="../../static/kj/element-ui/index.js"></script>
  12. <script src="../../static/kj/httpVueLoader.js"></script>
  13. <script src="../../static/kj/jquery.min.js"></script>
  14. <script src="../../static/kj/layer/layer.js"></script>
  15. <script src="../../static/sa.js"></script>
  16. </head>
  17. <body>
  18. <div class="vue-box" style="display: none;" :style="'display: block;'">
  19. <div class="c-panel">
  20. <!-- ------------- 检索参数 ------------- -->
  21. <!-- <div class="c-title">检索参数</div> -->
  22. <el-form ref="form" :model='p' @submit.native.prevent>
  23. <sa-item type="text" name="订单号" v-model="p.tradeNo" width="5em"></sa-item>
  24. <sa-item type="text" name="买家" v-model="p.buyUserName"></sa-item>
  25. <sa-item type="text" name="商家名称" v-model="p.enterpriseName" width="6em"></sa-item>
  26. <el-button type="primary" icon="el-icon-search" @click="p.pageNo = 1; f5()">查询</el-button>
  27. <el-button type="info" icon="el-icon-refresh" @click="sa.f5()">重置</el-button>
  28. </el-form>
  29. <!-- ------------- 数据列表 ------------- -->
  30. <el-table class="data-table" ref="data-table" :data="dataList" >
  31. <sa-td type="index" name="序号"></sa-td>
  32. <sa-td name="订单号" prop="tradeNo" width="180"></sa-td>
  33. <sa-td name="买家" prop="buyUserName" ></sa-td>
  34. <sa-td name="商家名称" prop="enterpriseName" ></sa-td>
  35. <sa-td name="商品名称" prop="goodsNames" width="280"></sa-td>
  36. <sa-td name="总重量" prop="totalWeight" ></sa-td>
  37. <sa-td name="总金额" prop="totalPrice" ></sa-td>
  38. <sa-td name="车牌号" prop="veNo" ></sa-td>
  39. <sa-td name="预申报编号" prop="platSeqNo" width="180"></sa-td>
  40. <sa-td name="结算单号" prop="settleBillNo" width="180"></sa-td>
  41. <sa-td name="进出口预申报单号" prop="preIeportNo" width="180"></sa-td>
  42. <sa-td name="单证代码" prop="preNo" width="180"></sa-td>
  43. </el-table>
  44. <!-- ------------- 分页 ------------- -->
  45. <sa-item type="page" :curr.sync="p.pageNo" :size.sync="p.pageSize" :total="dataCount" @change="f5()"></sa-item>
  46. </div>
  47. </div>
  48. <script>
  49. var app = new Vue({
  50. components: {
  51. "sa-item": httpVueLoader('../../sa-frame/com/sa-item.vue'),
  52. "sa-td": httpVueLoader('../../sa-frame/com/sa-td.vue'),
  53. },
  54. el: '.vue-box',
  55. data: {
  56. p: { // 查询参数
  57. tradeNo: '', // 订单号
  58. buyUserName: '', // 买家
  59. enterpriseName: '', // 商家名称
  60. platSeqNo: sa.p('platSeqNo', 0),
  61. pageNo: 1, // 当前页
  62. pageSize: 20, // 页大小
  63. sortType: 0 // 排序方式
  64. },
  65. dataCount: 0,
  66. dataList: [], // 数据集合
  67. },
  68. methods: {
  69. // 刷新
  70. f5: function() {
  71. sa.ajax('/level-one-server/TbOrder/getList', sa.removeNull(this.p), function(res) {
  72. this.dataList = res.data; // 数据
  73. this.dataCount = res.dataCount; // 数据总数
  74. sa.f5TableHeight(); // 刷新表格高度
  75. }.bind(this));
  76. }
  77. },
  78. created: function() {
  79. this.f5();
  80. sa.onInputEnter();
  81. }
  82. })
  83. </script>
  84. </body>
  85. </html>