修复bug

This commit is contained in:
weipengfei 2024-03-11 18:01:40 +08:00
parent 24e5ba4c34
commit e3d544ae13
8 changed files with 44 additions and 24 deletions

View File

@ -2,8 +2,8 @@
"name" : "惠农商户平台", "name" : "惠农商户平台",
"appid" : "__UNI__1EE148C", "appid" : "__UNI__1EE148C",
"description" : "", "description" : "",
"versionName" : "1.3.3", "versionName" : "1.3.4",
"versionCode" : 133, "versionCode" : 134,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {

View File

@ -48,9 +48,9 @@
</view> </view>
</view> </view>
<view class="content-open" v-if='!isshow' @click="open"> <!-- <view class="content-open" v-if='!isshow' @click="open">
<image src="@/static/images/zk.png" mode="aspectFit"></image> <image src="@/static/images/zk.png" mode="aspectFit"></image>
</view> </view> -->
<div v-if='isshow' style="margin-top: 80rpx;"> <div v-if='isshow' style="margin-top: 80rpx;">
<!-- // type=price&time=today&merId=1 --> <!-- // type=price&time=today&merId=1 -->
@ -469,10 +469,16 @@
}, { }, {
name: '暂存金额', name: '暂存金额',
value: 0 value: 0
}, {
name: '补贴金额',
value: 0
}, { }, {
name: '本月订单数', name: '本月订单数',
value: 0 value: 0
}], }, {
name: '今日订单数',
value: 0
}, ],
order: [{ order: [{
name: '待付款', name: '待付款',
type: 1, type: 1,
@ -796,10 +802,17 @@
} }
}, },
onPullDownRefresh() { onPullDownRefresh() {
this.getGoods(true);
this.getGoods(true).then(() => { this.list1();
this.getUserInfo();
this.codelist();
this.$u.sleep(2000).then(() => {
uni.stopPullDownRefresh() uni.stopPullDownRefresh()
}) });
this.$u.sleep(5000).then(() => {
this.loadEndFlag = true;
});
}, },
async onLoad() { async onLoad() {
@ -1203,7 +1216,7 @@
this.order[2].value = res.data.order.untake this.order[2].value = res.data.order.untake
this.order[3].value = res.data.order.unevaluate this.order[3].value = res.data.order.unevaluate
this.order[4].value = res.data.order.refund this.order[4].value = res.data.order.refund
this.list[2].value = res.data.data.month.orderNum this.list[3].value = res.data.data.month.orderNum
}, },
err => { err => {
that.$util.Tips({ that.$util.Tips({
@ -2205,14 +2218,17 @@
.content-middle { .content-middle {
// padding: 0 30rpx; // padding: 0 30rpx;
display: flex; display: flex;
justify-content: space-around; justify-content: flex-start;
flex-wrap: wrap;
margin-top: 61rpx; margin-top: 61rpx;
.content-middlea { .content-middlea {
// width: 161rpx; // width: 161rpx;
flex: 1; // flex: 1;
width: 33.33%;
flex-shrink: 0; flex-shrink: 0;
text-align: center; text-align: center;
margin-bottom: 28rpx;
.content-middlea-one { .content-middlea-one {
font-size: 26rpx; font-size: 26rpx;
@ -2246,7 +2262,7 @@
.content-bottom { .content-bottom {
background-color: #ffffff; background-color: #ffffff;
border-radius: 32rpx 32rpx 0px 0px; border-radius: 32rpx 32rpx 0px 0px;
margin-top: 41rpx; // margin-top: 41rpx;
padding-top: 46rpx; padding-top: 46rpx;
.content-order { .content-order {

View File

@ -31,7 +31,7 @@
</view> </view>
</view> --> </view> -->
<u-tabs :list="[{name: '扣除记录'},{name: '充值记录'}]" @click="changeCurrent" lineColor="#f56c6c" :activeStyle="{ <u-tabs :list="[{name: '订单补缴记录'},{name: '充值记录'}]" @click="changeCurrent" lineColor="#f56c6c" :activeStyle="{
color: '#333', color: '#333',
fontWeight: 'bold', fontWeight: 'bold',
transform: 'scale(1.05)' transform: 'scale(1.05)'
@ -44,7 +44,7 @@
<view class="content-order" v-for="(item,i ) in deductList"> <view class="content-order" v-for="(item,i ) in deductList">
<view class="deduct">扣除编号{{item.financial_record_sn}}</view> <view class="deduct">扣除编号{{item.financial_record_sn}}</view>
<view class="deduct">扣除金额<text style="color: #ff5c2d;">{{item.number}}</text></view> <view class="deduct">扣除金额<text style="color: #ff5c2d;">{{item.number}}</text></view>
<view class="deduct">扣费方式{{item.financial_type=='auto_margin'? '订单自动扣除': '其他扣除'}}</view> <view class="deduct">扣费方式{{item.financial_type=='auto_margin'? '订单自动补缴': '其他扣除'}}</view>
<view class="deduct">订单编号{{item.order_sn}}</view> <view class="deduct">订单编号{{item.order_sn}}</view>
<view class="deduct">扣除时间{{item.create_time}}</view> <view class="deduct">扣除时间{{item.create_time}}</view>
</view> </view>

View File

@ -725,7 +725,8 @@
page: this.storeParam.page, page: this.storeParam.page,
order: this.storeParam.order, order: this.storeParam.order,
// sys_labels: this.storeParam.sys_labels, // sys_labels: this.storeParam.sys_labels,
keyword: this.storeParam.keyword keyword: this.storeParam.keyword,
category_id: this.userInfoData.mer_info.category_id,
}; };
if(this.storeParam.category_id==-1) null; if(this.storeParam.category_id==-1) null;
else if(!this.merchantTow.pid) query.cate_pid = this.storeParam.category_id; // pid else if(!this.merchantTow.pid) query.cate_pid = this.storeParam.category_id; // pid

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="content"> <view class="content">
<view class="content-middle"> <!-- <view class="content-middle">
<view class="content-middlea" v-for="(item,index) in list" :key='index' @click="handleToWithDraw(item, index)"> <view class="content-middlea" v-for="(item,index) in list" :key='index' @click="handleToWithDraw(item, index)">
<view class="content-middlea-one"> <view class="content-middlea-one">
{{item.name}} {{item.name}}
@ -10,7 +10,7 @@
{{item.value}} {{item.value}}
</view> </view>
</view> </view>
</view> </view> -->
<div style="margin-top: 80rpx;"> <div style="margin-top: 80rpx;">
<view class="tools-one" <view class="tools-one"

View File

@ -32,12 +32,12 @@
<view class="zizhi_box"> <view class="zizhi_box">
<view class="text">店铺资质</view> <view class="text">店铺资质</view>
<block v-if="images[3].img"> <block v-if="images[3].img">
<u--image :showLoading="true" @click="priviewImg([images[3].img])" :src="images[3].img" width="382.46rpx" height="210.53rpx" <u--image :showLoading="true" @click="!imgUpload?priviewImg([images[3].img]):seleckImage(3)" :src="images[3].img" width="382.46rpx" height="210.53rpx"
radius="4px"></u--image> radius="4px"></u--image>
</block> </block>
<!-- <view v-else class="zizhi_img" @click="seleckImage(3)"> <view v-else class="zizhi_img" @click="seleckImage(3)">
<view class="iconfont icon-tupian1"></view> <view class="iconfont icon-tupian1"></view>
</view> --> </view>
</view> </view>
</view> </view>
<view class="store_avatar flex_a_c_j_sb" style="padding: 20rpx 0;" v-if="imagesArr.length>0"> <view class="store_avatar flex_a_c_j_sb" style="padding: 20rpx 0;" v-if="imagesArr.length>0">
@ -240,6 +240,7 @@
}, { }, {
img: '' img: ''
}], }],
imgUpload: true, //
imagesArr: [], imagesArr: [],
storeBg: '', storeBg: '',
check: { check: {
@ -326,6 +327,7 @@
res.data.mer_certificate.shift(); res.data.mer_certificate.shift();
this.imagesArr = res.data.mer_certificate; this.imagesArr = res.data.mer_certificate;
}else this.images[3].img = res.data.mer_certificate; }else this.images[3].img = res.data.mer_certificate;
if(this.images[3].img) this.imgUpload = false;
if(typeof res.data.delivery_way == 'string') this.delivery_way = res.data.delivery_way.split(','); if(typeof res.data.delivery_way == 'string') this.delivery_way = res.data.delivery_way.split(',');
else this.delivery_way = res.data.delivery_way; else this.delivery_way = res.data.delivery_way;
this.delivery_way.forEach(item => { this.delivery_way.forEach(item => {

View File

@ -861,11 +861,11 @@
margin-top: 20rpx; margin-top: 20rpx;
background-color: #ffffff; background-color: #ffffff;
height: 220rpx; // height: 220rpx;
padding: 10rpx 0;
border-radius: 12px; border-radius: 12px;
z-index: 10; z-index: 10;
box-shadow: 0 0 7px #a3a3a3; box-shadow: 0 0 7px #a3a3a3;
padding-top: 20rpx;
.muau { .muau {
@ -873,7 +873,7 @@
width: 160rpx; width: 160rpx;
text-align: center; text-align: center;
margin-top: 20rpx; margin: 10rpx 0;
view:hover { view:hover {
color: red color: red

View File

@ -586,7 +586,8 @@
getOrderData: function() { getOrderData: function() {
let that = this; let that = this;
orderData({ orderData({
product_type: this.product_type product_type: this.product_type,
source: 11
}).then(res => { }).then(res => {
// console.log(res.data) // console.log(res.data)
that.$set(that, 'orderData', res.data); that.$set(that, 'orderData', res.data);