# erp_vue
**Repository Path**: worldcreator/erp_vue
## Basic Information
- **Project Name**: erp_vue
- **Description**: erp进存销管理系统vue前端
- **Primary Language**: Unknown
- **License**: MulanPSL-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 1
- **Created**: 2021-07-07
- **Last Updated**: 2024-10-04
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# ERP admin
 
------
> ### 项目安装
```shell
git https://gitee.com/worldcreator/erp_vue.git
cd bookManage-Vue
#安装依赖包
(c)npm install
#项目运行
npm run serve
```
运行成功后,会自动打开默认浏览器的 http://localhost:3003/ 页面
------
> ### 项目打包运行
#### 安装nginx-windows
- 去官网 http://nginx.org/en/download.html stable version->nginx/Windows-1.20.0
- 将压缩包解压到路径中不含中文字符的目录下
- cmd进入目录,运行start nginx, 打开浏览器,输入 http://localhost ,如果出现nginx页面则安装成功。(IIS 和 Apache必须先关闭,即80端口不可被占用)
#### 部署
```shell
#编译项目, 在目录下生成 /dist 文件夹
npm run build
```
1. 将dist文件夹复制到 nginx目录下的 html/ 下
2. 配置nginx,编辑 nginx/conf/nginx.conf 文件
```
server {
listen 3003;
server_name localhost;
location / {
root html/dist;
index index.html index.htm;
}
location /api {
rewrite ^.+api/?(.*)$ /$1 break;
proxy_pass http://127.0.0.1:8089;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
```
启动nginx, 打开浏览器,输入 http://localhost:3003/ 即可
------
> ### 运行截图
- 首页,即readme文件
- 零售管理,即看到出售记录,并支持时间段查找
- 采购管理,采购产品,如果产品已存在则增加库存量,不存在则增加产品信息
- 销售管理,出售已有产品
- 仓库管理,仓库产品列表,可修改信息
- 权限管理,修改用户权限,重置密码
> ### 后端SpringBoot程序
https://gitee.com/worldcreator/erp_springboot