The system SHALL generate a unique plan order number per plan header using the prefix SXDDH, a date component in YYYYMMDD form, and a daily sequence padded to six digits (example shape: SXDDH20260101000001).
SXDDH20260101000002 (or the next free sequence) atomically without collisionThe system SHALL support the seven-step business flow described in project requirements: contract-initiated plan → compliance gate → transport dispatch → weighbridge linkage for inbound/outbound → driver scan return → specialist B verification → optional specialist C freight confirmation → archive.
The system SHALL persist plan attributes including: plan date, plan order number, document category, follow-up status, completion status, supplier name, destination company, material code/name, product spec, package spec, unit, inbound qty/estimate/price/amount, outbound estimate/qty/price/amount, weight difference (negative allowed), delivery method, transport id, plate number, transport company, transport unit, transport fee, total freight, attachments, sales contract reference, follower, remarks, audit fields (creator/modifier/timestamps), and notification text.
The system SHALL support document categories: 直销单、入库单、出库单、云栋单. Follow-up statuses: 待采购、等客户通知、待安排、计划取消、待发货、已发货、待入库、已入库、待出库、已出库. Completion status: 是、否. Delivery methods: 山峡自提、一票制、客户自提.
The system SHALL be able to render a notification message containing at least: plan number, enterprise name, pickup unit, arrival time, product name, arrival tonnage bracketed, and remarks placeholder, consistent with the standard template in requirements.