Browse Source

YT-741WMS 包装规格,新增和编辑时,应该前端校验,所填写的数据不能是负数

intex_online20241111
zhang_li 2 weeks ago
parent
commit
d58e481e4c
  1. 48
      src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts

48
src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts

@ -39,7 +39,9 @@ export const Packageunit1 = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
componentProps: {
min: 0,
},
},
},
{
@ -48,7 +50,9 @@ export const Packageunit1 = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
componentProps: {
min: 0,
},
},
},
{
@ -57,7 +61,9 @@ export const Packageunit1 = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
componentProps: {
min: 0,
},
},
},
{
@ -66,7 +72,9 @@ export const Packageunit1 = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
componentProps: {
min: 0,
},
},
},
{
@ -383,7 +391,9 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
componentProps: {
min: 0,
},
},
},
{
@ -392,7 +402,9 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
componentProps: {
min: 0,
},
},
},
{
@ -401,7 +413,9 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
componentProps: {
min: 0,
},
},
},
{
@ -410,7 +424,9 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
componentProps: {
min: 0,
},
},
},
{
@ -757,7 +773,9 @@ export const PackageunitCopy = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
componentProps: {
min: 0,
},
},
},
{
@ -766,7 +784,9 @@ export const PackageunitCopy = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
componentProps: {
min: 0,
},
},
},
{
@ -775,7 +795,9 @@ export const PackageunitCopy = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
componentProps: {
min: 0,
},
},
},
{
@ -784,7 +806,9 @@ export const PackageunitCopy = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
componentProps: {
min: 0,
},
},
},
{

Loading…
Cancel
Save