tapd相关修改更新
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
|
||||
function toOrder(){
|
||||
go.to('PAGES_ORDER_INDEX',{
|
||||
userId:props.data.id||'',
|
||||
userId: props.data.userId||'',
|
||||
type:'user'
|
||||
})
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
|
||||
</view>
|
||||
<view class="">
|
||||
<input type="number" v-model="datas.form.money" placeholder="请输入金额" />
|
||||
<input type="digit" v-model="datas.form.money" @change="datas.form.money = $utils.isPrice(datas.form.money)" placeholder="请输入金额" />
|
||||
<view class="">
|
||||
元
|
||||
</view>
|
||||
@@ -150,7 +150,6 @@
|
||||
import { shopUserSummary, shopUserList,shopUserMoney } from '@/http/api/shopUser.js'
|
||||
|
||||
import { onShow } from '@dcloudio/uni-app';
|
||||
import { midfiyAccount } from '@/http/yskApi/requestAll.js';
|
||||
|
||||
import { onReachBottom } from '@dcloudio/uni-app';
|
||||
import { hasPermission } from '@/commons/utils/hasPermission.js';
|
||||
@@ -231,7 +230,9 @@
|
||||
* @param {Object} i
|
||||
*/
|
||||
function tabsChange(i) {
|
||||
pageData.query.isVip = pageData.tabsList[i].value
|
||||
pageData.userList = [];
|
||||
pageData.query.page = 1;
|
||||
pageData.query.isVip = pageData.tabsList[i].value;
|
||||
getUser()
|
||||
getAllShopInfo()
|
||||
}
|
||||
@@ -239,7 +240,7 @@
|
||||
* 搜索
|
||||
*/
|
||||
function searchFunc() {
|
||||
pageData.query.page = 1
|
||||
pageData.query.page = 1;
|
||||
getUser()
|
||||
getAllShopInfo()
|
||||
}
|
||||
@@ -312,6 +313,13 @@
|
||||
* 修改余额确定
|
||||
*/
|
||||
let callTabletakeNumberEvent = async () => {
|
||||
if( datas.form.money == ''){
|
||||
uni.showToast({
|
||||
title: '请输入增减金额',
|
||||
icon: 'none'
|
||||
})
|
||||
return;
|
||||
}
|
||||
let res = await shopUserMoney({
|
||||
id: datas.activeUser.id,
|
||||
...datas.form
|
||||
|
||||
Reference in New Issue
Block a user