/** * 额度信息表单 */ import ApiModel from "@/utils/core/apiModel"; // 表格信息 const formList = [ { type: "input", attrs: ["readonly"], label: "客户编号", name: "customerId" }, { type: "input", attrs: ["readonly"], label: "客户名称", name: "customerName" }, { type: "input", attrs: ["readonly"], label: "证件号码", name: "certId" }, { type: "input", attrs: ["readonly"], label: "证件类型", name: "certTypeDesc" }, { type: "input", attrs: ["readonly"], label: "额度类型", names: "quotaType", name: "quotaTypeDesc" }, { type: "input", attrs: ["readonly"], label: "产品", names:"productId", name: "productName" }, { type: "input", attrs: ["readonly"], label: "周期性", name: "cyclicalDesc", }, { type: "input", attrs: ["readonly"], label: "现金授信额度", name: "cashCreditAmt", isMoney: true }, { type: "input", attrs: ["readonly"], label: "现金剩余额度", name: "cashRemainAmt", isMoney: true }, { type: "input", attrs: ["readonly"], label: "消费授信额度", name: "consumeCreditAmt", isMoney: true }, { type: "input", attrs: ["readonly"], label: "消费剩余额度", name: "consumRemainAmt", isMoney: true }, { type: "input", attrs: ["readonly"], label: "专项授信额度", name: "specialCreditAmt", isMoney: true }, { type: "input", attrs: ["readonly"], label: "专项剩余额度", name: "specialRemainAmt", isMoney: true }, { type: "input", attrs: ["readonly"], label: "额度状态", name: "quotaStatusDesc" }, { type: "input", attrs: ["readonly"], label: "调整审核状态", name: "approveStatusDesc", }, { type: "input", attrs: ["readonly"], label: "额度生效日", name: "effectiveDate" }, { type: "input", attrs: ["readonly"], label: "额度失效日", name: "disEffectiveDate" } ]; export default options => { // 接口地址,required const api = "server/qryCustQuotaInfo"; return new ApiModel({ api, formList, request(params) { return this.post(params); } }); };