|
|
|
@ -1,23 +1,104 @@ |
|
|
|
|
<template> |
|
|
|
|
<div> |
|
|
|
|
<div v-for="(item,index) in tableModel" :key="index"> |
|
|
|
|
<h3 v-if="index>0">面料{{index+1}}</h3> |
|
|
|
|
<div style="padding: 15px 25px;display: flex;justify-content: space-between"> |
|
|
|
|
<!-- <img :src="img == ''?img1:img" style="width:30%;">--> |
|
|
|
|
<!-- <video v-if="mp4 != ''" :src="mp4" style="border:1px solid #d9d9d9;width:30%;"/>--> |
|
|
|
|
<!-- <p v-else style="padding-top: 20px"> 暂无视频</p>--> |
|
|
|
|
<!-- <table border="1" style="font-size:14px;" class="table" >--> |
|
|
|
|
<!-- <tr>--> |
|
|
|
|
<!-- <td style="text-align: center">工序:</td>--> |
|
|
|
|
<!-- <td>{{item.processId}}</td>--> |
|
|
|
|
<!-- </tr>--> |
|
|
|
|
<!-- <tr>--> |
|
|
|
|
<!-- <td style="text-align: center">面料:</td>--> |
|
|
|
|
<!-- <td>{{item.accessoriesId}}</td>--> |
|
|
|
|
<!-- </tr>--> |
|
|
|
|
<!-- </table>--> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div style="width: 96%;margin:0 auto 30px;border: 1px solid #e8e8e8;"> |
|
|
|
|
<h2>工序面料</h2> |
|
|
|
|
<div style="padding: 20px"> |
|
|
|
|
<h3 v-if="tableModel.length>0">面料1</h3> |
|
|
|
|
<div v-for="(item,index) in tableModel" :key="index"> |
|
|
|
|
|
|
|
|
|
<h3 v-if="index>0">面料{{index+1}}</h3> |
|
|
|
|
<!-- <div style="padding: 15px 25px;display: flex;justify-content: space-between">--> |
|
|
|
|
<!-- <img :src="img == ''?img1:img" style="width:30%;">--> |
|
|
|
|
<!-- <video v-if="mp4 != ''" :src="mp4" style="border:1px solid #d9d9d9;width:30%;"/>--> |
|
|
|
|
<!-- <p v-else style="padding-top: 20px"> 暂无视频</p>--> |
|
|
|
|
<!-- <table border="1" style="font-size:14px;" class="table" >--> |
|
|
|
|
<!-- <tr>--> |
|
|
|
|
<!-- <td style="text-align: center">工序:</td>--> |
|
|
|
|
<!-- <td>{{item.processId}}</td>--> |
|
|
|
|
<!-- </tr>--> |
|
|
|
|
<!-- <tr>--> |
|
|
|
|
<!-- <td style="text-align: center">面料:</td>--> |
|
|
|
|
<!-- <td>{{item.accessoriesId}}</td>--> |
|
|
|
|
<!-- </tr>--> |
|
|
|
|
<!-- </table>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<div style="display: flex;justify-content: space-between"> |
|
|
|
|
<div style="width: 20%;display: flex;align-items: center;justify-content: center"> |
|
|
|
|
<img :src="img1" style="width:60%;"> |
|
|
|
|
</div> |
|
|
|
|
<div style="width: 75%"> |
|
|
|
|
<el-descriptions class="margin-top" :column="3" border style="margin: 30px 0;width:100%"> |
|
|
|
|
<el-descriptions-item> |
|
|
|
|
<template slot="label"><i class="el-icon-receiving"></i>类型</template> |
|
|
|
|
{{item.brandId}} |
|
|
|
|
</el-descriptions-item> |
|
|
|
|
<el-descriptions-item> |
|
|
|
|
<template slot="label"><i class="el-icon-coin"></i>编号</template> |
|
|
|
|
{{item.fabricNumber}} |
|
|
|
|
</el-descriptions-item> |
|
|
|
|
<el-descriptions-item> |
|
|
|
|
<template slot="label"><i class="el-icon-postcard"></i>名称</template> |
|
|
|
|
{{item.name}} |
|
|
|
|
</el-descriptions-item> |
|
|
|
|
<el-descriptions-item> |
|
|
|
|
<template slot="label"><i class="el-icon-copy-document"></i>颜色</template> |
|
|
|
|
{{item.color}} |
|
|
|
|
</el-descriptions-item> |
|
|
|
|
<!-- <el-descriptions-item>--> |
|
|
|
|
<!-- <template slot="label"><i class="el-icon-price-tag"></i>花样</template>--> |
|
|
|
|
<!-- {{item.fabricNumber}}--> |
|
|
|
|
<!-- </el-descriptions-item>--> |
|
|
|
|
<!-- <el-descriptions-item>--> |
|
|
|
|
<!-- <template slot="label"><i class="el-icon-files"></i>材质</template>--> |
|
|
|
|
<!-- {{item.fabricNumber}}--> |
|
|
|
|
<!-- </el-descriptions-item>--> |
|
|
|
|
<!-- <el-descriptions-item>--> |
|
|
|
|
<!-- <template slot="label"><i class="el-icon-takeaway-box"></i>厚度</template>--> |
|
|
|
|
<!-- {{item.fabricNumber}}--> |
|
|
|
|
<!-- </el-descriptions-item>--> |
|
|
|
|
<el-descriptions-item> |
|
|
|
|
<template slot="label"><i class="el-icon-location-outline"></i>单价</template> |
|
|
|
|
{{item.retailPrice}} |
|
|
|
|
</el-descriptions-item> |
|
|
|
|
|
|
|
|
|
<el-descriptions-item> |
|
|
|
|
<template slot="label"><i class="el-icon-receiving"></i>零售价</template> |
|
|
|
|
{{item.retailPrice}} |
|
|
|
|
</el-descriptions-item> |
|
|
|
|
<!-- <el-descriptions-item>--> |
|
|
|
|
<!-- <template slot="label"><i class="el-icon-coin"></i>品牌</template>--> |
|
|
|
|
<!-- {{item.fabricNumber}}--> |
|
|
|
|
<!-- </el-descriptions-item>--> |
|
|
|
|
<!-- <el-descriptions-item>--> |
|
|
|
|
<!-- <template slot="label"><i class="el-icon-postcard"></i>计量单位</template>--> |
|
|
|
|
<!-- {{item.fabricNumber}}--> |
|
|
|
|
<!-- </el-descriptions-item>--> |
|
|
|
|
<!-- <el-descriptions-item>--> |
|
|
|
|
<!-- <template slot="label"><i class="el-icon-copy-document"></i>密度</template>--> |
|
|
|
|
<!-- {{item.fabricNumber}}--> |
|
|
|
|
<!-- </el-descriptions-item>--> |
|
|
|
|
<!-- <el-descriptions-item>--> |
|
|
|
|
<!-- <template slot="label"><i class="el-icon-price-tag"></i>幅宽</template>--> |
|
|
|
|
<!-- {{item.fabricNumber}}--> |
|
|
|
|
<!-- </el-descriptions-item>--> |
|
|
|
|
<el-descriptions-item> |
|
|
|
|
<template slot="label"><i class="el-icon-files"></i>所在地区</template> |
|
|
|
|
{{item.location}} |
|
|
|
|
</el-descriptions-item> |
|
|
|
|
<!-- <el-descriptions-item>--> |
|
|
|
|
<!-- <template slot="label"><i class="el-icon-takeaway-box"></i>状态</template>--> |
|
|
|
|
<!-- {{item.fabricNumber}}--> |
|
|
|
|
<!-- </el-descriptions-item>--> |
|
|
|
|
<!-- <el-descriptions-item>--> |
|
|
|
|
<!-- <template slot="label"><i class="el-icon-location-outline"></i>等级</template>--> |
|
|
|
|
<!-- {{item.fabricNumber}}--> |
|
|
|
|
<!-- </el-descriptions-item>--> |
|
|
|
|
</el-descriptions> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
<script> |
|
|
|
@ -27,7 +108,7 @@ |
|
|
|
|
data () { |
|
|
|
|
return { |
|
|
|
|
img:'',//图片地址 |
|
|
|
|
img1:require('@/assets/9-2.png'),// 默认图片 |
|
|
|
|
img1:require('@/assets/accessories1.webp'),// 默认图片 |
|
|
|
|
mp4:'',//视频地址 |
|
|
|
|
tableModel:[], |
|
|
|
|
visible: false, |
|
|
|
@ -61,4 +142,5 @@ |
|
|
|
|
.table{border-color:#d9d9d9;border-radius: 3px} |
|
|
|
|
.table td{padding: 10px 20px;max-width: 380px;} |
|
|
|
|
.table td span{color: #333} |
|
|
|
|
h2{text-align: left;border-bottom: 1px solid #e8e8e8;padding: 20px;background: rgba(247,247,247,1);margin: 0;} |
|
|
|
|
</style> |