diff --git a/src/views/project/Application.vue b/src/views/project/Application.vue index 6c84f1f..d6c8c72 100644 --- a/src/views/project/Application.vue +++ b/src/views/project/Application.vue @@ -40,6 +40,7 @@ name="company" v-model="company" value + disabled required /> @@ -1006,7 +1007,7 @@ export default { /** 为提交时的赋值操作 */ assignment (data) { this.name = data.name - this.company = data.company + // this.company = data.company for (var prop in this.types) { if (data.tid === this.types[prop]) { this.tid = prop @@ -1093,7 +1094,9 @@ export default { }) } }, - created () {}, + created () { + this.company = sessionStorage.name + }, mounted () { this.status() }