tb-orders-info.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. <el-row :gutter="50">
  28. <el-col :span="12">
  29. <sa-info name="订单编号" br>{{m.orderNo}}</sa-info>
  30. </el-col>
  31. <el-col :span="12">
  32. <sa-info name="商品名称" br>{{m.goodsName}}</sa-info>
  33. </el-col>
  34. </el-row>
  35. <el-row :gutter="50">
  36. <el-col :span="12">
  37. <sa-info name="商品来源" br>{{m.goodsFrom}}</sa-info>
  38. </el-col>
  39. <el-col :span="12">
  40. <sa-info name="发货商电话" br>{{m.shipperPhone}}</sa-info>
  41. </el-col>
  42. </el-row>
  43. <el-row :gutter="50">
  44. <el-col :span="12">
  45. <sa-info name="发货商名称" br>{{m.shipperName}}</sa-info>
  46. </el-col>
  47. <el-col :span="12">
  48. <sa-info name="司机名称" br>{{m.driverName}}</sa-info>
  49. </el-col>
  50. </el-row>
  51. <el-row :gutter="50">
  52. <el-col :span="12">
  53. <sa-info name="司机电话" br>{{m.driverPhone}}</sa-info>
  54. </el-col>
  55. <el-col :span="12">
  56. <sa-info name="车型名称" br>{{m.carType}}</sa-info>
  57. </el-col>
  58. </el-row>
  59. <el-row :gutter="50">
  60. <el-col :span="12">
  61. <sa-info name="收货人名称" br>{{m.consigneeName}}</sa-info>
  62. </el-col>
  63. <el-col :span="12">
  64. <sa-info name="收货人电话号码" br>{{m.consigneePhone}}</sa-info>
  65. </el-col>
  66. </el-row>
  67. <el-row :gutter="50">
  68. <el-col :span="12">
  69. <sa-info name="申报订单号" br>{{m.declarationNumber}}</sa-info>
  70. </el-col>
  71. <el-col :span="12">
  72. <sa-info type="enum" name="订单状态已完成" :value="m.orderFinish" :jv="{0: '禁用', 1: '启用'}" br></sa-info>
  73. </el-col>
  74. </el-row>
  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/TbOrders/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>