diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_Acceptance/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_Acceptance/Form.cshtml
index 57f965cfe..6e4f3367d 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_Acceptance/Form.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_Acceptance/Form.cshtml
@@ -32,7 +32,7 @@
-
+ @**@
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_Acceptance/Print.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_Acceptance/Print.cshtml
index d002cbb55..7df2cca81 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_Acceptance/Print.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_Acceptance/Print.cshtml
@@ -72,7 +72,7 @@
if (tempdatra[i].AAIStock != 'undefined') {
num += tempdatra[i].AAIStock;
}
-
+
pricenum += tempdatra[i].AAIPrice * tempdatra[i].AAIStock;
//单位
var AAIUnit = '';
@@ -92,7 +92,9 @@
key: tempdatra[i].AAIUseDeptId,
keyId: 'id',
callback: function (_data) {
- AAIUseDeptName = _data['name'];
+ if (_data['name'] && _data['name'] != 'undefined') {
+ AAIUseDeptName = _data['name'];
+ }
}
});
//放置地点
@@ -102,7 +104,9 @@
key: tempdatra[i].AAIStorageId,
keyId: 'sid',
callback: function (_data) {
- AAIStorage += _data['sname'];
+ if (_data['sname'] && _data['sname'] != 'undefined') {
+ AAIStorage += _data['sname'];
+ }
}
});
top.learun.clientdata.getAsync('custmerData', {
@@ -110,7 +114,9 @@
key: tempdatra[i].AAIStoragePosition,
keyId: 'rid',
callback: function (_data) {
- AAIStorage += _data['rname'];
+ if (_data['rname'] && _data['rname'] != 'undefined') {
+ AAIStorage += _data['rname'];
+ }
}
});
//使用人
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/AssetsFormView.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/AssetsFormView.cshtml
index 57f282db0..d07637903 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/AssetsFormView.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/AssetsFormView.cshtml
@@ -8,7 +8,7 @@
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/Print.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/Print.cshtml
index 990186673..e6bf55b85 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/Print.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/Print.cshtml
@@ -66,6 +66,7 @@
$(function () {
var tempdatra = top["layer_formAss_AssetsOutApply"].tempdatra;
+ //console.log(tempdatra);
if (tempdatra) {
var html = '';
var num = 0, pricenum = 0;
@@ -83,7 +84,7 @@
key: tempdatra[i].AOIOldDepartment,
keyId: 'id',
callback: function (_data) {
- if (_data['sname'] && _data['sname'] != 'undefined') {
+ if (_data['name'] && _data['name'] != 'undefined') {
AOIOldDepartment = _data['name'];
}
}
@@ -119,7 +120,7 @@
key: tempdatra[i].AOINewDepartment,
keyId: 'id',
callback: function (_data) {
- if (_data['sname'] && _data['sname'] != 'undefined') {
+ if (_data['name'] && _data['name'] != 'undefined') {
AOINewDepartment = _data['name'];
}
}