|
|
@@ -96,9 +96,9 @@ class orderSn
|
|
|
//零售商采购单号 ssh 2021.1.19
|
|
|
public static function getPurchaseClearSn()
|
|
|
{
|
|
|
- $prefix = 'PC_CS';
|
|
|
+ $prefix = 'CL_CS';
|
|
|
if (getenv('YII_ENV', 'local') == 'production') {
|
|
|
- $prefix = 'PC';
|
|
|
+ $prefix = 'CL';
|
|
|
}
|
|
|
$respond = PurchaseClearSnClass::add(['id' => null]);
|
|
|
$id = $respond['id'] ?? 0;
|
|
|
@@ -218,9 +218,9 @@ class orderSn
|
|
|
//供应商报损订单号 linqh 2021.6.211
|
|
|
public static function getGhsStockWastageSn()
|
|
|
{
|
|
|
- $prefix = 'SH_CS';
|
|
|
+ $prefix = 'WT_CS';
|
|
|
if (getenv('YII_ENV', 'local') == 'production') {
|
|
|
- $prefix = 'SH';
|
|
|
+ $prefix = 'WT';
|
|
|
}
|
|
|
$respond = \bizGhs\order\classes\StockWastageSnClass::add(['id' => null]);
|
|
|
$id = $respond['id'] ?? 0;
|