tb-fee-details-info.html 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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: 8em;
  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>{{sa.forDate(m.dayTime)}}</sa-info>
  32. <sa-info name="收费项" br>
  33. <span v-if="m.feeType==1">核酸检测</span>
  34. <span v-if="m.feeType==2">消杀作业</span>
  35. <span v-if="m.feeType==3">装卸作业</span>
  36. <span v-if="m.feeType==4">停车业务</span>
  37. <span v-if="m.feeType==5">过磅费</span>
  38. <span v-if="m.feeType==6">入场管理费</span>
  39. <span v-if="m.feeType==7">充电打冷作业</span>
  40. </sa-info>
  41. <sa-info name="含税收入(元)" br>{{Number(m.taxMoney).toFixed(2)}}</sa-info>
  42. <sa-info name="税率(%)" br>{{m.taxRate * 100}}</sa-info>
  43. <sa-info name="税款(元)" br>{{Number(m.taxes).toFixed(2)}}</sa-info>
  44. <sa-info name="不含税收入" br>{{Number(m.noTaxMoney).toFixed(2)}}</sa-info>
  45. </el-col>
  46. <el-col :span="12">
  47. <sa-info name="数量" br>{{m.num}}</sa-info>
  48. <sa-info name="支付方式" br>
  49. <span v-if="m.payType==3">微信支付</span>
  50. <span v-if="m.feeType==1">线下支付</span>
  51. <span v-if="m.feeType==5">预扣款支付</span>
  52. </sa-info>
  53. <sa-info name="开单员" br>{{m.kaiDanPerson}}</sa-info>
  54. <sa-info name="复核员" br>{{m.diaoDuPerson}}</sa-info>
  55. <sa-info name="稽查员" br>{{m.jiChaPerson}}</sa-info>
  56. <sa-info name="审核员" br>{{m.judgeBy}}</sa-info>
  57. <sa-info name="审核时间" br>{{m.judgeTime}}</sa-info>
  58. </el-col>
  59. </el-row>
  60. </el-form>
  61. </div>
  62. </div>
  63. <!-- ------- 底部按钮 ------- -->
  64. <div class="s-foot">
  65. <el-button type="success" @click="confirmFn()" v-if="!m.judgeTime">确定</el-button>
  66. <el-button @click="sa.closeCurrIframe()">关闭</el-button>
  67. </div>
  68. </div>
  69. <script>
  70. var app = new Vue({
  71. components: {
  72. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  73. },
  74. el: '.vue-box',
  75. data: {
  76. id: sa.p('id', 0), // 获取数据ID
  77. m: {}
  78. },
  79. methods: {
  80. confirmFn() {
  81. sa.ajax('/TbFeeStatistics/judge?id=' + this.id, function(res) {
  82. parent.app.f5(); // 刷新父页面列表
  83. sa.closeCurrIframe();
  84. }.bind(this))
  85. }
  86. },
  87. mounted: function() {
  88. sa.ajax('/TbFeeStatistics/getById?id=' + this.id, function(res) {
  89. this.m = res.data;
  90. if (res.data == null) {
  91. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  92. }
  93. }.bind(this))
  94. }
  95. })
  96. </script>
  97. </body>
  98. </html>