MinorStandardSettingEdit.js 577 B

123456789101112131415161718192021
  1. //保存
  2. function MinorStandardSetting_Save() {
  3. var selectStandardID = validChoose().join(',');
  4. $("#selectMinorStandardIDs").val(selectStandardID);
  5. $(document.forms[0]).submit();
  6. }
  7. function validChoose() {
  8. var d = [];
  9. $.each($("#dgMinorStandardList").cmsXDataTable("getSelections"), function (index) {
  10. d.push(this.MinorStandardID);
  11. });
  12. return d;
  13. }
  14. function StandardSelect() {
  15. var standardID = $("#StandardID").combobox("getValue");
  16. $("#dgMinorStandardList").cmsXDataTable("load", $.getDataGridParams("dgMinorStandardList"));
  17. }