123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <?php
- namespace App\Model;
- use Illuminate\Database\Eloquent\Model;
- class OrderOperation extends Model
- {
- protected $table = "order_operation"; //指定表
- const CREATED_AT = 'crt_time';
- const UPDATED_AT = 'upd_time';
- protected $dateFormat = 'U';
- //审批操作对应的数值
- const zero = 0;
- const one = 1;
- const two = 2;
- const three = 3;
- const four = 4;
- const five = 5;
- const six = 6;
- const seven = 7;
- const eight = 8;
- const nine = 9;
- const ten = 10;
- const eve = 11;
- const twl = 12;
- const thi = 13;
- const fourteen = 14;
- const fif = 15;
- const sixty = 16;
- const seventeen = 17;
- const eighteen = 18;
- const nineteen = 19;
- const twenty = 20;
- const twenty_one = 21;
- const twenty_two = 22;
- const twenty_three = 23;
- const twenty_four = 24;
- const twenty_five = 25;
- const twenty_six = 26;
- const twenty_seven = 27;
- const twenty_eight = 28;
- const twenty_nine = 29;
- const thirty = 30;
- const thirty_one = 31;
- const thirty_two = 32;
- const thirty_three = 33;
- public static $type = [
- self::zero => '系统设置变更 ',
- self::one => '线上派单',
- self::two => '门店派单',
- self::three => '合同确认',
- self::four => '合同弃审',
- self::five => '合同公司完结',
- self::six => '合同客户完结',
- self::seven => '金额记账记录增加',
- self::eight => '发货单确认',
- self::nine => '退换货审核',
- self::ten => '退换货弃审',
- self::eve => '施工单审核',
- self::twl => '施工单弃审',
- self::thi => '采购确认',
- self::fourteen => '采购入库',
- self::fif => '采购入库弃审',
- self::sixty => '合同修改负责人',
- self::seventeen => '合同修改协同人',
- self::eighteen => '合同分配',
- self::nineteen => '合同移交',
- self::twenty => '采购确认弃审',
- self::twenty_one => '收付款单审核',
- self::twenty_two => '收付款单弃审',
- self::twenty_three => '客户分配',
- self::twenty_four => '客户移交',
- self::twenty_five => '合同批量确认',
- self::twenty_six => '施工单分配/调配',
- self::twenty_seven => '活动包确认',
- self::twenty_eight => '活动包弃审',
- self::twenty_nine => '虚拟采购单确认',
- self::thirty => '虚拟采购单弃审',
- self::thirty_one => '合同批量门店派单',
- self::thirty_two => '申请出库',
- self::thirty_three => '销售单仓库出库',
- ];
- }
|