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 | 146 ++++++++++++++----------------------------------
1 files changed, 42 insertions(+), 104 deletions(-)
diff --git a/java110-generator/src/main/resources/web/template_1.json b/java110-generator/src/main/resources/web/template_1.json
index b0ec18a..b2f9605 100644
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,132 +1,70 @@
{
- "templateName":"鎴挎簮",
- "directories": "admin",
- "templateCode":"rentingPool",
- "templateKey":"rentingId",
- "templateKeyName":"绉熸埧ID",
- "searchCode": "rentingId",
- "searchName": "绉熸埧ID",
+ "templateName": "浠撳簱",
+ "directories": "property",
+ "templateCode": "storehouse",
+ "templateKey": "shId",
+ "templateKeyName": "浠撳簱缂栧彿",
+ "searchCode": "shId",
+ "searchName": "浠撳簱缂栧彿",
"conditions": [
{
- "name": "绉熸埧鍚嶇О",
+ "name": "浠撳簱鍚嶇О",
"inputType": "input",
- "code": "rentingTitle",
+ "code": "shName",
"whereCondition": "equal"
},
{
- "name": "棰勪粯绫诲瀷",
+ "name": "浠撳簱绫诲瀷",
"inputType": "select",
- "selectValue":"1001,2002,3003",
- "selectValueName":"鎶间竴浠樹竴,鎶间竴浠樹笁,鎶间竴浠樺叚",
- "code": "paymentType",
+ "selectValue": "2806,2807",
+ "selectValueName": "闆嗗洟浠撳簱,灏忓尯浠撳簱",
+ "code": "shType",
"whereCondition": "equal"
},
{
- "name": "涓氫富鍚嶇О",
+ "name": "浠撳簱缂栧彿",
"inputType": "input",
- "code": "ownerName",
+ "code": "shId",
"whereCondition": "equal"
}
],
- "columns":[
+ "columns": [
{
- "code": "rentingTitle",
- "cnCode":"鍑虹鏍囬",
- "desc":"蹇呭~锛岃濉啓鍑虹鏍囬",
- "required":true,
- "hasDefaultValue":false,
+ "code": "shName",
+ "cnCode": "浠撳簱鍚嶇О",
+ "desc": "蹇呭~锛岃濉啓浠撳簱鍚嶇О",
+ "required": true,
+ "hasDefaultValue": false,
"inputType": "input",
- "limit":"maxLength",
- "limitParam":"100",
- "limitErrInfo":"鏍囬澶暱 瓒呰繃100浣�",
+ "limit": "maxLength",
+ "limitParam": "64",
+ "limitErrInfo": "浠撳簱鍚嶇О澶暱",
"show": true
},
{
- "code": "price",
- "cnCode":"绉熼噾",
- "desc":"蹇呭~锛岃濉啓鍑虹閲�",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"money",
- "limitParam":"",
- "limitErrInfo":"鏍煎紡閿欒",
- "show": true
- },
- {
+ "code": "shType",
+ "cnCode": "浠撳簱绫诲瀷",
+ "desc": "蹇呭~锛岃閫夋嫨浠撳簱绫诲瀷",
+ "required": true,
+ "hasDefaultValue": false,
"inputType": "select",
- "selectValue":"1001,2002,3003",
- "selectValueName":"鎶间竴浠樹竴,鎶间竴浠樹笁,鎶间竴浠樺叚",
- "code": "paymentType",
- "cnCode":"棰勪粯绫诲瀷",
- "desc":"蹇呭~锛岃濉啓鍊�",
- "required":true,
- "hasDefaultValue":false,
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"鏍煎紡閿欒",
+ "selectValue": "2806,2807",
+ "selectValueName": "闆嗗洟浠撳簱,灏忓尯浠撳簱",
+ "limit": "num",
+ "limitParam": "",
+ "limitErrInfo": "浠撳簱绫诲瀷鏍煎紡閿欒",
"show": true
},
{
- "code": "checkInDate",
- "cnCode":"鍏ヤ綇鏃堕棿",
- "desc":"蹇呭~锛岃濉啓鍏ヤ綇鏃堕棿",
- "required":true,
- "hasDefaultValue":false,
+ "code": "shDesc",
+ "cnCode": "鎻忚堪",
+ "desc": "蹇呭~锛岃濉啓鎻忚堪",
+ "required": true,
+ "hasDefaultValue": false,
"inputType": "input",
- "limit":"date",
- "limitParam":"",
- "limitErrInfo":"鏍煎紡閿欒",
- "show": true
- },
- {
- "code":"rentingConfigId",
- "cnCode":"鍑虹閰嶇疆",
- "desc":"蹇呭~锛岃閫夋嫨鍑虹閰嶇疆",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "select",
- "selectValue":"1001,2002",
- "selectValueName":"鍑虹閰嶇疆,姣忔湀绉熼噾姣斾緥",
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"鏄剧ず鏍煎紡閿欒",
- "show": true
- },
- {
- "code": "rentingDesc",
- "cnCode":"澶囨敞",
- "desc":"閫夊~锛岃濉啓绉熷鏀惰垂姣旂巼",
- "required":false,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"maxLength",
- "limitParam":"500",
- "limitErrInfo":"澶囨敞鏍煎紡閿欒",
- "show": true
- },
- {
- "code": "ownerName",
- "cnCode":"涓氫富鍚嶇О",
- "desc":"蹇呭~锛岃濉啓涓氫富鍚嶇О",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"maxLength",
- "limitParam":"100",
- "limitErrInfo":"涓氫富鍚嶇О澶暱",
- "show": true
- },
- {
- "code": "ownerTel",
- "cnCode":"涓氫富鐢佃瘽",
- "desc":"蹇呭~锛岃濉啓涓氫富鐢佃瘽",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"phone",
- "limitParam":"",
- "limitErrInfo":"涓氫富鐢佃瘽鏍煎紡閿欒",
+ "limit": "maxLength",
+ "limitParam": "512",
+ "limitErrInfo": "鎻忚堪澶暱",
"show": true
}
]
--
Gitblit v1.8.0