|
|
|
@ -3,7 +3,7 @@ |
|
|
|
<div> |
|
|
|
<el-tabs v-model="tabChoosed" style="margin-top: 0px;"> |
|
|
|
<el-tab-pane label="待收费项目" name="1"> |
|
|
|
<el-table :data="dataTransOpts.tableM.register_check_asbitem" border style="width: 100%" row-key="id" |
|
|
|
<el-table :data="tableData" border style="width: 100%" row-key="id" |
|
|
|
height="450" highlight-current-row size="small" @selection-change="handleSelectionChange" |
|
|
|
:row-style="{ height: '25px' }"> |
|
|
|
<el-table-column type="selection" align="center" width="40" /> |
|
|
|
@ -17,42 +17,41 @@ |
|
|
|
</el-table> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="已收费项目" name="2"> |
|
|
|
|
|
|
|
<el-table :data="dataTransOpts.tableM.register_check_asbitem" border style="width: 100%" row-key="id" |
|
|
|
height="160" highlight-current-row size="small" @selection-change="handleSelectionChange" |
|
|
|
:row-style="{ height: '25px' }"> |
|
|
|
<el-table-column type="index" label="序号" align="center" width="40" /> |
|
|
|
<el-table-column label="申请单号" min-width="150" prop="asbitemName"></el-table-column> |
|
|
|
<el-table-column prop="total" label="金额" min-width="60" align="center" /> |
|
|
|
<el-table-column prop="ch" label="收费人员" min-width="80" align="center" /> |
|
|
|
<el-table-column prop="ch" label="收费时间" min-width="150" align="center" /> |
|
|
|
<el-table-column label="操作" width="150" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div style="display: flex;justify-content: space-between;"> |
|
|
|
<div> |
|
|
|
<el-button class="commonbutton" @click="dialogWin.AsbChargeRequest = false" |
|
|
|
style="width:80px;">撤消申请</el-button> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-button class="commonbutton" @click="dialogWin.AsbChargeRequest = false" |
|
|
|
style="width:50px;">退费</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<div style="padding: 10px 0 5px 0;">申请单包含项目</div> |
|
|
|
<el-table :data="dataTransOpts.tableM.register_check_asbitem" border style="width: 100%" row-key="id" |
|
|
|
height="256" highlight-current-row size="small" @selection-change="handleSelectionChange" |
|
|
|
:row-style="{ height: '25px' }"> |
|
|
|
<el-table-column type="index" label="序号" align="center" width="40" /> |
|
|
|
<el-table-column label="组合项目" min-width="150" prop="asbitemName"></el-table-column> |
|
|
|
<el-table-column label="标准价格" prop="standardPrice" min-width="70" align="center" /> |
|
|
|
<el-table-column label="数量" prop="amount" min-width="50" align="center"></el-table-column> |
|
|
|
<el-table-column label="实收价格" prop="chargePrice" min-width="70" align="center"></el-table-column> |
|
|
|
<el-table-column prop="total" label="金额" min-width="70" align="center" /> |
|
|
|
<el-table-column prop="standardPrice" label="标准金额" min-width="70" align="center" /> |
|
|
|
</el-table> |
|
|
|
<el-table :data="dataTransOpts.tableM.register_check_asbitem" border style="width: 100%" row-key="id" |
|
|
|
height="160" highlight-current-row size="small" |
|
|
|
:row-style="{ height: '25px' }"> |
|
|
|
<el-table-column type="index" label="序号" align="center" width="40" /> |
|
|
|
<el-table-column label="申请单号" min-width="150" prop="asbitemName"></el-table-column> |
|
|
|
<el-table-column prop="total" label="金额" min-width="60" align="center" /> |
|
|
|
<el-table-column prop="ch" label="收费人员" min-width="80" align="center" /> |
|
|
|
<el-table-column prop="ch" label="收费时间" min-width="150" align="center" /> |
|
|
|
<el-table-column label="操作" width="150" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div style="display: flex;justify-content: space-between;"> |
|
|
|
<div> |
|
|
|
<el-button class="commonbutton" @click="dialogWin.AsbChargeRequest = false" |
|
|
|
style="width:80px;">撤消申请</el-button> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-button class="commonbutton" @click="dialogWin.AsbChargeRequest = false" |
|
|
|
style="width:50px;">退费</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<div style="padding: 10px 0 5px 0;">申请单包含项目</div> |
|
|
|
<el-table :data="dataTransOpts.tableM.register_check_asbitem" border style="width: 100%" row-key="id" |
|
|
|
height="256" highlight-current-row size="small" |
|
|
|
:row-style="{ height: '25px' }"> |
|
|
|
<el-table-column type="index" label="序号" align="center" width="40" /> |
|
|
|
<el-table-column label="组合项目" min-width="150" prop="asbitemName"></el-table-column> |
|
|
|
<el-table-column label="标准价格" prop="standardPrice" min-width="70" align="center" /> |
|
|
|
<el-table-column label="数量" prop="amount" min-width="50" align="center"></el-table-column> |
|
|
|
<el-table-column label="实收价格" prop="chargePrice" min-width="70" align="center"></el-table-column> |
|
|
|
<el-table-column prop="total" label="金额" min-width="70" align="center" /> |
|
|
|
<el-table-column prop="standardPrice" label="标准金额" min-width="70" align="center" /> |
|
|
|
</el-table> |
|
|
|
|
|
|
|
</el-tab-pane> |
|
|
|
</el-tabs> |
|
|
|
@ -84,14 +83,16 @@ export default { |
|
|
|
return { |
|
|
|
tabChoosed: '1', |
|
|
|
tableData: [], //组合项目数据 过滤后显示的数据 |
|
|
|
spanRow: [], //{ startRow: 0, endRow: 0 } 合并行 |
|
|
|
tableDataAll: [], //组合项目数据(该客户所有数据) |
|
|
|
selectedData: [], //选中的组合项目 |
|
|
|
finalSelected: [], //取消合并时与selectedData一致,合并时要追 其他未勾选合并的项目 |
|
|
|
hisRequestData:[], //收费申请单 |
|
|
|
hisRequestDataDetails:[], //收费申请单明细 |
|
|
|
|
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
created() { }, |
|
|
|
created() { |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
mounted() { |
|
|
|
this.initData(this.patientRegister.id); |
|
|
|
@ -101,8 +102,19 @@ export default { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
|
|
|
|
initData() { |
|
|
|
// |
|
|
|
initData(patientRegisterId) { |
|
|
|
this.tableData=[] |
|
|
|
if(!patientRegisterId) return |
|
|
|
postapi('/api/app/registerasbitem/GetCanChargeAsbitemsByPatientRegisterId', { patientRegisterId }) |
|
|
|
.then(res => { |
|
|
|
if(res.code > -1){ |
|
|
|
res.data.forEach(e => { |
|
|
|
e.total = Number(e.chargePrice * e.amount) |
|
|
|
this.tableData.push(e) |
|
|
|
}); |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
handleSelectionChange(v) { |
|
|
|
|