diff --git a/pages/chat/customer_list/index.vue b/pages/chat/customer_list/index.vue index 517c85c..e9c361c 100644 --- a/pages/chat/customer_list/index.vue +++ b/pages/chat/customer_list/index.vue @@ -121,7 +121,11 @@ //获取商户信息 getindex(){ getUserInfo().then(res => { - + if (res.data.mer_info.length == 0) { + return uni.showModal({ + title: '暂无商户信息' + }) + } this.mer_id = res.data.service.mer_id; if(this.isLogin){ this.getList(this.mer_id) diff --git a/pages/index/index.vue b/pages/index/index.vue index 8a2b7af..12b5b10 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -939,6 +939,7 @@ // console.log(res); this.userid = res.data.uid this.userInfoData = res.data + this.$store.commit('SET_USERINFO', res.data); this.merchantData.phone = res.data.phone if (res.data.service == null) { // console.log('123'); diff --git a/pages/moreProject/moreProject.vue b/pages/moreProject/moreProject.vue index e27c73a..dec447f 100644 --- a/pages/moreProject/moreProject.vue +++ b/pages/moreProject/moreProject.vue @@ -34,11 +34,11 @@ 在售管理 - 财务管理 - + --> - 线下入库 + 修改库存 -

线下入库

+

修改库存

线上入库

@@ -171,7 +171,7 @@ - 数量: + 数量: @@ -391,6 +391,7 @@ this.show = true this.data.product_id = this.checkboxList1[0].product_id this.data.unique = this.checkboxList1[0].unique + this.data.number = this.checkboxList1[0].stock this.on_line = 1 } else { this.show = false @@ -971,10 +972,13 @@ .shuru { display: flex; - justify-content: flex-start; align-items: center; padding: 5px; - margin-left: 20px; + width: 80%; + margin: 0 auto; + &>view{ + flex-shrink: 0; + } input { background: #F5F5F5; @@ -982,6 +986,7 @@ border: 1px solid #999999; padding-left: 3px; margin-left: 3px; + flex: 1; } } diff --git a/static/images/SMRK/bar.png b/static/images/SMRK/bar.png index 0baebee..43ad0d8 100644 Binary files a/static/images/SMRK/bar.png and b/static/images/SMRK/bar.png differ diff --git a/static/images/SMRK/img.png b/static/images/SMRK/img.png index c573534..7a35d90 100644 Binary files a/static/images/SMRK/img.png and b/static/images/SMRK/img.png differ diff --git a/static/images/SMRK/name.png b/static/images/SMRK/name.png index ed9c1f6..4f61041 100644 Binary files a/static/images/SMRK/name.png and b/static/images/SMRK/name.png differ