|
|
@@ -250,7 +250,7 @@ $(document).ready(() => {
|
|
|
// 打开签约清单modal并删除之前的操作
|
|
|
$('#open-list-modal').click(function () {
|
|
|
$('#table-list-select tr').removeClass('table-success');
|
|
|
- $('#table-list-select tr').attr('data-detail', '');
|
|
|
+ $('#table-list-select tr').attr('data-bwmx', '');
|
|
|
$('#code-list').html('');
|
|
|
});
|
|
|
|
|
|
@@ -345,6 +345,13 @@ $(document).ready(() => {
|
|
|
$(this).select();
|
|
|
});
|
|
|
|
|
|
+ // 取消选中清单
|
|
|
+ $('#cancel-list-btn').click(function () {
|
|
|
+ $('#table-list-select tr').removeClass('table-success');
|
|
|
+ $('#table-list-select tr').attr('data-bwmx', '');
|
|
|
+ $('#code-list').html('');
|
|
|
+ });
|
|
|
+
|
|
|
// 移除已选清单并重新编号
|
|
|
$('body').on('click', '#list td a', function () {
|
|
|
const index = $(this).parents('tr').data('index');
|