#832 状态联动问题的解决

This commit is contained in:
zhanghaitao 2014-08-07 15:54:05 +08:00
parent 45cc3ddb9b
commit f3fe5d918e
1 changed files with 5 additions and 2 deletions

View File

@ -50,15 +50,18 @@
var _v= obj; var _v= obj;
if(_v==100) if(_v==100)
{ {
//alert(3); //var select=$("select[id='issue_status_id']");
$("select[id='issue_status_id']").find("option[value='3']").attr("selected","selected");
} }
else if(_v==0) else if(_v==0)
{ {
//alert(1); //alert(1);
$("select[id='issue_status_id']").find("option[value='1']").attr("selected","selected");
} }
else if(_v!=100&&_v!=0) else if(_v!=100&&_v!=0)
{ {
// alert(2); // alert(2);
$("select[id='issue_status_id']").find("option[value='2']").attr("selected","selected");
} }
} }
</script> </script>