123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710 |
- <?php
- namespace Mall\Framework\Core;
- class StatusCode
- {
-
-
- public static $partion = 3;
-
- public static $delete = 4;
-
- public static $standard = 5;
-
- public static $offline = 6;
-
-
-
- public static $settingType = [
- 'applets' => 1,
- 'message' => 2,
- 'class' => 3,
- ];
- public static $adminSettingType = [
- 'pay' => 1,
- 'delivery' => 2,
- 'financeType' => 3,
- 'unit' => 4,
- 'printTemplate' => 5,
- 'role' => 6,
- 'process' => 7,
- 'notice' => 8,
- ];
- public static $systemFinanceType = [
- 'saleReturnReceipt' => 1,
- 'saleReceipt' => 2,
- 'purchaseReturnReceipt' => 3,
- 'purchasePrepaid' => 4,
- 'purchaseReceipt' => 5,
- 'depositsReceived' => 6,
- 'expenseSingleIn' => 7,
- 'expenseSingleOut' => 8,
- 1 => '销售退货退款',
- 2 => '销售收款',
- 3 => '采购退货收款',
- 4 => '采购预付',
- 5 => '采购付款',
- 6 => '预存收款',
- 7 => '费用单收款',
- 8 => '费用单支出',
- ];
- public static $messageType = [
- 'inventoryNull' => 1,
- ];
-
- public static $auditStatus = [
- 'completion' => 0,
- 'auditing' => 1,
- 'auditPass' => 2,
- 'auditNotPass' => 3,
- 'auditIng' => 4,
- 0 => '待补全',
- 1 => '待审核',
- 2 => '审核通过',
- 3 => '审核未通过',
- 4 => '审核中',
- ];
-
- public static $level = [
- 'off' => 0,
- 'one' => 1,
- 'two' => 2,
- 'three' => 3,
- ];
- public static $subConditions = [
- 'oneCheck' => 1,
- 'oneOrder' => 2,
- 'onePay' => 3,
- ];
-
- public static $userActionID = [
- 'favour' => 1,
- 'tread' => 2,
- 'report' => 3,
- 'fllow' => 4,
- 'avorites' => 5,
- 'notAvorites' => 6,
- 'notFollow' => 7,
- 'notTread' => 8,
- 'notFavour' => 9,
- ];
-
- public static $priceType = [
- 'salePrice' => 1,
- 'costPrice' => 2,
- 'qtPrice' => 3,
- ];
-
- public static $freightType = [
- 'enterCharge' => 1,
- 'pourCharge' => 2,
- ];
-
- public static $userActionObj = [
-
- 'actionContent' => 1,
-
- 'actionUser' => 2,
-
- 'actionComment' => 3,
-
- 'actionMallStore' => 4,
-
- 'actionMallShop' => 5,
-
- 'actionSeaStore' => 6,
-
- 'actionSeaShop' => 7,
-
- 'actionMall' => 8,
-
- 'actionScenic' => 9,
-
- 'actionPromotion' => 10,
-
- 'actionArVocalConcert' => 24,
-
- 'actionArTheatre' => 25,
-
- 'actionArMusicale' => 26,
-
- 'actionArCompete' => 27,
-
- 'actionArVariety' => 28,
-
- 'actionArMuseum' => 29,
-
- 'actionArSport' => 30,
-
- 'actionArCoffee' => 31,
-
- 'actionArOther' => 32,
-
- 'actionArTea' => 33,
-
- 'actionArWine' => 34,
-
- 'actionArFoot' => 35,
-
- 'actionArParty' => 36,
-
- 'actionArYoga' => 37,
-
- 'actionArDance' => 38,
- ];
-
- public static $costType = [
- 'mwa' => 1,
- 'sp' => 2,
- ];
-
- public static $costTypeTitle = [
- 1 => '移动加权平均法',
- 2 => '个别计价法',
- ];
-
- public static $purchaseOrder = [
- 'create' => 1,
- 'auditing' => 2,
- 'audited' => 3,
- 'reAudite' => 4
- ];
-
- public static $outWarehouseStatus = [
- 'shopPut' => 1,
- 'erpOut' => 2,
- 'shopPutOut' => 2,
- ];
-
- public static $orderFrom = [
- 'shopOrder' => 1,
- 'stockOrder' => 2,
- ];
-
- public static $lockType = [
- 'lock' => 1,
- 'unlock' => 2,
- ];
-
- public static $sellReturnMoney = [
- 'returnMoney' => 1,
- 'notReturnMoney' => 2,
- ];
-
- public static $orderShippingStatus = [
- 'out' => 1,
- 'get' => 2,
- 'returnAll' => 3,
- 'returnPart' => 4,
- ];
-
- public static $actionType = [
- 'shop' => 0,
- 'stock' => 1,
- 'tms' => 2,
- ];
-
- public static $salePriceAreaType = [
- 'nationalUnifiedPrice' => 1,
- 'areaPrice' => 2,
- ];
-
- public static $salePriceType = [
- 'salePrice' => 1,
- 'seckillPrice' => 2,
- ];
-
- public static $aclType = [
- 'edit' => 1,
- 'cat' => 2,
- 'noCast' => 3,
- ];
-
- public static $payType = [
- 'wxPay' => 1,
- 'aliPay' => 2,
- 'cashPay' => 3,
- 'bankLoans' => 4,
- 'cash' => 5,
- 'other' => 6,
- 'balance' => 7,
- 'byte' => 8,
- 'cashBefore'=> 9,
- 1 => '微信支付',
- 2 => '支付宝',
- 3 => '货到付款',
- 4 => '银行打款',
- 5 => '现金支付',
- 6 => '其它',
- 7 => '余额支付',
- 8 => '字节跳动',
- 9 => '先款后货'
- ];
-
- public static $deliveryType = [
- 'goodsDelivery' => 1,
- 'selfMention' => 2,
- 'logistics' => 3,
- 'logisticsLines' => 4,
- 'logisticsVehicle' => 5,
- 1 => '快递',
- 2 => '上门自提',
- 3 => '物流',
- 4 => '物流专线',
- 5 => '物流专车',
- ];
-
- public static $source = [
- 'ios' => 1,
- 'android' => 2,
- 'miniProgram' => 3,
- 'manage' => 4,
- 'H5' => 5,
- 'Pc' => 6,
- 'manageMiniProgram' => 7,
- 'ByteProgram' => 8,
- 'weiXinBrowser' => 9,
- 1 => '苹果',
- 2 => '安卓',
- 3 => '小程序',
- 4 => '后台创建',
- 5 => 'H5页面',
- 6 => 'PC页面',
- 7 => '微信小程序后台管理',
- 8 => '字节小程序',
- 9 => '微信浏览器'
- ];
-
- public static $orderStatus = [
-
- 'waitPay' => 2,
- 'waitDelivery' => 3,
- 'waitReceive' => 4,
- 'finish' => 5,
- 'close' => 6,
- 'cancelIng' => 7,
- 2 => '等待支付',
- 3 => '待发货',
- 4 => '待收货',
- 5 => '已完成',
- 6 => '已关闭',
- 7 => '待取消',
- ];
-
- public static $orderReturn = [
- 'notReturn' => 0,
- 'partReturn' => 1,
- 'allReturn' => 2,
- ];
-
- public static $documentStatus = [
- 'create' => 1,
- 'audit' => 2,
- 'inventoryAudit' => 3,
- 'return' => 9,
- 'returnAll' => 7,
- 'returnPart' => 8,
- ];
-
- public static $orderPickStatus = [
- 'notPicking' => 1,
- 'picking' => 2,
- 'finishPicking' => 3,
- 1 => '未拣货',
- 2 => '拣货中',
- 3 => '拣货完成',
- ];
-
- public static $customerStatus = [
- 'enable' => 1,
- 'delete' => 2,
- ];
-
- public static $customerType = [
- 'customer' => 5,
- 'user' => 4,
- ];
-
- public static $orderType = [
- 'saleOrder' => 1,
- 'purchaseOrder' => 2,
- 'purchaseIn' => 3,
- 'purchaseReturn' => 4,
- 'saleOut' => 5,
- 'saleReturn' => 6,
- 'allocate' => 7,
- 'allocateOut' => 8,
- 'batch' => 9,
- 'priceAdjustment' => 10,
- 'customerPriceAdjustment' => 11,
- 'customerTypePriceAdjustment' => 11,
- 'allocateIn' => 12,
- 'stocktaking' => 13,
- 'purchaseReturnOut' => 14,
- 'saleReturnIn' => 15,
- 'reportLoss' => 27,
- 'merchantPurchase' => 29,
- 'merchantPurchaseIn' => 30,
-
- 'shouldReceive' => 16,
- 'received' => 17,
- 'shouldPay' => 18,
- 'payed' => 19,
- 'accountTransfer' => 20,
- 'ExpenseSingle' => 28,
-
- 'warehouseBeginning' => 21,
-
- 'vipCard' => 22,
-
- 'salesSlip' => 23,
- 'cashierOrder' => 24,
- 'storeWithdraw' => 25,
- 'supplierOfferPrice' => 26,
- ];
-
- public static $noPrefix = [
- 1 => 'XSDD',
- 2 => 'CGDD',
- 3 => 'CGRK',
- 4 => 'CGTH',
- 5 => 'XSCK',
- 6 => 'TH',
- 7 => 'DBKC',
- 8 => 'DBCK',
- 12 => 'DBRK',
- 13 => 'PDKC',
- 14 => 'CGTHCK',
- 15 => 'XSTHRK',
- 16 => 'YS',
- 17 => 'SK',
- 18 => 'YF',
- 19 => 'FK',
- 20 => 'TK',
- 26 => 'RFQS',
- 27 => 'BSD',
- 28 => 'FY',
- 29 =>'SHCG',
- 30 => 'SHRK',
- 31 => 'JHD',
- 32 => 'DBD',
- 33 => 'BCD',
- ];
-
- public static $code = [
- 'brand' => ['prefix' => 'BRAND', 'length' => 6],
- 'customer' => ['prefix' => 'CUSTOMER', 'length' => 6],
- 'category' => ['prefix' => 'CATEGORY', 'length' => 6],
- 'goodsBasic' => ['prefix' => 'MATERIEL', 'length' => 6],
- 'shop' => ['prefix' => 'SHOP', 'length' => 6],
- 'supplier' => ['prefix' => 'SUPPLIER', 'length' => 6],
- 'staff' => ['prefix' => 'STAFF', 'length' => 6],
- 'warehouse' => ['prefix' => 'WAREHOUSE', 'length' => 6],
- 'account' => ['prefix' => 'ACCOUNT', 'length' => 6],
- ];
-
- public static $roleType = [
- 'admin' => 1,
- 'staff' => 2,
- 'customer' => 3,
- 'merchant' => 4,
- 'supplier' => 5,
- ];
-
- public static $dataFieldType = [
- 'person' => 1,
- 'staff' => 2,
- 'all' => 3,
- ];
-
- public static $weixinTemplateStatus = [
- 'commit' => 1,
- 'auditing' => 2,
- ];
-
- public static $wxAuditStatus = [
- 'pass' => 0,
- 'refuse' => 1,
- 'inAudit' => 2,
- 'withdrawn' => 3,
- 'postponed' => 4,
- 'noSubmit' => 5,
- 'beenRelease' => 6,
- 'beingUsed' => 7,
- ];
-
- public static $couponType = [
- 'commonly' => 10,
- 'vipCoupon' => 20,
- ];
-
- public static $grantType = [
- 'receive' => 10,
- 'grant' => 20,
- 'register' => 30,
- 'onlinePay' => 40,
- ];
-
- public static $applyRange = [
- 'allGoods' => 10,
- 'appointCategory' => 20,
- 'appointBrand' => 30,
- 'goodsCollect' => 40,
- ];
-
- public static $activityType = [
- 'specialOffer' => 10,
- 'secKill' => 20,
- ];
-
- public static $delivery = [
- '包邮',
- '自提'
- ];
-
- public static $templateType = [
- 'ordinary' => 1,
- 'universal' => 2,
- ];
-
- public static $pageType = [
- 'home' => 1,
- 'special' => 2,
- ];
-
- public static $specType = [
- 'single' => 1,
- 'multiple' => 2,
- ];
-
- public static $roleId = [
- 'cashier' => 1,
- 'guide' => 2,
- ];
- public static $expressType = [
- 'free' => 1,
- 'rule' => 2,
- 'unify' => 3
- ];
-
- public static $noneUserCenter = 99999;
-
- public static $noneCustomer = 99999;
-
- public static $processType = [
- 'sales' => 1,
- 'retSales' => 2,
- ];
-
- public static $principalType = [
- 'personal' => 0,
- 'enterprise' => 1,
- 'media' => 2,
- 'gov' => 3,
- 'other' => 4,
- ];
-
- public static $modelType = [
- 'B2C' => 1,
- 'B2B' => 2,
- 'multi' => 3,
- ];
-
-
- public static $colourType = [
- 1 => '蓝色',
- 2 => '绿色',
- 3 => '粉色',
- 4 => '橙色',
- ];
-
- public static $financeAccountType = [
- 'ali' => 1,
- 'wx' => 2,
- 'bank' => 3,
- 'ordinary' => 4,
- ];
-
- public static $outStatus = [
- 'notOut' => 4,
- 'allOut' => 5,
- 'notAllOut' => 6,
- ];
-
- public static $payStatus = [
- 'pay' => 4,
- 'notPay' => 5,
- 'refund' => 6,
- 'partRefund'=>7,
- ];
- }
|