|
@@ -33,11 +33,11 @@
|
|
|
</a-card>
|
|
|
<!-- 正常产品 -->
|
|
|
<a-card size="small" :bordered="false" class="salesEdit-cont" v-if="salesBillSn">
|
|
|
- <div slot="title" style="display: flex;justify-content: space-between;align-items: center;">
|
|
|
+ <div slot="title" style="display: flex;justify-content: space-between;align-items: center;" v-if="showTotal">
|
|
|
<strong>产品列表</strong>
|
|
|
<a-button size="small" @click="showNormalList=!showNormalList" type="link" class="button-info"><a-icon :type="showNormalList?'up':'down'"/> {{ showNormalList?'收起':'展开' }}</a-button>
|
|
|
</div>
|
|
|
- <div style="padding: 10px 10px 0;position: relative;">
|
|
|
+ <div style="padding: 10px;position: relative;">
|
|
|
<productNormalList
|
|
|
v-show="showNormalList"
|
|
|
ref="productNormalList"
|
|
@@ -264,10 +264,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
- // 是否显示统计信息
|
|
|
- showTotal () {
|
|
|
- return this.activeList.length > 0
|
|
|
- },
|
|
|
// 详细地址
|
|
|
shippingAddress () {
|
|
|
const shippingAddrProvinceName = this.detailData && this.detailData.salesBillExtEntity && this.detailData.salesBillExtEntity.shippingAddrProvinceName ? this.detailData.salesBillExtEntity.shippingAddrProvinceName : ''
|
|
@@ -280,6 +276,10 @@ export default {
|
|
|
return shippingAddrProvinceName + shippingAddrCityName + shippingAddrCountyName + shippingAddr
|
|
|
}
|
|
|
},
|
|
|
+ // 是否显示统计信息
|
|
|
+ showTotal () {
|
|
|
+ return this.activeList.length > 0
|
|
|
+ },
|
|
|
hasActive () {
|
|
|
const list = this.activeList.filter(item => item.enabledFlag == 1)
|
|
|
return list.length > 0
|