|
@@ -34,6 +34,16 @@
|
|
|
</el-input>
|
|
</el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col> -->
|
|
</el-col> -->
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="供应商类型">
|
|
|
|
|
+ <el-select ref="OperType" v-model="formData.OperType" :disabled="!canUpdateSupplier"
|
|
|
|
|
+ placeholder="请选择" style="width: 100%">
|
|
|
|
|
+ <el-option v-for="item in OperTypeOptions" :key="item.Id" :label="item.Key"
|
|
|
|
|
+ :value="item.Key">
|
|
|
|
|
+ </el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="单位关系">
|
|
<el-form-item label="单位关系">
|
|
@@ -66,7 +76,7 @@
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="准入方式">
|
|
<el-form-item label="准入方式">
|
|
|
<el-select ref="inStyle" v-model="formData.InStyle" :disabled="!canUpdateSupplier"
|
|
<el-select ref="inStyle" v-model="formData.InStyle" :disabled="!canUpdateSupplier"
|
|
|
- placeholder="请选择" style="width: 100%">
|
|
|
|
|
|
|
+ placeholder="请选择" style="width: 100%" @change="InStyleChange">
|
|
|
<el-option v-for="item in InOptions" :key="item.Id" :label="item.Key"
|
|
<el-option v-for="item in InOptions" :key="item.Id" :label="item.Key"
|
|
|
:value="item.Value">
|
|
:value="item.Value">
|
|
|
</el-option>
|
|
</el-option>
|
|
@@ -333,12 +343,12 @@
|
|
|
<el-input v-model="formData.CompanyUrl" placeholder="请输入" style="width: 100%"></el-input>
|
|
<el-input v-model="formData.CompanyUrl" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>-->
|
|
</el-col>-->
|
|
|
- <el-col :span="8">
|
|
|
|
|
|
|
+ <!--<el-col :span="8">
|
|
|
<el-form-item label="级别" >
|
|
<el-form-item label="级别" >
|
|
|
<el-input v-model="formData.Level" maxlength="255" placeholder="请输入" style="width: 100%">
|
|
<el-input v-model="formData.Level" maxlength="255" placeholder="请输入" style="width: 100%">
|
|
|
</el-input>
|
|
</el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
|
|
|
|
+ </el-col>-->
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="HSE审查培训">
|
|
<el-form-item label="HSE审查培训">
|
|
|
<!--<el-input v-model="formData.HseTraining" placeholder="请输入" style="width: 100%"></el-input>-->
|
|
<!--<el-input v-model="formData.HseTraining" placeholder="请输入" style="width: 100%"></el-input>-->
|
|
@@ -561,6 +571,7 @@
|
|
|
companynames: [],
|
|
companynames: [],
|
|
|
ManagementUnitOptions:[],
|
|
ManagementUnitOptions:[],
|
|
|
UnitRelationOptions: [],
|
|
UnitRelationOptions: [],
|
|
|
|
|
+ OperTypeOptions: [],
|
|
|
InOptions: [],
|
|
InOptions: [],
|
|
|
CompanyTypeOptions: [],
|
|
CompanyTypeOptions: [],
|
|
|
UnitRelationAry: [],
|
|
UnitRelationAry: [],
|
|
@@ -714,7 +725,12 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
- currentSel(event){
|
|
|
|
|
|
|
+ InStyleChange (val) {
|
|
|
|
|
+ if (val === '2') {
|
|
|
|
|
+ this.formData.MgrUnit = '中国石油天然气股份有限公司'
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ currentSel (event) {
|
|
|
if (event==2){
|
|
if (event==2){
|
|
|
this.formData.InStyle='5'
|
|
this.formData.InStyle='5'
|
|
|
// for(let item of this.$refs.inStyle.options) {
|
|
// for(let item of this.$refs.inStyle.options) {
|
|
@@ -800,6 +816,7 @@
|
|
|
if (this.dictData) {
|
|
if (this.dictData) {
|
|
|
this.ManagementUnitOptions=this.dictData['ManagementUnit']
|
|
this.ManagementUnitOptions=this.dictData['ManagementUnit']
|
|
|
this.UnitRelationOptions = this.dictData['UnitRelation']
|
|
this.UnitRelationOptions = this.dictData['UnitRelation']
|
|
|
|
|
+ this.OperTypeOptions = this.dictData['OperType']
|
|
|
this.InOptions = this.dictData['InOptions']
|
|
this.InOptions = this.dictData['InOptions']
|
|
|
this.CompanyTypeOptions = this.dictData['CompanyType']
|
|
this.CompanyTypeOptions = this.dictData['CompanyType']
|
|
|
this.getCityList(this.dictData['GaodeMapChinaAreas'])
|
|
this.getCityList(this.dictData['GaodeMapChinaAreas'])
|