bnbweb/back/includes/lib_store.php

14 lines
539 B
PHP
Raw Normal View History

2022-11-14 17:31:15 +00:00
<?php
$storeTypeId = get_store_type();//获取仓库创建来源
if($storeTypeId < 0){
$link[] = array('href' => 'store.php?act=add', 'text' => $_LANG['00_store_type']);
sys_msg('请先做仓库类型选择', 0, $link);
}else{
$isManageStore = is_manage_store($storeTypeId);//是否有权限操作
}
$_REQUEST['storetypeid'] = $storeTypeId;//方便在各位调用
$_REQUEST['ismanagestore'] = $isManageStore;//方便在各位调用
//$smarty->assign('storeTypeId',$storeTypeId);
//$smarty->assign('isManageStore',$isManageStore);
2022-11-14 15:49:28 +00:00
?>