ApprovalEdit.js 972 B

1234567891011121314151617181920212223242526272829303132
  1. function DifferentDynamicApproval_Edit_Submit() {
  2. var actionText = $('#ddlAction').combobox('getText');
  3. var comment = $('#txtComment').val();
  4. if (actionText == '请选择') {
  5. $.messager.alert('系统提示', '请选择处理动作!');
  6. return;
  7. }
  8. if (actionText == '不同意' && comment == '') {
  9. $.messager.alert('系统提示', '请填写审核意见!');
  10. return;
  11. }
  12. $(document.forms[0]).submit();
  13. }
  14. function QueryClassmajorGrid(data) {
  15. $("#AfterStandardID").combogridX("setValue", data.GrademajorID);
  16. var standardId = $("#AfterStandardID").combogridX("getValue");
  17. }
  18. function QueryAfterStandardGrid(data) {
  19. var standardId = $("#AfterStandardID").combogridX("getValue");
  20. if (standardId != nonSelect) {
  21. var jsonString = "({'QueryParamsDatas':'DictionaryStandard|*|" + standardId + "|@|'})";
  22. $("#AfterClassmajorID").combogridX("reload", eval(jsonString));
  23. }
  24. }