Index: ssts-web/src/main/webapp/disinfectsystem/packing/packingView.js =================================================================== diff -u -r38325 -r38326 --- ssts-web/src/main/webapp/disinfectsystem/packing/packingView.js (.../packingView.js) (revision 38325) +++ ssts-web/src/main/webapp/disinfectsystem/packing/packingView.js (.../packingView.js) (revision 38326) @@ -1963,19 +1963,19 @@ var amount = record.get('amount'); var supplent = true; var notLossReport = true; - if (status == '待装配' || status == '待确认') { - var errors = record.get('errors'); - for (var i = 0; i < errors.length; i++) { - if (errorTypeAdd != errors[i].errorType && ((errors[i].amount - errors[i].additionalAmount) != 0)) { + var errors = record.get('errors'); + for (var i = 0; i < errors.length; i++) { + if (errorTypeAdd != errors[i].errorType && ((errors[i].amount - errors[i].additionalAmount) != 0)) { + if (status == '待装配'){ supplent = false; - notLossReport = false; } + notLossReport = false; } - if (notLossReport) { - var damages = record.get('damages'); - if (damages.length > 0) { - notLossReport = false; - } + } + if (notLossReport) { + var damages = record.get('damages'); + if (damages.length > 0) { + notLossReport = false; } } if (!SSTS_PackingTask_Delete) {