|
|
@ -176,26 +176,23 @@ var fnPageInit = function () { |
|
|
|
|
|
|
|
|
|
|
|
fnSetOrderByValueDrop = function () { |
|
|
|
return g_api.ConnectLite(canDo.ProgramId, canDo._api.getcout, { CityID: $("#CityID").val()}, |
|
|
|
return g_api.ConnectLite(canDo.ProgramId, canDo._api.getcout, { CityID: $("#CityID").val() }, |
|
|
|
function (res) { |
|
|
|
if (res.RESULT) { |
|
|
|
|
|
|
|
var iCount = res.DATA.rel; |
|
|
|
if (canDo.action === 'add') { |
|
|
|
iCount++; |
|
|
|
console.log('排序'+iCount); |
|
|
|
console.log('排序' + iCount); |
|
|
|
} |
|
|
|
$('#OrderByValue').html(createOptions(iCount)); |
|
|
|
if (canDo.action === 'add') { |
|
|
|
$('#OrderByValue').val(iCount); |
|
|
|
console.log('OrderByValue'+OrderByValue); |
|
|
|
console.log('OrderByValue' + OrderByValue); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
require(['base', 'cando'], fnPageInit); |