在产品和原材料相关组件中添加规格字段的显示和查询功能,包括: 1. 在详情弹窗中显示规格信息 2. 在列表页添加规格列和查询条件 3. 在表单中添加规格输入项 4. 优化选择器显示格式为"名称[规格](SKU)"
开发
# 克隆项目
git clone https://gitee.com/KonBAI-Q/klp-flowable-plus.git
# 进入项目目录
cd klp-ui
# 安装依赖
npm install
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npmmirror.com
# 启动服务
npm run dev
浏览器访问 http://localhost:80
发布
# 构建测试环境
npm run build:stage
# 构建生产环境
npm run build:prod