'未确认', self::STATE_ONE => '待确认', self::STATE_TWO => '未入库', self::STATE_Three => '待入库', self::STATE_Four => '已入库', ]; const Order_type_one = 1;//总社采购 const Order_type_two = 2;//分社外采 const Order_type_three = 3;//分社要货 不要合同 const Order_type_four = 4;//分社订货 要合同 const Order_type_five = 5; public static $order_type = [ self::Order_type_one => '总社采购', self::Order_type_two => '分社外采', self::Order_type_three => '分社要货', self::Order_type_four => '分社订货', ]; const range_function = 'purchaseRange'; }