1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <?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;
- 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 => '活动包弃审',
- ];
- }
|