|
|
|
@ -19,28 +19,30 @@ |
|
|
|
<el-table :data="hisRequestData" border style="width: 100%" row-key="id" height="160" highlight-current-row |
|
|
|
size="small" @row-click="rowClick" :row-style="{ height: '25px' }"> |
|
|
|
<el-table-column type="index" label="序号" align="center" width="40" /> |
|
|
|
<el-table-column label="申请单号" min-width="100" prop="chargeRequestNo"></el-table-column> |
|
|
|
<el-table-column label="申请单号" min-width="100" prop="chargeRequestNo" align="center" /> |
|
|
|
<el-table-column prop="hisChargeNo" label="his收费单" min-width="80" align="center" /> |
|
|
|
<el-table-column prop="charges" label="金额" min-width="80" align="center" /> |
|
|
|
<el-table-column prop="chargeRequestFlag" label="收费状态" width="70" align="center"> |
|
|
|
<el-table-column prop="chargeRequestFlag" label="收费状态" width="80" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div>{{ setChargeRequestFlag(scope.row.chargeRequestFlag) }}</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="ch" label="收费人员" min-width="80" align="center" /> |
|
|
|
<el-table-column prop="creationTime" label="申请时间" min-width="150" align="center" /> |
|
|
|
<el-table-column label="操作" width="150" align="center"> |
|
|
|
<el-table-column label="操作" width="50" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div style="display: flex;justify-content: space-between;"> |
|
|
|
<div> |
|
|
|
<el-button class="commonbutton" @click="cancelRequest(scope.row)" style="width:80px;" |
|
|
|
:disabled="setBtnDisabled(scope.row, 'cancel')">撤消申请</el-button> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-button class="commonbutton" @click="chargeBack(scope.row)" style="width:50px;" |
|
|
|
:disabled="setBtnDisabled(scope.row, 'chargeBack')">退费申请</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-dropdown> |
|
|
|
<span> |
|
|
|
<i class="el-icon-s-operation" style="font-size: 24px;color: blue;cursor:pointer;"></i> |
|
|
|
</span> |
|
|
|
<el-dropdown-menu slot="dropdown"> |
|
|
|
<el-dropdown-item @click.native="refreshRequest(scope.row)">刷新状态</el-dropdown-item> |
|
|
|
<el-dropdown-item @click.native="cancelRequest(scope.row)" |
|
|
|
:disabled="setBtnDisabled(scope.row, 'cancel')">撤消申请</el-dropdown-item> |
|
|
|
<el-dropdown-item @click.native="chargeBack(scope.row)" |
|
|
|
:disabled="setBtnDisabled(scope.row, 'chargeBack')">退费申请</el-dropdown-item> |
|
|
|
</el-dropdown-menu> |
|
|
|
</el-dropdown> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
@ -196,6 +198,17 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
// 撤消申请(作废申请) |
|
|
|
refreshRequest(row) { |
|
|
|
console.log('refreshRequest',row) |
|
|
|
postapi('/api/app/ChargeRequest/SyncChargeRequestFlagFromInterface', { chargeRequestId: row.id }) |
|
|
|
.then(res => { |
|
|
|
if (res.code > -1) { |
|
|
|
this.btnRefresh() |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
// 撤消申请(作废申请) |
|
|
|
cancelRequest(row) { |
|
|
|
postapi('/api/app/ChargeRequest/CancelChargeRequest', { chargeRequestId: row.id }) |
|
|
|
|