|
@@ -622,6 +622,7 @@ $(document).ready(() => {
|
|
|
|
|
|
// 关联标段
|
|
|
$('#select-tender').on('show.bs.modal', function () {
|
|
|
+ $('#select-all-tender').prop('checked', false);
|
|
|
postData(`/sp/${spid}/setting/manage/tender/save`, { type: 'noSp-tenders' }, function (result) {
|
|
|
const html = [];
|
|
|
for (const t of result) {
|
|
@@ -652,6 +653,11 @@ $(document).ready(() => {
|
|
|
}, 500);
|
|
|
});
|
|
|
});
|
|
|
+
|
|
|
+ $('#select-all-tender').click(function () {
|
|
|
+ const checked = $(this).is(':checked');
|
|
|
+ $('#no-project-tenders input').prop('checked', checked);
|
|
|
+ });
|
|
|
})
|
|
|
|
|
|
const tenderListSpec = (function(){
|