Pārlūkot izejas kodu

资产改教学用品添加打印

应县
ndbs pirms 11 mēnešiem
vecāks
revīzija
4d92d33d8a
26 mainītis faili ar 104 papildinājumiem un 74 dzēšanām
  1. +9
    -9
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Form.cshtml
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Form.js
  3. +6
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Index.cshtml
  4. +16
    -12
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Index.js
  5. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/Form.cshtml
  6. +6
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/Form.js
  7. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormView.cshtml
  8. +6
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormView.js
  9. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/Index.cshtml
  10. +5
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/Index.js
  11. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/Form.js
  12. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/FormView.js
  13. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/Index.cshtml
  14. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/Index.js
  15. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsType/Form.cshtml
  16. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsType/Form.js
  17. +4
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsType/Index.cshtml
  18. +8
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsType/Index.js
  19. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_PurchaseApply/Form.cshtml
  20. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_PurchaseApply/Form.js
  21. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_PurchaseApply/FormView.cshtml
  22. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_PurchaseApply/FormView.js
  23. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_PurchaseApply/Index.cshtml
  24. +5
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_PurchaseApply/Index.js
  25. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_Storage/Index.cshtml
  26. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_Storage/Index.js

+ 9
- 9
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Form.cshtml Parādīt failu

@@ -1,22 +1,22 @@
@{
ViewBag.Title = "登记在册资产";
ViewBag.Title = "登记在册教学用品";
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap">
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产编号<font face="宋体">*</font></div>
<div class="lr-form-item-title">教学用品编号<font face="宋体">*</font></div>
<input id="ACode" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产名称<font face="宋体">*</font></div>
<div class="lr-form-item-title">教学用品名称<font face="宋体">*</font></div>
<input id="AName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产分类<font face="宋体">*</font></div>
<div class="lr-form-item-title">教学用品分类<font face="宋体">*</font></div>
<div id="ATId" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产属性<font face="宋体">*</font></div>
<div class="lr-form-item-title">教学用品属性<font face="宋体">*</font></div>
<div id="AAssType"></div>
</div>
@*<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
@@ -48,7 +48,7 @@
<input id="AManufacturer" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产来源</div>
<div class="lr-form-item-title">教学用品来源</div>
<div id="ASource"></div>
</div>*@
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
@@ -56,7 +56,7 @@
<div id="ASupplierId"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产排序<font face="宋体">*</font></div>
<div class="lr-form-item-title">教学用品排序<font face="宋体">*</font></div>
<input id="AOrder" type="text" class="form-control" isvalid="yes" checkexpession="Num" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
@@ -78,11 +78,11 @@
<div id="AIIStoragePosition" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产照片</div>
<div class="lr-form-item-title">教学用品照片</div>
<div id="APhoto"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产描述</div>
<div class="lr-form-item-title">教学用品描述</div>
<textarea id="AContent" class="form-control" style="height: 150px;"></textarea>
</div>*@
</div>


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Form.js Parādīt failu

@@ -2,7 +2,7 @@
* Copyright (c) 2013-2018 北京泉江科技有限公司
* 创建人:超级管理员
* 日 期:2019-03-29 11:22
* 描 述:登记在册资产
* 描 述:登记在册教学用品
*/
var acceptClick;
var keyValue = request('keyValue');


+ 6
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Index.cshtml Parādīt failu

@@ -1,5 +1,5 @@
@{
ViewBag.Title = "登记在册资产";
ViewBag.Title = "登记在册教学用品";
Layout = "~/Views/Shared/_Index.cshtml";
}
<div class="lr-layout lr-layout-left-center">
@@ -20,15 +20,15 @@
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">资产编号</div>
<div class="lr-form-item-title">教学用品编号</div>
<input id="ACode" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">资产名称</div>
<div class="lr-form-item-title">教学用品名称</div>
<input id="AName" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">资产类别</div>
<div class="lr-form-item-title">教学用品类别</div>
<div id="ATId"></div>
</div>
</div>
@@ -42,9 +42,10 @@
<div class=" btn-group btn-group-sm" learun-authorize="yes">
<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;录入</a>
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
<a id="lr_arrangement" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;整理资产数据</a>
<a id="lr_arrangement" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;整理教学用品数据</a>
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
<a id="lr_detail" class="btn btn-default"><i class="fa fa-bars"></i>&nbsp;查看明细</a>
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i>&nbsp;打印</a>
</div>
</div>
</div>


+ 16
- 12
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Index.js Parādīt failu

@@ -2,7 +2,7 @@
* Copyright (c) 2013-2018 北京泉江科技有限公司
* 创建人:超级管理员
* 日 期:2019-03-29 11:22
* 描 述:登记在册资产
* 描 述:登记在册教学用品
*/
var refreshGirdData;
var bootstrap = function ($, learun) {
@@ -45,7 +45,7 @@ var bootstrap = function ($, learun) {
$('#lr_edit').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('AId');
if (learun.checkrow(keyValue)) {
learun.layerConfirm('警告!编辑资产信息将导致资产出入记录被清空请确认!', function (res) {
learun.layerConfirm('警告!编辑教学用品信息将导致教学用品出入记录被清空请确认!', function (res) {
if (res) {
learun.layerForm({
id: 'form',
@@ -62,13 +62,13 @@ var bootstrap = function ($, learun) {

}
});
//资产明细
//教学用品明细
$('#lr_detail').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('AId');
if (learun.checkrow(keyValue)) {
learun.layerForm({
id: 'form',
title: '资产明细',
title: '教学用品明细',
url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfoItem/Index?AId=' + keyValue,
width: 1100,
height: 700,
@@ -80,7 +80,7 @@ var bootstrap = function ($, learun) {
}
});

//整理资产数据
//整理教学用品数据
$("#lr_arrangement").on('click',
function() {

@@ -105,16 +105,20 @@ var bootstrap = function ($, learun) {
});
}
});
// 打印
$('#lr_print').on('click', function () {
$('#gridtable').jqprintTable();
});
},
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfo/GetPageList',
headData: [
{ label: "资产编号", name: "ACode", width: 200, align: "left" },
{ label: "资产名称", name: "AName", width: 200, align: "left" },
{ label: "教学用品编号", name: "ACode", width: 200, align: "left" },
{ label: "教学用品名称", name: "AName", width: 200, align: "left" },
{
label: "资产分类", name: "ATId", width: 100, align: "left",
label: "教学用品分类", name: "ATId", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_AssetsType',
@@ -127,7 +131,7 @@ var bootstrap = function ($, learun) {
}
},
{
label: "资产属性", name: "AAssType", width: 100, align: "left",
label: "教学用品属性", name: "AAssType", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
@@ -162,7 +166,7 @@ var bootstrap = function ($, learun) {
{ label: "规格型号", name: "AModel", width: 150, align: "left" },
{ label: "生产厂家", name: "AManufacturer", width: 150, align: "left" },
{
label: "资产来源", name: "ASource", width: 100, align: "left",
label: "教学用品来源", name: "ASource", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
@@ -185,8 +189,8 @@ var bootstrap = function ($, learun) {
});
}
},
{ label: "资产排序", name: "AOrder", width: 100, align: "left" },
{ label: "资产品牌", name: "ASpecification", width: 100, align: "left" },
{ label: "教学用品排序", name: "AOrder", width: 100, align: "left" },
{ label: "教学用品品牌", name: "ASpecification", width: 100, align: "left" },
{ label: "用途", name: "AUse", width: 100, align: "left" },
],
mainId: 'AId',


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/Form.cshtml Parādīt failu

@@ -15,7 +15,7 @@
<input id="AAPrice" type="text" class="form-control" readonly="readonly" />
</div>
<div class="col-xs-12 lr-form-item" data-table="Ass_AssetsInfoApply">
<div class="lr-form-item-title">资产属性<font face="宋体">*</font></div>
<div class="lr-form-item-title">教学用品属性<font face="宋体">*</font></div>
<div id="AAAssType" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoApply">


+ 6
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/Form.js Parādīt failu

@@ -85,13 +85,13 @@ var bootstrap = function ($, learun) {
$('#Ass_AssetsInfoItemApply').jfGrid({
headData: [
{
label: '资产编号', name: 'AAICode', width: 150, align: 'left'
label: '教学用品编号', name: 'AAICode', width: 150, align: 'left'
},
{
label: '资产名称', name: 'AAIName', width: 150, align: 'left'
label: '教学用品名称', name: 'AAIName', width: 150, align: 'left'
},
{
label: '资产类别', name: 'AAITId', width: 150, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
label: '教学用品类别', name: 'AAITId', 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,
@@ -103,7 +103,7 @@ var bootstrap = function ($, learun) {
}
},
//{
//label: '资产来源', name: 'AAISource', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
//label: '教学用品来源', name: 'AAISource', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
// learun.clientdata.getAsync('dataItem', {
// key: value,
// code: 'zcly',
@@ -131,7 +131,7 @@ var bootstrap = function ($, learun) {
}
},
{
label: '生成资产明细', name: 'AAIHasDetail', width: 80, align: 'left', formatter: function (cellvalue) {
label: '生成教学用品明细', name: 'AAIHasDetail', width: 80, align: 'left', formatter: function (cellvalue) {
return (cellvalue === true || cellvalue === "true") ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>";
}
},
@@ -166,7 +166,7 @@ var bootstrap = function ($, learun) {
},
//{label: '生产厂家', name: 'AAIManufacturer', width: 100, align: 'left'},
{
label: '资产品牌', name: 'AAISpecification', width: 100, align: 'left'
label: '教学用品品牌', name: 'AAISpecification', width: 100, align: 'left'
},
//{label: '用途', name: 'AAIUse', width: 100, align: 'left'},
{


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormView.cshtml Parādīt failu

@@ -15,7 +15,7 @@
<input id="AAPrice" type="text" class="form-control" readonly="readonly" />
</div>
<div class="col-xs-12 lr-form-item" data-table="Ass_AssetsInfoApply">
<div class="lr-form-item-title">资产属性</div>
<div class="lr-form-item-title">教学用品属性</div>
<div id="AAAssType" readonly="readonly"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoApply">


+ 6
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormView.js Parādīt failu

@@ -85,13 +85,13 @@ var bootstrap = function ($, learun) {
$('#Ass_AssetsInfoItemApply').jfGrid({
headData: [
{
label: '资产编号', name: 'AAICode', width: 150, align: 'left'
label: '教学用品编号', name: 'AAICode', width: 150, align: 'left'
},
{
label: '资产名称', name: 'AAIName', width: 150, align: 'left'
label: '教学用品名称', name: 'AAIName', width: 150, align: 'left'
},
{
label: '资产类别', name: 'AAITId', width: 150, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
label: '教学用品类别', name: 'AAITId', 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,
@@ -103,7 +103,7 @@ var bootstrap = function ($, learun) {
}
},
{
label: '资产来源', name: 'AAISource', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
label: '教学用品来源', name: 'AAISource', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'zcly',
@@ -131,7 +131,7 @@ var bootstrap = function ($, learun) {
}
},
{
label: '生成资产明细', name: 'AAIHasDetail', width: 80, align: 'left', formatter: function (cellvalue) {
label: '生成教学用品明细', name: 'AAIHasDetail', width: 80, align: 'left', formatter: function (cellvalue) {
return (cellvalue === true || cellvalue === "true") ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>";
}
},
@@ -170,7 +170,7 @@ var bootstrap = function ($, learun) {
// label: '生产厂家', name: 'AAIManufacturer', width: 100, align: 'left'
//},
{
label: '资产品牌', name: 'AAISpecification', width: 100, align: 'left'
label: '教学用品品牌', name: 'AAISpecification', width: 100, align: 'left'
},
//{
// label: '用途', name: 'AAIUse', width: 100, align: 'left'


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/Index.cshtml Parādīt failu

@@ -38,6 +38,7 @@
<div class=" btn-group btn-group-sm" learun-authorize="yes">
<a id="lr_submit" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;提交</a>
<a id="lr_viewcg" class="btn btn-default"><i class="fa fa-address-card"></i>&nbsp;查看采购单</a>
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i>&nbsp;打印</a>
</div>
</div>
</div>


+ 5
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/Index.js Parādīt failu

@@ -202,6 +202,10 @@ var bootstrap = function ($, learun) {
});
}
});
// 打印
$('#lr_print').on('click', function () {
$('#gridtable').jqprintTable();
});
},
// 初始化列表
initGird: function () {
@@ -223,7 +227,7 @@ var bootstrap = function ($, learun) {
}
},
{
label: "资产属性", name: "AAAssType", width: 100, align: "left",
label: "教学用品属性", name: "AAAssType", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/Form.js Parādīt failu

@@ -93,10 +93,10 @@ var bootstrap = function ($, learun) {
$('#Ass_AssetsOutItemApply').jfGrid({
headData: [
{
label: '资产编码', name: 'AOICode', width: 150, align: 'left'
label: '教学用品编码', name: 'AOICode', width: 150, align: 'left'
},
{
label: '资产名称', name: 'AOIName', width: 150, align: 'left'
label: '教学用品名称', name: 'AOIName', width: 150, align: 'left'
},
{
label: '规格型号', name: 'AOIModel', width: 150, align: 'left'
@@ -193,7 +193,7 @@ var bootstrap = function ($, learun) {
},

//{
// label: '资产类别', name: 'AOITId', width: 150, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
// label: '教学用品类别', name: 'AOITId', 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,
@@ -246,7 +246,7 @@ var bootstrap = function ($, learun) {
// }
//},
//{
// label: '资产型号', name: 'AOIModel', width: 100, align: 'left'
// label: '教学用品型号', name: 'AOIModel', width: 100, align: 'left'
//},
//{
// label: '生产厂家', name: 'AOIManufacturer', width: 100, align: 'left'
@@ -267,7 +267,7 @@ var bootstrap = function ($, learun) {
createTime = learun.formatDate(createTime, 'yyyy-MM-dd');
learun.layerForm({
id: 'print',
title: '固定资产调拨单',
title: '固定教学用品调拨单',
url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsOutApply/Print?createTime=' + createTime,
width: 1100,
height: 800,


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/FormView.js Parādīt failu

@@ -49,7 +49,7 @@ var bootstrap = function ($, learun) {
createTime = learun.formatDate(createTime, 'yyyy-MM-dd');
learun.layerForm({
id: 'print',
title: '固定资产调拨单',
title: '固定教学用品调拨单',
url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsOutApply/Print?keyValue=' + keyValue + '&AOProcessId=' + AOProcessId + '&createTime=' + createTime,
width: 1100,
height: 800,
@@ -60,10 +60,10 @@ var bootstrap = function ($, learun) {
$('#Ass_AssetsOutItemApply').jfGrid({
headData: [
{
label: '资产编码', name: 'AOICode', width: 150, align: 'left'
label: '教学用品编码', name: 'AOICode', width: 150, align: 'left'
},
{
label: '资产名称', name: 'AOIName', width: 150, align: 'left'
label: '教学用品名称', name: 'AOIName', width: 150, align: 'left'
},
{
label: '规格型号', name: 'AOIModel', width: 150, align: 'left'
@@ -160,7 +160,7 @@ var bootstrap = function ($, learun) {
},

//{
// label: '资产类别', name: 'AOITId', width: 150, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
// label: '教学用品类别', name: 'AOITId', 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,
@@ -213,7 +213,7 @@ var bootstrap = function ($, learun) {
// }
//},
//{
// label: '资产型号', name: 'AOIModel', width: 100, align: 'left'
// label: '教学用品型号', name: 'AOIModel', width: 100, align: 'left'
//},
//{
// label: '生产厂家', name: 'AOIManufacturer', width: 100, align: 'left'


+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/Index.cshtml Parādīt failu

@@ -32,8 +32,9 @@
<a id="lr_view" class="btn btn-default"><i class="fa fa-address-card"></i>&nbsp;查看</a>
</div>
<div class=" btn-group btn-group-sm" learun-authorize="yes">
<a id="lr_submit" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp; 提交</a>
<a id="lr_submit" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp; 提交</a>
<a id="lr_incom" class="btn btn-default"><i class="fa fa-mail-reply-all"></i>&nbsp;查看缺货单</a>
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i>&nbsp;打印</a>
</div>
</div>
</div>


+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/Index.js Parādīt failu

@@ -178,6 +178,10 @@ var bootstrap = function ($, learun) {
});
}
});
// 打印
$('#lr_print').on('click', function () {
$('#gridtable').jqprintTable();
});
},
// 初始化列表
initGird: function () {


+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsType/Form.cshtml Parādīt failu

@@ -1,18 +1,18 @@
@{
ViewBag.Title = "资产类别管理";
ViewBag.Title = "教学用品类别管理";
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap">
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsType" >
<div class="lr-form-item-title">资产类别编号<font face="宋体">*</font></div>
<div class="lr-form-item-title">教学用品类别编号<font face="宋体">*</font></div>
<input id="ATCode" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsType" >
<div class="lr-form-item-title">资产类别名称<font face="宋体">*</font></div>
<div class="lr-form-item-title">教学用品类别名称<font face="宋体">*</font></div>
<input id="AName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsType" >
<div class="lr-form-item-title">上级资产类别</div>
<div class="lr-form-item-title">上级教学用品类别</div>
<div id="ATPTId" ></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsType" >


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsType/Form.js Parādīt failu

@@ -2,7 +2,7 @@
* Copyright (c) 2013-2018 北京泉江科技有限公司
* 创建人:超级管理员
* 日 期:2019-03-19 15:20
* 描 述:资产类别管理
* 描 述:教学用品类别管理
*/
var acceptClick;
var keyValue = request('keyValue');


+ 4
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsType/Index.cshtml Parādīt failu

@@ -1,5 +1,5 @@
@{
ViewBag.Title = "资产类别管理";
ViewBag.Title = "教学用品类别管理";
Layout = "~/Views/Shared/_Index.cshtml";
}
<div class="lr-layout " >
@@ -27,11 +27,12 @@
<a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a>
</div>
<div class=" btn-group btn-group-sm" learun-authorize="yes">
<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;录入</a>
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;录入</a>
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
<a id="lr_lock" class="btn btn-default"><i class="fa fa-lock"></i>&nbsp;审核</a>
<a id="lr_unlock" class="btn btn-default"><i class="fa fa-unlock"></i>&nbsp;去审核</a>
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i>&nbsp;打印</a>
</div>
</div>
</div>


+ 8
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsType/Index.js Parādīt failu

@@ -2,7 +2,7 @@
* Copyright (c) 2013-2018 北京泉江科技有限公司
* 创建人:超级管理员
* 日 期:2019-03-19 15:20
* 描 述:资产类别管理
* 描 述:教学用品类别管理
*/
var refreshGirdData;
var bootstrap = function ($, learun) {
@@ -108,16 +108,20 @@ var bootstrap = function ($, learun) {
});
}
});
// 打印
$('#lr_print').on('click', function () {
$('#gridtable').jqprintTable();
});
},
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsType/GetList',
headData: [
{ label: "资产类别编号", name: "ATCode", width: 200, align: "left" },
{ label: "资产类别名称", name: "AName", width: 200, align: "left" },
{ label: "教学用品类别编号", name: "ATCode", width: 200, align: "left" },
{ label: "教学用品类别名称", name: "AName", width: 200, align: "left" },
{
label: "上级资产类别", name: "ATPTId", width: 200, align: "left",
label: "上级教学用品类别", name: "ATPTId", width: 200, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_AssetsType',


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_PurchaseApply/Form.cshtml Parādīt failu

@@ -20,7 +20,7 @@
<div id="PACreateDeptId" isvalid="yes" checkexpession="NotNull" readonly></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_PurchaseApply">
<div class="lr-form-item-title">资产属性<font face="宋体">*</font></div>
<div class="lr-form-item-title">教学用品属性<font face="宋体">*</font></div>
<div id="PAssType" isvalid="yes" checkexpession="NotNull" ></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_PurchaseApply">


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_PurchaseApply/Form.js Parādīt failu

@@ -96,14 +96,14 @@ var bootstrap = function ($, learun) {
$('#Ass_PurchaseItemApply').jfGrid({
headData: [
{
label: '资产名称', name: 'PAIName', width:100, align: 'left'
label: '教学用品名称', name: 'PAIName', width:100, align: 'left'
},
//{label: '英文名称', name: 'PAIEName', width:100, align: 'left'},
{
label: '规格型号', name: 'PAIModel', width:100, align: 'left'
},
{
label: '资产类别', name: 'PAITId', width: 100, align: 'left',
label: '教学用品类别', name: 'PAITId', width: 100, align: 'left',
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_AssetsType',


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_PurchaseApply/FormView.cshtml Parādīt failu

@@ -20,7 +20,7 @@
<div id="PACreateDeptId" isvalid="yes" checkexpession="NotNull" readonly="readonly"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_PurchaseApply">
<div class="lr-form-item-title">资产属性<font face="宋体">*</font></div>
<div class="lr-form-item-title">教学用品属性<font face="宋体">*</font></div>
<div id="PAssType" isvalid="yes" checkexpession="NotNull" readonly="readonly"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_PurchaseApply">


+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_PurchaseApply/FormView.js Parādīt failu

@@ -91,14 +91,14 @@ var bootstrap = function ($, learun) {
$('#Ass_PurchaseItemApply').jfGrid({
headData: [
{
label: '资产名称', name: 'PAIName', width: 100, align: 'left'
label: '教学用品名称', name: 'PAIName', width: 100, align: 'left'
},
//{label: '英文名称', name: 'PAIEName', width: 100, align: 'left'},
{
label: '规格型号', name: 'PAIModel', width: 100, align: 'left'
},
{
label: '资产类别', name: 'PAITId', width: 100, align: 'left',
label: '教学用品类别', name: 'PAITId', width: 100, align: 'left',
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_AssetsType',
@@ -118,11 +118,11 @@ var bootstrap = function ($, learun) {
},
//{label: '生产厂家', name: 'PAIManufacturer', width: 100, align: 'left'},
{
label: '资产要求', name: 'PAIRequest', width: 100, align: 'left'
label: '教学用品要求', name: 'PAIRequest', width: 100, align: 'left'
},
//{label: '用途', name: 'PAIUse', width: 100, align: 'left'},
{
label: '资产描述', name: 'PAIContent', width: 100, align: 'left'
label: '教学用品描述', name: 'PAIContent', width: 100, align: 'left'
},
],
height: 270,


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_PurchaseApply/Index.cshtml Parādīt failu

@@ -41,6 +41,7 @@
<div class=" btn-group btn-group-sm" learun-authorize="yes">
<a id="lr_submit" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;提交</a>
<a id="lr_view" class="btn btn-default"><i class="fa fa-search"></i>&nbsp;查看</a>
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i>&nbsp;打印</a>
</div>
</div>
</div>


+ 5
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_PurchaseApply/Index.js Parādīt failu

@@ -178,6 +178,10 @@ var bootstrap = function ($, learun) {
});
}
});
// 打印
$('#lr_print').on('click', function () {
$('#gridtable').jqprintTable();
});
},
// 初始化列表
initGird: function () {
@@ -211,7 +215,7 @@ var bootstrap = function ($, learun) {
}
},
{
label: "资产属性", name: "PAssType", width: 100, align: "left",
label: "教学用品属性", name: "PAssType", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_Storage/Index.cshtml Parādīt failu

@@ -31,6 +31,7 @@
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
<a id="lr_allEnable" class="btn btn-default"><i class="fa fa-eercast"></i>&nbsp;全部启用</a>
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i>&nbsp;打印</a>
</div>
</div>
</div>


+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_Storage/Index.js Parādīt failu

@@ -72,6 +72,10 @@ var bootstrap = function ($, learun) {
}
});
})
// 打印
$('#lr_print').on('click', function () {
$('#gridtable').jqprintTable();
});
},
// 初始化列表
initGird: function () {


Notiek ielāde…
Atcelt
Saglabāt