Sfoglia il codice sorgente

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

金隅分支
zhangli 3 anni fa
parent
commit
3a81fa280e
3 ha cambiato i file con 6 aggiunte e 2 eliminazioni
  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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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;


Caricamento…
Annulla
Salva