feat: ai店铺订单按钮展示

This commit is contained in:
2026-06-08 10:29:25 +08:00
parent 2449d67e53
commit eba95941e2
6 changed files with 203 additions and 39 deletions
+2 -2
View File
@@ -211,11 +211,11 @@
onLoad(async (options) => {
// 解析参数
if (!options.orderId || !options.itemId) {
if (!options.id || !options.id) {
sheep.$helper.toast(`缺少订单信息,请检查`);
return;
}
state.orderId = options.orderId;
state.orderId = options.id;
state.itemId = parseInt(options.itemId);
// 读取订单信息
+4 -3
View File
@@ -83,7 +83,7 @@
</view>
</view>
</view>
<su-fixed bottom placeholder bg="bg24" v-if="state.orderInfo.status != 30">
<su-fixed bottom placeholder bg="bg24">
<view class="orderBan flex-column ju-center">
<card_orderBan :data="state.orderInfo" @downData="getOrderDetail" type="2"></card_orderBan>
</view>
@@ -94,7 +94,7 @@
<script setup>
import sheep from '@/sheep';
import { onLoad, onShow } from '@dcloudio/uni-app';
import { reactive, ref } from 'vue';
import { computed, reactive, ref } from 'vue';
import {
fen2yuan,
handleOrderButtons,
@@ -115,6 +115,7 @@
source: '',
});
// ========== 门店自提(核销) ==========
const systemStore = ref({}); // 门店信息
@@ -465,7 +466,7 @@
}
.orderBan {
height: 140rpx;
height: 100rpx;
width: 100%;
padding: 0 24rpx;
box-sizing: border-box;