| | |
| | | var sm =data.appointmentStartTime.split(':')[1]; |
| | | var eh =data.appointmentEndTime.split(':')[0]; |
| | | var em =data.appointmentEndTime.split(':')[1]; |
| | | if($('#platform_account').is(':checked')){ |
| | | data.cityManagerId = $("#platform_account").val() |
| | | } |
| | | |
| | | if($("#pCode").val()==''){ |
| | | Feng.info("请选择省") |
| | |
| | | Feng.info("请选择市") |
| | | return; |
| | | } |
| | | if($("#account").val()=='' ){ |
| | | if(data.cityManagerId=='' ){ |
| | | Feng.info("请选择账号") |
| | | return; |
| | | } |
| | |
| | | carPhoto1.setUploadBarId("progressBar"); |
| | | carPhoto1.init(); |
| | | TSiteInfo.getTime() |
| | | |
| | | |
| | | |
| | | $('#platform_account').on('click', function (){ |
| | | if($('#platform_account').is(':checked')){ |
| | | $('#account').val(""); |
| | | $('#account').attr("disabled", 'disabled'); |
| | | }else{ |
| | | $('#account').removeAttr("disabled"); |
| | | } |
| | | }); |
| | | }); |