| | |
| | | { |
| | | "templateName":"物品管理", |
| | | "templateCode":"resourceStore", |
| | | "templateKey":"resId", |
| | | "templateKeyName":"物品ID", |
| | | "searchCode": "resName", |
| | | "searchName": "物品名称", |
| | | "templateName":"小程序管理", |
| | | "templateCode":"smallWeChat", |
| | | "templateKey":"weChatId", |
| | | "templateKeyName":"编码", |
| | | "searchCode": "name", |
| | | "searchName": "小程序名称", |
| | | "conditions": [ |
| | | |
| | | { |
| | | "name": "物品ID", |
| | | "name": "小程序名称", |
| | | "inputType": "input", |
| | | "code": "resId", |
| | | "code": "name", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "物品名称", |
| | | "name": "appId", |
| | | "inputType": "input", |
| | | "code": "resName", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "物品编码", |
| | | "inputType": "input", |
| | | "code": "resCode", |
| | | "code": "appId", |
| | | "whereCondition": "equal" |
| | | } |
| | | ], |
| | | "columns":[ |
| | | { |
| | | "code":"resName", |
| | | "cnCode":"物品名称", |
| | | "desc":"必填,请填写物品名称", |
| | | "code":"name", |
| | | "cnCode":"小程序名称", |
| | | "desc":"必填,请填写小程序名称", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "inputType": "input", |
| | | "limit":"max", |
| | | "limitParam":"1,100", |
| | | "limitErrInfo":"小程序名称不能超过100位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "appId", |
| | | "cnCode":"appId", |
| | | "desc":"必填,请填写appId", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"maxin", |
| | | "limitParam":"2,100", |
| | | "limitErrInfo":"物品名称长度为2至100", |
| | | "limitParam":"1,100", |
| | | "limitErrInfo":"appId不能超过100位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"resCode", |
| | | "cnCode":"物品编码", |
| | | "desc":"必填,请填写物品编码", |
| | | "code":"appSecret", |
| | | "cnCode":"应用密钥", |
| | | "desc":"必填,请填写应用密钥", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "inputType": "input", |
| | | "limit":"maxin", |
| | | "limitParam":"2,50", |
| | | "limitErrInfo":"物品编码必须在2至50字符之间", |
| | | "limitParam":"1,200", |
| | | "limitErrInfo":"应用密钥不能超过200个字符", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"price", |
| | | "cnCode":"物品价格", |
| | | "desc":"必填,请填写物品价格", |
| | | "code": "payPassword", |
| | | "cnCode":"支付密码", |
| | | "desc":"必填,请填写支付密码", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "limit":"money", |
| | | "limitParam":"", |
| | | "limitErrInfo":"物品价格格式错误", |
| | | "inputType": "input", |
| | | "limit":"maxin", |
| | | "limitParam":"1,200", |
| | | "limitErrInfo":"支付密码不能超过200个字符", |
| | | "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 |
| | | } |
| | | ] |
| | | } |