订单详情更新
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
</view> -->
|
||||
<view class="u-flex u-row-between u-m-t-20">
|
||||
<view>下单时间</view>
|
||||
<view><up-text v-if="data.createdAt" mode="date" :text="data.createdAt"></up-text></view>
|
||||
<view><up-text v-if="data.createdAt" mode="date" format="yyyy-mm-dd hh:MM:ss" :text="data.createdAt"></up-text></view>
|
||||
</view>
|
||||
<view class="u-flex u-row-between u-m-t-20">
|
||||
<view>订单编号</view>
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
<template #desc>
|
||||
<view class="u-p-30 u-text-left">
|
||||
<view>
|
||||
{{data.name}}
|
||||
{{data.productName}}
|
||||
</view>
|
||||
<view class="u-flex u-m-t-32">
|
||||
<!-- <view class="u-flex u-m-t-32">
|
||||
<up-number-box :buttonSize="44" :inputWidth="220" v-model="number"></up-number-box>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="u-m-t-32">
|
||||
<view class="u-font-24">
|
||||
<text class="color-999">退菜理由</text>
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
let payFinish=ref(false)
|
||||
onBackPress(() => {
|
||||
console.log('onBackPress');
|
||||
uni.$emit('update:createOrderIndex')
|
||||
// uni.$emit('update:createOrderIndex')
|
||||
// if (option.isNowPay&&!payFinish.value) {
|
||||
// infoBox.showToast('先付费模式,请先结算订单')
|
||||
// return true
|
||||
@@ -242,7 +242,7 @@
|
||||
setTimeout(() => {
|
||||
// uni.$emit('orderDetail:update')
|
||||
payFinish.value=true
|
||||
uni.$emit('update:createOrderIndex')
|
||||
// uni.$emit('update:createOrderIndex')
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user