|
@@ -616,7 +616,7 @@
|
|
|
</div>
|
|
|
<script>
|
|
|
let property = JSON.parse('<%- JSON.stringify(tenderInfo) %>');
|
|
|
- let ledgerChecked = <%- (tender.ledger_status === audit.ledger.status.checked) && (lastStage || !revise || !revise.valid || revise.status === audit.revise.status.checked) %>;
|
|
|
+ let ledgerChecked = <%- (tender.ledger_status === audit.ledger.status.checked) && ((lastStage !== undefined && lastStage !== null) || !revise || !revise.valid || revise.status === audit.revise.status.checked) %>;
|
|
|
let firstStageChecked = <%- lastStage !== undefined && lastStage !== null && (lastStage.order > 1 || (lastStage.order === 1 && lastStage.status === audit.stage.status.checked)) %>;
|
|
|
|
|
|
// 根据Min Max限制Input输入
|
|
@@ -977,7 +977,7 @@
|
|
|
return precision;
|
|
|
}
|
|
|
function checkPrecisionMinLimit(precision, limit) {
|
|
|
- for (const unit of precision) {
|
|
|
+ for (const unit in precision) {
|
|
|
if (precision[unit].value < limit[unit].value) {
|
|
|
if (precision[unit].unit) {
|
|
|
toastr.warning('台账已审批通过,清单精度不可减少,单位为' + limit[unit].unit + '的清单的精度不可小于' + limit[unit].value);
|