master
yulingwei 4 years ago
parent c308bbbd6c
commit deaa20c5bf

@ -314,7 +314,7 @@
,id: 'LAY_layuipro' //设定一个id防止重复弹出
,moveType: 1 //拖拽模式0或者1
,content: '<div class="trunk-title"> <span class="title_main">结算信息</span></div> <div class="trunk-content article"> <div class="trunk-list baseInfo">'
+'<form action="{:U("safe/edit")}" novalidate="novalidate" method="post" class="paw_info">'
+'<form action="{:U("safe/edit")}" id="settle-form" novalidate="novalidate" method="post" class="paw_info">'
+'<table class="table2" style="margin-top:20px;margin-left:30px;width:100%" >'
+'<tr><td class="l">电话:</td><td class="r"><input type="text" class="input txt" name="tel" id="password" style="width:430px" placeholder="" value="'+tel+'">'
+'<span id="password_tip"></span></td>'
@ -341,11 +341,29 @@
+'<div id="agreementpicList" class="uploader-list" style="display: flex;"></div></td></tr>'
+'<tr><td class="l" colspan="5"><div style="margin-top:40px;" id="tab"><span style="padding-left:20px;color:#26c7dbd4" >*须补充修改协议(联系平台签署)</span></div> </td></tr>'
+'<tr style=""><td class="l"></td><td style="margin-top:50px" class="r">'
+'<input type="submit" class="tj btn ajax-post" value="保存" style="margin-top:40px;width:200px" title="" target-form="paw_info">'
+'<input type="submit" id="settle-submit-btn" class="tj btn ajax-post" value="保存" style="margin-top:40px;width:200px" title="" target-form="paw_info">'
+'<input type="button" id="btn" class="tj btn ajax-post" value="返回" style="margin-top:40px;width:200px;margin-left:50px" title="" target-form="paw_info"></td> </tr></table></form>'
+'</div></div></div>'
// ,content:content
})
$('#settle-submit-btn').click(function(){
$.ajax({
url : '{:U("safe/edit")}',
method : 'POST',
data : $('#settle-form').serializeArray(),
success : function(response) {
if (response.status == 0) {
layer.msg(response.info);
} else {
layer.msg(response.info);
setTimeout(function(){
window.location.href = "{:U('safe/editModify')}"
}, 1)
}
}
});
return false;
});
$("#btn").click(function() {
window.location.href = "{:U('safe/editModify')}"
})

Loading…
Cancel
Save