From ec64782bbc31fa4c7df89bf16c70d039cdd17fc3 Mon Sep 17 00:00:00 2001
From: "DESKTOP-GMUNQ1B\\k" <1154079537@qq.com>
Date: Wed, 13 Mar 2024 17:24:20 +0800
Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E4=BB=98=E6=98=8E=E7=BB=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/payment.js | 8 +
pages/index/index.vue | 4948 +++++++++++++------------
pages/payment/payment_detail.vue | 333 +-
pages/users/order_list/indexOther.vue | 74 +-
4 files changed, 2738 insertions(+), 2625 deletions(-)
diff --git a/api/payment.js b/api/payment.js
index 441e510..4d7f58d 100644
--- a/api/payment.js
+++ b/api/payment.js
@@ -42,4 +42,12 @@ export function orderPay(data) {
*/
export function qrcode(data) {
return request.get(`scanPay/qrcode`, data);
+}
+
+
+/**
+ * 收付款详情
+ */
+export function paymentDetail(data) {
+ return request.get(`admin/${data.mer_id}/expenditure`, data);
}
\ No newline at end of file
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 35c2bc2..9d374b8 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,369 +1,379 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{userInfoData.mer_info.mer_name?userInfoData.mer_info.mer_name:'暂无信息'}}
-
-
-
-
-
-
- {{userInfoData.mer_info.type_name}}
-
-
-
-
- 请登录
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{userInfoData.mer_info.mer_name?userInfoData.mer_info.mer_name:'暂无信息'}}
+
+
+
+
+
+
+ {{userInfoData.mer_info.type_name}}
+
+
+
+
+ 请登录
+
+
+
+
+
+
+
+
-
-
-
- {{item.name}}
-
-
- {{item.value}}
-
-
- (次日18点后可提现)
-
-
-
-
-
-
-
- 订单数据统计
+
+
+
+ 订单数据统计
-
-
-
+
+
+
-
-
-
-
- {{item.value}}
-
-
- {{item.name}}
-
+
+
+
+
+ {{item.value}}
+
+
+ {{item.name}}
+
-
-
-
-
- 转账订单
-
-
-
-
-
- {{item.value}}
-
-
- {{item.name}}
-
-
-
+
+
+
+
+ 转账订单
+
+
+
+
+
+ {{item.value}}
+
+
+ {{item.name}}
+
+
+
-
-
-
+
+
+
-
-
- 常用工具
-
-
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
-
-
- 商家设置
-
-
-
+
+
+ 常用工具
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+ 商家设置
+
+
+
-
-
-
- 订单列表
-
-
-
+
+
+
+ 订单列表
+
+
+
-
-
-
-
-
+
+
+
+
+
-
- {{item.real_name}}
-
-
-
-
+
+ {{item.real_name}}
+
+
+
+
-
- {{item.pay_time}}拍下
-
+
+ {{item.pay_time}}拍下
+
-
- 待发货
-
-
-
-
-
-
-
-
-
- {{ g.cart_info.product.store_name }}
-
- ¥{{g.product_price.split('.')[0]}}.
- {{g.product_price.split('.')[1]}}
-
- X{{g.product_num}}
-
-
-
- 共{{g.product_num}}件
- 实收: ¥{{g.cart_info.productAttr.price.split('.')[0] }}.{{g.cart_info.productAttr.price.split('.')[1] }}(含快递:¥0.00)
-
-
+
+ 待发货
+
+
+
+
+
+
+
+
+
+ {{ g.cart_info.product.store_name }}
+
+ ¥{{g.product_price.split('.')[0]}}.
+ {{g.product_price.split('.')[1]}}
+
+ X{{g.product_num}}
+
+
+
+ 共{{g.product_num}}件
+ 实收: ¥{{g.cart_info.productAttr.price.split('.')[0] }}.{{g.cart_info.productAttr.price.split('.')[1] }}(含快递:¥0.00)
+
+
-
+
-
-
-
-
-
-
-
- 订单编号: {{item.order_sn}}
-
-
-
-
-
-
- {{item.real_name}} {{ item.user_phone}}
- {{item.user_address}}
-
-
-
-
-
- 备注
- 去发货
-
+
+
+
+
+
+
+
+ 订单编号: {{item.order_sn}}
+
+
+
+
+
+
+ {{item.real_name}} {{ item.user_phone}}
+ {{item.user_address}}
+
+
+
+
+
+ 备注
+ 去发货
+
-
+
-
-
-
+
+
+
-
- {{loadTitle}}
-
+
+ {{loadTitle}}
+
-
+
-
-
-
-
- 订单备注
-
-
-
-
-
-
- 确认提交
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{userInfoData.account}}
-
-
-
- {{userInfoData.mer_info.mer_name}}
-
-
-
-
-
+
+
+
+
+ 订单备注
+
+
+
+
+
+
+ 确认提交
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{userInfoData.account}}
+
+
+
+ {{userInfoData.mer_info.mer_name}}
+
+
+
+
+
-
-
- 退出
-
-
-
-
-
-
-
-
-
-
-
- {{detail.title}}
- 甲方公司:{{company?company:"暂无公司信息"}}
- 机构代码:{{organization_code?organization_code:"暂无公司信息"}}
-
-
-
-
-
-
+
+
+
+ {{detail.title}}
+ 甲方公司:{{company?company:"暂无公司信息"}}
+ 机构代码:{{organization_code?organization_code:"暂无公司信息"}}
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/payment/payment_detail.vue b/pages/payment/payment_detail.vue
index 870e0d8..04518d5 100644
--- a/pages/payment/payment_detail.vue
+++ b/pages/payment/payment_detail.vue
@@ -1,4 +1,197 @@
+
+
+
+
+
+
+
+ {{startTimeTxt}}
+
+
+
+ {{endTimeTxt}}
+
+
+
+ 重置
+
+
+ 支出¥{{outcome}} 收入¥{{income}}
+
+
+
+
+
+
+
+
+
+ {{item.come_msg}}
+ {{item.msg == '支出'?'-':'+'}}{{item.pay_price}}
+
+ {{new Date(item.create_time).format('MM月dd日 hh:mm')}}
+
+
+
+
+
+ {{loadTitle}}
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
- 2024年3月10日
-
-
- 筛选
-
-
- 支出¥0.00 收入¥0.00
-
-
-
-
-
-
-
-
-
- 扫二维码付款给-张三
- +10
-
- 3月11日 10:46
-
-
-
-
-
- {{loadTitle}}
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/pages/users/order_list/indexOther.vue b/pages/users/order_list/indexOther.vue
index 26ccfe1..6514601 100644
--- a/pages/users/order_list/indexOther.vue
+++ b/pages/users/order_list/indexOther.vue
@@ -1,9 +1,7 @@
-
共{{item.orderNum || 0}}件商品,总金额
¥{{item.presell_price}}
- 共{{item.orderNum || 0}}件商品,结算周期到期后付款
- ¥{{item.pay_price}}
-
+
+ 共{{item.orderNum || 0}}件商品,结算周期到期后付款
+ ¥{{item.pay_price}}
+
共{{item.orderNum || 0}}件商品,总金额
¥{{item.pay_price}}
@@ -262,7 +262,9 @@
+
+ 上传凭证
查看详情
@@ -306,10 +308,9 @@
@click.stop='goPay(item.pay_price,item.group_order_id,item.activity_type)'>
去结算
-->
-
- 去结算
-
+
+ 去结算
+
去评价
@@ -374,15 +375,15 @@
let app = getApp();
import {
getOrderList,
- getOtherOrderList,
+ getOtherOrderList,
orderData,
- otherOrderData,
+ otherOrderData,
unOrderCancel,
orderDel,
orderPay,
groupOrderList,
orderTake,
- otherOrderTake,
+ otherOrderTake,
applyInvoiceApi,
refundList
} from '@/api/order.js';
@@ -465,7 +466,7 @@
add: false,
},
len: 0,
- product_type: 98
+ product_type: 98
};
},
computed: {
@@ -494,9 +495,9 @@
this.isShowAuth = true
}
},
- onLoad(options) {
- if(options.product_type)this.product_type = options.product_type
- },
+ onLoad(options) {
+ if (options.product_type) this.product_type = options.product_type
+ },
onReady() {},
mounted: function() {
this.arrlist()
@@ -531,12 +532,12 @@
})
}
},
- // 先货后款去支付
- navToPay(item){
- uni.navigateTo({
- url: `/pages/users/payment/payment?order_id=${item.group_order_id}&product_type=${item.orderProduct[0]?.product_type||''}`
- })
- },
+ // 先货后款去支付
+ navToPay(item) {
+ uni.navigateTo({
+ url: `/pages/users/payment/payment?order_id=${item.group_order_id}&product_type=${item.orderProduct[0]?.product_type||''}`
+ })
+ },
onLoadFun() {
this.isShowAuth = false;
this.getOrderData();
@@ -660,14 +661,22 @@
title: '缺少订单号无法查看订单详情'
});
uni.navigateTo({
- url: `/pages/order_details/indexOther?order_id=${order_id}`
+ url: `/pages/order_details/indexOther?order_id=${order_id}`
})
},
+
+ // 上传凭证
+ uploadVoucher(item) {
+ let that = this;
+ that.$util.uploadImageOne('upload/image', res => {
+ const path = res.data.path;
+ });
+ },
+
/**
* 提示
*/
dePay() {
-
uni.showModal({
title: '提示',
title: '该订单属于先货后款的订单,等商户确认后才能支付',
@@ -679,7 +688,6 @@
}
}
});
-
},
/**
* 点击去评价
@@ -719,7 +727,7 @@
if (status == 5) {
uni.navigateTo({
- url: '/pages/users/refund/list?type='+this.product_type
+ url: '/pages/users/refund/list?type=' + this.product_type
})
} else {
if (status == this.orderStatus) return;
@@ -1014,6 +1022,12 @@
background-color: var(--view-theme);
}
+ .b-plain {
+ background-color: #fff;
+ color: var(--view-theme) !important;
+ border: 2rpx solid var(--view-theme);
+ }
+
.my-order .header .picTxt {
height: 190rpx;
}