diff --git a/pages/gather/gather.vue b/pages/gather/gather.vue
deleted file mode 100644
index 3f948c7..0000000
--- a/pages/gather/gather.vue
+++ /dev/null
@@ -1,653 +0,0 @@
-
-
-
-
-
-
-
-
-
- {{ street }}
-
-
-
-
-
-
-
-
-
-
-
-
- {{street}}
-
-
-
-
-
-
-
-
-
-
-
-
-
- 更多功能
- 编辑
- 完成
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
- 还没有应用,点我添加应用
-
-
-
-
- 编辑功能
- 完成
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 61420e1..3b7434f 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -74,7 +74,7 @@
常用工具
-
+
@@ -82,6 +82,14 @@
{{item.name}}
+
+
+
+
+
+ 商家设置
+
+
@@ -347,7 +355,7 @@
import retuntop from '@/components/content-top/index.vue';
import {
-setAdminOrderRemark
+ setAdminOrderRemark
} from "@/api/admin";
import {
merstreet,
@@ -458,7 +466,7 @@ setAdminOrderRemark
loadend: false,
loading: false,
loadTitle: '加载更多',
-
+ isgShow: false,
emptyShow: false,
productList: [],
userid: '',
@@ -497,7 +505,6 @@ setAdminOrderRemark
this.getUserInfo()
this.list1()
this.Fheight = uni.getSystemInfoSync().windowHeight + 'px';
-
},
@@ -621,8 +628,8 @@ setAdminOrderRemark
//备注弹窗
refundModify(item) {
this.refundInfo = item;
-
-
+
+
this.refundMark = true;
},
//同意
@@ -771,9 +778,45 @@ setAdminOrderRemark
},
+ //商家设置
+ byset() {
+ if (this.userid) {
+ if (this.userInfoData.mer_info.mer_settlement_agree_status == 0) {
+ if (this.codenote.length == 0) {
+ this.isFshow = true
+ this.countDown()
+ } else {
+ if (this.codenote[0].status == 0) {
+ uni.showModal({
+ title: '申请正在审核中,请勿重复提交'
+ })
+ } else {
+ this.isFshow = true
+ this.countDown()
+ }
+ }
+ } else {
+
+ uni.navigateTo({
+ url: '/pages/product/basicSet?mer_id=' + this.userInfoData
+ .service
+ .mer_id
+ })
+ }
+
+
+
+
+ } else {
+ this.isAuto = true;
+ this.isShowAuth = true
+ }
+
+
+
+ },
//个人详情
-
logout() {
this.$refs.popup1.open()
},
@@ -856,7 +899,14 @@ setAdminOrderRemark
this.userid = res.data.uid
this.userInfoData = res.data
+ this.merchantData.phone = res.data.phone
+ if (res.data.service == null) {
+ // console.log('123');
+ this.isgShow = false
+ } else {
+ this.isgShow = true
+ }
if (res.data.mer_info.length == 0) {
uni.showModal({
title: '暂无商户信息'
@@ -885,33 +935,33 @@ setAdminOrderRemark
// 备注
save() {
-
+
let that = this;
if (!that.refundInfo.remark) {
return this.$util.Tips({
title: '请输入备注'
})
}
- setAdminOrderRemark(that.userInfoData.service.mer_id, that.refundInfo.order_id, {
- remark:that.refundInfo.remark
- }).then(
- res => {
- this.refundMark =false;
-
- this.$util.Tips({
- title: res.message,
- icon: 'success'
- })
- that.getGoods(true);
- },
- err => {
-
- that.$util.Tips({
- title: err
- });
- }
- );
-
+ setAdminOrderRemark(that.userInfoData.service.mer_id, that.refundInfo.order_id, {
+ remark: that.refundInfo.remark
+ }).then(
+ res => {
+ this.refundMark = false;
+
+ this.$util.Tips({
+ title: res.message,
+ icon: 'success'
+ })
+ that.getGoods(true);
+ },
+ err => {
+
+ that.$util.Tips({
+ title: err
+ });
+ }
+ );
+
},
// 授权关闭
authColse: function(e) {
@@ -925,7 +975,22 @@ setAdminOrderRemark
})
}
if (this.userid) {
- if (this.userInfoData.mer_info.setting_status == 1) {
+ if (this.userInfoData.mer_info.mer_settlement_agree_status == 0) {
+ if (this.codenote.length == 0) {
+ this.isFshow = true
+ this.countDown()
+ } else {
+ if (this.codenote[0].status == 0) {
+ uni.showModal({
+ title: '申请正在审核中,请勿重复提交'
+ })
+ } else {
+ this.isFshow = true
+ this.countDown()
+ }
+ }
+ } else {
+
switch (item.type) {
case 1:
uni.switchTab({
@@ -948,7 +1013,7 @@ setAdminOrderRemark
case 4:
uni.navigateTo({
// url: '/pages/users/order_list/index?status=-1'
- url: '/pages/users/order_list/indexCopy?status=-1&product_type=98'
+ url: '/pages/users/order_list/indexCopy?status=-1&product_type=98'
})
break;
case 5:
@@ -975,54 +1040,13 @@ setAdminOrderRemark
}
- } else {
- if (this.userInfoData.mer_info.mer_name) {
- if (this.userInfoData.mer_info.mer_settlement_agree_status == 0) {
-
-
- if (this.codenote.length == 0) {
- this.isFshow = true
- this.countDown()
- } else {
- if (this.codenote[0].status == 0) {
- uni.showModal({
- title: '申请正在审核中,请勿重复提交'
- })
- } else {
- this.isFshow = true
- this.countDown()
- }
- }
- } else {
-
- uni.navigateTo({
- url: url
- })
- }
- } else {
-
- uni.showModal({
- title: '提示',
- content: '请完成商户设置后,再进行本次操作',
- success: function(res) {
- if (res.confirm) {
- uni.navigateTo({
- url: '/pages/product/basicSet?mer_id=' + this.userInfoData
- .service
- .mer_id
- })
- } else if (res.cancel) {
- console.log('用户点击取消');
- }
- }
-
-
- })
-
- }
-
}
+
+
+
+
+
} else {
this.isAuto = true;
this.isShowAuth = true
@@ -1181,7 +1205,8 @@ setAdminOrderRemark
.merchantsSettled {
height: 100%;
- padding-top: 160rpx;
+ padding-top: 100rpx;
+
}
.merchantsSettled .title {
@@ -1238,7 +1263,7 @@ setAdminOrderRemark
}
.merchantsSettled .list .item {
- padding: 50rpx 0 20rpx;
+ padding: 30rpx 0 10rpx;
position: relative;
margin: 0 20px;
@@ -1379,6 +1404,7 @@ setAdminOrderRemark
background: #E3E3E3;
margin-top: 25px;
pointer-events: none;
+ margin-bottom: 100px;
}
.merchantsSettled .submitBtn.on {
@@ -1526,7 +1552,7 @@ setAdminOrderRemark
height: 100%;
background-color: #d9d9d9;
text-align: center;
- padding-top: 20rpx;
+ padding-top: 80rpx;
.content-top_txt {
font-size: 18rpx;
@@ -1553,7 +1579,7 @@ setAdminOrderRemark
.left-content-right {
padding-left: 30rpx;
position: relative;
- padding-top: 20rpx;
+ padding-top: 80rpx;
.content-right-one {
display: flex;
diff --git a/pages/moreProject/moreProject.vue b/pages/moreProject/moreProject.vue
index e7ea853..7e84c88 100644
--- a/pages/moreProject/moreProject.vue
+++ b/pages/moreProject/moreProject.vue
@@ -62,8 +62,7 @@
商户设置
-
+
商品管理
@@ -87,13 +86,13 @@
-
+
委托销售
-
+
委托订单
@@ -136,16 +135,15 @@
交易申请状态:待审核
-
-
-
+
+
供货采购
-
+
进货管理
-
+
交易大厅
-
+
委托销售
-
+
委托订单
-
+
发布管理
@@ -424,9 +422,9 @@
-
+
-
@@ -720,7 +718,7 @@
this.isFshow = false
}
},
- logout(){
+ logout() {
uni.switchTab({
url: '/pages/index/index'
})
@@ -767,7 +765,7 @@
that.validate = false;
}
},
-
+
validateForm: function() {
let that = this,
value = that.merchantData;