Commit 33b2f22b by 前端

Merge branch 'v4.43.1' into 'master'

上线合并

See merge request !50
2 parents f18ff1fa 29ae22cc
...@@ -19,10 +19,11 @@ ...@@ -19,10 +19,11 @@
// 订单统计 // 订单统计
.order-box { .order-box {
box-sizing: border-box; box-sizing: border-box;
width: calc(100% - 1.333333rem); width: calc(100% - 96px);
margin: 0.2rem 0.666667rem; margin: 36px 48px;
padding: 0.213333rem; padding: 18px;
border-radius: 0.133333rem 0.133333rem 0.133333rem 0.133333rem; border-radius: 12px;
border: 1px solid #FFD894;
background: linear-gradient(-180deg, rgb(255, 169, 105), rgb(255, 137, 85)); background: linear-gradient(-180deg, rgb(255, 169, 105), rgb(255, 137, 85));
.order-side { .order-side {
width: calc(100% - 34px); width: calc(100% - 34px);
......
...@@ -153,6 +153,7 @@ ...@@ -153,6 +153,7 @@
padding: 20px 50px; padding: 20px 50px;
background-image: linear-gradient(90deg, #FFB887 0%, #FFDDC0 30%, #FFDCB0 100%); background-image: linear-gradient(90deg, #FFB887 0%, #FFDDC0 30%, #FFDCB0 100%);
word-wrap: break-word; word-wrap: break-word;
border-radius: 8px;
.customer-item { .customer-item {
display: flex; display: flex;
align-items: baseline; align-items: baseline;
...@@ -177,6 +178,7 @@ ...@@ -177,6 +178,7 @@
.shop-name { .shop-name {
display: flex; display: flex;
align-items: baseline; align-items: baseline;
flex-direction: column;
.icon-star { .icon-star {
display: inline-block; display: inline-block;
font-size: 24px; font-size: 24px;
...@@ -224,4 +226,31 @@ ...@@ -224,4 +226,31 @@
bottom: 0; bottom: 0;
width: 100%; width: 100%;
height: 170px; height: 170px;
}
.store-title {
position: relative;
width: 100%;
text-align: center;
font-weight: 600;
font-size: 24px;
color: #6E2714;
img {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 556px;
height: 18px;
}
}
.store-item {
font-size: 24px;
color: #AC603B;
margin-top: 16px;
.store-label {
display: inline-flex;
width: 144px;
margin-right: 20px;
font-size: 24px;
}
} }
\ No newline at end of file \ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-10-10 15:26:23 * @Date: 2022-10-10 15:26:23
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-06-12 10:32:03 * @LastEditTime: 2024-08-09 14:53:21
--> -->
<template> <template>
<div class="wrapper-good"> <div class="wrapper-good">
...@@ -51,6 +51,15 @@ ...@@ -51,6 +51,15 @@
<div class="shop-name" v-if="data.goodsSwitch"> <div class="shop-name" v-if="data.goodsSwitch">
<div <div
class="name-item" class="name-item"
v-for="(it, ind) in data.dataInfo!.packageGoodsList"
:key="ind"
>
<div class="name-item">{{ it.packageName }}</div>
<div class="name-item" v-for="(itm, indx) in it.packageGoodsOrderList"
:key="indx">* {{ itm.upgradeGoodsAlias || itm.upgradeGoodsName }}</div>
</div>
<div
class="name-item"
v-for="(i, ind) in data.dataInfo!.goodsNameList" v-for="(i, ind) in data.dataInfo!.goodsNameList"
:key="ind" :key="ind"
> >
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-11-16 18:18:59 * @Date: 2022-11-16 18:18:59
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-08-08 14:01:32 * @LastEditTime: 2024-08-09 14:48:56
*/ */
export interface ReportData { export interface ReportData {
time?: string; time?: string;
...@@ -62,12 +62,22 @@ export interface GladDataInfo { ...@@ -62,12 +62,22 @@ export interface GladDataInfo {
export interface GladData { export interface GladData {
rankList?: RankItem[]; rankList?: RankItem[];
goodsNameList?: string[]; goodsNameList?: string[];
packageGoodsList?: PackageGoods[];
totalPrice?: number; totalPrice?: number;
merchantName?: string; merchantName?: string;
staff: StaffData; staff: StaffData;
merchantUpgradeCount: number; merchantUpgradeCount: number;
switchList: SwitchType[]; switchList: SwitchType[];
} }
export interface PackageGoods {
packageCode: string;
packageName: string;
packageGoodsOrderList: PackageGoodsOrder[];
}
export interface PackageGoodsOrder {
upgradeGoodsAlias: string;
upgradeGoodsName: string;
}
export interface RankItem { export interface RankItem {
staffName: string; staffName: string;
staffJob: string; staffJob: string;
......
...@@ -43,6 +43,21 @@ ...@@ -43,6 +43,21 @@
<div class="time">- 开单时间 {{ data.newsInfo!.orderTime }} -</div> <div class="time">- 开单时间 {{ data.newsInfo!.orderTime }} -</div>
</div> </div>
<div class="customer-info"> <div class="customer-info">
<div class="store-title">
门店数据汇总
<img
class="store-title"
:src="getImageUrl('store-title')"
alt=""
/>
</div>
<div class="store-item"><span class="store-label">今日单量</span>{{ data.newsInfo!.todayUpgradeCount }}单</div>
<div class="store-item"><span class="store-label">今日产值</span>{{ data.newsInfo!.todayOrderMoney }}元</div>
<div class="store-item"><span class="store-label">本月累计单量</span>{{ data.newsInfo!.monthUpgradeCount }}单</div>
<div class="store-item"><span class="store-label">本月累计产值</span>{{ data.newsInfo!.monthOrderMoney }}元</div>
<div></div>
</div>
<div class="customer-info">
<div class="customer-item"> <div class="customer-item">
<div class="label">客户姓名</div> <div class="label">客户姓名</div>
<div class="value">{{ data.newsInfo!.customerName }}</div> <div class="value">{{ data.newsInfo!.customerName }}</div>
...@@ -60,16 +75,31 @@ ...@@ -60,16 +75,31 @@
<div class="value"> <div class="value">
<div <div
class="shop-name" class="shop-name"
v-for="(i, index) in data.newsInfo!.packageGoodsList"
:key="index"
>
<div class="name">{{ i.packageName }}</div>
<div
v-for="(it, idx) in i.packageGoodsOrderList"
:key="idx"
>
<div class="icon-star">*</div>
<div class="name">{{ it.upgradeGoodsAlias || it.upgradeGoodsName }}</div>
</div>
</div>
<div
class="shop-name"
v-for="item in data.newsInfo!.goodsNames" v-for="item in data.newsInfo!.goodsNames"
:key="item" :key="item"
> >
<div class="icon-star">*</div>
<div class="name">{{ item }}</div> <div class="name">{{ item }}</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div v-if="data.scriptSwitch" class="customer-info html-info" v-html="data.content"></div> <div v-if="data.scriptSwitch" class="customer-info html-info" v-html="data.content"></div>
<div class="tips-text">感谢您前期的铺垫和大力支持,加油!</div> <div class="tips-text">感谢您前期的铺垫和大力支持,加油!</div>
<div class="logo"> <div class="logo">
<img class="red-logo" :src="getImageUrl('logo')" alt="" /> <img class="red-logo" :src="getImageUrl('logo')" alt="" />
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2023-03-23 10:48:13 * @Date: 2023-03-23 10:48:13
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-06-09 15:53:57 * @LastEditTime: 2024-08-16 10:54:05
*/ */
export interface Params { export interface Params {
orderCode?: string; orderCode?: string;
...@@ -32,8 +32,24 @@ export interface NewsInfo { ...@@ -32,8 +32,24 @@ export interface NewsInfo {
orderTime?: string; orderTime?: string;
sunshineInspiration?: string; sunshineInspiration?: string;
goodsNames?: string[]; goodsNames?: string[];
packageGoodsList?: PackageGoods[];
channelType?: number; channelType?: number;
switchList: SwitchType[]; switchList: SwitchType[];
todayUpgradeCount: number;
todayOrderMoney: number;
monthUpgradeCount: number;
monthOrderMoney: number;
}
export interface PackageGoods {
packageCode: string;
packageName: string;
packageGoodsOrderList: PackageGoodsOrder[];
}
export interface PackageGoodsOrder {
upgradeGoodsAlias: string;
upgradeGoodsName: string;
} }
export interface StaffInfo { export interface StaffInfo {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!