Browse Source

贫困生资助 编辑数据回显

新疆体育高职分支
ndbs 1 year ago
parent
commit
e85bee994d
1 changed files with 11 additions and 2 deletions
  1. +11
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuFellowship/Form.js

+ 11
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuFellowship/Form.js View File

@@ -192,13 +192,22 @@ var bootstrap = function ($, learun) {
for (var id in data) { for (var id in data) {
if (!!data[id].length && data[id].length > 0) { if (!!data[id].length && data[id].length > 0) {
$('#' + id).jfGridSet('refreshdata', data[id]); $('#' + id).jfGridSet('refreshdata', data[id]);
console.log(1)
} }
else { else {
console.log(2)
$('[data-table="' + id + '"]').lrSetFormData(data[id]); $('[data-table="' + id + '"]').lrSetFormData(data[id]);
} }
} }
$("#CreateDate").val(data.StuFellowship.CreateDate);
$('#SubsidizeType').lrselectSet(data.StuFellowship.SubsidizeType);
$("#FunderNationStandard").val(data.StuFellowship.FunderNationStandard);
$("#AmountPayable").val(data.StuFellowship.AmountPayable);
$("#ApplyReason").val(data.StuFellowship.ApplyReason);
$("#ReleaseDate").val(data.StuFellowship.ReleaseDate)
$("#FinalPayingAmount").val(data.StuFellowship.FinalPayingAmount)
$("#ApplyReason").val(data.StuFellowship.ApplyReason)
$("#Remark").val(data.StuFellowship.Remark)
}); });
} }
} }


Loading…
Cancel
Save