//自动联想
function getAutoThinkOpts(){
var options={
minChars: 1,
max: 10,
autoFill: false,
mustMatch: false,
matchSubset: false,
matchContains: true,
scrollHeight: 220,
width:200,
matchCase:true,
selectFirst: false,
scroll:false,
dataType: 'json',
parse: parseFn,
formatItem: function(row, i, total) {
return " "+row.PO_NO+" ";
},
formatMatch: function(row, i, total) {
return row.PO_NO;
},
formatResult: function(row) {
return row.PO_NO;
}
};
return options;
}
function getAutoThinkOpts(){
var options={
minChars: 1,
max: 10,
autoFill: false,
mustMatch: false,
matchSubset: false,
matchContains: true,
scrollHeight: 220,
width:200,
matchCase:true,
selectFirst: false,
scroll:false,
dataType: 'json',
parse: parseFn,
formatItem: function(row, i, total) {
return " "+row.PO_NO+" ";
},
formatMatch: function(row, i, total) {
return row.PO_NO;
},
formatResult: function(row) {
return row.PO_NO;
}
};
return options;
}