fix: 手动点击本人之后不可再次修改内容,按照原流程走

This commit is contained in:
hz
2025-10-31 16:49:12 +08:00
parent 0d26c38019
commit 0befa69044

View File

@@ -529,6 +529,7 @@ export default {
}, },
data() { data() {
return { return {
source: this.$route.query.source,
isNewPeopleFlagTipshow: false, isNewPeopleFlagTipshow: false,
isMarriageStatusShow: false, isMarriageStatusShow: false,
withRootUser: { withRootUser: {
@@ -1105,6 +1106,8 @@ export default {
} else if (this.pickerType === '11') { } else if (this.pickerType === '11') {
this.userInfo.npType = value.id this.userInfo.npType = value.id
} }
// 如果是主动选择本人, 那么不让填写了
this.source = ""
}, },
//证件起始截止日期 //证件起始截止日期
onDateConfirm(val, type) { onDateConfirm(val, type) {
@@ -2058,7 +2061,7 @@ export default {
}, },
computed: { computed: {
isReadonly() { isReadonly() {
return this.isAppnt && this.$route.query.source !== 'trial' return this.isAppnt && this.source !== 'trial'
}, },
isShowOthenSalarySource() { isShowOthenSalarySource() {
if (this.userInfo.salarySource == '4') { if (this.userInfo.salarySource == '4') {