export const dataCollectCondition = [
  {
    items: [
      {
        conditionType: "MONTHPICKER",
        domkey: ["declareMonth"],
        fieldcol: 12,
        label: "税款所属期",
        lanId: 542240,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "SELECT",
        domkey: ["taxAgentId"],
        fieldcol: 12,
        label: "个税扣缴义务人",
        labelcol: 8,
        lanId: 537996,
        value: "",
        options: [],
        rules: "required|string",
        viewAttr: 3
      },
      {
        browserConditionParam: {
          completeParams: {},
          conditionDataParams: {},
          dataParams: {},
          destDataParams: {},
          hasAddBtn: false,
          hasAdvanceSerach: true,
          idSeparator: ",",
          isAutoComplete: 1,
          isDetail: 0,
          isMultCheckbox: false,
          isSingle: true,
          linkUrl: "",
          pageSize: 10,
          quickSearchName: "",
          replaceDatas: [],
          type: "1",
          viewAttr: 3
        },
        colSpan: 2,
        conditionType: "BROWSER",
        domkey: ["employeeId"],
        fieldcol: 12,
        isQuickSearch: false,
        label: "人员",
        lanId: 30042,
        labelcol: 8,
        rules: "required",
        viewAttr: 3
      }
    ],
    title: "基础信息",
    defaultshow: true,
    col: 1
  },
  {
    items: [
      {
        conditionType: "INPUTNUMBER",
        domkey: ["freeIncome"],
        dataType: "freeIncome",
        fieldcol: 14,
        label: "免税收入",
        labelcol: 8,
        value: "",
        precision: 2,
        viewAttr: 2,
        extraDom: null
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["businessHealthyInsurance"],
        dataType: "healthInsurance",
        fieldcol: 14,
        label: "商业健康保险",
        labelcol: 8,
        value: "",
        precision: 2,
        viewAttr: 2
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["taxDelayEndowmentInsurance"],
        dataType: "endowmentInsurance",
        fieldcol: 14,
        label: "税延养老保险",
        labelcol: 8,
        value: "",
        precision: 2,
        viewAttr: 2
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["deductionAllowedDonation"],
        dataType: "grantDonation",
        fieldcol: 14,
        label: "准予扣除的捐赠额",
        labelcol: 8,
        value: "",
        precision: 2,
        viewAttr: 2
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["derateDeduction"],
        dataType: "derateDeduction",
        fieldcol: 14,
        label: "减免税额",
        labelcol: 8,
        value: "",
        precision: 2,
        viewAttr: 2
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["otherDeduction"],
        dataType: "otherDerateDeduction",
        fieldcol: 14,
        label: "其他",
        labelcol: 8,
        value: "",
        precision: 2,
        viewAttr: 2
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["privatePension"],
        dataType: "personalPension",
        fieldcol: 14,
        label: "个人养老金",
        labelcol: 8,
        value: "",
        precision: 2,
        viewAttr: 2
      }
    ],
    title: "数据采集",
    defaultshow: true,
    col: 2
  }
];
export const taxDetailSettingsConditions = {
  freeIncome: [{
    items: [
      {
        conditionType: "INPUT",
        domkey: ["freeItem"],
        fieldcol: 14,
        label: "免税事项",
        lanId: 111,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "INPUT",
        domkey: ["freeProperty"],
        fieldcol: 14,
        label: "免税性质",
        lanId: 111,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["freeAmount"],
        fieldcol: 14,
        label: "免税金额",
        lanId: 111,
        labelcol: 8,
        value: "",
        rules: "required",
        precision: 2,
        viewAttr: 3
      }
    ],
    title: "",
    defaultshow: true,
    col: 1
  }],
  healthInsurance: [{
    items: [
      {
        conditionType: "INPUT",
        domkey: ["identificationNumber"],
        fieldcol: 14,
        label: "税优识别码",
        lanId: 111,
        helpfulTip: "为确保税收优惠商业健康保险保单的唯一性、真实性和有效性，由商业健康保险信息平台按照“一人一单一码”的原则进行核发，填写个人保单凭证上打印的数字识别码。",
        helpfulTipLanId: 111,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "DATEPICKER",
        domkey: ["effectiveDate"],
        fieldcol: 14,
        label: "保单生效日期",
        lanId: 111,
        helpfulTip: "该商业健康保险保单生效的日期。",
        helpfulTipLanId: 111,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["yearPremium"],
        fieldcol: 14,
        label: "年度保费",
        lanId: 111,
        helpfulTip: "商业健康保险保单年度内该保单的总保费。",
        helpfulTipLanId: 111,
        labelcol: 8,
        value: "",
        rules: "required",
        precision: 2,
        viewAttr: 3
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["monthPremium"],
        fieldcol: 14,
        label: "月度保费",
        lanId: 111,
        helpfulTip: "月缴费的保单填写每月所缴保费，按年一次性缴费的保单填写年度保费除以12后的金额。",
        helpfulTipLanId: 111,
        labelcol: 8,
        value: "",
        rules: "required",
        precision: 2,
        viewAttr: 3
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["currentDeduction"],
        fieldcol: 14,
        label: "本期扣除金额",
        lanId: 111,
        helpfulTip: "根据国家有关政策对个人购买或单位统一购买符合规定的商业健康保险产品的支出，扣除限额为2400。",
        helpfulTipLanId: 111,
        labelcol: 8,
        value: "",
        rules: "required",
        precision: 2,
        viewAttr: 3
      }
    ],
    title: "",
    defaultshow: true,
    col: 1
  }],
  endowmentInsurance: [{
    items: [
      {
        conditionType: "MONTHPICKER",
        domkey: ["deductionMonth"],
        fieldcol: 14,
        label: "申报扣除月份",
        lanId: 111,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "INPUT",
        domkey: ["accountNumber"],
        fieldcol: 14,
        label: "税延养老账户编号",
        lanId: 111,
        helpfulTip: "按照中国保险信息技术管理有限责任公司相关信息平台出具的《个人税收递延型商业养老保险扣除凭证》载明的对应项目填写。",
        helpfulTipLanId: 111,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "INPUT",
        domkey: ["checkCode"],
        fieldcol: 14,
        label: "报税校验码",
        lanId: 111,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["yearPremium"],
        fieldcol: 14,
        label: "年度保费",
        lanId: 111,
        labelcol: 8,
        value: "",
        rules: "required",
        precision: 2,
        viewAttr: 3
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["monthPremium"],
        fieldcol: 14,
        label: "月度保费",
        lanId: 111,
        helpfulTip: "取得工资薪金所得、连续性劳务报酬所得(特定行业除外)的个人，填写《个人税收递延型商业养老保险扣除凭证》载明的月度保费金额，一次性缴费的保单填写月平均保费金额。",
        helpfulTipLanId: 111,
        labelcol: 8,
        value: "",
        rules: "required",
        precision: 2,
        viewAttr: 3
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["currentDeduction"],
        fieldcol: 14,
        label: "本期扣除金额",
        lanId: 111,
        helpfulTip: "取得工资薪金所得的个人，应按税延养老保险扣除凭证记载的当月金额和扣除限额孰低的方法计算可扣除额。扣除限额按照申报扣除当月的工资薪金的 6%和1000元孰低的办法确定。",
        helpfulTipLanId: 111,
        labelcol: 8,
        value: "",
        rules: "required",
        precision: 2,
        viewAttr: 3
      }
    ],
    title: "",
    defaultshow: true,
    col: 1
  }],
  grantDonation: [{
    items: [
      {
        conditionType: "INPUT",
        domkey: ["recipientName"],
        fieldcol: 14,
        label: "受赠单位名称",
        lanId: 111,
        helpfulTip: "受赠单位名称填写受赠单位的法定名称全称。",
        helpfulTipLanId: 111,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "INPUT",
        domkey: ["taxCode"],
        fieldcol: 14,
        label: "受赠单位纳税人识别号",
        lanId: 111,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "INPUT",
        domkey: ["donationNumber"],
        fieldcol: 14,
        label: "捐赠凭证号",
        lanId: 111,
        helpfulTip: "捐赠凭证",
        helpfulTipLanId: 111,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "DATEPICKER",
        domkey: ["donateDate"],
        fieldcol: 14,
        label: "捐赠日期",
        lanId: 111,
        helpfulTip: "填写个人发生的公益慈善事业捐赠的具体日期。",
        helpfulTipLanId: 111,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["donateAmount"],
        fieldcol: 14,
        label: "捐赠金额",
        lanId: 111,
        helpfulTip: "填写个人发生的公益慈善事业捐赠的具体金额。",
        helpfulTipLanId: 111,
        labelcol: 8,
        value: "",
        rules: "required",
        precision: 2,
        viewAttr: 3
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["deductionProportion"],
        fieldcol: 14,
        label: "扣除比例",
        lanId: 111,
        helpfulTip: "填写税法规定的可以公益慈善事业捐赠支出税前扣除比例。如:0.3(30%)或者1(100%)，请注意，必须是小数形式的百分比。",
        helpfulTipLanId: 111,
        labelcol: 8,
        value: "",
        rules: "required",
        precision: 2,
        viewAttr: 3
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["actualDeduction"],
        fieldcol: 14,
        label: "实际扣除金额",
        lanId: 111,
        helpfulTip: "填写个人取得“扣除所得项目”对应收入办理扣缴申报或者自行申报时，实际扣除的公益慈善事业捐赠支出金额。",
        helpfulTipLanId: 111,
        labelcol: 8,
        value: "",
        rules: "required",
        precision: 2,
        viewAttr: 3
      }
    ],
    title: "",
    defaultshow: true,
    col: 1
  }],
  derateDeduction: [{
    items: [
      {
        conditionType: "INPUT",
        domkey: ["derateItem"],
        fieldcol: 14,
        label: "减免事项",
        lanId: 111,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "INPUT",
        domkey: ["derateProperty"],
        fieldcol: 14,
        label: "减免性质",
        lanId: 111,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["derateAmount"],
        fieldcol: 14,
        label: "减免金额",
        lanId: 111,
        labelcol: 8,
        value: "",
        rules: "required",
        precision: 2,
        viewAttr: 3
      }
    ],
    title: "",
    defaultshow: true,
    col: 1
  }],
  otherDerateDeduction: [{
    items: [
      {
        conditionType: "INPUTNUMBER",
        domkey: ["otherDeduction"],
        fieldcol: 14,
        label: "减免税额",
        lanId: 111,
        labelcol: 8,
        value: "",
        rules: "required",
        precision: 2,
        viewAttr: 3
      },
      {
        conditionType: "INPUT",
        domkey: ["remark"],
        fieldcol: 14,
        label: "备注",
        lanId: 111,
        helpfulTip: "根据政策要求，一定要在备注中写明具体扣除项目名称，备注不超过20个字符。",
        helpfulTipLanId: 111,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      }
    ],
    title: "",
    defaultshow: true,
    col: 1
  }],
  personalPension: [{
    items: [
      {
        conditionType: "SELECT",
        domkey: ["voucherTypeName"],
        fieldcol: 14,
        label: "凭证类型",
        lanId: 111,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "INPUT",
        domkey: ["voucherNo"],
        fieldcol: 14,
        label: "凭证编码",
        lanId: 111,
        labelcol: 8,
        value: "",
        rules: "required|string",
        viewAttr: 3
      },
      {
        conditionType: "INPUTNUMBER",
        domkey: ["payAmount"],
        fieldcol: 14,
        label: "缴费金额",
        lanId: 111,
        labelcol: 8,
        value: "",
        rules: "required",
        precision: 2,
        viewAttr: 3
      }
    ],
    title: "",
    defaultshow: true,
    col: 1
  }]
};





