需求类型

master
Gitea 1 year ago
parent 1a16e01e12
commit ef764bc168
  1. 25
      ant-design-vue-jeecg/src/mixins/JeecgListMixin.js

@ -361,15 +361,22 @@ export const JeecgListMixin = {
this.$refs.modalForm.disableSubmit = true; this.$refs.modalForm.disableSubmit = true;
}, },
handleAddxqlx: function (num,record) { handleAddxqlx: function (num,record) {
getAction(this.url.checkqx,{createBy:record.createBy}).then((res)=>{ if(num===1){
if (res.success) { this.$refs.modalForm.add(num,record);
this.$refs.modalForm.add(num,record); this.$refs.modalForm.title = "新增";
this.$refs.modalForm.title = "新增"; this.$refs.modalForm.disableSubmit = false;
this.$refs.modalForm.disableSubmit = false; }else{
}else{ getAction(this.url.checkqx,{createBy:record.createBy}).then((res)=>{
this.$message.warning(res.message); 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() { handleExportXls2() {

Loading…
Cancel
Save