49 lines
1.8 KiB
Vue
49 lines
1.8 KiB
Vue
<template>
|
|
<view>
|
|
<view class="bg-gray-light flex justify-center items-center table-header p-30">
|
|
<view class="text-gray font-bold text-30 flex-1">品名/材质</view>
|
|
<view class="text-gray font-bold text-30 flex-1">采购量</view>
|
|
<view class="text-gray font-bold text-30 flex-2">采购企业</view>
|
|
<view class="text-gray font-bold text-30 flex-1">报价情况</view>
|
|
<view class="text-gray font-bold text-30 flex-1">发布时间</view>
|
|
<view class="text-gray font-bold text-30 flex-1 flex justify-end">操作</view>
|
|
</view>
|
|
<view class="flex justify-center items-center w-100p p-30"
|
|
v-for="(item, index) in info.enquiryList.filter((_, i) => i < limit)" :key="`enquiryList_${index}`">
|
|
<template
|
|
v-if="item.productList && item.productList.length > 0 && JSON.stringify(item.productList[0]) !== '{}'">
|
|
<view class="text-main flex-1 font-bold">{{ item.productList[0].goodsName }}</view>
|
|
<view class="flex-1">{{ item.productList[0].procureNumber }}{{
|
|
item.productList[0].procureUnit
|
|
}}
|
|
</view>
|
|
<view class="flex-2">{{ info.company.companyName }}</view>
|
|
<view class="flex-1">{{ item.answerNumber }}家已报价</view>
|
|
<view class="flex-1">{{ item._add_time_str }}</view>
|
|
<view class="flex-1 flex justify-end">
|
|
<el-button type="primary" plain class="empty-bg-plain-btn"
|
|
@click.native="vk.navigateTo('/pages/enquiry/detail?id=' + item._id);">
|
|
查看详情
|
|
</el-button>
|
|
</view>
|
|
</template>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: "enquiry",
|
|
props: {
|
|
info: Object,
|
|
limit: {
|
|
type: Number,
|
|
default: 999999
|
|
},
|
|
},
|
|
data() {
|
|
return {}
|
|
},
|
|
methods: {}
|
|
}
|
|
</script> |