From 6e12337e17704d873d8954d80e4567a94e23d92d Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期五, 09 八月 2024 19:02:14 +0800
Subject: [PATCH] 1
---
sub_pages/supplier/order-settlement/order-settlement-detail.vue | 99 ++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 92 insertions(+), 7 deletions(-)
diff --git a/sub_pages/supplier/order-settlement/order-settlement-detail.vue b/sub_pages/supplier/order-settlement/order-settlement-detail.vue
index e2defe2..e2b9bfb 100644
--- a/sub_pages/supplier/order-settlement/order-settlement-detail.vue
+++ b/sub_pages/supplier/order-settlement/order-settlement-detail.vue
@@ -1,5 +1,7 @@
<template>
<view class="list-container order-sale supplier p20">
+
+
<view class="m-b-24 order-sale-list list-container">
<view class="order-sale-item br-4 m-t-12 list-item bg-white">
<view class="title flex">
@@ -9,10 +11,10 @@
</view>
</view>
<view class="line"></view>
- <view class="form">
+ <!-- <view class="form">
<view class="flex">
<view class="form-item flex1">
- <view class="label">结算单价/均价</view>
+ <view class="label">结算单价</view>
<view class="value">¥{{dto.price||'0.00'}}</view>
</view>
<view class="form-item flex1">
@@ -50,6 +52,45 @@
<view class="value">{{dto.stationFee}}</view>
</view>
</view>
+ </view> -->
+ <view class="tj-container-p">
+ <view class="tj-container flex">
+ <view class="tj-each flex1">
+ <view class="value">¥{{dto.price||'0.00'}}</view>
+ <view class="label">结算单价</view>
+ </view>
+ <view class="tj-each flex1">
+ <view class="value">{{dto.flowerNum||'0.00'}}</view>
+ <view class="label">商品数量</view>
+ </view>
+ <view class="tj-each flex1">
+ <view class="value">{{dto.orderNum}}</view>
+ <view class="label">订单数量</view>
+ </view>
+ <view class="tj-each flex1">
+ <view class="value">{{dto.customerNum}}</view>
+ <view class="label">买家数量</view>
+ </view>
+ </view>
+
+ <view class="tj-container m-t-12 flex">
+ <view class="tj-each flex1">
+ <view class="value">{{dto.serviceFee}}</view>
+ <view class="label">服务费</view>
+ </view>
+ <view class="tj-each flex1">
+ <view class="value">{{dto.salesFee}}</view>
+ <view class="label">售后理赔</view>
+ </view>
+ <view class="tj-each flex1">
+ <view class="value">{{dto.checkFee}}</view>
+ <view class="label">质检扣款</view>
+ </view>
+ <view class="tj-each flex1">
+ <view class="value">{{dto.stationFee}}</view>
+ <view class="label">集货站运费</view>
+ </view>
+ </view>
</view>
<view class="line"></view>
@@ -67,7 +108,7 @@
</view>
</view>
</view>
-
+
<view class="m-b-24 order-sale-list list-container">
<view class="order-sale-item br-4 m-t-12 list-item bg-white">
<view class="title flex">
@@ -111,9 +152,9 @@
</view>
</view>
</view>
-
+
</view>
-
+
</view>
</view>
</view>
@@ -138,11 +179,21 @@
methods: {
async getDetail() {
+ var turl = ''
+ // #ifdef PUB_SUPPLIER
+ turl = '/api/supplier/settlement/list/view?id='
+ // #endif
+ // #ifdef PUB_PARTNER
+ turl = '/api/partner/settlement/list/view?id='
+ // #endif
+
+
+
this.$message.showLoading()
const {
code,
data
- } = await this.$http.request('get', '/api/partner/settlement/list/view?id=' + this.id, {
+ } = await this.$http.request('get', turl + this.id, {
})
@@ -150,7 +201,7 @@
if (code == 0) {
this.dto = {
...data,
- details:data.details||[]
+ details: data.details || []
}
}
@@ -161,6 +212,40 @@
</script>
<style lang="scss" scope>
+ .order-sale {
+ .tj-container-p {
+ background: #E6F2EB;
+ padding: 30rpx;
+
+ .tj-container {
+ // height: 148rpx;
+ background: #FFFFFF;
+ border-radius: 8rpx;
+ padding-top: 16rpx;
+ padding-bottom: 16rpx;
+
+ .tj-each {
+ text-align: center;
+
+ .label {
+ margin-top: 16rpx;
+ font-weight: 400;
+ font-size: 24rpx;
+ color: #000000;
+ line-height: 34rpx;
+ }
+
+ .value {
+ font-weight: 400;
+ font-size: 32rpx;
+ color: #CF0000;
+ line-height: 44rpx;
+ }
+ }
+ }
+ }
+ }
+
.order-sale-list {
.order-sale-item {
margin-bottom: 20rpx;
--
Gitblit v1.9.3