|
@@ -14,9 +14,12 @@ function initbodys() {
|
|
|
|
|
|
var applyInfo = '';
|
|
var applyInfo = '';
|
|
c.onselectdata['car_type'] = function (d) {
|
|
c.onselectdata['car_type'] = function (d) {
|
|
- js.ajax(geturlact('getFreeCarCon'), {car_type: JSON.stringify(d)}, function (res) {
|
|
|
|
|
|
+ // 使用结束时间
|
|
|
|
+ var start_time = $("[name=end_time]").val();
|
|
|
|
+
|
|
|
|
+ js.ajax(geturlact('getFreeCarCon'), {car_type: JSON.stringify(d), start_time: start_time}, function (res) {
|
|
var result = JSON.parse(res);
|
|
var result = JSON.parse(res);
|
|
- console.log(result);
|
|
|
|
|
|
+ // console.log(result);
|
|
if (result.success) {
|
|
if (result.success) {
|
|
if (isMobile()) {
|
|
if (isMobile()) {
|
|
console.log(result.data);
|
|
console.log(result.data);
|
|
@@ -109,6 +112,7 @@ function initbodys() {
|
|
}
|
|
}
|
|
}, 'get, json');
|
|
}, 'get, json');
|
|
}
|
|
}
|
|
|
|
+
|
|
// $('input[name=apply_con]').change(function () {
|
|
// $('input[name=apply_con]').change(function () {
|
|
// console.log($(this).val())
|
|
// console.log($(this).val())
|
|
// $("input[name=apply_con]").each(function() {
|
|
// $("input[name=apply_con]").each(function() {
|
|
@@ -118,6 +122,8 @@ function initbodys() {
|
|
// });
|
|
// });
|
|
// form('apply_con_info').value = applyConInfo;
|
|
// form('apply_con_info').value = applyConInfo;
|
|
// });
|
|
// });
|
|
|
|
+
|
|
|
|
+
|
|
if (isMobile()) {
|
|
if (isMobile()) {
|
|
setTimeout(function() {
|
|
setTimeout(function() {
|
|
$("#title_explain").text("调度说明");
|
|
$("#title_explain").text("调度说明");
|
|
@@ -525,4 +531,5 @@ function initbodys() {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
-}
|
|
|
|
|
|
+}
|
|
|
|
+
|