Bladeren bron

去掉isScrap 字段

金隅分支
zhichao lei 4 jaren geleden
bovenliggende
commit
6f208cc2c8
5 gewijzigde bestanden met toevoegingen van 2 en 50 verwijderingen
  1. +0
    -16
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js
  2. +0
    -16
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexOfMy.js
  3. +0
    -16
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.js
  4. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/AssScrap/AssScrapService.cs
  5. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_AssetsInfoItem/Ass_AssetsInfoItemService.cs

+ 0
- 16
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js Bestand weergeven

@@ -302,22 +302,6 @@ var bootstrap = function ($, learun) {
}
},
{ label: "资产价值", name: "AIAssValue", width: 100, align: "left" },
//{
// label: "是否报废", name: "AIIsScrap", width: 100, align: "left",
// formatterAsync: function (callback, value, row, op, $cell) {
// learun.clientdata.getAsync('dataItem', {
// key: value,
// code: 'YesOrNoBit',
// callback: function (_data) {
// if (_data.text) {
// callback(_data.text);
// } else {
// callback('正常使用');
// }
// }
// });
// }
//},
{ label: "购置日期", name: "AIAddTime", width: 100, align: "left" },
{
label: "资产分类", name: "AIASSClass", width: 100, align: "left",


+ 0
- 16
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexOfMy.js Bestand weergeven

@@ -302,22 +302,6 @@ var bootstrap = function ($, learun) {
}
},
{ label: "资产价值", name: "AIAssValue", width: 100, align: "left" },
//{
// label: "是否报废", name: "AIIsScrap", width: 100, align: "left",
// formatterAsync: function (callback, value, row, op, $cell) {
// learun.clientdata.getAsync('dataItem', {
// key: value,
// code: 'YesOrNoBit',
// callback: function (_data) {
// if (_data.text) {
// callback(_data.text);
// } else {
// callback('正常使用');
// }
// }
// });
// }
//},
{ label: "购置日期", name: "AIAddTime", width: 100, align: "left" },
{
label: "资产分类", name: "AIASSClass", width: 100, align: "left",


+ 0
- 16
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.js Bestand weergeven

@@ -267,22 +267,6 @@ var bootstrap = function ($, learun) {
}
},
{ label: "资产价值", name: "AIAssValue", width: 100, align: "left" },
{
label: "是否报废", name: "AIIsScrap", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'YesOrNoBit',
callback: function (_data) {
if (_data.text) {
callback(_data.text);
} else {
callback('正常使用');
}
}
});
}
},
{ label: "购置日期", name: "AIAddTime", width: 100, align: "left" },
{
label: "资产分类", name: "AIASSClass", width: 100, align: "left",


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/AssScrap/AssScrapService.cs Bestand weergeven

@@ -244,7 +244,7 @@ namespace Learun.Application.TwoDevelopment.AssetManagementSystem
assInfo.AStock = assInfo.AStock - 1;
db.Update(assInfo);
}
assInfoItem.AIASSState = 2;
assInfoItem.AIASSState = 1;

db.Update(assInfoItem);
}


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_AssetsInfoItem/Ass_AssetsInfoItemService.cs Bestand weergeven

@@ -376,7 +376,7 @@ namespace Learun.Application.TwoDevelopment.AssetManagementSystem
t.AContent
");
strSql.Append(" FROM Ass_AssetsInfoItem a LEFT JOIN dbo.Ass_AssetsInfo t ON a.AId=t.AId ");
strSql.Append(" WHERE a.AIIsScrap<>2 ");
strSql.Append(" WHERE a.AIASSState <> 2 or t.AIASSState is null ");
// 虚拟参数
var dp = new DynamicParameters(new { });
if (!aiid.IsEmpty())


Laden…
Annuleren
Opslaan