diff --git a/components/zbpSwiper.vue b/components/zbpSwiper.vue
index de31974..ee35f00 100644
--- a/components/zbpSwiper.vue
+++ b/components/zbpSwiper.vue
@@ -85,7 +85,8 @@
watch: {
location: {
handler(newVal, oldVal) {
- if (newVal.address_component?.street) this.street = newVal.address_component.street
+ console.log(newVal, oldVal)
+ // if (newVal.address_component?.street) this.street = newVal.address_component.street
},
immediate: true
}
@@ -95,7 +96,7 @@
this.Area()
if (this.location.address_component?.street) this.street = this.location.address_component.street
// this.street = Cache.get('LOCATION_DATA',true)
- console.log( Cache.get('LOCATION_DATA'))
+ // console.log( Cache.get('LOCATION_DATA'))
},
methods: {
diff --git a/pages/gather/gather.vue b/pages/gather/gather.vue
index cf6b8b4..2e7503a 100644
--- a/pages/gather/gather.vue
+++ b/pages/gather/gather.vue
@@ -39,12 +39,18 @@
提现管理
-
+
+
+
+ 订单核销
+
+
+
+
+
+
+
- -->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.mer_name}}
-
-
-
-
-
-
-
-
-
-
-
- {{item.type_name}}
- 店铺评分
-
-
- 1万关注
-
-
-
- {{item.service_phone}}
-
-
-
- {{item.mer_take_time[0]}}-{{item.mer_take_time[1]}}
-
-
-
-
-
-
- {{item.mer_address}}
-
-
-
-
-
+
-
+
+
-
-
+
+
{{item.mer_name}}
-
+
{{item.type_name}}
@@ -158,10 +78,8 @@
- -->
-
-
-
+
+
@@ -264,7 +182,7 @@
-
+
@@ -298,21 +216,6 @@
},
data() {
return {
- tabLists: [{
- name: '默认',
- order: ''
- }, {
- name: '销量',
- order: 'sales'
- }, {
- name: '好评',
- order: 'rate'
- },
- {
- name: '距离',
- order: 'location'
- }
- ],
price: 0,
stock: 0,
nows: false,
@@ -330,27 +233,27 @@
downKey: 0,
downStatus: false,
// 下拉菜单
- // downMenu: [{
- // title: '默认',
- // key: 0,
- // order: ""
- // },
- // {
- // title: '销量',
- // key: 1,
- // order: 'sales'
- // },
- // {
- // title: '好评',
- // key: 2,
- // order: 'rate'
- // },
- // {
- // title: '距离',
- // key: 3,
- // order: 'location'
- // }
- // ],
+ downMenu: [{
+ title: '默认',
+ key: 0,
+ order: ""
+ },
+ {
+ title: '销量',
+ key: 1,
+ order: 'sales'
+ },
+ {
+ title: '好评',
+ key: 2,
+ order: 'rate'
+ },
+ {
+ title: '距离',
+ key: 3,
+ order: 'location'
+ }
+ ],
// 是否第一个
firstKey: 0,
// 商铺列表
@@ -379,19 +282,18 @@
storeTypeArr: [], //店铺类型
merList: [], //商户分类
product_type: 0,
- show: false,
- image: '', //图片,
- credit_buy: '', //支持先货后款
+ show:false,
+ image: '' ,//图片,
+ credit_buy:'',//支持先货后款
};
},
onLoad(options) {
-
-
+ console.log(options);
this.product_type = options.product_type ?? 0
if (options.street_id != undefined) {
this.sotreParam.street_id = options.street_id
}
- this.credit_buy = options.credit_buy
+ this.credit_buy=options.credit_buy
this.sotreParam.type_id = options.type_id
this.sotreParam.type_id = options.type_id && options.type_id.split(',').toString() || ''
this.sotreParam.category_id = options.cate_id && options.cate_id.split(',').toString() || ''
@@ -434,10 +336,6 @@
})
}
},
- sectionChange(e) {
- // console.log(e)
- this.set_where(e.index)
- },
// 获取商户分类
getClassfication: function() {
let temp = []
@@ -595,7 +493,7 @@
category_id: this.sotreParam.category_id,
type_id: this.sotreParam.type_id,
street_id: this.sotreParam.street_id,
- credit_buy: this.credit_buy
+ credit_buy:this.credit_buy
}
if (this.latitude) {
rqData.location = this.latitude + ',' + this.longitude
@@ -623,9 +521,8 @@
}
},
searchSubmit: function(e) {
-
- // let that = this;
- // this.$set(that.sotreParam, 'keyword', e.detail.value);
+ let that = this;
+ that.$set(that.sotreParam, 'keyword', e.detail.value);
this.set_where(this.firstKey)
},
// 右侧切换
@@ -670,7 +567,7 @@
this.storeList = []
this.firstKey = e
this.sotreParam.page = 1
- this.sotreParam.order = this.tabLists[e].order
+ this.sotreParam.order = this.downMenu[e].order
this.storeMerchantList();
},
backjJump() {
@@ -713,41 +610,20 @@
this.storeMerchantList()
}
}
-
+
}
\ No newline at end of file
+
+
diff --git a/pages/order_details/index.vue b/pages/order_details/index.vue
index 45d7415..b7952a2 100644
--- a/pages/order_details/index.vue
+++ b/pages/order_details/index.vue
@@ -305,9 +305,17 @@
查看物流
- 确认收货
+
+
+ 111确认收货
+
+ 确认收货
+
- 取件码
+
+ 取件码
+
+
{
+ return that.$util.Tips({
+ title: '操作成功',
+ icon: 'success'
+ }, function() {
+ that.orderList.splice(index, 1);
+ that.getOrderData();
+ });
+ }).catch(err => {
+ return that.$util.Tips({
+ title: err
+ });
+ })
+ }
+ }
+ })
+ },
+ confirmOrder: function(item) {
+ uni.showModal({
+ title: '取件码',
+ content: item.logistics_code,
+ success: function(res) {
+ if (res.confirm) {
+ // console.log('用户点击确定');
+ } else if (res.cancel) {
+ // console.log('用户点击取消');
+ }
+ }
+ })
+
},
queding() {
- if (orderInfo.activity_type == 98) {
+
let that = this;
orderTake(that.order_id).then(res => {
this.receivingshow = false
+ that.getOrderInfo();
return that.$util.Tips({
title: '成功收货',
icon: 'success'
}, function() {
- that.getOrderInfo();
+
});
}).catch(err => {
this.receivingshow = false
@@ -936,19 +982,7 @@
title: err
});
})
- } else {
- uni.showModal({
- title: '取件码',
- content: item.logistics_code,
- success: function(res) {
- if (res.confirm) {
- // console.log('用户点击确定');
- } else if (res.cancel) {
- // console.log('用户点击取消');
- }
- }
- })
- }
+
},
diff --git a/pages/plantGrass/plant_release/index.vue b/pages/plantGrass/plant_release/index.vue
index 35dc1e9..8c96326 100644
--- a/pages/plantGrass/plant_release/index.vue
+++ b/pages/plantGrass/plant_release/index.vue
@@ -12,7 +12,7 @@
-
+
@@ -27,7 +27,7 @@
添加视频
-
+
添加封面
@@ -37,7 +37,7 @@
封面
-
+
添加图片
diff --git a/pages/store/applicationRecord/index.vue b/pages/store/applicationRecord/index.vue
index 7a7bc8f..d5f84fe 100644
--- a/pages/store/applicationRecord/index.vue
+++ b/pages/store/applicationRecord/index.vue
@@ -5,18 +5,14 @@
{{item.mer_name}}
提交时间:{{item.create_time}}
-
+ 原因:{{item.fail_msg}}
-
-
-
-
+
+
+
{{statusText(item.status)}}
{{statusBtn(item.status)}}
@@ -87,17 +83,16 @@
},
// 跳转逻辑
jump(item) {
+ console.log(item)
if ([0, 2].includes(item.status)) {
- console.log(item)
uni.navigateTo({
- url: `/pages/store/merchantDetails/fali?mer_i_id=${item.mer_intention_id}&mer_id=${item.mer_id}`
+ url: `/pages/store/settled/index?mer_i_id=${item.mer_intention_id}`
})
} else if (item.status === 1) {
uni.navigateTo({
url: `/pages/store/merchantDetails/index?mer_i_id=${item.mer_intention_id}&mer_id=${item.mer_id}`
})
}
-
},
//状态判断
statusText(number) {
@@ -113,9 +108,9 @@
statusBtn(number) {
// 使用对象
let statusData = {
- 0: "",
- 1: "查看详情",
- 2: "查看详情",
+ 0: "编辑",
+ 1: "查看",
+ 2: "重新提交",
};
return statusData[number]
},
@@ -130,91 +125,76 @@
align-items: center;
background-color: #F5F5F5;
padding: 20rpx 30rpx;
-
.card-list {
width: 100%;
background-color: #fff;
padding: 20rpx 24rpx;
margin: 10rpx 20rpx;
border-radius: 12rpx;
-
.card-top {
height: 140rpx;
-
.title {
font-size: 28rpx;
font-weight: bold;
color: #333333;
}
-
.time {
color: #999999;
font-size: 24rpx;
padding: 5rpx 0;
- margin-top: 10rpx;
}
-
.reason {
color: #E93323;
font-weight: bold;
font-size: 24rpx;
}
}
-
.line {
height: 2rpx;
margin: 20rpx 0 20rpx 0;
background-color: #EEEEEE;
}
-
.card-bottom {
display: flex;
justify-content: space-between;
align-items: center;
color: #333;
-
.card-status {
display: flex;
align-items: center;
-
.status-icon {
- width: 50.82rpx;
- height: 50.82rpx;
+ width: 30rpx;
+ height: 30rpx;
margin: 10rpx;
}
-
.status-text {
font-size: 28rpx;
font-weight: 500;
}
}
-
.status-btn {
font-size: 26rpx;
color: #555;
- border: 1px solid #729FFA;
+ border: 1px solid #999999;
padding: 8rpx 32rpx;
border-radius: 40rpx;
}
}
}
}
-
.no-shop {
width: 100%;
background-color: #fff;
height: 100vh;
-
.pictrue {
display: flex;
flex-direction: column;
align-items: center;
color: $uni-nothing-text;
-
image {
width: 414rpx;
height: 380rpx;
}
}
}
-
\ No newline at end of file
+
diff --git a/pages/store/settled/index.vue b/pages/store/settled/index.vue
index f842abc..bf98155 100644
--- a/pages/store/settled/index.vue
+++ b/pages/store/settled/index.vue
@@ -1,25 +1,14 @@
-
-
+
@@ -313,9 +301,6 @@
onShow() {},
onReady() {},
methods: {
- goBack() {
- uni.navigateBack()
- },
//是否是农贸市场
// change(e) {
// this.isnum = (e === true ? 1 : 0)
@@ -382,7 +367,7 @@
// 获取历史提交数据详情
getGoodsDetails(id) {
getGoodsDetails(id).then(res => {
- // console.log(res);
+ console.log(res);
let arr = Object.keys(this.merchantData)
let resData = res.data
arr.map(item => {
@@ -391,10 +376,10 @@
this.merchantData.phone = resData.phone
this.merchantData.classification = resData.merchant_category_id
this.merchantData.mer_type = resData.mer_type_id
- this.area_id = resData.area_id
- this.street_id = resData.street_id
- this.mer_storeType = resData.mer_storeType
- this.village_id = resData.village_id
+ this.area_id=resData.area_id
+ this.street_id=resData.street_id
+ this.mer_storeType=resData.mer_storeType
+ this.village_id=resData.village_id
})
this.pics = resData.images
this.mer_classification = this.getCategoryName(resData.merchant_category_id, this.array)
@@ -426,7 +411,7 @@
this.validateBtn()
},
bindPickerChange1: function(e) {
- // console.log(e);
+ console.log(e);
this.index1 = e.target.value
let idx = e.target.value
this.merchantData.mer_type = this.storeTypeArr[idx]['mer_type_id']
@@ -458,7 +443,7 @@
getStoreType: function() {
getStoreTypeApi()
.then(res => {
- // console.log(res);
+ console.log(res);
this.storeTypeArr = res.data
})
.catch(res => {
@@ -611,7 +596,7 @@
code: that.merchantData.yanzhengma,
merchant_category_id: that.merchantData.classification,
mer_type_id: that.merchantData.mer_type,
- mer_storeType: this.mer_storeType,
+ mer_storeType:this.mer_storeType,
area_id: this.area_id,
street_id: this.street_id,
village_id: this.village_id,
@@ -696,11 +681,11 @@
if (!value.classification) return that.$util.Tips({
title: '请选择商户分类'
});
- if (!this.mer_storeType) return that.$util.Tips({
- title: '请选择商户类型'
+ if(!this.mer_storeType) return that.$util.Tips({
+ title:'请选择商户类型'
})
- if (!this.business_name) return that.$util.Tips({
- title: '请选择店铺所在地'
+ if(!this.business_name) return that.$util.Tips({
+ title:'请选择店铺所在地'
})
if (!that.isAgree) return that.$util.Tips({
title: '请勾选并同意入驻协议'
@@ -739,9 +724,9 @@
\ No newline at end of file
diff --git a/pages/users/order_confirm/index.vue b/pages/users/order_confirm/index.vue
index 1bf3ca6..18ddaee 100644
--- a/pages/users/order_confirm/index.vue
+++ b/pages/users/order_confirm/index.vue
@@ -164,13 +164,13 @@
暂无优惠券
-
+
diff --git a/pages/users/order_list/indexCopy.vue b/pages/users/order_list/indexCopy.vue
index c3026f4..e312af4 100644
--- a/pages/users/order_list/indexCopy.vue
+++ b/pages/users/order_list/indexCopy.vue
@@ -41,7 +41,7 @@
售后/退款
- {{orderData.noComment || 0}}
+ {{len || 0}}
@@ -169,7 +169,7 @@
v-if="item.order_type==1">{{item.takeOrderCount > 0 ? '部分核销' : '待核销'}}
-
+
待发货
待付款
待收货
@@ -264,10 +264,11 @@
查看物流
-
- 确认收货
-
- 确认收货
+
+ 确认收货
+
+ 确认收货