摘要: Vue项目中使用el-table联动勾选,要求选中父节点,子节点table全选,选中所有子节点,对应的父节点勾选框选中,勾选全部父节点,子节点全部选中,效果如下图 el-table的展开行下的table是一个list,因此对应的ref选择用与子table同级的prodId唯一键作为ref绑定的唯一值 阅读全文
posted @ 2020-08-05 11:34 notMore 阅读(2382) 评论(1) 推荐(1) 编辑
摘要: 记录一次项目中遇到的事务不生效问题: SpringBoot事务配置: 1.启动类开启事务注解 @EnableTransactionManagement 2.service 方法加上事务注解 @Transactional只会监听RuntimeException, 加上rollbackFor = Exc 阅读全文
posted @ 2020-07-02 17:51 notMore 阅读(2221) 评论(0) 推荐(0) 编辑
摘要: 针对form表单的输入框单号批量查询,这里用换行符进行分割,注意v-model不要使用.trim 前端代码: <el-form-item label="SKU编码:" prop="prodNumbers"> <el-input type="textarea" :rows="4" placeholde 阅读全文
posted @ 2020-06-03 16:24 notMore 阅读(1574) 评论(0) 推荐(0) 编辑
摘要: 1.通过list中的某个字段来对list分组,然后得到多组数据 Map<String, List<WmsStockRefundItem>> refundMap = itemList.stream().collect(Collectors.groupingBy(WmsStockRefundItem:: 阅读全文
posted @ 2020-06-03 16:02 notMore 阅读(7509) 评论(0) 推荐(0) 编辑
摘要: 如图所示,在table表中,输入框填入后提交,校验输入框 <template> <el-form :model="request" ref="request" :rules="rules" class="demo-ruleForm"> <el-table :data="request.prodlis 阅读全文
posted @ 2020-06-03 15:44 notMore 阅读(4437) 评论(0) 推荐(0) 编辑
摘要: 在vue的<el-form> 标签中,<el-form-item > required属性,会出现英文提示,这个时候需要自定义rules,写对应的需要校验的字段,如果没有使用rules定义,会提示英文提示,这个时候只需要自己写校验,然后在<el-form-item >标签上的 prop属性去掉,则英 阅读全文
posted @ 2020-06-03 15:19 notMore 阅读(4371) 评论(0) 推荐(0) 编辑
摘要: 监听事件,注解监听事件,切面监听事件 阅读全文
posted @ 2020-04-14 18:01 notMore 阅读(1109) 评论(0) 推荐(0) 编辑
摘要: 邮件,邮件发送 阅读全文
posted @ 2020-04-08 11:53 notMore 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 即日起,博客将搬至csdn,谢谢! 阅读全文
posted @ 2020-01-15 15:35 notMore 阅读(107) 评论(0) 推荐(0) 编辑
摘要: SSM整合,Spring整合redis,Spring+SpringMVC+MyBatis整合Redis 阅读全文
posted @ 2020-01-15 11:21 notMore 阅读(526) 评论(0) 推荐(0) 编辑