|
|
@@ -21,6 +21,13 @@
|
|
|
<!-- <el-button type="primary" size="mini" style="margin-left:10px; margin-top: -4px;">分发给二级单位评价</el-button> -->
|
|
|
</span>
|
|
|
<el-form ref="form" :inline="true" style="float: right; margin-top: -10px">
|
|
|
+ <el-form-item label="项目建设单位">
|
|
|
+ <el-select filterable size="mini" v-model="searchForm.SecondUnit" placeholder="请选择" style="width: 100%" clearable>
|
|
|
+ <el-option v-for="item in secondUnitOptions" :key="item.Id" :label="item.Fullname" :value="item.Id"
|
|
|
+ style="width: 100%">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="企业名称">
|
|
|
<el-input size="mini" clearable v-model="searchForm.SupplierName" style="width: 120px;" placeholder="企业名称"></el-input>
|
|
|
</el-form-item>
|
|
|
@@ -383,6 +390,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-form-item style="margin-bottom: 0px;" :prop="'tableData.' + scope.$index + '.SupplierId'" :rules="rules.name">
|
|
|
<el-select style="width: 100%" size="mini" v-model="scope.row.SupplierId" filterable :ref="'supplierIdSelect'+scope.$index" placeholder="请选择" :disabled="nameDisabled(scope.row.ContractClass)" @change="allUpdate(scope.row.SupplierId,scope.row.ImportSupplierName,'SupplierId',scope.row.Id, scope.row.SupplierId)">
|
|
|
+ <el-option label="请选择" :value="0" :key="0"></el-option>
|
|
|
<el-option v-for="(item,index) of (SupplierNameDataFun(scope.row.ImportSupplierName,scope.$index, scope.row.ContractClass))" :key="index" :label="item.SupplierName" :value="item.Id"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
@@ -419,6 +427,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-form-item style="margin-bottom: 0px;" :prop="'tableData.' + scope.$index + '.SecondUnit'" :rules="rules.SecondUnit">
|
|
|
<el-select filterable size="mini" v-model="scope.row.SecondUnit" placeholder="请选择" style="width: 100%" @change="allUpdate(scope.row.SecondUnit,scope.row.ImportSecondUnit,'SecondUnit', scope.row.Id, scope.row.SupplierId)">
|
|
|
+ <el-option label="请选择" :value="0" :key="0"></el-option>
|
|
|
<el-option v-for="item in secondUnitOptions" :key="item.Id" :label="item.Fullname" :value="item.Id"
|
|
|
style="width: 100%">
|
|
|
</el-option>
|
|
|
@@ -1073,27 +1082,12 @@
|
|
|
console.log('企业名称数据', res)
|
|
|
if (value === '01') {
|
|
|
this.SupplierNameData1 = res.data.items
|
|
|
- let params = {
|
|
|
- Id: 0,
|
|
|
- SupplierName: '请选择'
|
|
|
- }
|
|
|
- this.SupplierNameData1.push(params)
|
|
|
}
|
|
|
if (value === '02') {
|
|
|
this.SupplierNameData2 = res.data.items
|
|
|
- let params = {
|
|
|
- Id: 0,
|
|
|
- SupplierName: '请选择'
|
|
|
- }
|
|
|
- this.SupplierNameData2.push(params)
|
|
|
}
|
|
|
if (value === '03') {
|
|
|
this.SupplierNameData3 = res.data.items
|
|
|
- let params = {
|
|
|
- Id: 0,
|
|
|
- SupplierName: '请选择'
|
|
|
- }
|
|
|
- this.SupplierNameData3.push(params)
|
|
|
}
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
@@ -1277,11 +1271,6 @@
|
|
|
let _this = this
|
|
|
this.$axios.get('/register/orgList').then(res => {
|
|
|
_this.secondUnitOptions = res.data.items
|
|
|
- let params = {
|
|
|
- Id: 0,
|
|
|
- Fullname: '请选择'
|
|
|
- }
|
|
|
- _this.secondUnitOptions.push(params)
|
|
|
}).catch(err => {
|
|
|
console.log(err)
|
|
|
})
|