From 43617dc9f5dbd3d59f7206def5d4e22f37a484a7 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期三, 07 四月 2021 21:13:02 +0800
Subject: [PATCH] 加入仓库管理
---
java110-generator/src/main/resources/web/template_1.json | 78 +++++++++++++++++----------------------
1 files changed, 34 insertions(+), 44 deletions(-)
diff --git a/java110-generator/src/main/resources/web/template_1.json b/java110-generator/src/main/resources/web/template_1.json
index 3127ea0..b2f9605 100644
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,80 +1,70 @@
{
- "templateName": "鏀舵璁″垝",
- "directories": "admin",
- "templateCode": "contractCollectionPlan",
- "templateKey": "planId",
- "templateKeyName": "璁″垝ID",
- "searchCode": "planId",
- "searchName": "璁″垝ID",
+ "templateName": "浠撳簱",
+ "directories": "property",
+ "templateCode": "storehouse",
+ "templateKey": "shId",
+ "templateKeyName": "浠撳簱缂栧彿",
+ "searchCode": "shId",
+ "searchName": "浠撳簱缂栧彿",
"conditions": [
{
- "name": "璁″垝鍚嶇О",
+ "name": "浠撳簱鍚嶇О",
"inputType": "input",
- "code": "planName",
+ "code": "shName",
"whereCondition": "equal"
},
{
- "name": "璐圭敤鍚嶇О",
- "inputType": "input",
- "code": "feeName",
+ "name": "浠撳簱绫诲瀷",
+ "inputType": "select",
+ "selectValue": "2806,2807",
+ "selectValueName": "闆嗗洟浠撳簱,灏忓尯浠撳簱",
+ "code": "shType",
"whereCondition": "equal"
},
{
- "name": "鍚堝悓缂栧彿",
+ "name": "浠撳簱缂栧彿",
"inputType": "input",
- "code": "contractCode",
+ "code": "shId",
"whereCondition": "equal"
}
],
"columns": [
{
- "code": "planName",
- "cnCode": "璁″垝鍚嶇О",
- "desc": "蹇呭~锛岃濉啓璁″垝鍚嶇О",
+ "code": "shName",
+ "cnCode": "浠撳簱鍚嶇О",
+ "desc": "蹇呭~锛岃濉啓浠撳簱鍚嶇О",
"required": true,
"hasDefaultValue": false,
"inputType": "input",
"limit": "maxLength",
- "limitParam": "128",
- "limitErrInfo": "璁″垝鍚嶇О澶暱",
+ "limitParam": "64",
+ "limitErrInfo": "浠撳簱鍚嶇О澶暱",
"show": true
},
{
- "code": "contractCode",
- "cnCode": "鍚堝悓鍙�",
- "desc": "蹇呭~锛岃濉啓鍚堝悓鍙�",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "input",
- "limit": "maxLength",
- "limitParam": "30",
- "limitErrInfo": "鍚堝悓鍙锋牸寮忛敊璇�",
- "show": true
- },
- {
- "code": "feeName",
- "cnCode": "璐圭敤",
- "desc": "蹇呭~锛岃閫夋嫨璐圭敤",
+ "code": "shType",
+ "cnCode": "浠撳簱绫诲瀷",
+ "desc": "蹇呭~锛岃閫夋嫨浠撳簱绫诲瀷",
"required": true,
"hasDefaultValue": false,
"inputType": "select",
- "selectValue": "111",
- "selectValueName": "璁″垝璐圭敤",
- "limit": "maxLength",
- "limitParam": "128",
- "limitErrInfo": "璐圭敤涓嶆纭�",
+ "selectValue": "2806,2807",
+ "selectValueName": "闆嗗洟浠撳簱,灏忓尯浠撳簱",
+ "limit": "num",
+ "limitParam": "",
+ "limitErrInfo": "浠撳簱绫诲瀷鏍煎紡閿欒",
"show": true
},
{
- "code": "remark",
- "cnCode": "澶囨敞",
- "desc": "閫夊~锛岃濉啓澶囨敞",
- "required": false,
+ "code": "shDesc",
+ "cnCode": "鎻忚堪",
+ "desc": "蹇呭~锛岃濉啓鎻忚堪",
+ "required": true,
"hasDefaultValue": false,
"inputType": "input",
"limit": "maxLength",
"limitParam": "512",
- "limitErrInfo": "澶囨敞澶暱",
+ "limitErrInfo": "鎻忚堪澶暱",
"show": true
}
]
--
Gitblit v1.8.0