Browse Source

修改

dev_kxc
xzt 1 year ago
parent
commit
3654585b63
  1. 28
      jwtech-admin-page/src/views/project/bid/options/bidBasePage.vue

28
jwtech-admin-page/src/views/project/bid/options/bidBasePage.vue

@ -425,22 +425,22 @@
</el-col>
<el-col :span="12">
<el-form-item label="招标项目类型" prop="bidType">
<el-input
<!-- <el-input
v-model="detailsForm.bidType"
placeholder="请输入招标项目类型"
/>
<!-- <el-select
/> -->
<el-select
v-model="detailsForm.bidType"
placeholder="请选择招标项目类型"
style="width: 100%"
>
<el-option
v-for="dict in bidType"
v-for="dict in bidTypeOptions"
:key="dict.dictValue"
:label="dict.dictLabel"
:value="dict.dictValue"
></el-option>
</el-select> -->
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
@ -455,7 +455,7 @@
style="width: 100%"
>
<el-option
v-for="dict in bidTypeOptions"
v-for="dict in bidMethodOptions"
:key="dict.dictValue"
:label="dict.dictLabel"
:value="dict.dictValue"
@ -976,7 +976,7 @@
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 招标项目类型 </template>
{{ this.detailsMsg.bidType }}
{{ bidTypeFormat(this.detailsMsg) }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 招标方式 </template>
@ -1056,8 +1056,10 @@ export default {
isConsolidatedBiddingOptions: [],
//
isMustProject: [],
//
//
bidTypeOptions: [],
//
bidMethodOptions: [],
//
queryParams: {
pageNum: 1,
@ -1157,9 +1159,12 @@ export default {
this.isConsolidatedBiddingOptions = response.data;
this.isMustProject = response.data;
});
this.getDicts("Bid_type").then((response) => {
this.getDicts("bid_pro_type").then((response) => {
this.bidTypeOptions = response.data;
});
this.getDicts("Bid_type").then((response) => {
this.bidMethodOptions = response.data;
});
},
// axios
watch: {
@ -1191,8 +1196,11 @@ export default {
this.bidProjectNameOptions = response.records;
});
},
bidTypeFormat(row, column) {
return this.selectDictLabel(this.bidTypeOptions, row.bidType);
},
bidMethodFormat(row, column) {
return this.selectDictLabel(this.bidTypeOptions, row.bidMethod);
return this.selectDictLabel(this.bidMethodOptions, row.bidMethod);
},
//
isConsolidatedBiddingFormat(row, column) {

Loading…
Cancel
Save