tb-order-info.html 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>商品订单表-详情</title>
  5. <meta http-equiv="Content-Type" content="text/html; 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. <style type="text/css">
  17. .c-panel .c-label{width: 8em;}
  18. </style>
  19. </head>
  20. <body>
  21. <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
  22. <!-- ------- 内容部分 ------- -->
  23. <div class="s-body">
  24. <div class="c-panel">
  25. <el-form v-if="m">
  26. <sa-info type="num" name="主键" :value="m.id" br></sa-info>
  27. <sa-info name="" br>{{m.tradeAreaId}}</sa-info>
  28. <sa-info name="" br>{{m.tradeAreaName}}</sa-info>
  29. <sa-info name="" br>{{m.addressIds}}</sa-info>
  30. <sa-info name="" br>{{m.saleMainId}}</sa-info>
  31. <sa-info name="订单号" br>{{m.tradeNo}}</sa-info>
  32. <sa-info type="num" name="买家ID" :value="m.buyUserId" br></sa-info>
  33. <sa-info name="买家" br>{{m.buyUserName}}</sa-info>
  34. <sa-info type="num" name="购买用户类型" :value="m.buyUserType" br></sa-info>
  35. <sa-info type="num" name="商家ID" :value="m.enterpriseId" br></sa-info>
  36. <sa-info name="商家名称" br>{{m.enterpriseName}}</sa-info>
  37. <sa-info name="总重量" br>{{m.totalWeight}}</sa-info>
  38. <sa-info name="总金额" br>{{m.totalPrice}}</sa-info>
  39. <sa-info type="datetime" name="交易时间" :value="m.tradeTime" br></sa-info>
  40. <sa-info type="enum" name="交易状态" :value="m.tradeStatus" :jv="{0: '未支付', 1: '已支付'}" br></sa-info>
  41. <sa-info name="支付方式" br>{{m.payType}}</sa-info>
  42. <sa-info name="结算时间" br>{{m.settleTime}}</sa-info>
  43. <sa-info name="当前结算金额" br>{{m.realPrice}}</sa-info>
  44. <sa-info name="应结金额" br>{{m.shouldPrice}}</sa-info>
  45. <sa-info name="对账人" br>{{m.settleUserId}}</sa-info>
  46. <sa-info name="对账人员" br>{{m.recordUserId}}</sa-info>
  47. <sa-info name="对账时间" br>{{m.recordTime}}</sa-info>
  48. <sa-info name="是否对账" br>{{m.record}}</sa-info>
  49. <sa-info name="退款原因" br>{{m.refundReason}}</sa-info>
  50. <sa-info name="退款时间" br>{{m.refundTime}}</sa-info>
  51. <sa-info name="" br>{{m.receiveName}}</sa-info>
  52. <sa-info name="" br>{{m.receivePhone}}</sa-info>
  53. <sa-info name="" br>{{m.receiveAddress}}</sa-info>
  54. <sa-info name="出互市区时间" br>{{m.outTime}}</sa-info>
  55. <sa-info name="商品名称字符串" br>{{m.goodsNames}}</sa-info>
  56. <sa-info name="是否申报" br>{{m.apply}}</sa-info>
  57. <sa-info name="申报时间" br>{{m.applyTime}}</sa-info>
  58. <sa-info name="申报结果" br>{{m.applyResult}}</sa-info>
  59. <sa-info name="" br>{{m.applyFailReason}}</sa-info>
  60. <sa-info type="enum" name="分配方式" :value="m.distribution" :jv="{0: '均分', 1: '自选数量'}" br></sa-info>
  61. <sa-info type="enum" name="是否确认" :value="m.confirm" :jv="{0: '否', 1: '是'}" br></sa-info>
  62. <sa-info name="是否接单" br>{{m.pick}}</sa-info>
  63. <sa-info name="接单时间" br>{{m.pickTime}}</sa-info>
  64. <sa-info name="" br>{{m.shopId}}</sa-info>
  65. <sa-info name="" br>{{m.shopName}}</sa-info>
  66. <sa-info name="是否发货" br>{{m.send}}</sa-info>
  67. <sa-info name="发货时间" br>{{m.sendTime}}</sa-info>
  68. <sa-info name="对应二级市场中的收购单ID" br>{{m.levelTwoOrderId}}</sa-info>
  69. <sa-info name="创建时间" br>{{m.createTime}}</sa-info>
  70. <sa-info name="创建人编号" br>{{m.createBy}}</sa-info>
  71. <sa-info name="创建人名称" br>{{m.createName}}</sa-info>
  72. <sa-info name="更新时间" br>{{m.updateTime}}</sa-info>
  73. <sa-info name="更新人编号" br>{{m.updateBy}}</sa-info>
  74. <sa-info name="更新人名称" br>{{m.updateName}}</sa-info>
  75. <sa-info type="enum" name="删除状态" :value="m.deleteStatus" :jv="{0: '禁用', 1: '启用'}" br></sa-info>
  76. </el-form>
  77. </div>
  78. </div>
  79. <!-- ------- 底部按钮 ------- -->
  80. <div class="s-foot">
  81. <el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
  82. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  83. </div>
  84. </div>
  85. <script>
  86. var app = new Vue({
  87. components: {
  88. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  89. },
  90. el: '.vue-box',
  91. data: {
  92. id: sa.p('id', 0), // 获取数据ID
  93. m: null
  94. },
  95. methods: {
  96. },
  97. mounted: function() {
  98. sa.ajax('/level-one-server/TbOrder/getById?id=' + this.id, function(res) {
  99. this.m = res.data;
  100. if(res.data == null) {
  101. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  102. }
  103. }.bind(this))
  104. }
  105. })
  106. </script>
  107. </body>
  108. </html>