tb-orders-info.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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="https://unpkg.com/element-ui@2.13.0/lib/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. <script src="../../static/kj/upload-util.js"></script>
  17. <style type="text/css">
  18. .c-panel .c-label{width: 8em;}
  19. </style>
  20. </head>
  21. <body>
  22. <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
  23. <!-- ------- 内容部分 ------- -->
  24. <div class="s-body">
  25. <div class="c-panel">
  26. <el-form v-if="m">
  27. <sa-info name="订单编号" br>{{m.orderNo}}</sa-info>
  28. <sa-info name="商品id" br>{{m.goodsId}}</sa-info>
  29. <sa-info name="商品名称" br>{{m.goodsName}}</sa-info>
  30. <sa-info name="商品来源" br>{{m.goodsFrom}}</sa-info>
  31. <sa-info name="发货商电话" br>{{m.shipperPhone}}</sa-info>
  32. <sa-info name="发货商名称" br>{{m.shipperName}}</sa-info>
  33. <sa-info name="司机ID" br>{{m.driverId}}</sa-info>
  34. <sa-info name="司机名称" br>{{m.driverName}}</sa-info>
  35. <sa-info name="司机电话" br>{{m.driverPhone}}</sa-info>
  36. <sa-info name="车型ID" br>{{m.carId}}</sa-info>
  37. <sa-info name="车型名称" br>{{m.carType}}</sa-info>
  38. <sa-info name="收货人名称" br>{{m.consigneeName}}</sa-info>
  39. <sa-info name="收货人电话号码" br>{{m.consigneePhone}}</sa-info>
  40. <sa-info name="申报订单号" br>{{m.declarationNumber}}</sa-info>
  41. <sa-info type="enum" name="订单状态已完成" :value="m.orderFinish" :jv="{0: '禁用', 1: '启用'}" br></sa-info>
  42. <!-- <sa-info type="enum" name="删除状态" :value="m.deleteStatus" :jv="{0: '禁用', 1: '启用'}" br></sa-info> -->
  43. </el-form>
  44. </div>
  45. </div>
  46. <!-- ------- 底部按钮 ------- -->
  47. <div class="s-foot">
  48. <el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
  49. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  50. </div>
  51. </div>
  52. <script>
  53. var app = new Vue({
  54. components: {
  55. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  56. },
  57. el: '.vue-box',
  58. data: {
  59. id: sa.p('id', 0), // 获取数据ID
  60. m: null
  61. },
  62. methods: {
  63. },
  64. mounted: function() {
  65. sa.ajax('/level-one-server/TbOrders/getById?id=' + this.id, function(res) {
  66. this.m = res.data;
  67. if(res.data == null) {
  68. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  69. }
  70. }.bind(this))
  71. }
  72. })
  73. </script>
  74. </body>
  75. </html>