Browse Source

Merge branch 'feature/dev_party_mange' into test

test
HAHA 3 years ago
parent
commit
eb47d301b7
  1. 5
      src/views/modules/partymember/icpartyorg-add-or-update.vue

5
src/views/modules/partymember/icpartyorg-add-or-update.vue

@ -164,7 +164,7 @@
if(this.dataForm.orgId) {
this.dataForm.mySelectOrg = this.dataForm.orgId
this.dataForm.orgPid = this.dataForm.orgId
this.dataForm.orgPids = this.dataForm.orgPids + ':' + this.dataForm.orgId
this.dataForm.orgPids = this.dataForm.orgPids ? this.dataForm.orgPids + ':' + this.dataForm.orgId : this.dataForm.orgId
console.log(this.dataForm.orgPid)
console.log(this.dataForm.orgPids)
} else {
@ -418,6 +418,9 @@
if (!this.dataForm.latitude || !this.dataForm.longitude) {
return this.$message.error('请滑动地图选择党组织位置')
}
if (this.dataForm.orgPids === '0') {
this.dataForm.orgPids = ''
}
this.$refs['dataForm'].validate((valid) => {
if (!valid) {
return false

Loading…
Cancel
Save