123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>入境登记-详情</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport"
- content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
- <!-- 所有的 css js 资源 -->
- <link rel="stylesheet" href="../../static/kj/element-ui/theme-chalk/index.css">
- <link rel="stylesheet" href="../../static/sa.css">
- <script src="../../static/kj/vue.min.js"></script>
- <script src="../../static/kj/element-ui/index.js"></script>
- <script src="../../static/kj/httpVueLoader.js"></script>
- <script src="../../static/kj/jquery.min.js"></script>
- <script src="../../static/kj/layer/layer.js"></script>
- <script src="../../static/sa.js"></script>
- <script src="../../static/sa.js"></script>
- <script src="../../static/kj/upload-util.js"></script>
- <style type="text/css">
- .c-panel .c-label {
- width: 8em;
- }
- </style>
- </head>
- <body>
- <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
- <!-- ------- 内容部分 ------- -->
- <div class="s-body">
- <div class="c-panel">
- <el-form v-if="m">
- <el-row>
- <el-collapse value='1'>
- <el-collapse-item name="1">
- <div slot="title">
- 基础资料
- </div>
- <div>
- <el-row>
- <el-col span="12">
- <sa-info name="客户名称" br>{{m.customerName}}
- </sa-info>
- <sa-info name="业务项目" br>{{m.goodsName}}</sa-info>
- <sa-info name="作业时间" br>{{m.operateTime}}</sa-info>
- <sa-info name="业务费用" br>{{m.itemPrice}}(元)</sa-info>
- <sa-info style="margin-top: 0;" type="enum" name="审核状态"
- :value="m.confirmJudge" :jv="{0: '未审核', 1: '审核通过', 2: '审核驳回'}" br>
- </sa-info>
- <sa-info style="margin-top: 0;" name="审核人" br>{{m.confirmJudgeBy}}
- </sa-info>
- </el-col>
- <el-col span="12">
- <sa-info name="货主" br>{{m.owner}}</sa-info>
- <sa-info name="业务编号" br>{{m.no}}</sa-info>
- <sa-info name="录入时间" br>{{m.createTime}}</sa-info>
- <sa-info name="录入人" br>{{m.createBy}}</sa-info>
- <sa-info name="审核时间" br>{{m.confirmJudgeTime}}</sa-info>
- <sa-info name="审核意见" br v-if="m.confirmJudgeContent">
- {{m.confirmJudgeContent}}
- </sa-info>
- </el-col>
- </el-row>
- </div>
- </el-collapse-item>
- </el-collapse>
- </el-row>
- <el-row>
- <el-collapse value='1'>
- <el-collapse-item name="1">
- <div slot="title">
- 车辆信息
- </div>
- <el-table :data="m.cars" style="width: 100%">
- <sa-td name="车牌号" prop="carNo"></sa-td>
- <sa-td name="类型" prop="carType"></sa-td>
- <sa-td name="载重(kg)" prop="netWeight"></sa-td>
- <sa-td name="规格(米)" prop="carSize"></sa-td>
- <sa-td width="120" name="车辆状态" prop="isLock" type="enum"
- :jv="{1: '锁定[#ff0000]', 0: '正常[#005500]'}">
- </sa-td>
- <sa-td name="入场时间" prop="realInTime" width=180></sa-td>
- <sa-td name="离场时间" prop="realOutTime" width=180></sa-td>
- <el-table-column label="停车费">
- <template slot-scope="s">
- <label v-if="s.row.money">{{s.row.money}}</label>
- <label v-else>-</label>
- </template>
- </el-table-column>
- </el-table>
- </el-collapse-item>
- </el-collapse>
- </el-row>
- <el-row>
- <el-collapse value='1'>
- <el-collapse-item name="1">
- <div slot="title">
- 具体业务项
- <label
- style="color: red; font-weight: bold;margin-left: 20px;">合计:({{m.itemPrice}}元)</label>
- </div>
- <el-table :data="tableData" style="width: 100%">
- <el-table-column prop="itemTypeName" label="收费项" width="180">
- </el-table-column>
- <el-table-column prop="itemName" label="收费明细" width="180">
- </el-table-column>
- <el-table-column prop="itemPrice" label="单价">
- </el-table-column>
- <el-table-column prop="unit" label="计费标准">
- </el-table-column>
- <el-table-column prop="num" label="数量">
- </el-table-column>
- <el-table-column prop="total" label="合计">
- </el-table-column>
- </el-table>
- </el-collapse-item>
- </el-collapse>
- </el-row>
- </el-form>
- </div>
- </div>
- <!-- ------- 底部按钮 ------- -->
- <div class="s-foot">
- <el-button class="c-btn" type="success" icon="el-icon" @click="pass()">审核通过</el-button>
- <el-button class="c-btn" type="warning" icon="el-icon" @click="callback()">审核驳回</el-button>
- <el-button type="primary" @click="sa.closeCurrIframe()">关闭</el-button>
- </div>
- </div>
- <script>
- var app = new Vue({
- components: {
- "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue'),
- "sa-item": httpVueLoader('../../sa-frame/com/sa-item.vue'),
- "sa-td": httpVueLoader('../../sa-frame/com/sa-td.vue'),
- },
- el: '.vue-box',
- data: {
- id: sa.p('id', 0), // 获取数据ID
- m: null,
- tableData: [],
- },
- methods: {
- pass() {
- sa.ajax('/TbBusiness/confirmJudgePass', {
- id: this.id
- }, function(res) {
- sa.alert('审核通过', this.clean);
- }.bind(this))
- },
- callback() {
- let that = this;
- layer.prompt({
- title: '填写审核意见'
- }, function(content, index) {
- layer.close(index);
- sa.ajax('/TbBusiness/callback', {
- id: that.id,
- judgeContent: content
- }, function(res) {
- sa.alert('业务已驳回', that.clean);
- })
- });
- },
- clean() {
- parent.app.f5();
- sa.closeCurrIframe();
- },
- ok() {
- },
- getInfo() {
- sa.ajax('/TbBusiness/getOtherBusinessById?id=' + this.id, function(res) {
- this.m = res.data;
- this.tableData = res.data.items;
- }.bind(this))
- }
- },
- mounted: function() {
- this.getInfo()
- }
- })
- </script>
- </body>
- </html>
|