diff --git a/src/views/modules/part/partGroupInformation.vue b/src/views/modules/part/partGroupInformation.vue index 6ef22e1..5087ffc 100644 --- a/src/views/modules/part/partGroupInformation.vue +++ b/src/views/modules/part/partGroupInformation.vue @@ -414,6 +414,7 @@ export default { createBy: this.$store.state.user.name, groupId: '', groupName: '', + showInQueryFlag: 'Y', active: 'Y', } this.modalDisableFlag = false @@ -430,6 +431,7 @@ export default { site: row.site, groupId: row.groupId, groupName: row.groupName, + showInQueryFlag: row.showInQueryFlag, active: row.active, updateBy: this.$store.state.user.name, } @@ -454,6 +456,10 @@ export default { this.$message.warning('请选择是否可用!') return } + if (this.modalData.showInQueryFlag === '' || this.modalData.showInQueryFlag == null) { + this.$message.warning('请选择是否显示!') + return + } if (this.modalData.flag === '1') { partGroupInformationSave(this.modalData).then(({data}) => { if (data && data.code === 0) {