From e85bee994de96ab2b6973531f51fba766e95cfeb Mon Sep 17 00:00:00 2001 From: ndbs Date: Fri, 17 Mar 2023 11:20:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=AB=E5=9B=B0=E7=94=9F=E8=B5=84=E5=8A=A9?= =?UTF-8?q?=20=E7=BC=96=E8=BE=91=E6=95=B0=E6=8D=AE=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/StuFellowship/Form.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuFellowship/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuFellowship/Form.js index 78b432927..74a468c39 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuFellowship/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuFellowship/Form.js @@ -192,13 +192,22 @@ var bootstrap = function ($, learun) { for (var id in data) { if (!!data[id].length && data[id].length > 0) { $('#' + id).jfGridSet('refreshdata', data[id]); - console.log(1) } else { - console.log(2) + $('[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) + }); } }