|
@@ -8,13 +8,13 @@
|
|
|
<seller-goodsList ref='goods' v-if="isRequest" :goodsData="goodsData" @handleGoodList="handChangeInputGoodsList"></seller-goodsList>
|
|
|
<!-- 发票信息 -->
|
|
|
<seller-invoice ref="invoice"
|
|
|
- v-if="isRequest"
|
|
|
+ v-if="isRequest && isDepositFlg"
|
|
|
:invoiceDatas="invoiceData"
|
|
|
@handleChoiceaInvoice="handleChoiceaInvoiceData">
|
|
|
</seller-invoice>
|
|
|
<!-- 运费 -->
|
|
|
<seller-freight ref="freight"
|
|
|
- v-if="isFreight"
|
|
|
+ v-if="isFreight && isDepositFlg"
|
|
|
:freightDatas="freightData"
|
|
|
@handleChoiceaFreight="handleChoiceaFreightData"
|
|
|
@showFreightAlert="handFreightAlertShow">
|
|
@@ -116,6 +116,8 @@
|
|
|
orderInfo:[], //提交的商品信息
|
|
|
payInfo:{}, //订单信息
|
|
|
rechargeGoods:false,
|
|
|
+ isDepositFlg:true,
|
|
|
+ depositIds : [6060,6061,6062,6063,6064,6065,6066,6067,6068,6069],//定金&充值余额商品ID
|
|
|
isIphoneX:this.$store.state.isIphoneX
|
|
|
}
|
|
|
},
|
|
@@ -163,6 +165,7 @@
|
|
|
let params ={clubId:this.clubId,serviceProviderId:this.serviceProviderId,count:this.productCount,productIds:this.productIds}
|
|
|
this.SellerService.SellerSettlement(params).then(response =>{
|
|
|
let data = response.data
|
|
|
+ let productIds = []
|
|
|
this.isRequest = true
|
|
|
this.goodsData = data.shopList
|
|
|
this.userMoney = data.userMoney
|
|
@@ -170,6 +173,14 @@
|
|
|
this.totalOriginalPrice = data.reducedPrice + data.totalAmount
|
|
|
this.rechargeGoods = data.rechargeGoods
|
|
|
this.allPrice = this.payAllPrice = data.totalAmount
|
|
|
+ this.goodsData.forEach(item =>{
|
|
|
+ item.productsList.forEach(pros =>{
|
|
|
+ if(this.depositIds.indexOf(pros.productID)>=0){
|
|
|
+ this.isDepositFlg = false
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ console.log(this.isDepositFlg)
|
|
|
}).catch(error =>{
|
|
|
this.$util.msg(error.msg,2000)
|
|
|
})
|