|
@@ -624,6 +624,20 @@ TalentAllowanceInfoDlg.showCheckModal = function () {
|
|
|
$("#otherEnjoyedDescription").val(info.otherEnjoyedDescription);
|
|
|
TalentAllowanceInfoDlg.cal();
|
|
|
}
|
|
|
+
|
|
|
+ var list = data.obj.detailList;
|
|
|
+ var html = "";
|
|
|
+ for (var key in list) {
|
|
|
+ var title = info.type == 1 ? list[key].enterpriseName + "(" + list[key].entryTime + "至" + list[key].quitTime + ")-" + list[key].talentTypeName : list[key].enterpriseName + "(" + list[key].entryTime + "至" + list[key].quitTime + ")";
|
|
|
+ html = html +
|
|
|
+ '<div class="input-group detailMonths">\n' +
|
|
|
+ '<input type="hidden" class="detailId" value="' + list[key].id + '">' +
|
|
|
+ '<span class="input-group-addon" title="' + title + '">' + title + '</span>' +
|
|
|
+ '<input type="text" class="form-control months" >\n' +
|
|
|
+ '<span class="input-group-addon btn-danger" onclick="TalentAllowanceInfoDlg.showEditMonths(this)">编辑</span>\n' +
|
|
|
+ '</div>\n';
|
|
|
+ }
|
|
|
+ $("#setMonths").append(html);
|
|
|
},
|
|
|
yes: function (index, layero) {
|
|
|
TalentAllowanceInfoDlg.checkSubmit(index);
|