细节修改

version/0412
fanfan 9 months ago
parent 70b448c6c1
commit 4faa31831e
  1. 18
      pages/news3/shopOrderDetails.vue
  2. 10
      pages/order/detail.vue
  3. 2
      pages/order/index.vue

@ -113,7 +113,7 @@
<text>联系客户</text> <text>联系客户</text>
</view> </view>
<view class="btnItem" style="border-left:1px solid #F4F4F4" <view class="btnItem" style="border-left:1px solid #F4F4F4"
@click="callStore(order.storeInfo.store_phone)"> @click="callStore(orderInfo.storeInfo.phone)">
<image :src="$picUrl+'/static/news3/kefu.png'" mode="widthFix"></image> <image :src="$picUrl+'/static/news3/kefu.png'" mode="widthFix"></image>
<text>联系商家</text> <text>联系商家</text>
</view> </view>
@ -250,11 +250,13 @@
<script> <script>
import * as newFunApi from '@/api/newFun' import * as newFunApi from '@/api/newFun'
import * as OrderApi from '@/api/order'
export default { export default {
data() { data() {
return { return {
status: 1, status: 1,
orderInfo: '', orderInfo: '',
order_id:'',
audit_status: 20, audit_status: 20,
audit_notes: '', audit_notes: '',
deleteShow: false, deleteShow: false,
@ -262,14 +264,22 @@
isToggle: false, isToggle: false,
refund_image_id: '', refund_image_id: '',
refund_notes: '', refund_notes: '',
addressData: '' addressData: '',
}; };
}, },
onLoad(option) { onLoad(option) {
this.orderInfo = JSON.parse(option.item) this.order_id = JSON.parse(option.item).order_id
console.log(this.orderInfo) this.getOrderDetail(this.order_id)
}, },
methods: { methods: {
//
getOrderDetail() {
const app = this
OrderApi.detail(this.order_id)
.then(result => {
this.orderInfo=result.data.order
})
},
// //
callStore(phone) { callStore(phone) {
uni.makePhoneCall({ uni.makePhoneCall({

@ -56,10 +56,6 @@
<view class="peo">到店时间</view> <view class="peo">到店时间</view>
<view class="name">{{ order.to_store_time }}</view> <view class="name">{{ order.to_store_time }}</view>
</view> </view>
<view class="thr">
<view class="peo">营业时间</view>
<view class="name">{{ order.extract_shop.shop_hours }}</view>
</view>
<!-- <view class="thr"> <!-- <view class="thr">
<view class="peo">预计到店时间</view> <view class="peo">预计到店时间</view>
<view class="name">2023-12-20 09:15</view> <view class="name">2023-12-20 09:15</view>
@ -210,7 +206,7 @@
{{order.pay_time}} {{order.pay_time}}
</view> </view>
</view> </view>
<view class="orderTitle"> <view class="orderTitle" v-if="order.receipt_time">
<view class="total"> <view class="total">
期待配送时间 期待配送时间
</view> </view>
@ -394,7 +390,6 @@
// //
order: {}, order: {},
// //
setting: {},
// //
showQRCodePopup: false, showQRCodePopup: false,
// url () // url ()
@ -496,7 +491,6 @@
app.onExtractQRCode(result.data.order.order_id) app.onExtractQRCode(result.data.order.order_id)
} }
app.order = result.data.order app.order = result.data.order
app.setting = result.data.setting
app.isLoading = false app.isLoading = false
}) })
// : // :
@ -1442,7 +1436,7 @@
.codeImg { .codeImg {
width: 394rpx; width: 394rpx;
height: 458rpx; height: 394rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx; border-radius: 0rpx 0rpx 0rpx 0rpx;
opacity: 1; opacity: 1;
} }

@ -923,7 +923,7 @@
.codeImg { .codeImg {
width: 394rpx; width: 394rpx;
height: 458rpx; height: 394rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx; border-radius: 0rpx 0rpx 0rpx 0rpx;
opacity: 1; opacity: 1;
} }

Loading…
Cancel
Save