|
@@ -12,10 +12,9 @@
|
|
|
<template th:replace="components/header"></template>
|
|
|
|
|
|
<!-- 商品详情 -->
|
|
|
-<div id="productDetail" v-show="showProduct">
|
|
|
+<div id="productDetail">
|
|
|
<input type="hidden" th:value="${productId}" id="productId">
|
|
|
<input type="hidden" th:value="${product?.stock}" id="productStock">
|
|
|
- <input type="hidden" th:value="${product?.visibility}" id="productVisibility">
|
|
|
<div class="wrap">
|
|
|
<div class="productBox clear">
|
|
|
<div class="imageBox" id="imgShown">
|
|
@@ -50,7 +49,6 @@
|
|
|
<p class="tags">
|
|
|
<span th:each="tag: *{tagList}" th:text="${tag}"></span>
|
|
|
</p>
|
|
|
- <p class="noprice" v-if="GLOBAL_USER_ID>0&&priceObj.priceFlag==1"><i class="icon mIcon"></i>商品未公开价格,请联系0755-22907771</p>
|
|
|
<div class="detail" v-if="!isNoneDisabled">
|
|
|
<div class="row price"><span class="l">采美价</span><i>:</i>
|
|
|
<template v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0">
|
|
@@ -140,8 +138,8 @@
|
|
|
<div class="row" th:if="not${#strings.isEmpty(product.unit)}"><span class="l">包装规格</span><i>:</i><em th:text="*{unit}"></em></div>
|
|
|
<div class="row" th:if="not${#strings.isEmpty(product.productCode)}"><span class="l">商品编码</span><i>:</i><em th:text="*{productCode}"></em></div>
|
|
|
<div class="row" th:if="not${#strings.isEmpty(product.stock)}"><span class="l">库存</span><i>:</i><em th:text="*{stock}"></em></div>
|
|
|
- <div class="row" th:if="not${#strings.isEmpty(product.minBuyNumber)}" v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0&&priceObj.priceFlag!=1"><span class="l">起批量</span><i>:</i><em th:text="*{minBuyNumber}"></em></div>
|
|
|
- <div v-if="GLOBAL_USER_ID && GLOBAL_USER_ID>0&&priceObj.priceFlag!=1" class="row"><span class="l">采购量</span><i>:</i>
|
|
|
+ <div class="row" th:if="not${#strings.isEmpty(product.minBuyNumber)}"><span class="l">起订量</span><i>:</i><em th:text="*{minBuyNumber}"></em></div>
|
|
|
+ <div v-show="GLOBAL_USER_ID && GLOBAL_USER_ID>0" class="row"><span class="l">采购量</span><i>:</i>
|
|
|
<span class="number">
|
|
|
<em class="sub" @click="numberSub()">-</em>
|
|
|
<input type="number" :value="number" v-model="number" maxlength='6' @change="numberChange()">
|