交班和霸王餐
This commit is contained in:
parent
433479fee7
commit
8dfd42f20a
|
|
@ -1,23 +1,23 @@
|
|||
<template>
|
||||
<view class="boxconstant">
|
||||
<view class="boxconstantbox"
|
||||
style="border-radius: 18px 18px 0 0;padding:32rpx 24rpx 0 24rpx;border-bottom: 2rpx solid #E5E5E5;">
|
||||
style="border-radius: 18px 18px 0 0;padding:32rpx 24rpx;border-bottom: 2rpx solid #E5E5E5;">
|
||||
<view class="boxconstantbox_one">
|
||||
充值设置
|
||||
</view>
|
||||
<view class="boxconstantbox_tow">
|
||||
<text>用户消费结账时,成功充值</text>
|
||||
<input class="number" v-model="form.rechargeTimes"></input>
|
||||
<input class="text" type="number" v-model="form.rechargeTimes" />
|
||||
<text>倍的金额本单即可享受免单</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="boxconstantbox" style="padding:32rpx 24rpx 0 24rpx; border-radius: 0 0 18px 18px;">
|
||||
<view class="boxconstantbox" style="border-radius: 0 0 18px 18px;">
|
||||
<view class="boxconstantbox_one">
|
||||
充值门槛
|
||||
</view>
|
||||
<view class="boxconstantbox_tow">
|
||||
<text>订单支付金额需满</text>
|
||||
<input class="number" v-model="form.rechargeThreshold"></input>
|
||||
<input class="text" type="number" v-model="form.rechargeThreshold"></input>
|
||||
<text> 元,才能使用</text>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -28,11 +28,11 @@
|
|||
<up-switch v-model="form.enable" size="18"></up-switch>
|
||||
</view>
|
||||
<view class="boxconstantbox"
|
||||
style="margin-top:24rpx; padding:32rpx 24rpx 0 24rpx; border-radius: 0 0 18px 18px;">
|
||||
style="margin-top:24rpx; padding:32rpx 24rpx; border-radius: 0 0 18px 18px;">
|
||||
<view class="boxconstantbox_one">
|
||||
充值说明
|
||||
</view>
|
||||
<view class="boxconstantbox_tow">
|
||||
<view>
|
||||
<up-textarea v-model="form.rechargeDesc" placeholder="请输入内容"></up-textarea>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
useTypeList: [],
|
||||
childShopIdList: '',
|
||||
});
|
||||
|
||||
|
||||
const getlist = async () => {
|
||||
let res = await get()
|
||||
console.log(res)
|
||||
|
|
@ -83,9 +83,9 @@
|
|||
title: '保存成功'
|
||||
})
|
||||
Object.assign(form, res)
|
||||
setTimeout(()=>{
|
||||
setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
},1500)
|
||||
}, 1500)
|
||||
}
|
||||
onShow(() => {
|
||||
getlist()
|
||||
|
|
@ -113,21 +113,22 @@
|
|||
}
|
||||
|
||||
.boxconstantbox_tow {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
padding-bottom: 24rpx;
|
||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #333333;
|
||||
box-sizing: border-box;
|
||||
|
||||
// display: flex;
|
||||
// justify-content: flex-start;
|
||||
// align-items: center;
|
||||
// flex-wrap: wrap;
|
||||
// align-content: flex-start;
|
||||
.text {
|
||||
display:inline-flex;
|
||||
text-align: center;
|
||||
margin: 0 12rpx;
|
||||
width: 118rpx;
|
||||
height: 48rpx;
|
||||
line-height: 48rpx;
|
||||
background: #FFFFFF;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
border: 2rpx solid #E5E5E5;
|
||||
|
|
|
|||
|
|
@ -120,7 +120,6 @@
|
|||
<view class="constantboxitem" v-for="(item,index) in tableData.data" :key="index"
|
||||
@click="toDetail(item)">
|
||||
<view class="head">{{item.dutyId|| '无'}}</view>
|
||||
<!-- <view class="head">班次</view> -->
|
||||
<view class="head">{{item.staffName || '无'}}</view>
|
||||
<view class="head">{{item.startTime|| '无'}}</view>
|
||||
<view class="head">{{item.endTime|| '无'}}</view>
|
||||
|
|
|
|||
Loading…
Reference in New Issue