doEditDesignPriceDZ.zml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. ${request.getValidateScript()}
  2. <script>
  3. function editDesignPrice(designId)
  4. {
  5. var check = document.getElementById('push_file');
  6. Z.confirm("确认审核通过吗?", function(designIds){
  7. var ajax = new Z.Ajax();
  8. ajax.setClassName("OrderPresenter");
  9. ajax.setMethodName("doPassCheck");
  10. ajax.addParam("designIds", designId);
  11. ajax.addParam("pushFile",check.checked);
  12. ajax.setFailureAlert();
  13. ajax.setSuccess(function(){
  14. Z.success("操作成功", function(){document.theFrom.submit()});
  15. window.top.location.reload();
  16. });
  17. ajax.execute();
  18. })
  19. }
  20. function doEditDesignPrice(designId,designPrice,orderText) {
  21. var dialog = new Z.Dialog();
  22. dialog.title = "修改订单佣金";
  23. dialog.url = "/doEditDesignPrice.htm?designId=" + designId +"&designPrice="+designPrice+"&orderText="+orderText;
  24. dialog.width = 600;
  25. dialog.height = 244;
  26. dialog.execute();
  27. }
  28. </script>
  29. <table class="z-table z-bordered z-pd6">
  30. <tr class="z-h50" bgcolor="${oddColor}">
  31. <td width="25%">订单号:</td>
  32. <td width="*">${designId}</td>
  33. </tr>
  34. <!--<tr class="z-h60" bgcolor="${trColor}">
  35. <td>产品描述:</td>
  36. <td>${orderText}</td>
  37. </tr>
  38. <tr class="z-h70" bgcolor="${zmr_thead_bgcolor}">
  39. <td>设计佣金:</td>
  40. <td>
  41. <#if designPrice lt 0>${Amounts.toYuanMustRadix(designPrice)}<#else>${designPrice}</#if>
  42. </td>
  43. </tr>-->
  44. <tr class="z-h70">
  45. <td>文件推送:</td>
  46. <td>
  47. <input type="checkbox" id="push_file">
  48. </td>
  49. </tr>
  50. </table>
  51. <#-- 操作 -->
  52. <div class="z-absolute z-w100p z-h60 z-text-center z-bg-gray z-pd10" style="left:0">
  53. <button id="editDesignPrice" class="z-button z-large z-w120 ${zmr_color_class}" type="button" onclick="editDesignPrice('${designId}');">审核通过</button>&nbsp;
  54. <!--<button type="button" class="z-button z-large z-mg-l10" onclick="doEditDesignPrice('${designId}','${designPrice}','${orderText}');">修改佣金</button>-->
  55. </div>