<!-- 进口方额度管理-修改 -->
<style>
.newTabAddUpdateBox td.enter .viewDetailWord{
	width:0.35rem;
	text-align:center;
	top: 0.06rem;
	color: #333 !important;
	cursor:default;
	font-style:normal;
}
.newTabAddUpdateBox td.enter .viewDetailWord:hover{
	text-decoration:none;
}
</style>
<div class="modal fade businessDialog" id="myModal-updateImporter" data-backdrop="static">
	<div class="modal-dialog" style="width:9rem;">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal">
				<span aria-hidden="true" style="font-size:0.18rem">×</span><span class="sr-only">关闭</span>
			</button>
			<span class="modal-title">授信变更</span>
		</div>
		<div class="modal-content" style="max-height:4.7rem;overflow-y:auto;overflow-x:hidden;">
			<form class="form-horizontal businessClass-form" id="warrantyUpdateForm" action="/importerQuota/eci/doUpdate" method="post" autocomplete="off">
				 <input type="hidden" name="id" th:value="${eciImporterQuota?.id}">
				 <div class="newTabAddUpdateBox" style="position:static;border:none;padding-left:0.2rem;padding-right:0.2rem;padding-bottom:0;">
					<div class="row">
						<table>
							<tr>
								<td width="15%">
									<span class="required_fileds_star">进口方</span>：
								</td>
								<td width="35%" class="enter">
									<input type="text" readOnly th:value="${eciImporterQuota?.foreignEnt?.enterpriseName}" class="form-control nowrite">
									<input type="hidden" name="foreignEnt.id" th:value="${eciImporterQuota?.foreignEnt?.id}" id="companyId">
								</td>
								<td width="15%">
									<span class="required_fileds_star">进口方编号</span>：
								</td>
								<td width="35%" class="enter">
									<input type="text" class="form-control nowrite companyNum" th:value="${eciImporterQuota?.foreignEnt?.enterpriseNum}" readonly>
								</td>
							</tr>
							<tr>
								<td width="15%">
									<span class="required_fileds_star">国别</span>：
								</td>
								<td width="35%" class="enter">
									<input type="text" class="form-control nowrite countryName" th:value="${eciImporterQuota?.foreignEnt?.countryName}" readonly>
								</td>
								<td width="15%">
									<span class="required_fileds_star">国别代码</span>：
								</td>
								<td width="35%" class="enter">
									<input type="text" class="form-control nowrite countryCode" th:value="${eciImporterQuota?.foreignEnt?.countryCode}" readonly>
								</td>
							</tr>
							<tr>
								<td width="15%">
									<span class="required_fileds_star">限额额度</span>：
								</td>
								<td width="35%" class="enter">
									<input type="text" class="form-control limitAmountTrue" name="limitAmount" th:value="${eciImporterQuota?.limitAmount}" style="width:0;height:0;font-size:0;line-height:0;opacity:0;">
									<input type="text" class="form-control limitAmount" th:value="${eciImporterQuota?.limitAmount}" style="padding-right:0.65rem;">
									<i class="viewDetailWord showCurrencyUnit"></i>
								</td>
								<td width="15%">
									<span class="required_fileds_star">币种</span>：
								</td>
								<td width="35%" class="enter">
									<input type="text" class="form-control nowrite currencyType" th:value="${eciImporterQuota?.currencyType?.name}" th:code="${eciImporterQuota?.currencyType?.code}" readonly>
									<input type="hidden" name="currencyType.id" th:value="${eciImporterQuota?.currencyType?.id}">
								</td>
							</tr>
							<tr>
								<td width="15%">
									<span class="required_fileds_star">限额生效日</span>：
								</td>
								<td width="35%" class="enter">
									<input type="text" class="form-control effectiveDate" name="effectiveDate" th:value="${#calendars.format(eciImporterQuota?.effectiveDate,'yyyy-MM-dd')}" readonly/>
								</td>
								<td width="15%">
									<span class="required_fileds_star">限额闲置期</span>：
								</td>
								<td width="35%" class="enter">
									<input type="text" class="form-control timeLimit" maxlength="4" name="timeLimit" th:value="${eciImporterQuota?.timeLimit}" style="padding-right:0.65rem;">
									<i class="viewDetailWord">天</i>
								</td>
							</tr>
							<tr>
								<td width="15%">
									<span class="required_fileds_star">限额到期日</span>：
								</td>
								<td width="35%" class="enter">
									<input type="text" class="form-control nowrite expiringDate" name="expiringDate" th:value="${#calendars.format(eciImporterQuota?.expiringDate,'yyyy-MM-dd')}" readonly/>
								</td>
								<td width="15%">
									<span class="required_fileds_star">OA账期</span>：
								</td>
								<td width="35%" class="enter">
									<input type="text" class="form-control" name="oaBilling" th:value="${eciImporterQuota?.oaBilling}" style="padding-right:0.65rem;">
									<i class="viewDetailWord">天</i>
								</td>
							</tr>
							<tr>
								<td width="15%">
									<span class="required_fileds_star">限额余额</span>：
								</td>
								<td width="35%" class="enter">
									<input type="text" class="form-control limitBalanceTrue" name="limitBalance" readonly style="width:0;height:0;line-height:0;opacity:0;font-size:0;">
									<input type="text" class="form-control nowrite limitBalance" th:value="${eciImporterQuota?.limitBalance}" readonly style="padding-right:0.65rem;">
									<i class="viewDetailWord showCurrencyUnit"></i>
								</td>
								<td width="15%">
									<span class="required_fileds_star">授信类型</span>：
								</td>
								<td width="35%" class="enter hasradio">
									<input type='hidden' id="creditTypeOriginalVal" th:value="${eciImporterQuota?.creditType}">
									<label>
										<input type="radio" class="radios" name="creditType" value="single_credit_type">
										<span>单笔授信</span>
									</label>
									<label>
										<input type="radio" class="radios" checked name="creditType" value="revolving_credit_type">
										<span>循环授信</span>
									</label>
								</td>
							</tr>
						</table>
					</div>
				</div>
			</form>
		</div>
		<div class="modal-footer">
			<button class="btn btn-default btn-white btn-info colorbtn" style='margin-bottom:0;'>确认</button>
			<button class="btn btn-default btn-white btn-info canclebtn" data-dismiss="modal" style='margin-bottom:0;'>取消</button>
		</div>
	</div>
</div>
<script src="/js/credit/insurance/policy/eciImporterQuotaUpdate.js"></script>
