|
@@ -203,7 +203,7 @@
|
|
|
<block v-else>
|
|
<block v-else>
|
|
|
<view class="button_6 flex-col" @click="fillCg(ghsInfo)"><text class="text_13">录采购单</text></view>
|
|
<view class="button_6 flex-col" @click="fillCg(ghsInfo)"><text class="text_13">录采购单</text></view>
|
|
|
</block>
|
|
</block>
|
|
|
- <text style="position:absolute;left:725upx;top:0upx;color:#CCCCCC;" @click.stop="bpSj(ghsInfo)">x</text>
|
|
|
|
|
|
|
+ <text style="position:absolute;left:690upx;top:0upx;color:#CCCCCC;" @click.stop="getMore(ghsInfo)">更多</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
@@ -221,6 +221,17 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
</block>
|
|
</block>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <uni-popup ref="toShowMore" background-color="#fff" type="center" :animation="true" class="class-popup-style">
|
|
|
|
|
+ <view style="display:flex;width:100vw;padding:20upx 20upx 40upx 20upx;height:auto;justify-content: space-between;align-items:center;flex-wrap:wrap;max-height:100vh;overflow:auto;">
|
|
|
|
|
+ <view style="width:100vw;margin-top:8upx;"><button @click="balanceChange()">余额变动记录</button></view>
|
|
|
|
|
+ <view style="width:100vw;margin-top:8upx;"><button @click="bpSj()">屏蔽此商家</button></view>
|
|
|
|
|
+ <view style="width:100vw;margin-top:30upx;"><button @click="closeToShow()">取消</button></view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </uni-popup>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
@@ -281,7 +292,8 @@ export default {
|
|
|
loginStyle :0,
|
|
loginStyle :0,
|
|
|
backAction:'',
|
|
backAction:'',
|
|
|
countStat:{systemIncome:0,systemCount:0,debtCount:0,debtIncome:0,kfWxCount:0,kfWxIncome:0},
|
|
countStat:{systemIncome:0,systemCount:0,debtCount:0,debtIncome:0,kfWxCount:0,kfWxIncome:0},
|
|
|
- lookMoney:1
|
|
|
|
|
|
|
+ lookMoney:1,
|
|
|
|
|
+ currentGhs:{}
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
@@ -334,6 +346,13 @@ export default {
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ closeToShow(){
|
|
|
|
|
+ this.$refs.toShowMore.close()
|
|
|
|
|
+ },
|
|
|
|
|
+ getMore(info){
|
|
|
|
|
+ this.currentGhs = info
|
|
|
|
|
+ this.$refs.toShowMore.open('top')
|
|
|
|
|
+ },
|
|
|
callUp (mobile) {
|
|
callUp (mobile) {
|
|
|
uni.makePhoneCall({ phoneNumber: mobile })
|
|
uni.makePhoneCall({ phoneNumber: mobile })
|
|
|
},
|
|
},
|
|
@@ -353,7 +372,7 @@ export default {
|
|
|
goMore(){
|
|
goMore(){
|
|
|
let that = this
|
|
let that = this
|
|
|
uni.showActionSheet({
|
|
uni.showActionSheet({
|
|
|
- itemList: ['已屏蔽列表', '改进建议','开关商城','申请批发店系统','修改密码','退出登录'],
|
|
|
|
|
|
|
+ itemList: ['已屏蔽商家', '改进建议','开关商城','申请批发店系统','修改密码','退出登录'],
|
|
|
success: function (res) {
|
|
success: function (res) {
|
|
|
if(res.tapIndex == 0){
|
|
if(res.tapIndex == 0){
|
|
|
that.$util.pageTo({url: '/pagesPurchase/pb'})
|
|
that.$util.pageTo({url: '/pagesPurchase/pb'})
|
|
@@ -409,16 +428,21 @@ export default {
|
|
|
const { id } = item
|
|
const { id } = item
|
|
|
this.pageTo({url: '/pagesPurchase/bookProduct?id='+id})
|
|
this.pageTo({url: '/pagesPurchase/bookProduct?id='+id})
|
|
|
},
|
|
},
|
|
|
- bpSj(ghs){
|
|
|
|
|
|
|
+ balanceChange(){
|
|
|
|
|
+ this.closeToShow()
|
|
|
|
|
+ this.pageTo({url: '/admin/ghs/balanceChange?ghsId='+this.currentGhs.id})
|
|
|
|
|
+ },
|
|
|
|
|
+ bpSj(){
|
|
|
let that = this
|
|
let that = this
|
|
|
- that.$util.confirmModal({content:'确认删除此商家?',okText:'确认'},() => {
|
|
|
|
|
- that.confirmPb(ghs)
|
|
|
|
|
|
|
+ that.$util.confirmModal({content:'确认屏蔽此商家?',okText:'确认'},() => {
|
|
|
|
|
+ that.confirmPb(that.currentGhs)
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
confirmPb(ghs){
|
|
confirmPb(ghs){
|
|
|
let that = this
|
|
let that = this
|
|
|
changeDelStatus({delStatus:1,ghsId:ghs.id}).then(res=>{
|
|
changeDelStatus({delStatus:1,ghsId:ghs.id}).then(res=>{
|
|
|
if(res.code == 1){
|
|
if(res.code == 1){
|
|
|
|
|
+ that.closeToShow()
|
|
|
that.getGHSList()
|
|
that.getGHSList()
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|