var stepname=document.getElementById("XTextBox6").value;
if(stepname=="开始"){
if(roomname!="" && roomname!=null && begindate!="" && begindate!=null && enddate!="" && enddate!=null){
var url='GetMRMatterDate.ashx';
Ext.Ajax.request({
method: 'GET',
disableCaching: true,
params: { roomname: roomname, begindate: begindate, enddate: enddate },
url: url,
success: function (response) {
if (response.responseText) {
alert(response.responseText);
document.getElementById("XTextBox9").value = response.responseText;
}
else
{
document.getElementById("XTextBox9").value = "正常";
}
},
failure: function (response) {
}
});
}
}