Commit 83296cf8 authored by 于广洋's avatar 于广洋

申报月份永远能点

parent 01f44073
......@@ -96,6 +96,12 @@
if (companyInfo.returnCode == "00") {
companyInfo.content.config = config
initpage = initPage(companyInfo.content);
} else {
hideLoading();
alertWarning(companyInfo.returnMessage);
// 弹出错误对话框
}
$("#getInputValue").on("focus", function() {
WdatePicker({
isShowClear:false,
......@@ -105,11 +111,6 @@
}
});
});
} else {
hideLoading();
alertWarning(companyInfo.returnMessage);
// 弹出错误对话框
}
},
error: function(xhr){
//jsonp 方式此方法不被触发
......
......@@ -112,6 +112,7 @@
// alertWarning("请求失败!");
// // 弹出错误对话框
// }
var initpage;
$(function(){
//
......@@ -145,7 +146,7 @@
if (companyInfo.success) {
companyInfo.bean.config = config
initpage = initPage(companyInfo.bean);
$("#getInputValue").on("focus", function() {
/*$("#getInputValue").on("focus", function() {
WdatePicker({
isShowClear:false,
dateFmt: 'yyyy-MM',
......@@ -153,11 +154,20 @@
initpage.changeDate(this, dp);
}
});
});
});*/
} else {
alertWarning(companyInfo.returnMessage);
// 弹出错误对话框
}
$("#getInputValue").on("focus", function() {
WdatePicker({
isShowClear:false,
dateFmt: 'yyyy-MM',
onpicking: function(dp){
initpage.changeDate(this, dp);
}
});
});
},
error: function(xhr){
hideLoading();
......
......@@ -140,6 +140,12 @@
if (companyInfo.success) {
companyInfo.bean.config = config
initpage = initPage(companyInfo.bean);
} else {
hideLoading();
alertWarning(companyInfo.returnMessage);
// 弹出错误对话框
}
$("#getInputValue").on("focus", function() {
WdatePicker({
isShowClear:false,
......@@ -149,11 +155,6 @@
}
});
});
} else {
hideLoading();
alertWarning(companyInfo.returnMessage);
// 弹出错误对话框
}
},
error: function(xhr){
//jsonp 方式此方法不被触发
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment