From 3a81fa280e9ca091e1372d894c5df73aa6f5b2c7 Mon Sep 17 00:00:00 2001 From: zhangli <1109134334@qq.com> Date: Wed, 1 Sep 2021 10:17:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=9C=A8=E5=86=8C=E7=99=BB?= =?UTF-8?q?=E8=AE=B0=E6=98=8E=E7=BB=86=E7=BC=96=E8=BE=91=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E6=97=A0=E6=B3=95=E4=BF=9D=E5=AD=98=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Ass_AssetsInfoItem/Form.cshtml | 4 ++-- .../AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.js | 3 +++ .../Ass_AssetsInfoItem/Ass_AssetsInfoItemService.cs | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.cshtml index 79854304e..2351a51a3 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.cshtml @@ -5,8 +5,8 @@
@*
序号
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.js index 6923ff564..d907f3764 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.js @@ -87,6 +87,9 @@ var bootstrap = function ($, learun) { $('[data-table="' + id + '"]').lrSetFormData(data[id]); } } + if (!data["Ass_AssetsInfoItem"].AICode) { + $('#AICode').val(newCode); + } }); } else { $('#AICode').val(newCode); diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_AssetsInfoItem/Ass_AssetsInfoItemService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_AssetsInfoItem/Ass_AssetsInfoItemService.cs index a98657418..ff8e0ac2c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_AssetsInfoItem/Ass_AssetsInfoItemService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_AssetsInfoItem/Ass_AssetsInfoItemService.cs @@ -653,6 +653,7 @@ namespace Learun.Application.TwoDevelopment.AssetManagementSystem Ass_AssetsInfoItemEntity.AISpecificationtype = entity.AISpecificationtype; Ass_AssetsInfoItemEntity.AIUnits = entity.AIUnits; Ass_AssetsInfoItemEntity.AIAssValue = entity.AIAssValue; + Ass_AssetsInfoItemEntity.AIPlace = entity.AIPlace; Ass_AssetsInfoItemEntity.AIASSClass = entity.AIASSClass; Ass_AssetsInfoItemEntity.AIASSState = entity.AIASSState; Ass_AssetsInfoItemEntity.AIAddType = entity.AIAddType;