소스 검색

资产 管理部门改为使用人所在的部门字段

金隅分支
zhangli 3 년 전
부모
커밋
ee529921f0
5개의 변경된 파일41개의 추가작업 그리고 34개의 파일을 삭제
  1. +6
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.cshtml
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/FormView.cshtml
  3. +12
    -12
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js
  4. +12
    -12
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.js
  5. +10
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/QRPrint.cshtml

+ 6
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.cshtml 파일 보기

@@ -48,14 +48,14 @@
<div class="lr-form-item-title">资产状态</div>
<div id="AIASSState"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">管理部门</div>
<input id="AdministrativeDepartment" 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>
<div id="AIDepartment"></div>
<div class="lr-form-item-title">管理部门</div>
<input id="AdministrativeDepartment" 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>
<div id="AIDepartment"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">使用人</div>
<div id="AIUsePeople"></div>


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/FormView.cshtml 파일 보기

@@ -65,7 +65,7 @@
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">管理部门</div>
<input id="AdministrativeDepartment" readonly="readonly" type="text" class="form-control" />
<div id="AIDepartment" readonly="readonly"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">使用人</div>


+ 12
- 12
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js 파일 보기

@@ -296,18 +296,18 @@ var bootstrap = function ($, learun) {
});
}
},
{ label: "管理部门", name: "AdministrativeDepartment", width: 100, align: "left" },
//{
// label: "管理部门", name: "AIDepartment", width: 100, align: "left",
// formatterAsync: function (callback, value, row, op, $cell) {
// learun.clientdata.getAsync('department', {
// key: value,
// callback: function (_data) {
// callback(_data.name);
// }
// });
// }
//},
//{ label: "管理部门", name: "AdministrativeDepartment", width: 100, align: "left" },
{
label: "管理部门", name: "AIDepartment", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('department', {
key: value,
callback: function (_data) {
callback(_data.name);
}
});
}
},
{
label: "使用人", name: "AIUsePeople", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {


+ 12
- 12
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.js 파일 보기

@@ -145,18 +145,18 @@ var bootstrap = function ($, learun) {
});
}
},
{ label: "管理部门", name: "AdministrativeDepartment", width: 100, align: "left" },
//{
// label: "管理部门", name: "AIDepartment", width: 100, align: "left",
// formatterAsync: function (callback, value, row, op, $cell) {
// learun.clientdata.getAsync('department', {
// key: value,
// callback: function (_data) {
// callback(_data.name);
// }
// });
// }
//},
//{ label: "管理部门", name: "AdministrativeDepartment", width: 100, align: "left" },
{
label: "管理部门", name: "AIDepartment", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('department', {
key: value,
callback: function (_data) {
callback(_data.name);
}
});
}
},
{
label: "使用人", name: "AIUsePeople", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {


+ 10
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/QRPrint.cshtml 파일 보기

@@ -29,7 +29,7 @@
<div id="top">
<div id="qrcode" style="float: left; font-size: 12px;"></div>
<div id="roghtDiv" style="float: right; line-height: 25px; padding: 5px;">
<div id="AdministrativeDepartment" style="height: 25px;"></div>
<div id="AIDepartment" style="height: 25px;"></div>
<div id="AIUsePeople" style="height: 25px;"></div>
<div id="AIIStorageAndRoom" style="height: 25px;"></div>
</div>
@@ -63,6 +63,14 @@
async: true,
success: function (res) {
var data = res.data.Ass_AssetsInfoItem;
//部门
var AIDepartment = "";
top.learun.clientdata.getAsync('department', {
key: data.AIDepartment,
callback: function (_data) {
AIDepartment = _data.name;
}
});
//使用人
var AIUsePeople = "";
top.learun.clientdata.getAsync('custmerData',
@@ -96,14 +104,13 @@
AIIStoragePosition = _data['rcode'];
}
});
$('#AdministrativeDepartment').html(data.AdministrativeDepartment);
$('#AIDepartment').html(AIDepartment);
$('#AIUsePeople').html(AIUsePeople);
if (AIIStoragePosition) {
$('#AIIStorageAndRoom').html(AIIStorage + "-" + AIIStoragePosition);
} else {
$('#AIIStorageAndRoom').html(AIIStorage);
}
$('#AdministrativeDepartment').html(data.AdministrativeDepartment);
$('#AICodeNumJY').html(data.AICodeNumJY);
$('#AIASSName').html(data.AIASSName);



불러오는 중...
취소
저장