If([%PROTECT%] <> "Y",SetVariable("%PROTECT%","Y") And SetVariable("%操作状态%","执行检查…") And ClearSubtotal() And Move(1,1) And SetVariable("%错误数%","0") And SetVariable("%报错内容%","") And SetVariable("%中止检查%","0") And SetLabel("@状态@","正在核对当前行") And SetLabel("@检查行数@",0) And SetLabel("@待检行数@",Rows) And SetLabel("@错误数@","正在统计…") And SetLabel("@报错内容@","") And Loop("[%中止检查%] = 0","SetLabel(""@状态@"",""正在核对→""+[基本属性_工号]) And If(FindText(""工资基准"",""基本属性_工号"",""基本属性_身份证号"", ""="" ,[基本属性_身份证号]) <> [基本属性_工号],SetVariable(""%错误数%"",[%错误数%]+1) And SetVariable(""%报错内容%"",[%报错内容%]+[姓名]+""1|"") And SetLabel(""@报错内容@"",[%报错内容%]),"""") And If(FindText(""工资基准"",""基本属性_职务"",""基本属性_工号"", ""="" ,[基本属性_工号]) <> [基本属性_职务],SetVariable(""%错误数%"",[%错误数%]+1) And SetVariable(""%报错内容%"",[%报错内容%]+[姓名]+""2|"") And SetLabel(""@报错内容@"",[%报错内容%]),"""") And If(FindText(""工资基准"",""基本属性_部门"",""基本属性_工号"", ""="" ,[基本属性_工号]) <> [基本属性_部门],SetVariable(""%错误数%"",[%错误数%]+1) And SetVariable(""%报错内容%"",[%报错内容%]+[姓名]+""3|"") And SetLabel(""@报错内容@"",[%报错内容%]),"""")And If(FindText(""工资基准"",""基本属性_核算部门"",""基本属性_工号"", ""="" ,[基本属性_工号]) <> [基本属性_核算部门],SetVariable(""%错误数%"",[%错误数%]+1) And SetVariable(""%报错内容%"",[%报错内容%]+[姓名]+""4|"") And SetLabel(""@报错内容@"",[%报错内容%]),"""") And If(FindText(""工资基准"",""基本属性_类别"",""基本属性_工号"", ""="" ,[基本属性_工号]) <> [基本属性_类别],SetVariable(""%错误数%"",[%错误数%]+1) And SetVariable(""%报错内容%"",[%报错内容%]+[姓名]+""5|"") And SetLabel(""@报错内容@"",[%报错内容%]),"""") And If(FindText(""工资基准"",""基本属性_银行账号"",""基本属性_工号"", ""="" ,[基本属性_工号]) <> [基本属性_银行账号],SetVariable(""%错误数%"",[%错误数%]+1) And SetVariable(""%报错内容%"",[%报错内容%]+[姓名]+""6|"") And SetLabel(""@报错内容@"",[%报错内容%]),"""") And If(FindText(""工资基准"",""基本属性_身份证号"",""基本属性_工号"", ""="" ,[基本属性_工号]) <> [基本属性_身份证号],SetVariable(""%错误数%"",[%错误数%]+1) And SetVariable(""%报错内容%"",[%报错内容%]+[姓名]+""7|"") And SetLabel(""@报错内容@"",[%报错内容%]),"""") And If(FindText(""工资基准"",""工资项目_基本工资标准"",""基本属性_工号"", ""="" ,[基本属性_工号]) <> [应发款项_基本工资标准],SetVariable(""%错误数%"",[%错误数%]+1) And SetVariable(""%报错内容%"",[%报错内容%]+[姓名]+""8|"") And SetLabel(""@报错内容@"",[%报错内容%]),"""") And If(FindText(""工资基准"",""工资项目_专业补贴"",""基本属性_工号"", ""="" ,[基本属性_工号]) <> [应发款项_专业补贴],SetVariable(""%错误数%&qu
|