Commit afa666b4 authored by 张冬's avatar 张冬

询价公告

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