Commit 78175c8b authored by 前端-许佳敏's avatar 前端-许佳敏

fix:优化仓位提示语

parent 91a58983
......@@ -129,7 +129,12 @@ export const repositMoreSchema: ISchema = {
properties: {
name: {
type: 'string',
"x-rules": [
{
required: true,
message: '请输入仓位名称'
}
],
title: '仓位名称',
"x-component-props": {
placeholder: '建议名称:商品名称+商城名称+渠道描述'
......@@ -145,7 +150,12 @@ export const repositMoreSchema: ISchema = {
disabled: true,
addonAfter: "{{connectProduct}}"
},
required: true
"x-rules": [
{
required: true,
message: '请选择商品'
}
],
},
category: {
type: 'string',
......@@ -177,7 +187,12 @@ export const repositMoreSchema: ISchema = {
inventory: {
type: 'number',
"x-component": "CustomSlider",
"x-rules": [
{
required: true,
message: '请分配仓位库存'
}
],
"x-component-props": {
min: 0,
max: 200
......@@ -226,7 +241,12 @@ export const repositMoreSchema: ISchema = {
dataSource: GlobalConfig.web.shopInfo
},
"title": "适用商城",
"x-rules": [
{
required: true,
message: '请选择适用商城'
}
],
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment