需求类型

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;
},
handleAddxqlx: function (num,record) {
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);
}
});
if(num===1){
this.$refs.modalForm.add(num,record);
this.$refs.modalForm.title = "新增";
this.$refs.modalForm.disableSubmit = false;
}else{
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() {

Loading…
Cancel
Save