|
@@ -26,24 +26,26 @@ $(".conditionHintTips").on('click',".mayResultSelect",function(){
|
|
|
if(tmpPushMsgDetail.type == 2){
|
|
|
for(var m = 0;m < tmpPushMsgDetail.content.details.length;m++){
|
|
|
var tmpPushMsgDetailContentVal = tmpPushMsgDetail.content.details[m]
|
|
|
- if(tmpPushMsgDetailContentVal.controlType == 0){
|
|
|
- var domList = that.find(".caculateLis").children("li")
|
|
|
- for(var n =0;n < tmpPushMsgDetailContentVal.details.length;n++){
|
|
|
- if(tmpPushMsgDetailContentVal.details[n].state == 1){
|
|
|
- domList.eq(n).attr("data-select","select").children("i").css({
|
|
|
- "background":"url('../images/sex2.png') center center no-repeat"
|
|
|
- })
|
|
|
- }
|
|
|
- if(tmpPushMsgDetailContentVal.details[n].state == 0){
|
|
|
- domList.eq(n).attr("data-select","").children("i").css({
|
|
|
- "background":"url('../images/sex1.png') center center no-repeat"
|
|
|
- })
|
|
|
+ if(that.find(".makesureResult").html() != '请选择'){
|
|
|
+ if(tmpPushMsgDetailContentVal.controlType == 0){
|
|
|
+ var domList = that.find(".caculateLis").children("li")
|
|
|
+ for(var n =0;n < tmpPushMsgDetailContentVal.details.length;n++){
|
|
|
+ if(tmpPushMsgDetailContentVal.details[n].state == 1){
|
|
|
+ domList.eq(n).attr("data-select","select").children("i").css({
|
|
|
+ "background":"url('../images/sex2.png') center center no-repeat"
|
|
|
+ })
|
|
|
+ }
|
|
|
+ if(tmpPushMsgDetailContentVal.details[n].state == 0){
|
|
|
+ domList.eq(n).attr("data-select","").children("i").css({
|
|
|
+ "background":"url('../images/sex1.png') center center no-repeat"
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
- if(tmpPushMsgDetailContentVal.controlType == 2){
|
|
|
- var domLis = that.find("input[type=text]").eq(m)
|
|
|
- $(domLis).val(tmpPushMsgDetailContentVal.value)
|
|
|
+ if(tmpPushMsgDetailContentVal.controlType == 2){
|
|
|
+ var domLis = that.find("input[type=text]").eq(m)
|
|
|
+ $(domLis).val(tmpPushMsgDetailContentVal.value)
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|