Added logic to extract and validate the "Material Preparation Status" (备料状态) before modifying discrete material plans. The cleanup process now only proceeds if the status is "审批通过" (Approval Passed). Orders with other statuses are skipped to prevent errors during modification. This change also includes code cleanup by removing commented-out debug statements.
11 KiB
11 KiB