|
|
@@ -133,22 +133,22 @@
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="公司名称" label-width="150px" style="width: 100%" prop="SupplierName">
|
|
|
- <el-input v-model="formData.SupplierName" disabled></el-input>
|
|
|
+ <el-input v-model="formData.SupplierName" readonly></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="统一社会信用代码" label-width="150px" style="width: 100%" prop="CommercialNo">
|
|
|
- <el-input v-model="formData.CommercialNo" disabled></el-input>
|
|
|
+ <el-input v-model="formData.CommercialNo" readonly></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="法定代表人姓名" label-width="150px" style="width: 100%" prop="LegalPerson">
|
|
|
- <el-input v-model="formData.LegalPerson" disabled></el-input>
|
|
|
+ <el-input v-model="formData.LegalPerson" readonly></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="法定代表人身份证号" label-width="150px" style="width: 100%" prop="LegalPersonId">
|
|
|
- <el-input v-model="formData.LegalPersonId" disabled></el-input>
|
|
|
+ <el-input v-model="formData.LegalPersonId" readonly></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
@@ -168,12 +168,12 @@
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="联系人姓名" label-width="150px" style="width: 100%" prop="ContactName">
|
|
|
- <el-input v-model="formData.ContactName" disabled></el-input>
|
|
|
+ <el-input v-model="formData.ContactName" readonly></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="联系人身份证号" label-width="150px" style="width: 100%" prop="ContactId">
|
|
|
- <el-input v-model="formData.ContactId" disabled></el-input>
|
|
|
+ <el-input v-model="formData.ContactId" readonly></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
@@ -195,17 +195,17 @@
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="邮箱" label-width="150px" style="width: 100%" prop="EMail">
|
|
|
- <el-input v-model="formData.EMail" disabled></el-input>
|
|
|
+ <el-input v-model="formData.EMail" readonly></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="手机号" style="width: 100%" prop="UserTelephone">
|
|
|
- <el-input v-model="formData.UserTelephone" disabled></el-input>
|
|
|
+ <el-input v-model="formData.UserTelephone" readonly></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="用户名" label-width="150px" style="width: 100%" prop="UserName">
|
|
|
- <el-input v-model="formData.UserName" disabled></el-input>
|
|
|
+ <el-input v-model="formData.UserName" readonly></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
@@ -363,6 +363,9 @@
|
|
|
}
|
|
|
},
|
|
|
created () {
|
|
|
+ if(this.authUser.Profile.IsCompanyUser==1){
|
|
|
+ this.$router.push('/oilsupplier/supplier') //跳转到登录页
|
|
|
+ }
|
|
|
this.initDatas()
|
|
|
},
|
|
|
methods: {
|