| | |
| | | { |
| | | "templateName":"开户行", |
| | | "templateCode":"accountBank", |
| | | "templateKey":"bankId", |
| | | "templateKeyName":"银行ID", |
| | | "searchCode": "bankId", |
| | | "searchName": "银行ID", |
| | | "directories": "acct", |
| | | "conditions": [ |
| | | ], |
| | | "columns":[ |
| | | "templateKeyName": "商家购买记录表ID", |
| | | "templateName": "商家购买记录表", |
| | | "columns": [ |
| | | { |
| | | "code":"bankCode", |
| | | "cnCode":"银行账号", |
| | | "desc":"必填,请填写银行账号", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "limit":"maxin", |
| | | "limitParam":"1,20", |
| | | "limitErrInfo":"银行账号超长了", |
| | | "show": true |
| | | "hasDefaultValue": false, |
| | | "limitParam": "30", |
| | | "code": "detailId", |
| | | "limitErrInfo": "记录ID不能超过30", |
| | | "cnCode": "记录ID", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,记录ID" |
| | | }, |
| | | { |
| | | "code": "personName", |
| | | "cnCode":"持卡人", |
| | | "desc":"必填,请填写持卡人", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "hasDefaultValue": false, |
| | | "limitParam": "30", |
| | | "code": "poolId", |
| | | "limitErrInfo": "优惠券不能超过30", |
| | | "cnCode": "优惠券", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "limit":"maxLength", |
| | | "limitParam":"20", |
| | | "limitErrInfo":"持卡人名称不能超过20位", |
| | | "show": true |
| | | "required": true, |
| | | "desc": "必填,优惠券" |
| | | }, |
| | | { |
| | | "code": "personTel", |
| | | "cnCode":"手机号", |
| | | "desc":"必填,请填写手机号", |
| | | "required":false, |
| | | "hasDefaultValue":false, |
| | | "hasDefaultValue": false, |
| | | "limitParam": "30", |
| | | "code": "shopId", |
| | | "limitErrInfo": "店铺ID不能超过30", |
| | | "cnCode": "店铺ID", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "limit":"phone", |
| | | "limitParam":"", |
| | | "limitErrInfo":"电话格式错误", |
| | | "show": true |
| | | "required": true, |
| | | "desc": "必填,店铺ID" |
| | | }, |
| | | { |
| | | "code": "bankName", |
| | | "cnCode":"开户行", |
| | | "desc":"必填,请填写开户行", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "hasDefaultValue": false, |
| | | "limitParam": "64", |
| | | "code": "couponName", |
| | | "limitErrInfo": "优惠券名称不能超过64", |
| | | "cnCode": "优惠券名称", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "limit":"maxLength", |
| | | "limitParam":"100", |
| | | "limitErrInfo":"开户行名称不能超过100位", |
| | | "show": true |
| | | "required": true, |
| | | "desc": "必填,优惠券名称" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "10", |
| | | "code": "actualPrice", |
| | | "limitErrInfo": "面值不能超过10", |
| | | "cnCode": "面值", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,面值" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "10", |
| | | "code": "buyPrice", |
| | | "limitErrInfo": "购买价格不能超过10", |
| | | "cnCode": "购买价格", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,购买价格" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "10", |
| | | "code": "amount", |
| | | "limitErrInfo": "付款金额不能超过10", |
| | | "cnCode": "付款金额", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,付款金额" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "20", |
| | | "code": "buyCount", |
| | | "limitErrInfo": "购买数量不能超过20", |
| | | "cnCode": "购买数量", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,购买数量" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "20", |
| | | "code": "validityDay", |
| | | "limitErrInfo": "有效期不能超过20", |
| | | "cnCode": "有效期", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,有效期" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "`detail_id`", |
| | | "code": "primary", |
| | | "limitErrInfo": "primary不能超过`detail_id`", |
| | | "cnCode": "primary", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "primary" |
| | | } |
| | | ] |
| | | } |
| | | ], |
| | | "searchName": "商家购买记录表ID", |
| | | "directories": "admin", |
| | | "searchCode": "detailId", |
| | | "templateCode": "couponDetail", |
| | | "conditions": [ |
| | | { |
| | | "whereCondition": "equal", |
| | | "code": "poolId", |
| | | "name": "优惠券", |
| | | "inputType": "input" |
| | | }, |
| | | { |
| | | "whereCondition": "equal", |
| | | "code": "shopId", |
| | | "name": "店铺ID", |
| | | "inputType": "input" |
| | | }, |
| | | { |
| | | "whereCondition": "equal", |
| | | "code": "validityDay", |
| | | "name": "有效期", |
| | | "inputType": "input" |
| | | } |
| | | ], |
| | | "templateKey": "detailId" |
| | | } |