...
|
...
|
@@ -127,7 +127,17 @@ $(function() { |
|
|
dataType: 'json',
|
|
|
success: function (result) {
|
|
|
if(result.code == 200) {
|
|
|
$("#payErrorCode").combobox('setValue',result.data);
|
|
|
var optionData = result.data
|
|
|
var arrys=new Array();
|
|
|
$.each(optionData,function(index, data){
|
|
|
arrys.push({"code":index, "text":data});});
|
|
|
console.log(arrys);
|
|
|
|
|
|
$("#payErrorCode").combobox({
|
|
|
data: arrys,
|
|
|
valueField:'code',
|
|
|
textField:'text'
|
|
|
});
|
|
|
}
|
|
|
|
|
|
}
|
...
|
...
|
|