| | |
| | | { |
| | | "templateName":"物品管理", |
| | | "templateCode":"resourceStore", |
| | | "templateKey":"resId", |
| | | "templateKeyName":"物品ID", |
| | | "searchCode": "resName", |
| | | "searchName": "物品名称", |
| | | "templateName":"旧货", |
| | | "templateCode":"junkRequirement", |
| | | "templateKey":"junkRequirementId", |
| | | "templateKeyName":"旧货编码", |
| | | "searchCode": "junkRequirementId", |
| | | "searchName": "旧货编码", |
| | | "conditions": [ |
| | | |
| | | { |
| | | "name": "物品ID", |
| | | "inputType": "input", |
| | | "code": "resId", |
| | | "name": "类别", |
| | | "inputType": "select", |
| | | "selectValue":"10001,10002", |
| | | "selectValueName":"家具,电器", |
| | | "code": "classification", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "物品名称", |
| | | "name": "发布人", |
| | | "inputType": "input", |
| | | "code": "resName", |
| | | "code": "publishUserName", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "物品编码", |
| | | "name": "状态", |
| | | "inputType": "select", |
| | | "selectValue":"12001,13001,14001,15001", |
| | | "selectValueName":"未审核,审核通过,审核失败,处理完成", |
| | | "code": "publishUserLink", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "发布电话", |
| | | "inputType": "input", |
| | | "code": "resCode", |
| | | "code": "publishUserLink", |
| | | "whereCondition": "equal" |
| | | } |
| | | ], |
| | | "columns":[ |
| | | { |
| | | "code":"resName", |
| | | "cnCode":"物品名称", |
| | | "desc":"必填,请填写物品名称", |
| | | "code":"classification", |
| | | "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", |
| | | "inputType": "select", |
| | | "selectValue":"10001,10002", |
| | | "selectValueName":"家具,电器", |
| | | "limit":"num", |
| | | "limitParam":"", |
| | | "limitErrInfo":"物品库存不是有效数字", |
| | | "limitErrInfo":"任务编码格式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"description", |
| | | "cnCode":"描述", |
| | | "desc":"必填,请填写描述", |
| | | "code": "inspectionPlanId", |
| | | "cnCode":"巡检计划", |
| | | "desc":"必填,请填写收费项目", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"textarea", |
| | | "inputType": "input", |
| | | "limit":"maxin", |
| | | "limitParam":"1,100", |
| | | "limitErrInfo":"收费项目不能超过100位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"context", |
| | | "cnCode":"内容", |
| | | "desc":"必填,请选择内容", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"maxLength", |
| | | "limitParam":"200", |
| | | "limitErrInfo":"描述不能为空", |
| | | "limitErrInfo":"内容不能超过200个字符", |
| | | "show": false |
| | | }, |
| | | { |
| | | "code": "referencePrice", |
| | | "cnCode":"参考价格", |
| | | "desc":"必填,请填写参考价格", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"money", |
| | | "limitParam":"", |
| | | "limitErrInfo":"参考价格格式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "publishUserName", |
| | | "cnCode":"发布人", |
| | | "desc":"必填,发布人不能为空", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"maxLength", |
| | | "limitParam":"50", |
| | | "limitErrInfo":"发布人不能超过50", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"publishUserLink", |
| | | "cnCode":"联系方式", |
| | | "desc":"必填,请填写联系方式", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"phone", |
| | | "limitParam":"", |
| | | "limitErrInfo":"联系方式不是有效的电话格式", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"state", |
| | | "cnCode":"状态", |
| | | "desc":"必填,请填写状态", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "select", |
| | | "selectValue":"12001,13001,14001,15001", |
| | | "selectValueName":"未审核,审核通过,审核失败,处理完成", |
| | | "limit":"num", |
| | | "limitParam":"", |
| | | "limitErrInfo":"状态格式错误", |
| | | "show": true |
| | | } |
| | | ] |
| | | } |