订单详情新增打印状态

This commit is contained in:
gyq
2025-12-29 17:34:48 +08:00
parent 2c5b47ad8b
commit b8e8815cca
2 changed files with 40 additions and 30 deletions

View File

@@ -15,8 +15,8 @@ import infoBox from "@/commons/utils/infoBox.js";
import go from "@/commons/utils/go.js";
import { reject } from "lodash";
// 设置node环境
envConfig.changeEnv(storageManage.env('production')) //正式
// envConfig.changeEnv(storageManage.env("development")); //测试
// envConfig.changeEnv(storageManage.env('production')) //正式
envConfig.changeEnv(storageManage.env("development")); //测试
// 测试服
// #ifdef H5

View File

@@ -37,10 +37,22 @@
</view>
<view class="u-flex u-row-between u-m-t-24 u-col-top">
<view class="no-wrap">商家备注</view>
<view class="u-p-l-32 " style="max-width: 522rpx; word-wrap: break-word;">
<view class="u-p-l-32" style="max-width: 522rpx; word-wrap: break-word">
{{ data.remark }}
</view>
</view>
<view class="u-flex u-row-between u-m-t-24 u-col-top">
<view class="no-wrap">打印状态</view>
<view class="u-p-l-32" style="max-width: 522rpx; word-wrap: break-word; color: red">
<template v-if="JSON.parse(data.printStatus).length > 0">
打印失败{{
JSON.parse(data.printStatus)
.map((item) => item.name)
.join('、')
}}
</template>
</view>
</view>
</view>
</template>
@@ -59,12 +71,10 @@
seatFee: {
type: Object,
default: () => {
totalNumber: 0
totalNumber: 0;
}
}
})
});
</script>
<style lang="scss" scoped>
</style>
<style lang="scss" scoped></style>