|
@@ -363,7 +363,10 @@ function bindTenderUrl() {
|
|
|
});
|
|
|
// 删除
|
|
|
$('body').on('click', '.c-body a[name=del]', function () {
|
|
|
- $('#del-bd-ok').attr('tid', $(this).parent().attr('tid'));
|
|
|
+ const tid = parseInt($(this).parent().attr('tid'));
|
|
|
+ const tender = _.find(tenders, {id: tid});
|
|
|
+ $('#del-bd-ok').attr('tid', tid);
|
|
|
+ $('#del-tender-name').text(tender.name);
|
|
|
$('#del-bd').modal('show');
|
|
|
});
|
|
|
}
|