pobjBaseInfoByChgCobj.ss.jsp 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <html>
  2. <head>
  3. <js.ss file="/ss/growHeight.js"/>
  4. <js.ss file="/ss/edit.js"/>
  5. <js.ss file="/ss/datePicker/WdatePicker.js"/>
  6. <ssDlg setPval="true"/> <%-- showTitle3333333="true" setValue="true"。Lin --%>
  7. <%-- 再改为 WebC.REQ_objId,避免与数据表里的 对象ID 字段重名。用到再确认。Lin
  8. <equal@ss val="${empty dxid}" val2="true"> --%>
  9. <equal.ss val="${empty ssObjId}" val2="true">
  10. <script>
  11. $(function(){
  12. try{
  13. var groups=wd.display.getwdDialogOpener().wd.display.getInputsGroups();
  14. for(var key in groups){
  15. var group=groups[key];
  16. var thisinput=wd.display.getInputBox(key);
  17. var thisv=thisinput?thisinput.getValue():null;
  18. var v=group.getValue();
  19. if(thisv||!v||!thisinput){
  20. continue;
  21. }
  22. thisinput.setValue(v);
  23. }
  24. }catch(e){
  25. console.log(e);
  26. }
  27. })
  28. </script>
  29. </equal.ss>
  30. </head>
  31. <%--
  32. $@{dataType}
  33. --%>
  34. <%--
  35. <body class="env-input-body" style="padding-top: 12px;padding-left: 8px;" >
  36. --%>
  37. <body class="env-input-body">
  38. <form method="post">
  39. <%-- 改为 <data@ss name="inp"/>。Lin
  40. <tab@ss name="include_input"/> --%>
  41. <data.ss name="pobjBaseInfoByChgCobj"/>
  42. <varJsp.ss file="${include_input}" flush="true"/>
  43. <div class='bottom-div'>
  44. <div class="bottom-down-div border-top">
  45. <%-- 去掉 保存 按钮。Lin --%>
  46. <equal.ss val="${empty saveAndCommitDest}" val2="false">
  47. <%--
  48. <in@put type="submit" value="保存并提交" onclick="wd.display.changeFormAction(&quot;<wd:token service='${saveAndCommit}' dest='${saveAndCommitDest}' param='dxid:"${dxid}",dxm:"${dxm}","${dxm}id":"${dxid}",dataType:"${empty dataType?1:dataType}"' test='' />&quot;,this);" class="bottom-button" >
  49. --%>
  50. <input type="button" value="${saveAndCommitButtonValue}" class="bottom-button"
  51. <%-- 再改,去掉 wd.display.reset(,改为 <varServ@ss resize="true",并把 ${saveAndCommitwidth} 等写入 <varServ@ss width="${saveAndCommitwidth}" 等。Lin
  52. onclick='wd.display.reset("dialog",this,
  53. "<varServ@ss name='${saveAndCommit}' dest='${saveAndCommitDest}' parm='{${saveAndCommitParam},dataType:"${empty dataType?1:dataType}"}'/>",
  54. ${saveAndCommitwidth},${saveAndCommitheight},
  55. ${saveAndCommitminheight},${saveAndCommitmaxheight});' --%>
  56. <%-- 再改,不在页面混写。Lin
  57. onclick='<varServ.ss resize="true" name="${saveAndCommit}" dest="${saveAndCommitDest}" parm="{${saveAndCommitParam},dataType:&quot;${empty dataType?1:dataType}&quot;}" width="${saveAndCommitwidth}" height="${saveAndCommitheight}" minHeight="${saveAndCommitminheight}" maxHeight="${saveAndCommitmaxheight}"/>' --%>
  58. onclick='<varServ.ss resize="true" name="${saveAndCommit}" dest="${saveAndCommitDest}" parm="${saveAndCommitParam}" width="${saveAndCommitwidth}" height="${saveAndCommitheight}" minHeight="${saveAndCommitminheight}" maxHeight="${saveAndCommitmaxheight}"/>'
  59. >
  60. </equal.ss>
  61. <%-- 去掉 变动/更多变动 按钮。Lin --%>
  62. <%-- 去掉 删除 按钮。Lin --%>
  63. <%-- 去掉 删除二级对象的基本情况变动 功能 -- "删除变动" 按钮。Lin --%>
  64. <%-- 去掉 停用 按钮。Lin --%>
  65. <input type="button" value="关闭" onclick="wd.display.closeDialog();" class="bottom-button">
  66. <%--
  67. ${param}
  68. --%>
  69. </div>
  70. </div>
  71. </form>
  72. </body>
  73. </html>