tapd相关修改更新
This commit is contained in:
@@ -54,14 +54,10 @@
|
||||
import Stats from './components/Stats.vue';
|
||||
import statistics from './components/statistics.vue'
|
||||
import storageManage from '@/commons/utils/storageManage.js';
|
||||
import {
|
||||
hasPermission
|
||||
} from '@/commons/utils/hasPermission.js'
|
||||
|
||||
import { hasPermission } from '@/commons/utils/hasPermission.js'
|
||||
|
||||
uni.hideTabBar()
|
||||
let shopName = ref()
|
||||
|
||||
let totalRevenuedata = ref()
|
||||
let totalRevenue = (d) => {
|
||||
totalRevenuedata.value = d
|
||||
|
||||
@@ -323,6 +323,7 @@
|
||||
// 保存 token
|
||||
storageManage.setLogin(loginBizData)
|
||||
storageManage.token(loginBizData.tokenInfo)
|
||||
uni.setStorageSync("promission",loginBizData.promissionList)
|
||||
|
||||
// var time1 = new Date();
|
||||
// var time2 = new Date(loginBizData.expireDate);
|
||||
|
||||
@@ -37,10 +37,13 @@
|
||||
<view class="right"><up-switch v-model="vdata.takeout" size="20" activeColor="#0FC161" @change="switchChange('eatModel')"></up-switch></view>
|
||||
</view>
|
||||
<view class="page-cell m">
|
||||
<view class="label">是否开启会员支付</view>
|
||||
<view class="label">是否开启会员余额支付</view>
|
||||
<view class="right"><up-switch v-model="vdata.shopInfo.isAccountPay" size="20" :inactiveValue="0" :activeValue="1" activeColor="#0FC161" @change="switchChange('isAccountPay')"></up-switch></view>
|
||||
</view>
|
||||
|
||||
<view class="page-cell m">
|
||||
<view class="label">是否开启会员价支付</view>
|
||||
<view class="right"><up-switch v-model="vdata.shopInfo.isMemberPrice" size="20" :inactiveValue="0" :activeValue="1" activeColor="#0FC161" @change="switchChange('isMemberPrice')"></up-switch></view>
|
||||
</view>
|
||||
<view class="page-cell">
|
||||
<view class="label">桌位费<view v-if="!vdata.isTableFee" class="tableFee" @tap="go.to('PAGES_SHOP_EDITVAL',{name:'tableFee',value: vdata.shopInfo.tableFee})">{{vdata.shopInfo.tableFee}}</view></view>
|
||||
<view class="right">
|
||||
@@ -321,6 +324,9 @@ let switchChange = ( type ) => {
|
||||
case "isAccountPay":
|
||||
params.isAccountPay = vdata.shopInfo.isAccountPay;
|
||||
break;
|
||||
case "isMemberPrice":
|
||||
params.isMemberPrice = vdata.shopInfo.isMemberPrice;
|
||||
break;
|
||||
case "isTableFee":
|
||||
if ( vdata.isTableFee ) {
|
||||
params.isTableFee = 1;
|
||||
|
||||
Reference in New Issue
Block a user