This commit is contained in:
沈学坤
2019-11-12 21:29:32 +08:00
parent 9d7c08ec3d
commit 03cae85307

View File

@@ -40,6 +40,7 @@
name="company" name="company"
v-model="company" v-model="company"
value value
disabled
required required
/> />
</div> </div>
@@ -1006,7 +1007,7 @@ export default {
/** 为提交时的赋值操作 */ /** 为提交时的赋值操作 */
assignment (data) { assignment (data) {
this.name = data.name this.name = data.name
this.company = data.company // this.company = data.company
for (var prop in this.types) { for (var prop in this.types) {
if (data.tid === this.types[prop]) { if (data.tid === this.types[prop]) {
this.tid = prop this.tid = prop
@@ -1093,7 +1094,9 @@ export default {
}) })
} }
}, },
created () {}, created () {
this.company = sessionStorage.name
},
mounted () { mounted () {
this.status() this.status()
} }