|
|
@ -88,9 +88,9 @@ |
|
|
|
<label class="col-sm-4 control-label is-required">是否含税:</label> |
|
|
|
<div class="col-sm-8"> |
|
|
|
<div class="radio-box" th:each="dict : ${@dict.getType('sys_confirm_tax')}"> |
|
|
|
<input required type="radio" th:id="${'confirmFax_' + dict.dictCode}" |
|
|
|
name="confirmFax" th:value="${dict.dictValue}" th:checked="${dict.isDefault == 'Y' ? true : false}"> |
|
|
|
<label th:for="${'confirmFax_' + dict.dictCode}" th:text="${dict.dictLabel}"></label> |
|
|
|
<input required type="radio" th:id="${'confirmTax_' + dict.dictCode}" |
|
|
|
name="confirmTax" th:value="${dict.dictValue}" th:checked="${dict.isDefault == 'Y' ? true : false}"> |
|
|
|
<label th:for="${'confirmTax_' + dict.dictCode}" th:text="${dict.dictLabel}"></label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -192,11 +192,11 @@ |
|
|
|
var prefix = ctx + "system/customerQuote" |
|
|
|
var commonCurrency = $("#commonCurrency_edit option:selected").val(); |
|
|
|
var businessMembers = [[${formData.businessMembers}]]; |
|
|
|
var confirmFax = $("input[name='confirmFax']"); |
|
|
|
var confirmTax = $("input[name='confirmTax']"); |
|
|
|
$("#form-customerQuote-modify").validate({ focusCleanup: true}); |
|
|
|
confirmFax.val([sysCustomerQuote.confirmFax]); |
|
|
|
confirmFax.change(function () { |
|
|
|
if ($("input[name='confirmFax']").val() == "1") { |
|
|
|
confirmTax.val([sysCustomerQuote.confirmTax]); |
|
|
|
confirmTax.change(function () { |
|
|
|
if ($("input[name='confirmTax']").val() == "1") { |
|
|
|
$("input[name='rmbTax']").val(sysCustomerQuote.taxRate); |
|
|
|
} else { |
|
|
|
$("input[name='rmbTax']").val(0); |
|
|
|