Files
ziqim/Yangcai365_web/manage/zview/order/doEditDesignPriceDZ.zml
T
2025-02-20 14:59:35 +08:00

63 行
2.0 KiB
Plaintext

${request.getValidateScript()}
<script>
function editDesignPrice(designId)
{
var check = document.getElementById('push_file');
Z.confirm("确认审核通过吗?", function(designIds){
var ajax = new Z.Ajax();
ajax.setClassName("OrderPresenter");
ajax.setMethodName("doPassCheck");
ajax.addParam("designIds", designId);
ajax.addParam("pushFile",check.checked);
ajax.setFailureAlert();
ajax.setSuccess(function(){
Z.success("操作成功", function(){document.theFrom.submit()});
window.top.location.reload();
});
ajax.execute();
})
}
function doEditDesignPrice(designId,designPrice,orderText) {
var dialog = new Z.Dialog();
dialog.title = "修改订单佣金";
dialog.url = "/doEditDesignPrice.htm?designId=" + designId +"&designPrice="+designPrice+"&orderText="+orderText;
dialog.width = 600;
dialog.height = 244;
dialog.execute();
}
</script>
<table class="z-table z-bordered z-pd6">
<tr class="z-h50" bgcolor="${oddColor}">
<td width="25%">订单号:</td>
<td width="*">${designId}</td>
</tr>
<!--<tr class="z-h60" bgcolor="${trColor}">
<td>产品描述:</td>
<td>${orderText}</td>
</tr>
<tr class="z-h70" bgcolor="${zmr_thead_bgcolor}">
<td>设计佣金:</td>
<td>
<#if designPrice lt 0>${Amounts.toYuanMustRadix(designPrice)}<#else>${designPrice}</#if>
</td>
</tr>-->
<tr class="z-h70">
<td>文件推送:</td>
<td>
<input type="checkbox" id="push_file">
</td>
</tr>
</table>
<#-- 操作 -->
<div class="z-absolute z-w100p z-h60 z-text-center z-bg-gray z-pd10" style="left:0">
<button id="editDesignPrice" class="z-button z-large z-w120 ${zmr_color_class}" type="button" onclick="editDesignPrice('${designId}');">审核通过</button>&nbsp;
<!--<button type="button" class="z-button z-large z-mg-l10" onclick="doEditDesignPrice('${designId}','${designPrice}','${orderText}');">修改佣金</button>-->
</div>