first commit
Cette révision appartient à :
@@ -0,0 +1,80 @@
|
||||
${request.getValidateScript()}
|
||||
<script>
|
||||
function agreeRefundSub()
|
||||
{//同意退款
|
||||
var responsibility = Z("#responsibility").val();
|
||||
var designOrderId=${designId};
|
||||
if(responsibility==0){
|
||||
Z.confirm("您当前选择的责任人:设计师",function(){
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("DesignOrderPresenter");
|
||||
ajax.setMethodName("designOrderAgreeRefund");
|
||||
if(!responsibility){
|
||||
Z.alert("请选择责任部门")
|
||||
return;
|
||||
}
|
||||
ajax.addParam("responsibility", responsibility);
|
||||
ajax.addParam("designOrderId", designOrderId);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("操作成功", function(){parent.location.reload();parent.Z.Dialog.close();});
|
||||
});
|
||||
ajax.execute();
|
||||
});
|
||||
}
|
||||
if(responsibility==1){
|
||||
Z.confirm("您当前选择的责任人:用户",function(){
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("DesignOrderPresenter");
|
||||
ajax.setMethodName("designOrderAgreeRefund");
|
||||
if(!responsibility){
|
||||
Z.alert("请选择责任部门")
|
||||
return;
|
||||
}
|
||||
ajax.addParam("responsibility", responsibility);
|
||||
ajax.addParam("designOrderId", designOrderId);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("操作成功", function(){parent.location.reload();parent.Z.Dialog.close();});
|
||||
});
|
||||
ajax.execute();
|
||||
});
|
||||
}
|
||||
if(responsibility==2){
|
||||
Z.confirm("您当前选择的责任人:售前",function(){
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("DesignOrderPresenter");
|
||||
ajax.setMethodName("designOrderAgreeRefund");
|
||||
if(!responsibility){
|
||||
Z.alert("请选择责任部门")
|
||||
return;
|
||||
}
|
||||
ajax.addParam("responsibility", responsibility);
|
||||
ajax.addParam("designOrderId", designOrderId);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("操作成功", function(){parent.location.reload();parent.Z.Dialog.close();});
|
||||
});
|
||||
ajax.execute();
|
||||
});
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.container{ min-height:300px;}
|
||||
</style>
|
||||
<div style="margin:55px 0 60px 50px;font-size:large">
|
||||
<label class="z-label">退款责任 :</label>
|
||||
<select id="responsibility" name="responsibility" class="z-select z-w200" data-role="z-select-search" data-class="${zmr_color_class}" data-options="maxHeight:100">
|
||||
<option value="1">用户</option>
|
||||
<option value="0">设计师</option>
|
||||
<option value="2">售前</option>
|
||||
</select>
|
||||
</div>
|
||||
<span style="color:red;margin-left: 15px;width:495px;display:inline-block">若选择设计师,则退款责任在于设计师,将会统计到设计师退款率中<br/>若选择用户,则退款责任在于用户,将不会纳入到设计师退款率中</br>若选择售前,则退款责任在于售前,将不会统计到设计师退款率中</span>
|
||||
|
||||
<#-- 操作 -->
|
||||
<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="agreeRefundSub();">确认</button>
|
||||
<button type="button" class="z-button z-w90" onclick="parent.Z.Dialog.close(location.hash);">取消</button>
|
||||
</div>
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur