Commit afa666b4 authored by 张冬's avatar 张冬

询价公告

parent 96b199b3
......@@ -144,12 +144,12 @@
code,
msg
} = await enquiryProjectId(projectId)
this.$emit("getmsg",code)
if(code==200){
data.endTime=getTime1(data.endTime)
data.startTime=getTime1(data.startTime)
data.createTime=data.createTime.substring(0,10)
this.detail = data
this.$emit("getstate",2)
}else if(code==500){
this.state=false
this.msg=msg
......
This diff is collapsed.
<template>
<div>
<div v-if="auditStatus == 0||auditStatus == 1">
<div class="content-head">
<breadCrumb :breads="breads"></breadCrumb>
<h3>查看询价公告</h3>
<h5>查看询价公告</h5>
</div>
<div class="content">
<priceDetail>
<priceDetail @getstate="getstate">
<slot>
<h3>参与报价供应商情况</h3>
<dataTable :table-data="Bidderlist" :columns="offerBiddercolumns" :is-index="true">
......@@ -30,35 +31,35 @@
</div>
</el-dialog>
</div>
<editInquiryAnnouncement v-if="auditStatus == 2"></editInquiryAnnouncement>
</div>
</template>
<script>
import {
offerBidderlist,
offerBidderDetail
} from '@api/supply/bid'
import {
getTime1
} from '@utils/time'
import priceDetail from '@components/detail/priceDetail.vue'
import dataTable from '@components/nopageTable.vue'
import breadCrumb from '@components/dataBreadcrumb.vue'
export default {
import { offerBidderlist, offerBidderDetail } from '@api/supply/bid';
import { getTime1 } from '@utils/time';
import priceDetail from '@components/detail/priceDetail.vue';
import dataTable from '@components/nopageTable.vue';
import breadCrumb from '@components/dataBreadcrumb.vue';
import editInquiryAnnouncement from '@components/edit/editInquiryAnnouncement.vue';
export default {
components: {
dataTable,
breadCrumb,
priceDetail
priceDetail,
editInquiryAnnouncement
},
data() {
return {
dialogFormVisible: false,
tableData: [],
projectName: "",
projectName: '',
Bidderlist: [],
detail: "",
detail: '',
breads: ['投标管理 ', '在线报名', '询价公告'],
columns: [
{
label: '标的名称',
prop: 'bidName'
......@@ -86,9 +87,10 @@
{
label: '备注',
prop: 'remark'
},
}
],
offerBiddercolumns: [{
offerBiddercolumns: [
{
label: '供应商名称',
prop: 'companyName'
},
......@@ -104,42 +106,41 @@
{
slot: 'operate'
}
]
}
],
auditStatus: ''
};
},
methods: {
getstate(val) {
this.auditStatus = val;
},
back() {
this.$router.go(-1)
this.$router.go(-1);
},
// 参与报价的供应商的情况
async getofferBidderlist() {
let projectId = localStorage.getItem("projectId")
const {
data
} = await offerBidderlist(projectId)
this.Bidderlist = data
let projectId = localStorage.getItem('projectId');
const { data } = await offerBidderlist(projectId);
this.Bidderlist = data;
},
async see(id) {
let message={}
message.projectId=localStorage.getItem("projectId")
message.companyId=id
const {
data,
code
} = await offerBidderDetail(message)
this.dialogFormVisible = true
this.tableData = data
let message = {};
message.projectId = localStorage.getItem('projectId');
message.companyId = id;
const { data, code } = await offerBidderDetail(message);
this.dialogFormVisible = true;
this.tableData = data;
}
},
created() {
this.getofferBidderlist()
}
this.getofferBidderlist();
}
};
</script>
<style scoped>
.form {
.form {
padding: 20px;
box-sizing: border-box;
}
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment