|
|
@@ -11,7 +11,8 @@
|
|
|
</view>
|
|
|
<view>
|
|
|
<i @click.stop="callUp(detailInfo.ghsMobile)" class="iconfont icondianhua1"></i>
|
|
|
- <i @click.stop="navigate(detailInfo.lat,detailInfo.long,detailInfo.supplierName)" class="iconfont icondianhua" style="font-size:53upx;margin-left:30upx;margin-right:9upx;color:#3385ff;"></i>
|
|
|
+ <i @click.stop="navigate(detailInfo.lat,detailInfo.long,detailInfo.supplierName)" class="iconfont icondianhua"
|
|
|
+ style="font-size:53upx;margin-left:30upx;margin-right:9upx;color:#3385ff;"></i>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
@@ -49,14 +50,7 @@
|
|
|
</view>
|
|
|
<view class="order-info_box">
|
|
|
<view>支付方式:</view>
|
|
|
- <view>{{
|
|
|
- detailInfo.payWay==0?'微信'
|
|
|
- :detailInfo.payWay==1?'支付宝'
|
|
|
- :detailInfo.payWay==2?'余额'
|
|
|
- :detailInfo.payWay==4?'现金'
|
|
|
- :detailInfo.payWay==5?'银行卡'
|
|
|
- :'--'
|
|
|
- }}</view>
|
|
|
+ <view>{{ detailInfo.payWay==0?'微信' :detailInfo.payWay==1?'支付宝' :detailInfo.payWay==2?'余额' :detailInfo.payWay==4?'现金' :detailInfo.payWay==5?'银行卡' :'--' }}</view>
|
|
|
</view>
|
|
|
<view class="order-info_box">
|
|
|
<view>采购人员:</view>
|
|
|
@@ -64,21 +58,14 @@
|
|
|
</view>
|
|
|
<view class="order-info_box">
|
|
|
<view>订单状态:</view>
|
|
|
- <view>{{
|
|
|
- detailInfo.status==1?'待付款'
|
|
|
- :detailInfo.status==2?'待配送'
|
|
|
- :detailInfo.status==3?'配送中'
|
|
|
- :detailInfo.status==4?'已完成'
|
|
|
- :detailInfo.status==5?'已取消'
|
|
|
- :'已退款'
|
|
|
- }}</view>
|
|
|
+ <view>{{ detailInfo.status==1?'待付款' :detailInfo.status==2?'待配送' :detailInfo.status==3?'配送中' :detailInfo.status==4?'已完成' :detailInfo.status==5?'已取消' :'已退款' }}</view>
|
|
|
</view>
|
|
|
|
|
|
<view v-if="detailInfo.refund == 2" class="order-info_box">
|
|
|
<view>退款金额:</view>
|
|
|
<view style="color:red;font-weight:bold;font-size:30upx;">¥{{parseFloat(detailInfo.tkPrice)}}</view>
|
|
|
<view class="price" v-if="detailInfo.refund == 2">
|
|
|
- <button @click="pageTo({url: '/pagesPurchase/refundDetail',query: {id: detailInfo.id}})" class="admin-button-com">退款明细</button>
|
|
|
+ <button @click="pageTo({url: '/pagesPurchase/refundList',query: {id: detailInfo.id}})" class="admin-button-com">退款记录</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view v-if="detailInfo.refund == 2" class="order-info_box">
|
|
|
@@ -117,20 +104,25 @@
|
|
|
</view>
|
|
|
<view class="commodity-list">
|
|
|
<view v-for="(s, idx) in detailInfo.product" :key="idx" class="commodity-item" >
|
|
|
- <image class="item-icon" :src="s.cover" alt="" />
|
|
|
+ <image class="item-icon" :src="s.cover" @click="pageTo({url:'/admin/item/detail',query:{id: s.id}})" />
|
|
|
<view class="item-info">
|
|
|
<view class="info-line">
|
|
|
<text class="item-name">{{ s.name }}</text>
|
|
|
<text class="item-price">
|
|
|
<text class="unit"></text>
|
|
|
<text class="price">
|
|
|
- <text>{{parseFloat(s.itemNum)}}扎*¥{{parseFloat(s.price)}}</text>
|
|
|
+ <text v-if="detailInfo.stockChange == 1">{{parseFloat(s.xhNum)}}{{s.xhUnitName}}*¥{{parseFloat(s.xhUnitPrice)}}</text>
|
|
|
+ <text v-else></text>
|
|
|
</text>
|
|
|
</text>
|
|
|
</view>
|
|
|
<view class="info-line">
|
|
|
- <text class="item-type"><text v-if="Number(s.preItemNum) > Number(s.itemNum)">订{{parseFloat(s.preItemNum)}}扎</text></text>
|
|
|
- <text class="item-count">¥{{ parseFloat(s.totalPrice)||0 }}</text>
|
|
|
+ <text class="item-type" v-if="detailInfo.book == 1">
|
|
|
+ <text>预订 {{parseFloat(s.preItemNum)}}{{s.xhUnitName}}*¥{{parseFloat(s.xhPreUnitPrice)}} ¥{{parseFloat(s.xhPrePrice)}}</text>
|
|
|
+ </text>
|
|
|
+ <text class="item-type" v-else><text></text></text>
|
|
|
+ <text class="item-count" v-if="detailInfo.stockChange == 1">¥{{ parseFloat(s.totalPrice)||0 }}</text>
|
|
|
+ <text class="item-count" v-else></text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -190,7 +182,7 @@
|
|
|
<div class="detail-price_box" style="font-size: 28upx;">¥{{ detailInfo.kiloFee ? parseFloat(detailInfo.kiloFee) : 0}}</div>
|
|
|
</tui-list-cell>
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
- <div class="tui-title">本单服务费</div>
|
|
|
+ <div class="tui-title">总服务费</div>
|
|
|
<div class="detail-price_box" style="font-size: 28upx;">¥{{ detailInfo.allKiloFee ? parseFloat(detailInfo.allKiloFee) : 0}}</div>
|
|
|
</tui-list-cell>
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
@@ -457,7 +449,6 @@ export default {
|
|
|
font-size: 22upx;
|
|
|
.price {
|
|
|
font-size: 25upx;
|
|
|
- font-weight: bold;
|
|
|
}
|
|
|
}
|
|
|
.item-type {
|