Explorar el Código

资产管理优化

金隅分支
zhangli hace 3 años
padre
commit
7289de4b3b
Se han modificado 3 ficheros con 17 adiciones y 4 borrados
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.cshtml
  2. +15
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js
  3. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_AssetsInfoItem/Ass_AssetsInfoItemService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.cshtml Ver fichero

@@ -66,7 +66,7 @@
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">资产原价值</div>
<input id="AIAssValue" type="text" class="form-control" />
<input id="AIAssValue" type="number" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">购置日期</div>


+ 15
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js Ver fichero

@@ -217,8 +217,8 @@ var bootstrap = function ($, learun) {
});
}
});
$('#lr_exportexcel').on('click', function () {
page.exportExcel();
});
@@ -276,6 +276,18 @@ var bootstrap = function ($, learun) {
}
},
{ label: "资产名称", name: "AIASSName", width: 200, align: "left" },
{
label: '资产分类', name: 'AIASSClass', width: 150, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_AssetsType',
key: value,
keyId: 'atid',
callback: function (_data) {
callback(_data['aname']);
}
});
}
},
{ label: "资产品牌", name: "AISpecification", width: 100, align: "left" },
{
label: "规格型号", name: "AISpecificationtype", width: 100, align: "left"
@@ -478,7 +490,7 @@ var bootstrap = function ($, learun) {
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
},
exportExcel: function () {
var param = exportWhere || {};
param.AId = AId;
param.AIASSClass = TreeAIASSClass;


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_AssetsInfoItem/Ass_AssetsInfoItemService.cs Ver fichero

@@ -827,6 +827,7 @@ namespace Learun.Application.TwoDevelopment.AssetManagementSystem
Ass_AssetsInfoItemEntity.UsefulLife = entity.UsefulLife;
Ass_AssetsInfoItemEntity.MonthlyDepreciation = entity.MonthlyDepreciation;
Ass_AssetsInfoItemEntity.ResidualValueRate = entity.ResidualValueRate;
Ass_AssetsInfoItemEntity.AIAddTime = entity.AIAddTime;

db.Update(Ass_AssetsInfoItemEntity);
db.Update(Ass_AssetsInfo);


Cargando…
Cancelar
Guardar