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