|

楼主 |
发表于 2019-2-21 16:27:16
|
显示全部楼层
function geturl(BAID) {
NewWin("WBBA_XFSSWBBAInfoPage.aspx?ID=" + BAID, "c", "yes", "yes", "no", 950, 800);
}
function geturlJZ(BAID) {
NewWin("/JCDAPage/JZJXFSSPage/JZ_MYJZViewPage.aspx?ID=" + BAID, "c", "yes", "yes", "no", 1000, 800);
}
///JCDAPage/JZJXFSSPage/JZ_MYJZViewPage.aspx?ID=FB0D9742ED7841B9990039EA6F647E73
function SelWB_Changed() {
var btnSel = document.getElementById('ctl00_MainContent_txt_BAYF');
var d = escape(btnSel.value);
var type = '';
if (document.getElementById("ctl00_MainContent_txt_WBQYID").value != '') {
type = '&type=1';
}
sel_WBQY_a.style.display = '';
ymPrompt.win({ message: 'SelectHTPage.aspx?date='+ d + type, width: 600, height: 400, title: '选择维保企业', maxBtn: false, minBtn: false, closeBtn: false, iframe: true })
}
function SelWB_Changed2() {
}
function SelWB_Changed3() {
var btnSel = document.getElementById('ctl00_MainContent_txt_BAYF');
if (btnSel != null) {
if (btnSel.value == "") {
alert('请选择维保日期');
btnSel.focus();
// document.getElementById('ctl00_MainContent_btn_Changed').click();
}
else {
var type = '';
if (document.getElementById("ctl00_MainContent_txt_WBQYID").value != '') {
type = '&type=1';
}
var d = escape(btnSel.value);
ymPrompt.win({ message: 'SelectHTPage.aspx?date=' + d + type, width: 600, height: 400, title: '重新选择维保企业', maxBtn: false, minBtn: false, closeBtn: false, iframe: true })
//SelWB_Changed()
}
}
}
$(document).ready(function() {
var btnSel = document.getElementById('ctl00_MainContent_txt_BAYF');
if (btnSel != null) {
if (btnSel.value != "") {
sel_WBQY_a.style.display = '';
}
}
});
这个是JS代码 |
|