tb-disinfect-info.html 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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"
  7. content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
  8. <!-- 所有的 css js 资源 -->
  9. <link rel="stylesheet" href="../../static/kj/element-ui/theme-chalk/index.css">
  10. <link rel="stylesheet" href="../../static/sa.css">
  11. <script src="../../static/kj/vue.min.js"></script>
  12. <script src="../../static/kj/element-ui/index.js"></script>
  13. <script src="../../static/kj/httpVueLoader.js"></script>
  14. <script src="../../static/kj/jquery.min.js"></script>
  15. <script src="../../static/kj/layer/layer.js"></script>
  16. <script src="../../static/sa.js"></script>
  17. <style type="text/css">
  18. .c-panel .c-label {
  19. width: 10em;
  20. }
  21. </style>
  22. </head>
  23. <body>
  24. <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
  25. <!-- ------- 内容部分 ------- -->
  26. <div class="s-body">
  27. <div class="c-panel">
  28. <el-form v-if="m">
  29. <el-row>
  30. <el-col span="12">
  31. <sa-info name="发货人" br>{{m.sendPeople}}</sa-info>
  32. <sa-info name="收货人" br>{{m.receivePeople}}</sa-info>
  33. <sa-info name="品名" br>{{m.goodsName}}</sa-info>
  34. <sa-info name="产地" br>{{m.origin}}</sa-info>
  35. <sa-info type="num" name="数量" :value="m.num" br></sa-info>
  36. <sa-info name="重量(kg)" br>{{m.grossWeight}}</sa-info>
  37. <sa-info name="规格(米)" br>{{m.unit}}</sa-info>
  38. <sa-info name="包装" br>{{m.pack}}</sa-info>
  39. <sa-info name="标记" br>{{m.flag}}</sa-info>
  40. <sa-info name="号码" br>{{m.phone}}</sa-info>
  41. <sa-info name="启运地" br>{{m.sourceAddress}}</sa-info>
  42. <sa-info name="到达口岸" br>{{m.arrivePart}}</sa-info>
  43. </el-col>
  44. <el-col span="12">
  45. <sa-info name="运输工具" br>{{m.carName}}</sa-info>
  46. <sa-info name="运输工具号码" br>{{m.carNo}}</sa-info>
  47. <sa-info name="国内运输工具" br>{{m.chinaCarName}}</sa-info>
  48. <sa-info name="运输工具号码" br>{{m.chinaCarNo}}</sa-info>
  49. <sa-info name="备注" br>{{m.remark}}</sa-info>
  50. <sa-info name="申请单位" br>{{m.applyUnit}}</sa-info>
  51. <sa-info name="申请人" br>{{m.declarePeople}}</sa-info>
  52. <sa-info name="申请人联系号码" br>{{m.declarePhone}}</sa-info>
  53. <sa-info name="申请时间" br>{{m.applyTime}}</sa-info>
  54. <sa-info name="受理人" br>{{m.acceptPeople}}</sa-info>
  55. <sa-info name="受理时间" br>{{m.acceptTime}}</sa-info>
  56. <sa-info name="计费(分)" br>{{m.money}}</sa-info>
  57. </el-col>
  58. </el-row>
  59. </el-form>
  60. </div>
  61. </div>
  62. <!-- ------- 底部按钮 ------- -->
  63. <div class="s-foot">
  64. <el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
  65. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  66. </div>
  67. </div>
  68. <script>
  69. var app = new Vue({
  70. components: {
  71. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  72. },
  73. el: '.vue-box',
  74. data: {
  75. id: sa.p('id', 0), // 获取数据ID
  76. m: null
  77. },
  78. methods: {},
  79. mounted: function () {
  80. sa.ajax('/TbDisinfect/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>