|
|
@@ -60,10 +60,23 @@
|
|
|
>
|
|
|
</p>
|
|
|
<div class="line normal-margin"></div>
|
|
|
- <p class="normal-margin">
|
|
|
- {{ $t("型号") }}: {{ $t(selectProduct.model) || "--" }}
|
|
|
- </p>
|
|
|
- <div>
|
|
|
+ <div class="normal-margin" style="color: #888;font-size: 14px">
|
|
|
+ <div v-if="siteid == 'HY'" style="display: flex;justify-content: left">
|
|
|
+ <div class="inline-24">
|
|
|
+ {{ $t("型号") }}: {{ $t(selectProduct.model) || "--" }}
|
|
|
+ </div>
|
|
|
+ <div class="inline-24">
|
|
|
+ {{ $t("公称通径") }}: {{ $t(stockData.caliber) || "--" }}
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ {{ $t("公称压力") }}: {{ $t(stockData.pressure) || "--" }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <p v-else>
|
|
|
+ {{ $t("型号") }}: {{ $t(selectProduct.model) || "--" }}
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div v-if="siteid != 'HY'">
|
|
|
<p class="normal-margin">
|
|
|
{{ $t("规格") }}: {{ $t(selectProduct.spec) || "--" }}
|
|
|
</p>
|
|
|
@@ -174,7 +187,7 @@
|
|
|
v-if="selectProduct.itemextend"
|
|
|
>
|
|
|
<el-row :gutter="20" v-if="selectProduct.itemextend.length">
|
|
|
- <el-col :span="8" v-if="selectProduct.itemextend[0].device" style="margin-bottom: 10px">
|
|
|
+ <el-col :span="8" v-if="selectProduct.itemextend[0].device && siteid != 'HY'" style="margin-bottom: 10px">
|
|
|
<span class="search__label">{{ $t("装置") }}:</span>
|
|
|
<span class="tab-color">{{
|
|
|
selectProduct.itemextend[0].device
|
|
|
@@ -186,13 +199,13 @@
|
|
|
selectProduct.itemextend[0].prodline
|
|
|
}}</span>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" v-if="selectProduct.itemextend[0].specalnote" style="margin-bottom: 10px">
|
|
|
+ <el-col :span="8" v-if="selectProduct.itemextend[0].specalnote && siteid != 'HY'" style="margin-bottom: 10px">
|
|
|
<span class="search__label">{{ $t("特殊说明") }}:</span>
|
|
|
<span class="tab-color">{{
|
|
|
selectProduct.itemextend[0].specalnote
|
|
|
}}</span>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" v-if="selectProduct.itemextend[0].pressure" style="margin-bottom: 10px">
|
|
|
+ <el-col :span="8" v-if="selectProduct.itemextend[0].pressure && siteid != 'HY'" style="margin-bottom: 10px">
|
|
|
<span class="search__label">{{ $t("压力等级") }}:</span>
|
|
|
<span class="tab-color">{{
|
|
|
selectProduct.itemextend[0].pressure
|
|
|
@@ -200,7 +213,7 @@
|
|
|
</el-col>
|
|
|
<el-col
|
|
|
:span="8"
|
|
|
- v-if="selectProduct.itemextend[0].butterflyplatedrive"
|
|
|
+ v-if="selectProduct.itemextend[0].butterflyplatedrive && siteid != 'HY'"
|
|
|
style="margin-bottom: 10px"
|
|
|
>
|
|
|
<span class="search__label" >{{ $t("蝶板驱动") }}:</span>
|
|
|
@@ -208,7 +221,7 @@
|
|
|
selectProduct.itemextend[0].butterflyplatedrive
|
|
|
}}</span>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" v-if="selectProduct.itemextend[0].connection" style="margin-bottom: 10px">
|
|
|
+ <el-col :span="8" v-if="selectProduct.itemextend[0].connection && siteid != 'HY'" style="margin-bottom: 10px">
|
|
|
<span class="search__label">{{ $t("连接形式") }}:</span>
|
|
|
<span class="tab-color">{{
|
|
|
selectProduct.itemextend[0].connection
|
|
|
@@ -216,7 +229,7 @@
|
|
|
</el-col>
|
|
|
<el-col
|
|
|
:span="8"
|
|
|
- v-if="selectProduct.itemextend[0].valveplatematerial"
|
|
|
+ v-if="selectProduct.itemextend[0].valveplatematerial && siteid != 'HY'"
|
|
|
style="margin-bottom: 10px"
|
|
|
>
|
|
|
<span class="search__label">{{ $t("阀板材质") }}:</span>
|
|
|
@@ -254,7 +267,7 @@
|
|
|
>{{ $t("加入购物车") }}</el-button
|
|
|
>
|
|
|
<div style="margin-top: 20px">
|
|
|
- <p>{{ $t("相关链接") }}: </p>
|
|
|
+ <p>{{ siteid == 'HY'?$t("技术资料"):$t("相关链接") }}: </p>
|
|
|
<div>
|
|
|
<div v-for="item in selectProduct.technicalinfo" :key="item.index">
|
|
|
<el-button type="text" size="mini" @click="downFile(item.url,item.document,item)">{{item.document}}</el-button>
|
|
|
@@ -289,6 +302,7 @@ export default {
|
|
|
sa_itemgroupid: "",
|
|
|
},
|
|
|
},
|
|
|
+ siteid:JSON.parse(sessionStorage.getItem('active_account')).siteid
|
|
|
};
|
|
|
},
|
|
|
computed: {},
|