= z.id) {
                                str += "<option value='" + z.id + "' selected='selected'>" + z.name + "</option>";
                            } else {
                                str += "<option value='" + z.id + "' >" + z.name + "</option>";
                            }
                        });
                        str += "</select>";

                    });
                    $("input[name='shipAreaId']").after(str);
                    //以上数据输出完，以下绑定事件
