取消来函审核下拉国际化
This commit is contained in:
@@ -212,7 +212,7 @@ var checkboxes=$("#${id} ${value} tbody tr td input.i-checks:checkbox");
|
|||||||
var requestName =requestNameArr[1];
|
var requestName =requestNameArr[1];
|
||||||
|
|
||||||
if(requestName.indexOf("null")==-1&&typeof(indexTableName)!="undefined"&&indexTableName!=null&&indexTableName!=''&&indexTableName.indexOf("null")==-1){
|
if(requestName.indexOf("null")==-1&&typeof(indexTableName)!="undefined"&&indexTableName!=null&&indexTableName!=''&&indexTableName.indexOf("null")==-1){
|
||||||
$.jBox.open("iframe:${ctx}/basics/serviceDictInfo/requestSelectInfo", "取消审核通过", 400, 500, { buttons: { '确定': 1, '取消': 0 },
|
$.jBox.open("iframe:${ctx}/basics/serviceDictInfo/requestSelectInfo", "<spring:message code='cancel_approved'/>", 400, 500, { buttons: { '<spring:message code="ok"/>': 1, '<spring:message code="cancel"/>': 0 },
|
||||||
submit: function (v, h, f) {
|
submit: function (v, h, f) {
|
||||||
if (v == 0) {
|
if (v == 0) {
|
||||||
return true; // close the window
|
return true; // close the window
|
||||||
@@ -220,7 +220,7 @@ var checkboxes=$("#${id} ${value} tbody tr td input.i-checks:checkbox");
|
|||||||
h.find('.errorBlock').hide('fast', function () { $(this).remove(); });
|
h.find('.errorBlock').hide('fast', function () { $(this).remove(); });
|
||||||
var cancelRequestId = h.find("iframe")[0].contentWindow.requestIsAudit.value;
|
var cancelRequestId = h.find("iframe")[0].contentWindow.requestIsAudit.value;
|
||||||
if (!cancelRequestId) {
|
if (!cancelRequestId) {
|
||||||
$('<div class="errorBlock" style="display: none;font-size:18px;color:red;text-align:center;margin-top:10px">请选择来函信息!</div>').prependTo(h).show('fast');
|
$('<div class="errorBlock" style="display: none;font-size:18px;color:red;text-align:center;margin-top:10px"><spring:message code="required"/></div>').prependTo(h).show('fast');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if(url.indexOf("?")>0){
|
if(url.indexOf("?")>0){
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ function changesel(){
|
|||||||
style="scrolling:auto;z-index:999;position:relative;height: 25px; font-size: 18px; text-align: center; margin-top: 30px; margin-left: 20px; line-height: 30px;">
|
style="scrolling:auto;z-index:999;position:relative;height: 25px; font-size: 18px; text-align: center; margin-top: 30px; margin-left: 20px; line-height: 30px;">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="control-label col-md-3"><font color="red">*</font> 来函 </label>
|
<label class="control-label col-md-3"><font color="red">*</font> <spring:message code="letter"/> </label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
|
|
||||||
<select id="requestIsAudit" name="requestId" onchange="changesel()"
|
<select id="requestIsAudit" name="requestId" onchange="changesel()"
|
||||||
|
|||||||
Reference in New Issue
Block a user