【入司优化】---性别录入与家庭关系

This commit is contained in:
dwq
2021-08-25 13:10:32 +08:00
parent d1213a04d1
commit bac3218e48

View File

@@ -376,7 +376,7 @@ export default {
if (true === valid) {
this.userInfo.map(item => {
//0 男 1 女 relationType:0 配偶 1 父亲 2 母亲
if ((item.sex != 1 && item.relationType == 2) || (item.sex != 0 && item.relationType != 1)) {
if ((item.sex != 1 && item.relationType == 2) || (item.sex != 0 && item.relationType == 1)) {
return this.$toast(item.name+'性别录入与家庭关系不符')
}
if (item.idType == '1') {