var telStr=$("#TELNUM").val();
var telsPre=telStr.split(",");
var tels=telsPre.reverse();
var size = tels.length;
for(var i=0; i<size; i++){
if(""!=tels[i])
{
var index=0;
if(i==0){
d["CUSTOMER_TEL"] =tels[i];
index=1;
}else{
d["CUSTOMER_TEL"+(i+index)] =tels[i];
}}
}
时间: 2024-10-22 21:17:38