Browse Source

2026-09-02

物料分类管理和物料分组管理页面,优化是否显示
master
fengyuan_yang 3 weeks ago
parent
commit
1bf9251da3
  1. 6
      src/views/modules/part/partGroupInformation.vue

6
src/views/modules/part/partGroupInformation.vue

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

Loading…
Cancel
Save