|
@@ -20,13 +20,13 @@
|
|
|
<div style="clear:both;"></div>
|
|
|
<img class="b-1-areaimg" src="../assets/image/bg-prod-area-info-img.png" />
|
|
|
<img class="b-1-repchainimg" src="../assets/image/bg-repchain-img.png" />
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
<div class="b-2">
|
|
|
<preview
|
|
|
class="img animated bounceInLeft"
|
|
|
style="animation-delay:3s;animation-duration: 1s;animation-fill-mode: both;"
|
|
|
- :value="info.goodsBatchInfoForm.imagesList"
|
|
|
+ :value="(info.goodsBatchInfoForm || {}).imagesList"
|
|
|
></preview>
|
|
|
<!-- <el-image class="img" :src="src" :preview-src-list="[src]">
|
|
|
<div slot="placeholder" class="img-loading"><i class="el-icon-loading"></i></div>
|
|
@@ -36,16 +36,16 @@
|
|
|
class="b-2-info-list animated bounceInRight"
|
|
|
style="animation-delay:4s;animation-duration: 1s;animation-fill-mode: both;"
|
|
|
>
|
|
|
- <li>【商品名称】{{info.goodsBatchInfoForm.goodsName}}</li>
|
|
|
- <li>【商品规格】{{info.goodsBatchInfoForm.goodsUnit}}</li>
|
|
|
- <li>【生产日期】{{info.goodsBatchInfoForm.goodsProductDate | time}}</li>
|
|
|
- <li>【保质期】{{info.goodsBatchInfoForm.goodsExpired | time}}</li>
|
|
|
+ <li>【商品名称】{{(info.goodsBatchInfoForm || {}).goodsName}}</li>
|
|
|
+ <li>【商品规格】{{(info.goodsBatchInfoForm || {}).goodsUnit}}</li>
|
|
|
+ <li>【生产日期】{{(info.goodsBatchInfoForm || {}).goodsProductDate | time}}</li>
|
|
|
+ <li>【保质期】{{(info.goodsBatchInfoForm || {}).goodsExpired | time}}</li>
|
|
|
</ul>
|
|
|
<ul
|
|
|
class="b-2-info-list2 animated bounceInRight"
|
|
|
style="animation-delay:4s;animation-duration: 1s;animation-fill-mode: both;"
|
|
|
>
|
|
|
- <li v-for="(aux,key) in info.goodsBatchInfoForm.auxList" :key="key">{{aux.auxItmeVal}}</li>
|
|
|
+ <li v-for="(aux,key) in (info.goodsBatchInfoForm || {}).auxList" :key="key">{{aux.auxItmeVal}}</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
<bottom
|
|
@@ -76,7 +76,7 @@ export default {
|
|
|
},
|
|
|
filters: {
|
|
|
time(value) {
|
|
|
- return (value + "").split(" ")[0];
|
|
|
+ return (undefined == value && null == value || "" == value) ? "" : (value + "").split(" ")[0];
|
|
|
}
|
|
|
},
|
|
|
computed: {
|