FIC_Solar/SolarPower/Views/PowerStation/_Operation.cshtml
Kai 4b59d59b7c 1. 修改地圖總覽 - 裝置容量小數點第三位
2. 畫面調整
3. 運維廠商加入統編、備註
2021-09-10 14:15:55 +08:00

90 lines
4.9 KiB
Plaintext

<div class="row mb-5">
<div class="col-6"><h3>運維資料</h3></div>
<div class="col-6 text-right">
<a href="javascript:;" class="btn btn-success waves-effect waves-themed mb-3" id="addOperation-btn" onclick="AddOperation()">
<span class="fal fa-plus mr-1"></span>新增
</a>
</div>
<div class="w-100">
<table id="Operation_table" class="table table-bordered table-hover m-0 text-center">
<thead class="thead-themed">
<tr>
<th>廠商類別</th>
<th>廠商</th>
<th>聯絡人</th>
<th>電話</th>
<th>Email</th>
<th>建立日期</th>
<th>建立人</th>
<th>功能</th>
</tr>
</thead>
<tbody>
</tbody>
</table >
</div>
</div>
<div class="modal fade" id="Operation-modal" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">
運維廠商資料 - 新增
</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true"><i class="fal fa-times"></i></span>
</button>
</div>
<div class="modal-body">
<form class="Operation-form" id="Operation-form">
<div class="row">
<div class="form-group col-lg-6">
<label class="form-label" for="Operation_role_modal"><span class="text-danger">*</span>廠商類別</label>
<select class="form-control" id="Operation_role_modal">
<option value="0">施工</option>
<option value="1">清洗</option>
<option value="2">維運</option>
</select>
</div>
<div class="form-group col-lg-6">
<label class="form-label" for="Operation_factory_modal"><span class="text-danger">*</span>廠商</label>
<input type="text" id="Operation_factory_modal" name="Operation_factory_modal" class="form-control">
</div>
<div class="form-group col-lg-6">
<label class="form-label" for="Operation_name_modal"><span class="text-danger">*</span>聯絡人</label>
<input type="text" id="Operation_name_modal" name="Operation_name_modal" class="form-control">
</div>
<div class="form-group col-lg-6">
<label class="form-label" for="Operation_phone_modal"><span class="text-danger">*</span>電話</label>
<input type="text" id="Operation_phone_modal" name="Operation_phone_modal" class="form-control">
</div>
<div class="form-group col-lg-6">
<div style="margin-bottom: 0.3rem">
<label class="form-label" for="Operation_email_modal"><span class="text-danger">*</span>Email</label>
<input type="text" id="Operation_email_modal" name="Operation_email_modal" class="form-control">
</div>
</div>
<div class="form-group col-lg-6">
<div style="margin-bottom: 0.3rem">
<label class="form-label" for="Operation_taxIDNumber_modal"><span class="text-danger">*</span>統一編號</label>
<input type="text" id="Operation_taxIDNumber_modal" name="Operation_taxIDNumber_modal" class="form-control" maxlength="8">
</div>
</div>
<div class="form-group col-lg-12">
<div style="margin-bottom: 0.3rem">
<label class="form-label" for="Operation_remark_modal">備註</label>
<textarea id="Operation_remark_modal" name="Operation_remark_modal" class="form-control" maxlength="255"></textarea>
</div>
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
<button type="button" class="btn btn-primary" onclick="SaveOperation()">確定</button>
</div>
</div>
</div>
</div>