|
|
@@ -661,8 +661,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
return '';
|
|
|
}
|
|
|
var areaDetails = ' data-area=\'["92%","88%"]\'';
|
|
|
- var areaAudit = ' data-area=\'["92%","88%"]\'';
|
|
|
- var areaConfirmOutward = ' data-area=\'["96%","85%"]\'';
|
|
|
+ var areaAudit = ' data-area=\'["96%","88%"]\'';
|
|
|
+ var areaConfirmOutward = ' data-area=\'["96%","88%"]\'';
|
|
|
var parts = [];
|
|
|
if (tab === 'pick') {
|
|
|
return '';
|
|
|
@@ -1445,7 +1445,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
}
|
|
|
var winA = window;
|
|
|
if (winA.Backend && winA.Backend.api) {
|
|
|
- winA.Backend.api.open(auditUrl, '供应商报价明细', {area: ['92%', '88%']});
|
|
|
+ winA.Backend.api.open(auditUrl, '供应商报价明细', {area: ['96%', '88%']});
|
|
|
}
|
|
|
return;
|
|
|
}
|
|
|
@@ -1748,35 +1748,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
}
|
|
|
|
|
|
$wrap.off('.procuremenPurchaseConfirm');
|
|
|
- $wrap.on('change.procuremenPurchaseConfirm', '.pod-company-pick-cb', function () {
|
|
|
- if (!this.checked) {
|
|
|
- return;
|
|
|
- }
|
|
|
- var $self = $(this);
|
|
|
- var myPicks = parseDetailPicks($self);
|
|
|
- var mySids = picksSidSet(myPicks);
|
|
|
- $wrap.find('.pod-company-pick-cb').not(this).each(function () {
|
|
|
- if (!this.checked) {
|
|
|
- return;
|
|
|
- }
|
|
|
- var otherSids = picksSidSet(parseDetailPicks($(this)));
|
|
|
- if (sidSetsOverlap(mySids, otherSids)) {
|
|
|
- $(this).prop('checked', false);
|
|
|
- }
|
|
|
- });
|
|
|
- });
|
|
|
- $wrap.on('click.procuremenPurchaseConfirm', '.outward-confirm-company-table tbody tr', function (e) {
|
|
|
- if ($(e.target).closest('input.pod-company-pick-cb,label').length) {
|
|
|
- return;
|
|
|
- }
|
|
|
- var idx = $(this).attr('data-supplier-idx');
|
|
|
- var $cb = idx !== undefined && idx !== ''
|
|
|
- ? $wrap.find('.pod-company-pick-cb[value="' + idx + '"]').first()
|
|
|
- : $(this).find('.pod-company-pick-cb').first();
|
|
|
- if ($cb.length) {
|
|
|
- $cb.prop('checked', !$cb.prop('checked')).trigger('change');
|
|
|
- }
|
|
|
- });
|
|
|
+ $wrap.find('.pod-company-pick-cb').prop('disabled', true);
|
|
|
|
|
|
function procuremenOutwardFastRef() {
|
|
|
if (typeof Fast !== 'undefined' && Fast.api) {
|
|
|
@@ -1825,7 +1797,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
}
|
|
|
var $checked = $wrap.find('.pod-company-pick-cb:checked');
|
|
|
if (!$checked.length) {
|
|
|
- procuremenOutwardToast('请至少勾选一家供应商');
|
|
|
+ procuremenOutwardToast('未指定中标供应商,无法审批通过');
|
|
|
return;
|
|
|
}
|
|
|
|