Compare commits

...

2 Commits

Author SHA1 Message Date
vine_liutk 13b95c1bbd 完善 2023-03-05 12:07:50 +08:00
vine_liutk f2714f55fd 调整费用配置结构 2023-03-05 11:14:48 +08:00
6 changed files with 249 additions and 37 deletions

View File

@ -15,6 +15,7 @@ return new class extends Migration
{
Schema::create('cost_advices', function (Blueprint $table) {
$table->id();
$table->unsignedBigInteger('nape_p_id')->default(0)->comment('费用父项');
$table->unsignedBigInteger('nape_id')->default(0)->comment('费用项');
$table->unsignedBigInteger('nurse_lv')->default(0)->comment('护理等级');
$table->decimal('money', 10, 2)->default(0)->comment('金额');

View File

@ -19,23 +19,24 @@ class KeywordsTableSeeder extends Seeder
Keywords::truncate();
$list = [
['key' => 'cost_nope', 'name' => '费用项', 'value' => '', 'list' => [
['key' => 'base_fee', 'name' => '养老费', 'type_key' => 'cost_nope', 'value' => ''],
['key' => 'bonds_fee', 'name' => '保证金', 'type_key' => 'cost_nope', 'value' => '', 'list'=>[
['key' => 'live_in', 'name' => '入住', 'type_key' => 'bonds_fee', 'value' => ''],
['key' => 'room_items', 'name' => '房间物品', 'type_key' => 'bonds_fee', 'value' => ''],
['key' => 'health', 'name' => '医疗', 'type_key' => 'bonds_fee', 'value' => ''],
]],
['key' => 'live_fee', 'name' => '入住费用项', 'type_key' => 'cost_nope', 'value' => '', 'list'=>[
['key' => 'live_base_fee', 'name' => '养老费', 'type_key' => 'live_fee', 'value' => ''],
['key' => 'physical', 'name' => '体检', 'type_key' => 'live_fee', 'value' => ''],
['key' => 'heating', 'name' => '暖气费', 'type_key' => 'live_fee', 'value' => ''],
['key' => 'bedding', 'name' => '床上用品', 'type_key' => 'live_fee', 'value' => ''],
]],
['key' => 'continue_fee', 'name' => '续住费用项', 'type_key' => 'cost_nope', 'value' => '', 'list'=>[
['key' => 'continue_base_fee', 'name' => '养老费', 'type_key' => 'continue_fee', 'value' => ''],
['key' => 'water_fee', 'name' => '水电费', 'type_key' => 'continue_fee', 'value' => ''],
['key' => 'nurse_items', 'name' => '护理用品', 'type_key' => 'continue_fee', 'value' => ''],
['key' => 'check_up', 'name' => '血糖检查', 'type_key' => 'continue_fee', 'value' => ''],
['key' => 'use_car', 'name' => '出车', 'type_key' => 'continue_fee', 'value' => ''],
]],
['key' => 'bonds_fee', 'name' => '保证金', 'type_key' => 'cost_nope', 'value' => '', 'list'=>[
['key' => 'live_in', 'name' => '入住', 'type_key' => 'bonds_fee', 'value' => ''],
['key' => 'room_items', 'name' => '房间物品', 'type_key' => 'bonds_fee', 'value' => ''],
['key' => 'health', 'name' => '医疗', 'type_key' => 'bonds_fee', 'value' => ''],
]],
]],
['key' => 'nurse_lv', 'name' => '护理等级', 'value' => '', 'list' => [
['key' => 'nurse_lv_1', 'name' => '一级护理', 'type_key' => 'nurse_lv', 'value' => ''],

View File

@ -0,0 +1,17 @@
<?php
return [
'labels' => [
'LiveContinue' => '续住列表',
'live-continues' => '续住列表',
],
'fields' => [
'name' => '姓名',
'card_no' => '身份证号',
'client_name' => '委托人',
'nurse_lv' => '护理等级',
'live_in_at' => '入住时间',
'avliable_at' => '截至时间',
],
'options' => [
],
];

View File

@ -1,19 +1,74 @@
<div class="row create-order">
<div class="col-md-8">
<div class="card">
<div class="card-header d-flex justify-content-between align-items-start pb-0">
<div class="card-title">续住信息</div>
</div>
<div class="metric-content">
<div class="card-content" >
<div style="height: 74vh;overflow-y: auto;">
<div class="col-md-8">
<div class="card">
<div class="card-header d-flex justify-content-between align-items-start pb-0">
<div class="card-title">续住信息</div>
</div>
<div class="metric-content">
<div class="card-content" >
<div style="height: 74vh;overflow-y: auto;padding-left: 20px;padding-bottom: 20px;padding-right: 20px;">
<div class="mt-2 text-center mb-2 form-divider"></div>
<form class="form-horizontal" action="">
<div class="form-group row">
<label class="col-md-1 text-capitalize asterisk control-label" for="">姓名</label>
<div class="col-md-4">
<select class="form-control select2" name="" id=""></select>
</div>
<label class="col-md-2 text-capitalize asterisk control-label" for="">续住时间</label>
<div class="col-md-4">
<select class="form-control select2" name="" id=""></select>
</div>
</div>
<div class="form-group row">
<label class="col-md-1 text-capitalize asterisk control-label" for="">身份证号</label>
<div class="col-md-4">
<input class="form-control" type="text" value="" disabled>
</div>
<label class="col-md-2 text-capitalize asterisk control-label" for="">年龄</label>
<div class="col-md-4">
<input class="form-control" type="text" value="" disabled>
</div>
</div>
<div class="form-group row">
<label class="col-md-1 text-capitalize asterisk control-label" for="">委托人</label>
<div class="col-md-4">
<input class="form-control" type="text" value="" disabled>
</div>
<label class="col-md-2 text-capitalize asterisk control-label" for="">护理等级</label>
<div class="col-md-4">
<input class="form-control" type="text" value="" disabled>
</div>
</div>
<div class="mt-2 text-center mb-2 form-divider"></div>
<div class="form-group row">
<label class="col-md-2 text-capitalize asterisk control-label" for="">续住项-养老费</label>
<div class="col-md-4">
<input class="form-control" type="text" value="">
</div>
<span class="help-block"><i class="fa feather icon-help-circle"></i>&nbsp;建议费用</span>
</div>
<div class="form-group row">
<label class="col-md-2 text-capitalize asterisk control-label" for="">续住项-养老费</label>
<div class="col-md-4">
<input class="form-control" type="text" value="">
</div>
<span class="help-block"><i class="fa feather icon-help-circle"></i>&nbsp;建议费用</span>
</div>
<div class="form-group row">
<label class="col-md-2 text-capitalize asterisk control-label" for="">续住项-养老费</label>
<div class="col-md-4">
<input class="form-control" type="text" value="">
</div>
<span class="help-block"><i class="fa feather icon-help-circle"></i>&nbsp;建议费用</span>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">

View File

@ -2,18 +2,94 @@
<div class="row create-order">
<div class="col-md-8">
<div class="card">
<div class="card-header d-flex justify-content-between align-items-start pb-0">
<div class="card-title">入住信息</div>
</div>
<div class="metric-content">
<div class="card-content" >
<div style="height: 74vh;overflow-y: auto;">
<div class="card">
<div class="card-header d-flex justify-content-between align-items-start pb-0">
<div class="card-title">入住信息</div>
</div>
<div class="metric-content">
<div class="card-content" >
<div style="height: 74vh;overflow-y: auto;padding-left: 20px;padding-bottom: 20px;padding-right: 20px;">
<div class="mt-2 text-center mb-2 form-divider"></div>
<form class="form-horizontal" action="">
<div class="form-group row">
<label class="col-md-1 text-capitalize asterisk control-label" for="">姓名</label>
<div class="col-md-4">
<select class="form-control select2" name="" id=""></select>
</div>
<label class="col-md-2 text-capitalize asterisk control-label" for="">入住时间</label>
<div class="col-md-4">
<select class="form-control select2" name="" id=""></select>
</div>
</div>
<div class="form-group row">
<label class="col-md-1 text-capitalize asterisk control-label" for="">身份证号</label>
<div class="col-md-4">
<input class="form-control" type="text" value="" disabled>
</div>
<label class="col-md-2 text-capitalize asterisk control-label" for="">年龄</label>
<div class="col-md-4">
<input class="form-control" type="text" value="" disabled>
</div>
</div>
<div class="form-group row">
<label class="col-md-1 text-capitalize asterisk control-label" for="">委托人</label>
<div class="col-md-4">
<input class="form-control" type="text" value="" disabled>
</div>
<label class="col-md-2 text-capitalize asterisk control-label" for="">护理等级</label>
<div class="col-md-4">
<input class="form-control" type="text" value="" disabled>
</div>
</div>
<div class="mt-2 text-center mb-2 form-divider"></div>
<div class="form-group row">
<label class="col-md-2 text-capitalize asterisk control-label" for="">入住项-养老费</label>
<div class="col-md-4">
<input class="form-control" type="text" value="">
</div>
<span class="help-block"><i class="fa feather icon-help-circle"></i>&nbsp;建议费用</span>
</div>
<div class="form-group row">
<label class="col-md-2 text-capitalize asterisk control-label" for="">入住项-养老费</label>
<div class="col-md-4">
<input class="form-control" type="text" value="">
</div>
<span class="help-block"><i class="fa feather icon-help-circle"></i>&nbsp;建议费用</span>
</div>
<div class="form-group row">
<label class="col-md-2 text-capitalize asterisk control-label" for="">入住项-养老费</label>
<div class="col-md-4">
<input class="form-control" type="text" value="">
</div>
<span class="help-block"><i class="fa feather icon-help-circle"></i>&nbsp;建议费用</span>
</div>
<div class="form-group row">
<label class="col-md-2 text-capitalize asterisk control-label" for="">保证金-入住</label>
<div class="col-md-4">
<input class="form-control" type="text" value="">
</div>
<span class="help-block"><i class="fa feather icon-help-circle"></i>&nbsp;建议费用</span>
</div>
<div class="form-group row">
<label class="col-md-2 text-capitalize asterisk control-label" for="">保证金-房间</label>
<div class="col-md-4">
<input class="form-control" type="text" value="">
</div>
<span class="help-block"><i class="fa feather icon-help-circle"></i>&nbsp;建议费用</span>
</div>
<div class="form-group row">
<label class="col-md-2 text-capitalize asterisk control-label" for="">保证金-医疗</label>
<div class="col-md-4">
<input class="form-control" type="text" value="">
</div>
<span class="help-block"><i class="fa feather icon-help-circle"></i>&nbsp;建议费用</span>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">

View File

@ -2,19 +2,81 @@
<div class="row create-order">
<div class="col-md-8">
<div class="card">
<div class="card-header d-flex justify-content-between align-items-start pb-0">
<div class="card-title">结算信息</div>
</div>
<div class="metric-content">
<div class="card-content" >
<div style="height: 74vh;overflow-y: auto;">
<div class="col-md-8">
<div class="card">
<div class="card-header d-flex justify-content-between align-items-start pb-0">
<div class="card-title">结算信息</div>
</div>
<div class="metric-content">
<div class="card-content" >
<div style="height: 74vh;overflow-y: auto;padding-left: 20px;padding-bottom: 20px;padding-right: 20px;">
<div class="mt-2 text-center mb-2 form-divider"></div>
<form class="form-horizontal" action="">
<div class="form-group row">
<label class="col-md-1 text-capitalize asterisk control-label" for="">姓名</label>
<div class="col-md-4">
<select class="form-control select2" name="" id=""></select>
</div>
<label class="col-md-2 text-capitalize asterisk control-label" for="">结算时间</label>
<div class="col-md-4">
<select class="form-control select2" name="" id=""></select>
</div>
</div>
<div class="form-group row">
<label class="col-md-1 text-capitalize asterisk control-label" for="">身份证号</label>
<div class="col-md-4">
<input class="form-control" type="text" value="" disabled>
</div>
<label class="col-md-2 text-capitalize asterisk control-label" for="">年龄</label>
<div class="col-md-4">
<input class="form-control" type="text" value="" disabled>
</div>
</div>
<div class="form-group row">
<label class="col-md-1 text-capitalize asterisk control-label" for="">委托人</label>
<div class="col-md-4">
<input class="form-control" type="text" value="" disabled>
</div>
<label class="col-md-2 text-capitalize asterisk control-label" for="">护理等级</label>
<div class="col-md-4">
<input class="form-control" type="text" value="" disabled>
</div>
</div>
<div class="mt-2 text-center mb-2 form-divider">缴费记录</div>
</form>
<table class="table custom-data-table" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th width='200px;'>缴费项</th>
<th>养老费</th>
<th>其他费用</th>
<th>保证金</th>
<th>缴费时间</th>
</tr>
</thead>
<tbody>
<tr>
<td width='200px;'class="text-wrap text-truncate">入住缴费</td>
<td>1,000 </td>
<td>1,000
<span class="d-inline-block" tabindex="0" data-toggle="tooltip" title="费用明细:">
&nbsp;<a href="javascript:void(0);" class="feather icon-help-circle" ></a>
</span>
</td>
<td>1,000
<span class="d-inline-block" tabindex="0" data-toggle="tooltip" title="保证金明细:">
&nbsp;<a href="javascript:void(0);" class="feather icon-help-circle"></a>
</span>
</td>
<td>2023-01-02 00:00:00 </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
@ -33,7 +95,7 @@
</thead>
<tbody>
<tr>
<td width='100px;'rowspan="3" class="text-wrap text-truncate">续住项</td>
<td width='100px;'rowspan="3" class="text-wrap text-truncate">已交费用</td>
<td>
<label style="padding-left: 23.3px;">养老费</label>
</td>
@ -41,7 +103,7 @@
</tr>
<tr>
<td>
<label>体检</label>
<label>保证金</label>
</td>
<td>1,000</td>
</tr>