oa按钮暂时不隐藏不上线
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
}
|
||||
@MyControls.Btn("批量下载交易确认书", "BatchDownLoadDoc()")
|
||||
<button class="btn btn-primary" id="batchSendEmail" style="margin-left:16px;">批量发送邮件</button>
|
||||
<button class="btn btn-primary" id="batchSendOA" style="margin-left:16px;">批量发送OA</button>
|
||||
@* <button class="btn btn-primary" id="batchSendOA" style="margin-left:16px;">批量发送OA</button> *@
|
||||
@if (PS.GetErpConfig().IsAutoSealAndUploadFiles && !PS.GetErpConfig().IsAutoSealAfterGeneratedBook)
|
||||
{
|
||||
@MyControls.Btn("批量确认书用印", "BatchSealContracts()")
|
||||
|
||||
@@ -37,16 +37,16 @@ const colModelGrid = (new function () {
|
||||
return html;
|
||||
}
|
||||
},
|
||||
{ label: 'OA状态', name: 'OAStatus', width: 100, align: 'center' },
|
||||
{ label: 'OA-URL', name: 'OAURL', width: 150, align: 'center',
|
||||
formatter: function (cellValue, options, rowObject) {
|
||||
if (cellValue && cellValue.length > 0) {
|
||||
return '<a href="' + cellValue + '" target="_blank">查看</a>';
|
||||
}
|
||||
return '';
|
||||
}
|
||||
},
|
||||
{ label: 'OA消息', name: 'OAMessage', width: 150, align: 'left' },
|
||||
// { label: 'OA状态', name: 'OAStatus', width: 100, align: 'center' },
|
||||
//{ label: 'OA-URL', name: 'OAURL', width: 150, align: 'center',
|
||||
// formatter: function (cellValue, options, rowObject) {
|
||||
// if (cellValue && cellValue.length > 0) {
|
||||
// return '<a href="' + cellValue + '" target="_blank">查看</a>';
|
||||
// }
|
||||
// return '';
|
||||
// }
|
||||
//},
|
||||
//{ label: 'OA消息', name: 'OAMessage', width: 150, align: 'left' },
|
||||
{ label: '交易数量', name: 'tradeCount', width: 80, align: 'center' },
|
||||
{ label: 'tradeIds', name: 'tradeIds', hidden: true, optionHide: true }];
|
||||
this.upload = function (encryptId, sendMail) {
|
||||
@@ -166,7 +166,7 @@ $(function () {
|
||||
// $("#batchSendMailBtn").click(BatchSendMail);
|
||||
initJqGrid();
|
||||
SendEmailHub()
|
||||
SendOAHub(); // 初始化OA发送功能
|
||||
// SendOAHub(); // 初始化OA发送功能
|
||||
});
|
||||
|
||||
// 初始化jqGrid函数
|
||||
@@ -259,8 +259,8 @@ function showToolName(cellValue, options, rowObject) {
|
||||
html += "<input type=\"button\" class=\"wentiEdit\" value=\"上传\" onclick=\"colModelGrid.uploadNew('{0}')\" {1} />".template(rowObject.ContractCode, canUpload);
|
||||
|
||||
// 添加发送OA按钮
|
||||
html += "<input type=\"button\" class=\"wentiEdit\" title='发送交易确认书到OA系统' onclick=\"sendOA('{0}')\" value=\"发送OA\" />"
|
||||
.template(rowObject.id);
|
||||
//html += "<input type=\"button\" class=\"wentiEdit\" title='发送交易确认书到OA系统' onclick=\"sendOA('{0}')\" value=\"发送OA\" />"
|
||||
// .template(rowObject.id);
|
||||
return html;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user