Преглед на файлове

奖学金管理学生选择框增加字段

临城职教中职
坤 梁 преди 2 години
родител
ревизия
da9e20da98
променени са 1 файла, в които са добавени 8 реда и са изтрити 6 реда
  1. +8
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/Form.js

+ 8
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/Form.js Целия файл

@@ -31,8 +31,8 @@ var bootstrap = function ($, learun) {
value: 'stuname',
text: 'stuname',
headData: [
{ label: "学号", name: "stuno", width: 100, align: "left" },
{ label: "姓名", name: "stuname", width: 100, align: "left" },
{ label: "学号", name: "stuno", width: 120, align: "left" },
{ label: "姓名", name: "stuname", width: 80, align: "left" },
{
label: "班级", name: "classno", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
@@ -45,7 +45,9 @@ var bootstrap = function ($, learun) {
}
});
}
}
},
{ label: "年级", name: "grade", width: 40, align: "left" },
{ label: "身份证号", name: "identitycardno", width: 100, align: "left" }
],
select: function (item) {
$("#StuNo").val(item.stuno);
@@ -58,7 +60,7 @@ var bootstrap = function ($, learun) {
$.lrSetForm(top.$.rootUrl + '/EducationalAdministration/Scholarshipxj/GetFormData?keyValue=' + keyValue, function (data) {
for (var id in data) {
if (!!data[id].length && data[id].length > 0) {
$('#' + id ).jfGridSet('refreshdata', data[id]);
$('#' + id).jfGridSet('refreshdata', data[id]);
}
else {
$('[data-table="' + id + '"]').lrSetFormData(data[id]);
@@ -66,8 +68,8 @@ var bootstrap = function ($, learun) {
}
});
}
$('#IsType').val('0');
$('#State').val('-1');
$('#IsType').val('0');
$('#State').val('-1');
}
};
// 保存数据


Зареждане…
Отказ
Запис