feat:其他设置
This commit is contained in:
1 parent
3f3020bc13
commit
6d4b1799ed
4 files changed
+11
-35
No files matched your search
@@ -8,8 +8,8 @@
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="24" class="mb20">
|
||||
<el-form-item label="钱包二维码自动刷新" prop="refreshQrCodeEnable">
|
||||
<el-switch v-model="form.refreshQrCodeEnable" active-text="开启" inactive-text="关闭"
|
||||
inline-prompt />
|
||||
<el-switch active-value="1" inactive-value="0" v-model="form.refreshQrCodeEnable"
|
||||
active-text="开启" inactive-text="关闭" inline-prompt />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24" class="mb20">
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="24" class="mb20">
|
||||
<el-form-item label="每一餐的上限" prop="payAmountEnable">
|
||||
<el-switch v-model="form.payAmountEnable" active-text="开启" inactive-text="关闭"
|
||||
inline-prompt />
|
||||
<el-switch active-value="1" inactive-value="0" v-model="form.payAmountEnable"
|
||||
active-text="开启" inactive-text="关闭" inline-prompt />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24" class="mb20">
|
||||
@@ -73,8 +73,7 @@ const onSubmit = async () => {
|
||||
loading.value = true;
|
||||
const pa = {
|
||||
...form,
|
||||
payPrice: storePrice(form.payPrice),
|
||||
bonusPrice: storePrice(form.bonusPrice),
|
||||
payPrice: storePrice(form.payAmountMealLimit),
|
||||
}
|
||||
await putObj(pa)
|
||||
useMessage().success('修改成功');
|
||||
|
||||
@@ -8,8 +8,9 @@
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="24" class="mb20">
|
||||
<el-form-item label="离线订单是否需要审批" prop="offLineOrderApplyEnable">
|
||||
<el-switch v-model="form.offLineOrderApplyEnable" active-text="开启"
|
||||
inactive-text="关闭" inline-prompt />
|
||||
<el-switch active-value="1" inactive-value="0"
|
||||
v-model="form.offLineOrderApplyEnable" active-text="开启" inactive-text="关闭"
|
||||
inline-prompt />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
Reference in new issue
Block a user