商品分类修复:

1.详情更新,列表未更新
2.开启库存后不填写库存,保存报错
3.多规格库存数量编辑权限验证
This commit is contained in:
2024-10-15 16:53:09 +08:00
parent 982bc23d3f
commit 61c455cdb7
3 changed files with 23 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
<template>
<view class="page">
<view class="page min-page">
<view class="box">
<view>
<uni-forms :model="category" :rules="rules" err-show-type="toast" ref="form"
@@ -649,8 +649,9 @@
infoBox.showToast(option.type === 'edit' ? '修改成功' : '添加成功')
timer = setTimeout(() => {
clearTimeout(timer)
uni.$emit('update:pageCategoryIndex')
go.back()
}, 1500);
}, 500);
// const res = await form.value.validate().then(res => {
// go.back()
// })