1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
| {
| "templateName":"物品管理",
| "templateCode":"resourceStore",
| "templateKey":"resId",
| "templateKeyName":"物品ID",
| "searchCode": "resName",
| "searchName": "物品名称",
| "conditions": [
|
| {
| "name": "物品ID",
| "inputType": "input",
| "code": "resId",
| "whereCondition": "equal"
| },
| {
| "name": "物品名称",
| "inputType": "input",
| "code": "resName",
| "whereCondition": "equal"
| },
| {
| "name": "物品编码",
| "inputType": "input",
| "code": "resCode",
| "whereCondition": "equal"
| }
| ],
| "columns":[
| {
| "code":"resName",
| "cnCode":"物品名称",
| "desc":"必填,请填写物品名称",
| "required":true,
| "hasDefaultValue":false,
| "inputType":"input",
| "limit":"maxin",
| "limitParam":"2,100",
| "limitErrInfo":"物品名称长度为2至100",
| "show": true
| },
| {
| "code":"resCode",
| "cnCode":"物品编码",
| "desc":"必填,请填写物品编码",
| "required":true,
| "hasDefaultValue":false,
| "inputType":"input",
| "limit":"maxin",
| "limitParam":"2,50",
| "limitErrInfo":"物品编码必须在2至50字符之间",
| "show": true
| },
| {
| "code":"price",
| "cnCode":"物品价格",
| "desc":"必填,请填写物品价格",
| "required":true,
| "hasDefaultValue":false,
| "inputType":"input",
| "limit":"money",
| "limitParam":"",
| "limitErrInfo":"物品价格格式错误",
| "show": true
| },
| {
| "code":"stock",
| "cnCode":"物品库存",
| "desc":"必填,请填写物品库存",
| "required":true,
| "hasDefaultValue":false,
| "inputType":"input",
| "limit":"num",
| "limitParam":"",
| "limitErrInfo":"物品库存不是有效数字",
| "show": true
| },
| {
| "code":"description",
| "cnCode":"描述",
| "desc":"必填,请填写描述",
| "required":true,
| "hasDefaultValue":false,
| "inputType":"textarea",
| "limit":"maxLength",
| "limitParam":"200",
| "limitErrInfo":"描述不能为空",
| "show": false
| }
| ]
| }
|
|