|
@@ -573,7 +573,7 @@ $(function () {
|
|
|
if (is_admin) {
|
|
|
t = tenders[0];
|
|
|
} else {
|
|
|
- const filterTender = tenders.filter(t => _.includes(fptAuditTids, t.id));
|
|
|
+ const filterTender = tenders.filter(t => _.includes(fptReportTids, t.id));
|
|
|
if (filterTender.length > 0) {
|
|
|
t = filterTender[0];
|
|
|
}
|
|
@@ -650,7 +650,7 @@ $(function () {
|
|
|
$('#payaccount input[name="bank_account"]').val(tender.pt.bank_account);
|
|
|
$('#payaccount input[name="contact"]').val(tender.pt.contact);
|
|
|
$('#payaccount input[name="phone"]').val(tender.pt.phone);
|
|
|
- if (is_admin || (fptAuditTids && _.includes(fptAuditTids, tid))) {
|
|
|
+ if (is_admin || (fptReportTids && _.includes(fptReportTids, tid))) {
|
|
|
$('#payaccount table input').attr('readonly', false);
|
|
|
$('#get-form-tender').show();
|
|
|
$('#set-pay-btn').show();
|
|
@@ -687,7 +687,7 @@ $(function () {
|
|
|
toastr.error('标段不存在');
|
|
|
return;
|
|
|
}
|
|
|
- if (is_admin || (fptAuditTids && _.includes(fptAuditTids, tender.id))) {
|
|
|
+ if (is_admin || (fptReportTids && _.includes(fptReportTids, tender.id))) {
|
|
|
const data = {
|
|
|
id: parseInt($('#payaccount input[name="id"]').val()),
|
|
|
tid: tender.id,
|