old mode 100644
new mode 100755
| | |
| | | { |
| | | "templateName":"合同信息", |
| | | "directories": "admin", |
| | | "templateCode":"contract", |
| | | "templateKey":"contractId", |
| | | "templateKeyName":"合同ID", |
| | | "searchCode": "contractId", |
| | | "searchName": "合同ID", |
| | | "conditions": [ |
| | | "templateKeyName": "商家购买记录表ID", |
| | | "templateName": "商家购买记录表", |
| | | "columns": [ |
| | | { |
| | | "name": "合同名称", |
| | | "hasDefaultValue": false, |
| | | "limitParam": "30", |
| | | "code": "detailId", |
| | | "limitErrInfo": "记录ID不能超过30", |
| | | "cnCode": "记录ID", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "code": "contractName", |
| | | "whereCondition": "equal" |
| | | "required": true, |
| | | "desc": "必填,记录ID" |
| | | }, |
| | | { |
| | | "name": "合同编号", |
| | | "hasDefaultValue": false, |
| | | "limitParam": "30", |
| | | "code": "poolId", |
| | | "limitErrInfo": "优惠券不能超过30", |
| | | "cnCode": "优惠券", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "code": "contractCode", |
| | | "whereCondition": "equal" |
| | | "required": true, |
| | | "desc": "必填,优惠券" |
| | | }, |
| | | { |
| | | "name": "合同类型", |
| | | "hasDefaultValue": false, |
| | | "limitParam": "30", |
| | | "code": "shopId", |
| | | "limitErrInfo": "店铺ID不能超过30", |
| | | "cnCode": "店铺ID", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "code": "contractType", |
| | | "whereCondition": "equal" |
| | | "required": true, |
| | | "desc": "必填,店铺ID" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "64", |
| | | "code": "couponName", |
| | | "limitErrInfo": "优惠券名称不能超过64", |
| | | "cnCode": "优惠券名称", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "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" |
| | | } |
| | | ], |
| | | "columns":[ |
| | | "searchName": "商家购买记录表ID", |
| | | "directories": "admin", |
| | | "searchCode": "detailId", |
| | | "templateCode": "couponDetail", |
| | | "conditions": [ |
| | | { |
| | | "code": "contractName", |
| | | "cnCode":"合同名称", |
| | | "desc":"必填,请填写合同名称", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"maxLength", |
| | | "limitParam":"200", |
| | | "limitErrInfo":"合同名称不能超过64位", |
| | | "show": true |
| | | "whereCondition": "equal", |
| | | "code": "poolId", |
| | | "name": "优惠券", |
| | | "inputType": "input" |
| | | }, |
| | | { |
| | | "code": "contractCode", |
| | | "cnCode":"合同编号", |
| | | "desc":"选填,请填写合同编号", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"maxLength", |
| | | "limitParam":"30", |
| | | "limitErrInfo":"合同编号错误", |
| | | "show": true |
| | | "whereCondition": "equal", |
| | | "code": "shopId", |
| | | "name": "店铺ID", |
| | | "inputType": "input" |
| | | }, |
| | | { |
| | | "code": "contractType", |
| | | "cnCode":"合同类型", |
| | | "desc":"必填,请选择合同类型", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "select", |
| | | "selectValue":"10001,10002", |
| | | "selectValueName":"小区文化,其他", |
| | | "limit":"num", |
| | | "limitParam":"", |
| | | "limitErrInfo":"合同类型格式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "partyA", |
| | | "cnCode":"甲方", |
| | | "desc":"必填,请填写甲方", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"maxLength", |
| | | "limitParam":"200", |
| | | "limitErrInfo":"甲方名称太长", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "partyB", |
| | | "cnCode":"乙方", |
| | | "desc":"必填,请填写乙方", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"maxLength", |
| | | "limitParam":"200", |
| | | "limitErrInfo":"乙方名称太长", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "aContacts", |
| | | "cnCode":"甲方联系人", |
| | | "desc":"必填,请填写甲方联系人", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"maxLength", |
| | | "limitParam":"64", |
| | | "limitErrInfo":"甲方联系人长度超过64位", |
| | | "show": false |
| | | }, |
| | | { |
| | | "code": "bContacts", |
| | | "cnCode":"乙方联系人", |
| | | "desc":"必填,请填写甲方联系人", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"maxLength", |
| | | "limitParam":"64", |
| | | "limitErrInfo":"甲方联系人长度超过64位", |
| | | "show": false |
| | | }, |
| | | { |
| | | "code": "aLink", |
| | | "cnCode":"甲方联系电话", |
| | | "desc":"必填,请填写甲方联系电话", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"phone", |
| | | "limitParam":"", |
| | | "limitErrInfo":"甲方联系电话错误", |
| | | "show": false |
| | | }, |
| | | { |
| | | "code": "bLink", |
| | | "cnCode":"乙方联系电话", |
| | | "desc":"必填,请填写乙方联系电话", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"phone", |
| | | "limitParam":"", |
| | | "limitErrInfo":"乙方联系电话错误", |
| | | "show": false |
| | | }, |
| | | { |
| | | "code": "operator", |
| | | "cnCode":"经办人", |
| | | "desc":"必填,请填写经办人", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"maxLength", |
| | | "limitParam":"64", |
| | | "limitErrInfo":"经办人超过64位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "operatorLink", |
| | | "cnCode":"联系电话", |
| | | "desc":"必填,请填写经办人联系电话", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"phone", |
| | | "limitParam":"", |
| | | "limitErrInfo":"经办人联系电话格式错误", |
| | | "show": false |
| | | }, |
| | | { |
| | | "code": "amount", |
| | | "cnCode":"合同金额", |
| | | "desc":"必填,请填写合同金额", |
| | | "required":false, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"money", |
| | | "limitParam":"", |
| | | "limitErrInfo":"合同金额格式错误,如1.50", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "startTime", |
| | | "cnCode":"开始时间", |
| | | "desc":"必填,请填写合同开始时间", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"dateTime", |
| | | "limitParam":"", |
| | | "limitErrInfo":"合同开始时间格式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "endTime", |
| | | "cnCode":"结束时间", |
| | | "desc":"必填,请填写合同结束时间", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"dateTime", |
| | | "limitParam":"", |
| | | "limitErrInfo":"合同结束时间格式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "signingTime", |
| | | "cnCode":"签订时间", |
| | | "desc":"选填,请填写合同签订时间", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"dateTime", |
| | | "limitParam":"", |
| | | "limitErrInfo":"合同签订时间格式错误", |
| | | "show": false |
| | | "whereCondition": "equal", |
| | | "code": "validityDay", |
| | | "name": "有效期", |
| | | "inputType": "input" |
| | | } |
| | | ] |
| | | } |
| | | ], |
| | | "templateKey": "detailId" |
| | | } |