34 行
1.1 KiB
Plaintext
34 行
1.1 KiB
Plaintext
${request.getValidateScript()}
|
|
<script>
|
|
function reasonAdd()
|
|
{//添加退款问题配置
|
|
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("DesignOrderPresenter");
|
|
ajax.setMethodName("designOrderRefundReasonAdd");
|
|
var reason = document.getElementById("title").value;
|
|
if(!reason){
|
|
Z.alert("标题不能为空")
|
|
return;
|
|
}
|
|
ajax.addParam("reason", reason);
|
|
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"/>
|
|
</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="reasonAdd();">确认</button>
|
|
<button type="button" class="z-button z-w90" onclick="parent.Z.Dialog.close(location.hash);">取消</button>
|
|
</div>
|