更新增加打折权限校验
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<text class=" ">{{order.amount}}</text>
|
||||
</view>
|
||||
<view class="u-m-t-10 u-flex u-row-center color-main">
|
||||
<view @click="showModel('editMoney',true)">修改</view>
|
||||
<view @click="discountShow">修改</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content bg-fff border-r-12">
|
||||
@@ -119,9 +119,16 @@
|
||||
import {
|
||||
queryAllShopUser
|
||||
} from '@/http/yskApi/shop-user.js'
|
||||
import {hasPermission} from '@/commons/utils/hasPermission.js'
|
||||
import * as orderApi from '@/http/yskApi/order.js'
|
||||
import infoBox from '@/commons/utils/infoBox.js'
|
||||
import editDiscount from '@/components/my-components/edit-discount.vue'
|
||||
async function discountShow(){
|
||||
const bol=await hasPermission('yun_xu_da_zhe')
|
||||
if(bol){
|
||||
showModel('editMoney',true)
|
||||
}
|
||||
}
|
||||
let option = {isNowPay:false}
|
||||
let payFinish=ref(false)
|
||||
onBackPress(() => {
|
||||
|
||||
Reference in New Issue
Block a user