diff --git a/ant-design-vue-jeecg/src/mixins/JeecgListMixin.js b/ant-design-vue-jeecg/src/mixins/JeecgListMixin.js index 67ca457..eb25fdf 100644 --- a/ant-design-vue-jeecg/src/mixins/JeecgListMixin.js +++ b/ant-design-vue-jeecg/src/mixins/JeecgListMixin.js @@ -361,9 +361,15 @@ export const JeecgListMixin = { this.$refs.modalForm.disableSubmit = true; }, handleAddxqlx: function (num,record) { - this.$refs.modalForm.add(num,record); - this.$refs.modalForm.title = "新增"; - this.$refs.modalForm.disableSubmit = false; + getAction(this.url.checkqx,{createBy:record.createBy}).then((res)=>{ + if (res.success) { + this.$refs.modalForm.add(num,record); + this.$refs.modalForm.title = "新增"; + this.$refs.modalForm.disableSubmit = false; + }else{ + this.$message.warning(res.message); + } + }); }, /* 导出 */ handleExportXls2() {