@@ -266,10 +266,12 @@ var bootstrap = function ($, learun) { | |||||
//打印 | //打印 | ||||
$('#detailprint').on('click', function () { | $('#detailprint').on('click', function () { | ||||
var createTime = $('#CreateTime').val(); | |||||
createTime = learun.formatDate(createTime, 'yyyy-MM-dd'); | |||||
learun.layerForm({ | learun.layerForm({ | ||||
id: 'print', | id: 'print', | ||||
title: '北京金隅科技学校固定资产验收单', | title: '北京金隅科技学校固定资产验收单', | ||||
url: top.$.rootUrl + '/AssetManagementSystem/Ass_Acceptance/Print', | |||||
url: top.$.rootUrl + '/AssetManagementSystem/Ass_Acceptance/Print?createTime=' + createTime, | |||||
width: 1100, | width: 1100, | ||||
height: 800, | height: 800, | ||||
btn: null | btn: null | ||||
@@ -256,11 +256,12 @@ var bootstrap = function ($, learun) { | |||||
//打印 | //打印 | ||||
$('#detailprint').on('click', function () { | $('#detailprint').on('click', function () { | ||||
console.log(ProcessId); | |||||
var createTime = $('#CreateTime').val(); | |||||
createTime = learun.formatDate(createTime, 'yyyy-MM-dd'); | |||||
learun.layerForm({ | learun.layerForm({ | ||||
id: 'print', | id: 'print', | ||||
title: '北京金隅科技学校固定资产验收单', | title: '北京金隅科技学校固定资产验收单', | ||||
url: top.$.rootUrl + '/AssetManagementSystem/Ass_Acceptance/Print?keyValue=' + keyValue + '&ProcessId=' + ProcessId, | |||||
url: top.$.rootUrl + '/AssetManagementSystem/Ass_Acceptance/Print?keyValue=' + keyValue + '&ProcessId=' + ProcessId + '&createTime=' + createTime, | |||||
width: 1100, | width: 1100, | ||||
height: 800, | height: 800, | ||||
btn: null | btn: null | ||||
@@ -14,7 +14,7 @@ | |||||
<div class="tableT">北京金隅科技学校固定资产验收单</div> | <div class="tableT">北京金隅科技学校固定资产验收单</div> | ||||
<div> | <div> | ||||
<span>项目名称:<span id="name"></span></span> | <span>项目名称:<span id="name"></span></span> | ||||
<span style="margin-right: 20px;float: right;">日期:@ViewBag.Date</span> | |||||
<span style="margin-right: 20px;float: right;">日期:<span id="time"></span></span> | |||||
</div> | </div> | ||||
<table class="table"> | <table class="table"> | ||||
<tr> | <tr> | ||||
@@ -85,6 +85,10 @@ | |||||
} | } | ||||
} | } | ||||
var createTime = getQueryString('createTime'); | |||||
$('#time').text(createTime); | |||||
var ProcessId = getQueryString('ProcessId'); | var ProcessId = getQueryString('ProcessId'); | ||||
if (ProcessId) { | if (ProcessId) { | ||||
TaskLogData = top.learun.httpGet( | TaskLogData = top.learun.httpGet( | ||||
@@ -116,10 +116,12 @@ var bootstrap = function ($, learun) { | |||||
//打印 | //打印 | ||||
$('#detailprint').on('click', function () { | $('#detailprint').on('click', function () { | ||||
var createTime = $('#AOCreateTime').val(); | |||||
createTime = learun.formatDate(createTime, 'yyyy-MM-dd'); | |||||
learun.layerForm({ | learun.layerForm({ | ||||
id: 'print', | id: 'print', | ||||
title: '固定资产调拨单', | title: '固定资产调拨单', | ||||
url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsOutApply/Print?keyValue=' + keyValue + '&AOProcessId=' + AOProcessId, | |||||
url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsOutApply/Print?keyValue=' + keyValue + '&AOProcessId=' + AOProcessId + '&createTime=' + createTime, | |||||
width: 1100, | width: 1100, | ||||
height: 800, | height: 800, | ||||
btn: null | btn: null | ||||
@@ -263,10 +263,12 @@ var bootstrap = function ($, learun) { | |||||
//打印 | //打印 | ||||
$('#detailprint').on('click', function () { | $('#detailprint').on('click', function () { | ||||
var createTime = $('#AOCreateTime').val(); | |||||
createTime = learun.formatDate(createTime, 'yyyy-MM-dd'); | |||||
learun.layerForm({ | learun.layerForm({ | ||||
id: 'print', | id: 'print', | ||||
title: '固定资产调拨单', | title: '固定资产调拨单', | ||||
url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsOutApply/Print', | |||||
url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsOutApply/Print?createTime=' + createTime, | |||||
width: 1100, | width: 1100, | ||||
height: 800, | height: 800, | ||||
btn: null | btn: null | ||||
@@ -45,10 +45,12 @@ var bootstrap = function ($, learun) { | |||||
//打印 | //打印 | ||||
$('#detailprint').on('click', function () { | $('#detailprint').on('click', function () { | ||||
var createTime = $('#AOCreateTime').val(); | |||||
createTime = learun.formatDate(createTime, 'yyyy-MM-dd'); | |||||
learun.layerForm({ | learun.layerForm({ | ||||
id: 'print', | id: 'print', | ||||
title: '固定资产调拨单', | title: '固定资产调拨单', | ||||
url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsOutApply/Print?keyValue=' + keyValue + '&AOProcessId=' + AOProcessId, | |||||
url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsOutApply/Print?keyValue=' + keyValue + '&AOProcessId=' + AOProcessId + '&createTime=' + createTime, | |||||
width: 1100, | width: 1100, | ||||
height: 800, | height: 800, | ||||
btn: null | btn: null | ||||
@@ -14,7 +14,7 @@ | |||||
<div class="tableT">固定资产调拨单</div> | <div class="tableT">固定资产调拨单</div> | ||||
<div> | <div> | ||||
@*<span>项目名称:<span id="name"></span></span>*@ | @*<span>项目名称:<span id="name"></span></span>*@ | ||||
<span style="margin-right: 20px;float: right;">日期:@ViewBag.Date</span> | |||||
<span style="margin-right: 20px;float: right;">日期:<span id="time"></span></span> | |||||
</div> | </div> | ||||
<table class="table"> | <table class="table"> | ||||
<tr> | <tr> | ||||
@@ -82,6 +82,8 @@ | |||||
} | } | ||||
var AOProcessId = getQueryString('AOProcessId'); | var AOProcessId = getQueryString('AOProcessId'); | ||||
var createTime = getQueryString('createTime'); | |||||
$('#time').text(createTime); | |||||
if (AOProcessId) { | if (AOProcessId) { | ||||
TaskLogData = top.learun.httpGet( | TaskLogData = top.learun.httpGet( | ||||
top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsOutApply/GetNWFTaskLogData?processId=' + AOProcessId, ''); | top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsOutApply/GetNWFTaskLogData?processId=' + AOProcessId, ''); | ||||