export const copyConditions = [
  {
    items: [
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["name"],
        fieldcol: 14,
        rules: "required|string",
        label: "账套名称",
        labelcol: 6,
        value: "",
        viewAttr: 3
      },
      {
        colSpan: 1,
        conditionType: "SELECT",
        domkey: ["taxAgentId"],
        fieldcol: 14,
        rules: "required|string",
        label: "个税扣缴义务人",
        labelcol: 6,
        value: "",
        viewAttr: 3
      }
    ],
    defaultshow: true
  }
];
export const searchConditions = [
  {
    items: [
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["name"],
        fieldcol: 24,
        otherParams: {
          placeholder: "请输入薪资账套名称"
        },
        lanId: 543431,
        labelcol: 0,
        value: "",
        viewAttr: 2
      },
      {
        colSpan: 1,
        conditionType: "SELECT",
        domkey: ["taxAgentId"],
        fieldcol: 24,
        lanId: 543234,
        label: "",
        labelcol: 0,
        value: "",
        viewAttr: 2
      }
    ],
    defaultshow: true
  }
];
export const categoryConditions = [
  {
    items: [
      {
        colSpan: 1,
        conditionType: "INPUT",
        domkey: ["name"],
        fieldcol: 14,
        rules: "required|string",
        label: "名称",
        labelcol: 6,
        value: "",
        viewAttr: 3
      }
    ],
    defaultshow: true
  }
];
export const baseSettingFormItem = [
  {
    key: "name",
    label: "账套名称",
    type: "INPUT"
  },
  {
    key: "taxAgentId",
    label: "个税扣缴义务人",
    type: "SELECT",
    options: []
  },
  {
    key: "taxableItems",
    label: "薪资类型",
    type: "SELECT",
    options: [
      // {
      //   key: "1",
      //   selected: true,
      //   showname: "正常工资薪金所得"
      // },
      // {
      //   key: "4",
      //   selected: false,
      //   showname: "劳务报酬所得"
      // }
    ]
  },
  {
    key: "salaryCycleStrObj",
    label: "薪资周期",
    type: "CUSTOM",
    children: [
      {
        key: "salaryCycleType",
        type: "SELECT",
        options: [
          {
            key: "1",
            selected: false,
            showname: "上上月"
          },
          {
            key: "2",
            selected: false,
            showname: "上月"
          },
          {
            key: "3",
            selected: true,
            showname: "本月"
          },
          {
            key: "4",
            selected: false,
            showname: "下月"
          }
        ]
      },
      {
        key: "salaryCycleFromDay",
        type: "SELECT",
        options: [
          {
            key: "1",
            selected: true,
            showname: "1号"
          },
          {
            key: "2",
            selected: false,
            showname: "2号"
          },
          {
            key: "3",
            selected: false,
            showname: "3号"
          },
          {
            key: "4",
            selected: false,
            showname: "4号"
          },
          {
            key: "5",
            selected: false,
            showname: "5号"
          },
          {
            key: "6",
            selected: false,
            showname: "6号"
          },
          {
            key: "7",
            selected: false,
            showname: "7号"
          },
          {
            key: "8",
            selected: false,
            showname: "8号"
          },
          {
            key: "9",
            selected: false,
            showname: "9号"
          },
          {
            key: "10",
            selected: false,
            showname: "10号"
          },
          {
            key: "11",
            selected: false,
            showname: "11号"
          },
          {
            key: "12",
            selected: false,
            showname: "12号"
          },
          {
            key: "13",
            selected: false,
            showname: "13号"
          },
          {
            key: "14",
            selected: false,
            showname: "14号"
          },
          {
            key: "15",
            selected: false,
            showname: "15号"
          },
          {
            key: "16",
            selected: false,
            showname: "16号"
          },
          {
            key: "17",
            selected: false,
            showname: "17号"
          },
          {
            key: "18",
            selected: false,
            showname: "18号"
          },
          {
            key: "19",
            selected: false,
            showname: "19号"
          },
          {
            key: "20",
            selected: false,
            showname: "20号"
          },
          {
            key: "21",
            selected: false,
            showname: "21号"
          },
          {
            key: "22",
            selected: false,
            showname: "22号"
          },
          {
            key: "23",
            selected: false,
            showname: "23号"
          },
          {
            key: "24",
            selected: false,
            showname: "24号"
          },
          {
            key: "25",
            selected: false,
            showname: "25号"
          },
          {
            key: "26",
            selected: false,
            showname: "26号"
          },
          {
            key: "27",
            selected: false,
            showname: "27号"
          },
          {
            key: "28",
            selected: false,
            showname: "28号"
          },
          {
            key: "29",
            selected: false,
            showname: "29号"
          },
          {
            key: "30",
            selected: false,
            showname: "30号"
          },
          {
            key: "31",
            selected: false,
            showname: "31号"
          }
        ]
      }
    ]
  },
  {
    key: "taxCycleType",
    label: "税款所属期",
    type: "SELECT",
    options: [
      {
        key: "1",
        selected: false,
        showname: "上上月"
      },
      {
        key: "2",
        selected: false,
        showname: "上月"
      },
      {
        key: "3",
        selected: true,
        showname: "本月"
      },
      {
        key: "4",
        selected: false,
        showname: "下月"
      }
    ]
  },
  {
    key: "attendCycleStrObj",
    label: "考勤周期",
    type: "CUSTOM",
    children: [
      {
        key: "attendCycleType",
        type: "SELECT",
        options: [
          {
            key: "1",
            selected: false,
            showname: "上上月"
          },
          {
            key: "2",
            selected: false,
            showname: "上月"
          },
          {
            key: "3",
            selected: true,
            showname: "本月"
          },
          {
            key: "4",
            selected: false,
            showname: "下月"
          }
        ]
      },
      {
        key: "attendCycleFromDay",
        type: "SELECT",
        options: [
          {
            key: "1",
            selected: true,
            showname: "1号"
          },
          {
            key: "2",
            selected: false,
            showname: "2号"
          },
          {
            key: "3",
            selected: false,
            showname: "3号"
          },
          {
            key: "4",
            selected: false,
            showname: "4号"
          },
          {
            key: "5",
            selected: false,
            showname: "5号"
          },
          {
            key: "6",
            selected: false,
            showname: "6号"
          },
          {
            key: "7",
            selected: false,
            showname: "7号"
          },
          {
            key: "8",
            selected: false,
            showname: "8号"
          },
          {
            key: "9",
            selected: false,
            showname: "9号"
          },
          {
            key: "10",
            selected: false,
            showname: "10号"
          },
          {
            key: "11",
            selected: false,
            showname: "11号"
          },
          {
            key: "12",
            selected: false,
            showname: "12号"
          },
          {
            key: "13",
            selected: false,
            showname: "13号"
          },
          {
            key: "14",
            selected: false,
            showname: "14号"
          },
          {
            key: "15",
            selected: false,
            showname: "15号"
          },
          {
            key: "16",
            selected: false,
            showname: "16号"
          },
          {
            key: "17",
            selected: false,
            showname: "17号"
          },
          {
            key: "18",
            selected: false,
            showname: "18号"
          },
          {
            key: "19",
            selected: false,
            showname: "19号"
          },
          {
            key: "20",
            selected: false,
            showname: "20号"
          },
          {
            key: "21",
            selected: false,
            showname: "21号"
          },
          {
            key: "22",
            selected: false,
            showname: "22号"
          },
          {
            key: "23",
            selected: false,
            showname: "23号"
          },
          {
            key: "24",
            selected: false,
            showname: "24号"
          },
          {
            key: "25",
            selected: false,
            showname: "25号"
          },
          {
            key: "26",
            selected: false,
            showname: "26号"
          },
          {
            key: "27",
            selected: false,
            showname: "27号"
          },
          {
            key: "28",
            selected: false,
            showname: "28号"
          },
          {
            key: "29",
            selected: false,
            showname: "29号"
          },
          {
            key: "30",
            selected: false,
            showname: "30号"
          },
          {
            key: "31",
            selected: false,
            showname: "31号"
          }
        ]
      }
    ]
  },
  {
    key: "socialSecurityCycleType",
    label: "福利台账月份",
    type: "SELECT",
    options: [
      {
        key: "1",
        selected: false,
        showname: "上上月"
      },
      {
        key: "2",
        selected: false,
        showname: "上月"
      },
      {
        key: "3",
        selected: true,
        showname: "本月"
      },
      {
        key: "4",
        selected: false,
        showname: "下月"
      }
    ]
  },
  {
    key: "namescpoe",
    label: "核算人员范围",
    type: "CHECKBOX"
  },
  {
    key: "description",
    label: "备注",
    type: "TEXTAREA"
  }
];
export const monthDays = [
  {
    key: "1",
    selected: true,
    showname: "1号"
  },
  {
    key: "2",
    selected: false,
    showname: "2号"
  },
  {
    key: "3",
    selected: false,
    showname: "3号"
  },
  {
    key: "4",
    selected: false,
    showname: "4号"
  },
  {
    key: "5",
    selected: false,
    showname: "5号"
  },
  {
    key: "6",
    selected: false,
    showname: "6号"
  },
  {
    key: "7",
    selected: false,
    showname: "7号"
  },
  {
    key: "8",
    selected: false,
    showname: "8号"
  },
  {
    key: "9",
    selected: false,
    showname: "9号"
  },
  {
    key: "10",
    selected: false,
    showname: "10号"
  },
  {
    key: "11",
    selected: false,
    showname: "11号"
  },
  {
    key: "12",
    selected: false,
    showname: "12号"
  },
  {
    key: "13",
    selected: false,
    showname: "13号"
  },
  {
    key: "14",
    selected: false,
    showname: "14号"
  },
  {
    key: "15",
    selected: false,
    showname: "15号"
  },
  {
    key: "16",
    selected: false,
    showname: "16号"
  },
  {
    key: "17",
    selected: false,
    showname: "17号"
  },
  {
    key: "18",
    selected: false,
    showname: "18号"
  },
  {
    key: "19",
    selected: false,
    showname: "19号"
  },
  {
    key: "20",
    selected: false,
    showname: "20号"
  },
  {
    key: "21",
    selected: false,
    showname: "21号"
  },
  {
    key: "22",
    selected: false,
    showname: "22号"
  },
  {
    key: "23",
    selected: false,
    showname: "23号"
  },
  {
    key: "24",
    selected: false,
    showname: "24号"
  },
  {
    key: "25",
    selected: false,
    showname: "25号"
  },
  {
    key: "26",
    selected: false,
    showname: "26号"
  },
  {
    key: "27",
    selected: false,
    showname: "27号"
  },
  {
    key: "28",
    selected: false,
    showname: "28号"
  },
  {
    key: "29",
    selected: false,
    showname: "29号"
  },
  {
    key: "30",
    selected: false,
    showname: "30号"
  },
  {
    key: "31",
    selected: false,
    showname: "31号"
  }
];
export const fieldType = [
  {
    key: "STRING",
    selected: false,
    showname: "字符"
  },
  {
    key: "NUMBER",
    selected: false,
    showname: "数值"
  }
];
export const valueTaking = [
  {
    key: "INPUT",
    selected: false,
    showname: "输入"
  },
  {
    key: "FORMULA",
    selected: false,
    showname: "公式"
  }
];
export const roundingRules = [
  {
    key: "RAW_DATA",
    selected: false,
    showname: "原始数据"
  },
  {
    key: "ROUNDING",
    selected: false,
    showname: "四舍五入"
  },
  {
    key: "ROUND_UP",
    selected: false,
    showname: "向上舍入"
  },
  {
    key: "ROUND_DOWN",
    selected: false,
    showname: "向下舍入"
  },
  {
    key: "CEILING",
    selected: false,
    showname: "见分进角"
  },
  {
    key: "UP_EVEN",
    selected: false,
    showname: "向上求偶"
  }
];
export const keepDecimalPlaces = [
  {
    key: "0",
    selected: false,
    showname: "0"
  },
  {
    key: "1",
    selected: false,
    showname: "1"
  },
  {
    key: "2",
    selected: false,
    showname: "2"
  },
  {
    key: "3",
    selected: false,
    showname: "3"
  },
  {
    key: "4",
    selected: false,
    showname: "4"
  },
  {
    key: "5",
    selected: false,
    showname: "5"
  }
];
export const acctApprRulesConditions = [
  {
    items: [
      {
        conditionType: "SWITCH",
        domkey: ["isOpenApproval"],
        fieldcol: 20,
        label: "是否开启审批",
        lanId: 111,
        labelcol: 4,
        viewAttr: 2
      },
      {
        conditionType: "INPUT",
        domkey: ["approvalWorkflowUrl"],
        fieldcol: 20,
        label: "审批流程地址",
        lanId: 111,
        labelcol: 4,
        value: "",
        viewAttr: 2
      },
      {
        conditionType: "CUSTOM",
        domkey: ["approvalItemGroup"],
        fieldcol: 20,
        label: "审批薪资项目",
        lanId: 111,
        labelcol: 4,
        value: "",
        viewAttr: 2
      }
    ],
    defaultshow: true
  }
];
export const classifyConditions = [
  {
    items: [
      {
        conditionType: "INPUT",
        domkey: ["groupName"],
        fieldcol: 18,
        label: "分类名称",
        lanId: 111,
        labelcol: 6,
        value: "",
        rules: "required|string",
        viewAttr: 3
      }
    ],
    defaultshow: true
  }
];
