Commit 7287792b authored by 吴春's avatar 吴春

场次座位图保留修改

parent af7cc930
......@@ -101,6 +101,10 @@
}
</tbody>
</table>
<div style="height: 40px;line-height: 40px;">座位设置 <span style="color:red;">温馨提示:所选的座位不能在线上销售</span></div>
<div id="SeatDiv">
</div>
<div class="form-group m-t-10">
<div class="col-lg-3 col-md-5 col-sm-5 text-center">
<button class="btn btn-success btn-xs" type="submit" name="submit" style="margin-right:10px;">
......@@ -125,6 +129,9 @@
}
$(document).ready(function () {
$.post('/Admin/Screening/ScreeningSeat', { TheaterId: '@Model.TheaterId' }, function (result) {
$("#SeatDiv").html(result);
}, 'html');
var selectImages = $('#goods-select-image-value').val();
var goodsImages;
if (selectImages && selectImages.length >= 2) {
......@@ -307,6 +314,10 @@
$.post('/Admin/Screening/CreatePrice', { TheaterScreening: $(this).val() }, function (result) {
$("#PriceM").html(result);
}, 'html');
$.post('/Admin/Screening/ScreeningSeat', { TheaterId: $(this).val() }, function (result) {
$("#SeatDiv").html(result);
}, 'html');
})
});
</script>
......
......@@ -305,7 +305,7 @@
if ($(this).hasClass('selected')) {
var colList = $(this).html();
var _rowIndex = $(this).attr('data_row_id');
temp += '<div>第' + _rowIndex + '排,第' + colList + '号</div>'
temp += '<div>' + _rowIndex + '排' + colList + '号</div>'
$(".seatCked").html(temp);
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment