修正初始化情况下席别没有勾选

This commit is contained in:
iFish 2014-07-14 18:28:52 +08:00
parent a8630b54e8
commit 1e4e01168b

View File

@ -375,6 +375,10 @@
isRecommand: function () { return false; },
getName: data.toSeatTypeName
}));
dropDown.find(":checkbox").prop("checked", false);
cp.selectedSeatType.forEach(function(code) {
dropDown.find(":checkbox[value='" + code + "']").prop("checked", true);
});
};
exports.addSeat = function (code) {
if (!code || !cp)