|
|
@@ -15,7 +15,11 @@
|
|
|
<el-input size="mini" v-model="searchForm.SupplierName" clearable style="width:100%" placeholder="请输入"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="推荐单位">
|
|
|
- <el-input size="mini" v-model="searchForm.RecUnitName" style="width:100%" clearable placeholder="请输入"></el-input>
|
|
|
+ <el-select filterable ref="issueFromSelect" v-model="searchForm.RecUnitId" class="select_form" size="mini"
|
|
|
+ placeholder="请选择推荐单位" style="width: 100%;">
|
|
|
+ <el-option v-for="item in orgOptions" :key="item.Id" :label="item.Fullname" :value="item.Id"
|
|
|
+ style="width: 100%;"></el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="时间">
|
|
|
<el-date-picker size="mini" style="width: 220px" v-model="CreateOn" clearable type="daterange" range-separator="至"
|
|
|
@@ -96,7 +100,11 @@
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="推荐单位">
|
|
|
- <el-input size="mini" v-model="searchForm.RecUnitName" style="width:100%" placeholder="请输入"></el-input>
|
|
|
+ <el-select filterable ref="issueFromSelect" v-model="searchForm.RecUnitId" class="select_form" size="mini"
|
|
|
+ placeholder="请选择推荐单位" style="width: 100%;">
|
|
|
+ <el-option v-for="item in orgOptions" :key="item.Id" :label="item.Fullname" :value="item.Id"
|
|
|
+ style="width: 100%;"></el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
@@ -313,6 +321,7 @@ import certApi from '@/api/oilsupplier/suppliercert'
|
|
|
// 列表数据
|
|
|
countryoptions: [],
|
|
|
CityAry: [],
|
|
|
+ orgOptions: [],
|
|
|
LinkCityAry: [],
|
|
|
countryprops: {
|
|
|
value: 'adcode',
|
|
|
@@ -345,6 +354,7 @@ import certApi from '@/api/oilsupplier/suppliercert'
|
|
|
Id: '',
|
|
|
SupplierName: '',
|
|
|
RecUnitName: '',
|
|
|
+ RecUnitId: '',
|
|
|
OperType: '',
|
|
|
SpecTypeCode: '',
|
|
|
Country: '',
|
|
|
@@ -746,6 +756,7 @@ import certApi from '@/api/oilsupplier/suppliercert'
|
|
|
created () {
|
|
|
// 查询条件初始值备份
|
|
|
Object.assign(this.searchFormReset, this.searchForm)
|
|
|
+ this.GetOrgOptions()
|
|
|
// 查询列表
|
|
|
this.initDatas()
|
|
|
this.getDictOptions()
|
|
|
@@ -784,6 +795,15 @@ import certApi from '@/api/oilsupplier/suppliercert'
|
|
|
this.tableLoading = false
|
|
|
})
|
|
|
},
|
|
|
+ // 下发单位
|
|
|
+ GetOrgOptions () {
|
|
|
+ let _this = this
|
|
|
+ this.$axios.get('/register/orgList').then(res => {
|
|
|
+ _this.orgOptions = res.data.items
|
|
|
+ }).catch(err => {
|
|
|
+ console.log(err)
|
|
|
+ })
|
|
|
+ },
|
|
|
handleLinkAreaChange (value) {
|
|
|
this.searchForm.LinkProvince = value[0]
|
|
|
this.searchForm.LinkCity = value[1]
|