tb-order-info.html 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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 name="" br>{{m.tradeAreaId}}</sa-info>
  27. <sa-info name="" br>{{m.tradeAreaName}}</sa-info>
  28. <sa-info name="" br>{{m.addressIds}}</sa-info>
  29. <sa-info name="" br>{{m.saleMainId}}</sa-info> -->
  30. <el-row :gutter="50">
  31. <el-col :span="12">
  32. <sa-info name="订单号" br>{{m.tradeNo}}</sa-info>
  33. </el-col>
  34. <el-col :span="12">
  35. <sa-info name="买家" br>{{m.buyUserName}}</sa-info>
  36. </el-col>
  37. </el-row>
  38. <el-row :gutter="50">
  39. <el-col :span="12">
  40. <sa-info type="num" name="购买用户类型" :value="m.buyUserType" br></sa-info>
  41. </el-col>
  42. <el-col :span="12">
  43. <sa-info name="商家名称" br>{{m.enterpriseName}}</sa-info>
  44. </el-col>
  45. </el-row>
  46. <el-row :gutter="50">
  47. <el-col :span="12">
  48. <sa-info name="总重量" br>{{m.totalWeight}}</sa-info>
  49. </el-col>
  50. <el-col :span="12">
  51. <sa-info name="总金额" br>{{m.totalPrice}}</sa-info>
  52. </el-col>
  53. </el-row>
  54. <el-row :gutter="50">
  55. <el-col :span="12">
  56. <sa-info type="datetime" name="交易时间" :value="m.tradeTime" br></sa-info>
  57. </el-col>
  58. <el-col :span="12">
  59. <sa-info type="enum" name="交易状态" :value="m.tradeStatus" :jv="{0: '未支付', 1: '已支付'}" br></sa-info>
  60. </el-col>
  61. </el-row>
  62. <el-row :gutter="50">
  63. <el-col :span="12">
  64. <sa-info name="支付方式" br>{{m.payType}}</sa-info>
  65. </el-col>
  66. <el-col :span="12">
  67. <sa-info name="结算时间" br>{{m.settleTime}}</sa-info>
  68. </el-col>
  69. </el-row>
  70. <el-row :gutter="50">
  71. <el-col :span="12">
  72. <sa-info name="当前结算金额" br>{{m.realPrice}}</sa-info>
  73. </el-col>
  74. <el-col :span="12">
  75. <sa-info name="应结金额" br>{{m.shouldPrice}}</sa-info>
  76. </el-col>
  77. </el-row>
  78. <el-row :gutter="50">
  79. <el-col :span="12">
  80. <sa-info name="对账人" br>{{m.settleUserId}}</sa-info>
  81. </el-col>
  82. <el-col :span="12">
  83. <sa-info name="对账人员" br>{{m.recordUserId}}</sa-info>
  84. </el-col>
  85. </el-row>
  86. <el-row :gutter="50">
  87. <el-col :span="12">
  88. <sa-info name="对账时间" br>{{m.recordTime}}</sa-info>
  89. </el-col>
  90. <el-col :span="12">
  91. <sa-info name="是否对账" br>{{m.record}}</sa-info>
  92. </el-col>
  93. </el-row>
  94. <el-row :gutter="50">
  95. <el-col :span="12">
  96. <sa-info name="退款原因" br>{{m.refundReason}}</sa-info>
  97. </el-col>
  98. <el-col :span="12">
  99. <sa-info name="退款时间" br>{{m.refundTime}}</sa-info>
  100. </el-col>
  101. </el-row>
  102. <el-row :gutter="50">
  103. <el-col :span="12">
  104. <sa-info name="出互市区时间" br>{{m.outTime}}</sa-info>
  105. </el-col>
  106. <el-col :span="12">
  107. <sa-info name="商品名称" br>{{m.goodsNames}}</sa-info>
  108. </el-col>
  109. </el-row>
  110. <el-row :gutter="50">
  111. <el-col :span="12">
  112. <sa-info name="是否申报" br>{{m.apply}}</sa-info>
  113. </el-col>
  114. <el-col :span="12">
  115. <sa-info name="申报时间" br>{{m.applyTime}}</sa-info>
  116. </el-col>
  117. </el-row>
  118. <el-row :gutter="50">
  119. <el-col :span="12">
  120. <sa-info name="申报结果" br>{{m.applyResult}}</sa-info>
  121. </el-col>
  122. <el-col :span="12">
  123. <sa-info type="enum" name="分配方式" :value="m.distribution" :jv="{0: '均分', 1: '自选数量'}" br></sa-info>
  124. </el-col>
  125. </el-row>
  126. <el-row :gutter="50">
  127. <el-col :span="12">
  128. <sa-info type="enum" name="是否确认" :value="m.confirm" :jv="{0: '否', 1: '是'}" br></sa-info>
  129. </el-col>
  130. <el-col :span="12">
  131. <sa-info name="是否接单" br>{{m.pick}}</sa-info>
  132. </el-col>
  133. </el-row>
  134. <el-row :gutter="50">
  135. <el-col :span="12">
  136. <sa-info name="接单时间" br>{{m.pickTime}}</sa-info>
  137. </el-col>
  138. <el-col :span="12">
  139. <sa-info name="店铺名称" br>{{m.shopName}}</sa-info>
  140. </el-col>
  141. </el-row>
  142. <el-row :gutter="50">
  143. <el-col :span="12">
  144. <sa-info name="是否发货" br>{{m.send}}</sa-info>
  145. </el-col>
  146. <el-col :span="12">
  147. <sa-info name="发货时间" br>{{m.sendTime}}</sa-info>
  148. </el-col>
  149. </el-row>
  150. <!-- <sa-info name="" br>{{m.receiveName}}</sa-info>
  151. <sa-info name="" br>{{m.receivePhone}}</sa-info>
  152. <sa-info name="" br>{{m.receiveAddress}}</sa-info> -->
  153. <!-- <sa-info name="" br>{{m.applyFailReason}}</sa-info> -->
  154. </el-form>
  155. </div>
  156. </div>
  157. <!-- ------- 底部按钮 ------- -->
  158. <div class="s-foot">
  159. <el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
  160. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  161. </div>
  162. </div>
  163. <script>
  164. var app = new Vue({
  165. components: {
  166. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  167. },
  168. el: '.vue-box',
  169. data: {
  170. id: sa.p('id', 0), // 获取数据ID
  171. m: null
  172. },
  173. methods: {
  174. },
  175. mounted: function() {
  176. sa.ajax('/level-one-server/TbOrder/getById?id=' + this.id, function(res) {
  177. this.m = res.data;
  178. if(res.data == null) {
  179. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  180. }
  181. }.bind(this))
  182. }
  183. })
  184. </script>
  185. </body>
  186. </html>