35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
${request.getValidateScript()}
|
||
<script>
|
||
function reasonModify()
|
||
{//修改退款问题配置
|
||
var ajax = new Z.Ajax();
|
||
ajax.setClassName("DesignOrderPresenter");
|
||
ajax.setMethodName("designOrderRefundReasonModify");
|
||
var reason = document.getElementById("title").value;
|
||
if(!reason){
|
||
Z.alert("标题不能为空")
|
||
return;
|
||
}
|
||
var id='${id}';
|
||
ajax.addParam(reason);
|
||
ajax.addParam(id);
|
||
ajax.setFailureAlert();
|
||
ajax.setSuccess(function(){
|
||
Z.success("操作成功", function(){parent.location.reload();parent.Z.Dialog.close();});
|
||
});
|
||
ajax.execute();
|
||
}
|
||
</script>
|
||
<style>
|
||
.container{ min-height:298px;}
|
||
</style>
|
||
<div style="margin:55px 0 0 50px;font-size:large">
|
||
<label class="">标题 :</label>
|
||
<input id="title" class="z-input" style="width:300px" value="${designOrderRefundReason.getTitle()}"/>
|
||
</div>
|
||
<#-- 操作 -->
|
||
<div class="z-absolute z-w100p z-h60 z-text-center z-pd10" style="bottom:0;left:0;border-top:ridge">
|
||
<button id="doAssignDer" class="z-button z-w90 ${zmr_color_class}" type="button" onclick="reasonModify();">确认</button>
|
||
<button type="button" class="z-button z-w90" onclick="parent.Z.Dialog.close(location.hash);">取消</button>
|
||
</div>
|