瀏覽代碼

调整在册登记明细编辑部分字段无法保存的问题

金隅分支
zhangli 3 年之前
父節點
當前提交
3a81fa280e
共有 3 個檔案被更改,包括 6 行新增2 行删除
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.cshtml
  2. +3
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.js
  3. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_AssetsInfoItem/Ass_AssetsInfoItemService.cs

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.cshtml 查看文件

@@ -5,8 +5,8 @@
<script> var newCode='@ViewBag.NewCode'</script>
<div class="lr-form-wrap">
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem" style="display: none">
<div class="lr-form-item-title">明细编号<font face="宋体">*</font></div>
<input id="AICode" hidden="hidden" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
<div class="lr-form-item-title">明细编号</div>
<input id="AICode" hidden="hidden" type="text" class="form-control" />
</div>
@*<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">序号</div>


+ 3
- 0
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);


+ 1
- 0
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;


Loading…
取消
儲存