操控增加国际化代码,修改列表action检索

This commit is contained in:
zhangwenqing
2019-05-23 17:22:43 +08:00
parent 39cbf62517
commit 99f002d0c6
10 changed files with 50 additions and 24 deletions

View File

@@ -547,8 +547,9 @@ $(function(){
//处理增强字符串配置的匹配区域
$(".district").each(function(){
if($(this).siblings(".otherValue").val()!=''){
if($(this).val()!=$(this).siblings(".otherValue").val()){
var otherVal = $(this).siblings(".otherValue").val();
if(otherVal != '' && typeof otherVal != 'undefined'){
if($(this).val() != otherVal){
$(this).find("option[value=others]").attr("selected","selected");
$(this).siblings(".otherValue").prop("type","text");
}