123456789101112131415161718192021222324252627282930313233 |
-
- $(function () {
-
- var reg = /^[1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0$/;
- var learnSystem = $("#LearnSystem").val();
- if (learnSystem == "" || learnSystem == null) {
- $("#LearnSystem").val("");
- }
- else {
- if (!reg.test(learnSystem)) {
- $("#LearnSystem").val("");
- }
- else {
- $("#LearnSystem").val(parseFloat(learnSystem).toFixed(1));
- }
- }
- });
- function Specialty_Save() {
- $(document.forms[0]).submit();
- }
- function QueryStandard(data) {
- var standardID = $("#StandardID").combogridX("getValue");
- if (standardID == "" || standardID == "-1" || standardID == null) {
- $("#Code").val("");
- }
- else {
- $("#Code").val(data.Code);
- }
- }
|