tb-order-after-sale-info.html 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. <el-row :gutter="50">
  27. <el-col :span="12">
  28. <sa-info name="售后发起人电话" br>{{m.userPhone}}</sa-info>
  29. </el-col>
  30. <el-col :span="12">
  31. <sa-info name="发起售后时间" br>{{m.time}}</sa-info>
  32. </el-col>
  33. </el-row>
  34. <el-row :gutter="50">
  35. <el-col :span="12">
  36. <sa-info name="申请类型" br>{{m.applyType}}</sa-info>
  37. </el-col>
  38. <el-col :span="12">
  39. <sa-info name="发起售后原因" br>{{m.remark}}</sa-info>
  40. </el-col>
  41. </el-row>
  42. <el-row :gutter="50">
  43. <el-col :span="12">
  44. <sa-info name="售后状态" br>{{m.afterSaleStatus}}</sa-info>
  45. </el-col>
  46. <el-col :span="12">
  47. <sa-info name="货物图片" br>{{m.goodsImg}}</sa-info>
  48. </el-col>
  49. </el-row>
  50. <el-row :gutter="50">
  51. <el-col :span="12">
  52. <sa-info name="货物名称" br>{{m.goodsName}}</sa-info>
  53. </el-col>
  54. <el-col :span="12">
  55. <sa-info name="货物数量" br>{{m.goodsNum}}</sa-info>
  56. </el-col>
  57. </el-row>
  58. </el-form>
  59. </div>
  60. </div>
  61. <!-- ------- 底部按钮 ------- -->
  62. <div class="s-foot">
  63. <el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
  64. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  65. </div>
  66. </div>
  67. <script>
  68. var app = new Vue({
  69. components: {
  70. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  71. },
  72. el: '.vue-box',
  73. data: {
  74. id: sa.p('id', 0), // 获取数据ID
  75. m: null
  76. },
  77. methods: {
  78. },
  79. mounted: function() {
  80. sa.ajax('/TbOrderAfterSale/getById?id=' + this.id, function(res) {
  81. this.m = res.data;
  82. if(res.data == null) {
  83. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  84. }
  85. }.bind(this))
  86. }
  87. })
  88. </script>
  89. </body>
  90. </html>