产品-系统多语言
This commit is contained in:
parent
27e4d2f254
commit
df6eb00239
|
|
@ -131,7 +131,7 @@ export default class ImportModal extends React.Component {
|
|||
>
|
||||
<div className="stepWrapper">
|
||||
<WeaSteps current={step}>
|
||||
<Step description="上传Excel"/>
|
||||
<Step description={`${getLabel(111, "上传")}Excel`}/>
|
||||
<Step description={getLabel(543200, "数据预览")}/>
|
||||
<Step description={getLabel(502835, "导入数据")}/>
|
||||
</WeaSteps>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ export const condition = [
|
|||
domkey: ["dimType"],
|
||||
fieldcol: 14,
|
||||
label: getLabel(389137, "维度类型"),
|
||||
lanId: 389137,
|
||||
labelcol: 6,
|
||||
options: [],
|
||||
detailtype: 3,
|
||||
|
|
@ -24,6 +25,7 @@ export const condition = [
|
|||
domkey: ["setting4Qualitative"],
|
||||
fieldcol: 14,
|
||||
label: getLabel(506800, "统计维度"),
|
||||
lanId: 506800,
|
||||
labelcol: 6,
|
||||
options: [],
|
||||
rules: "required|string",
|
||||
|
|
@ -35,6 +37,7 @@ export const condition = [
|
|||
domkey: ["dimName"],
|
||||
fieldcol: 14,
|
||||
label: getLabel(543321, "统计维度名称"),
|
||||
lanId: 543321,
|
||||
labelcol: 6,
|
||||
value: "",
|
||||
rules: "required|string",
|
||||
|
|
@ -46,6 +49,7 @@ export const condition = [
|
|||
domkey: ["dimCode"],
|
||||
fieldcol: 14,
|
||||
label: getLabel(543322, "分组所属字段"),
|
||||
lanId: 543322,
|
||||
labelcol: 6,
|
||||
options: [],
|
||||
viewAttr: 2,
|
||||
|
|
@ -58,6 +62,7 @@ export const condition = [
|
|||
domkey: ["remark"],
|
||||
fieldcol: 14,
|
||||
label: getLabel(433, "描述"),
|
||||
lanId: 433,
|
||||
labelcol: 6,
|
||||
value: "",
|
||||
viewAttr: 2
|
||||
|
|
@ -76,6 +81,7 @@ export const reportCondition = [
|
|||
domkey: ["reportName"],
|
||||
fieldcol: 14,
|
||||
label: getLabel(15517, "报表名称"),
|
||||
lanId: 15517,
|
||||
labelcol: 6,
|
||||
value: "",
|
||||
rules: "required|string",
|
||||
|
|
@ -87,6 +93,7 @@ export const reportCondition = [
|
|||
domkey: ["dimensionIds"],
|
||||
fieldcol: 14,
|
||||
label: getLabel(506800, "统计维度"),
|
||||
lanId: 506800,
|
||||
labelcol: 6,
|
||||
options: [],
|
||||
rules: "required|string",
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ class CustomExportDialog extends Component {
|
|||
return (
|
||||
<WeaDialog
|
||||
{...this.props} hasScroll initLoadCss
|
||||
scalable title={getLabel(111, "选择字段")}
|
||||
scalable title={getLabel(384091, "选择字段")}
|
||||
style={{ width: 700, height: 484 }} className="addHeaderFieldsWrapper"
|
||||
buttons={[
|
||||
<Button type="primary" onClick={this.customExportClick}>{getLabel(17416, "导出")}</Button>,
|
||||
|
|
|
|||
|
|
@ -328,7 +328,7 @@ export default class CalculateDetail extends React.Component {
|
|||
<Menu.Item key="1">{getLabel(32935, "导入")}</Menu.Item>
|
||||
<Menu.Item key="2">{getLabel(543249, "线下对比")}</Menu.Item>
|
||||
<Menu.Item key="3">{getLabel(81272, "导出全部")}</Menu.Item>
|
||||
<Menu.Item key="4">{getLabel(111, "自定义导出")}</Menu.Item>
|
||||
<Menu.Item key="4">{getLabel(544270, "自定义导出")}</Menu.Item>
|
||||
</Menu>
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ export const searchCondition = [
|
|||
domkey: ["username"],
|
||||
fieldcol: 16,
|
||||
label: "姓名",
|
||||
lanId: 25034,
|
||||
labelcol: 8,
|
||||
value: "",
|
||||
viewAttr: 2
|
||||
|
|
@ -25,6 +26,7 @@ export const condition = [
|
|||
rules: "required|string",
|
||||
fieldcol: 18,
|
||||
label: "姓名",
|
||||
lanId: 25034,
|
||||
labelcol: 6,
|
||||
value: "",
|
||||
viewAttr: 3
|
||||
|
|
@ -56,6 +58,7 @@ export const condition = [
|
|||
domkey: ["departmentId"],
|
||||
fieldcol: 18,
|
||||
label: "部门",
|
||||
lanId: 27511,
|
||||
labelcol: 6,
|
||||
viewAttr: 2
|
||||
},
|
||||
|
|
@ -65,6 +68,7 @@ export const condition = [
|
|||
domkey: ["departmentName"],
|
||||
fieldcol: 18,
|
||||
label: "部门名称",
|
||||
lanId: 111,
|
||||
labelcol: 6,
|
||||
value: "",
|
||||
hasBorder: true,
|
||||
|
|
@ -97,6 +101,7 @@ export const condition = [
|
|||
domkey: ["subcompanyId"],
|
||||
fieldcol: 18,
|
||||
label: "分部",
|
||||
lanId: 33553,
|
||||
labelcol: 6,
|
||||
viewAttr: 2
|
||||
},
|
||||
|
|
@ -106,6 +111,7 @@ export const condition = [
|
|||
domkey: ["subcompanyName"],
|
||||
fieldcol: 18,
|
||||
label: "分部名称",
|
||||
lanId: 111,
|
||||
labelcol: 6,
|
||||
value: "",
|
||||
hasBorder: true,
|
||||
|
|
@ -147,6 +153,7 @@ export const condition = [
|
|||
domkey: ["companystartdate"],
|
||||
fieldcol: 18,
|
||||
label: "入职日期",
|
||||
lanId: 1516,
|
||||
labelcol: 6,
|
||||
value: "",
|
||||
viewAttr: 2
|
||||
|
|
@ -157,6 +164,7 @@ export const condition = [
|
|||
domkey: ["mobile"],
|
||||
fieldcol: 18,
|
||||
label: "手机",
|
||||
lanId: 111,
|
||||
labelcol: 6,
|
||||
value: "",
|
||||
viewAttr: 2
|
||||
|
|
@ -167,6 +175,7 @@ export const condition = [
|
|||
domkey: ["workcode"],
|
||||
fieldcol: 18,
|
||||
label: "工号",
|
||||
lanId: 1933,
|
||||
labelcol: 6,
|
||||
value: "",
|
||||
viewAttr: 2
|
||||
|
|
@ -177,6 +186,7 @@ export const condition = [
|
|||
domkey: ["idNo"],
|
||||
fieldcol: 18,
|
||||
label: "身份证号码",
|
||||
lanId: 1887,
|
||||
labelcol: 6,
|
||||
value: "",
|
||||
viewAttr: 2
|
||||
|
|
@ -187,6 +197,7 @@ export const condition = [
|
|||
domkey: ["bankCardNum"],
|
||||
fieldcol: 18,
|
||||
label: "本人开户的银行卡卡号",
|
||||
lanId: 111,
|
||||
labelcol: 6,
|
||||
value: "",
|
||||
viewAttr: 2
|
||||
|
|
@ -197,6 +208,7 @@ export const condition = [
|
|||
domkey: ["bankName"],
|
||||
fieldcol: 18,
|
||||
label: "本人开户的银行卡开户支行全称",
|
||||
lanId: 111,
|
||||
labelcol: 6,
|
||||
value: "",
|
||||
viewAttr: 2
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ class Index extends Component {
|
|||
pageInfo: { current: 1, pageSize: 10, total: 0 },
|
||||
showSearchAd: false,
|
||||
externalPersonManagePayload: {
|
||||
visible: false, title: "新建", id: ""
|
||||
visible: false, title: getLabel(365, "新建"), id: ""
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
@ -107,7 +107,7 @@ class Index extends Component {
|
|||
current: pageInfo.current,
|
||||
pageSize: pageInfo.pageSize,
|
||||
total: pageInfo.total,
|
||||
showTotal: total => `共 ${total} 条`,
|
||||
showTotal: total => `${getLabel(18609, "共")} ${total} ${getLabel(18256, "条")}`,
|
||||
showQuickJumper: true,
|
||||
showSizeChanger: true,
|
||||
pageSizeOptions: ["10", "20", "50", "100"],
|
||||
|
|
@ -125,18 +125,18 @@ class Index extends Component {
|
|||
return (
|
||||
<div className="externalPerWrapper">
|
||||
<WeaTop
|
||||
title="非系统人员管理" icon={<i className="icon-coms-fa"/>}
|
||||
title={getLabel(111, "非系统人员管理")} icon={<i className="icon-coms-fa"/>}
|
||||
iconBgcolor="#F14A2D" showDropIcon={false}
|
||||
>
|
||||
<div className="externalPerCont">
|
||||
<WeaTab
|
||||
buttons={showOperateBtn ? [
|
||||
<Button type="primary" onClick={() => this.handleAdd()}>新建</Button>
|
||||
<Button type="primary" onClick={() => this.handleAdd()}>{getLabel(365, "新建")}</Button>
|
||||
] : []}
|
||||
searchType={["base", "advanced"]} showSearchAd={showSearchAd}
|
||||
setShowSearchAd={(showSearchAd) => this.setState({ showSearchAd })}
|
||||
searchsAd={getSearchs(form, searchCondition, 2)}
|
||||
searchsBasePlaceHolder="请输入姓名" onSearch={this.listPage}
|
||||
searchsBasePlaceHolder={getLabel(26919, "请输入姓名")} onSearch={this.listPage}
|
||||
onSearchChange={username => form.updateFields({ username })}
|
||||
searchsBaseValue={form.getFormParams().username}
|
||||
onAdSearch={() => this.setState({ showSearchAd: false }, () => this.listPage())}
|
||||
|
|
@ -149,7 +149,7 @@ class Index extends Component {
|
|||
...this.getColumns(),
|
||||
{
|
||||
dataIndex: "operate",
|
||||
title: "操作",
|
||||
title: getLabel(30585, "操作"),
|
||||
width: 120,
|
||||
render: (_, { id }) => (
|
||||
<React.Fragment>
|
||||
|
|
|
|||
|
|
@ -268,14 +268,14 @@ class FieldSlide extends Component {
|
|||
placement="topLeft"
|
||||
/>
|
||||
</WeaFormItem>
|
||||
<WeaFormItem label={getLabel(111, "核算时隐藏")} labelCol={{ span: 6 }} wrapperCol={{ span: 12 }}>
|
||||
<WeaFormItem label={getLabel(544274, "核算时隐藏")} labelCol={{ span: 6 }} wrapperCol={{ span: 12 }}>
|
||||
<WeaCheckbox
|
||||
value={hideDefault}
|
||||
display="switch"
|
||||
onChange={value => this.handleChangeFields("hideDefault", value)}
|
||||
/>
|
||||
<WeaHelpfulTip style={{ marginLeft: "10px" }}
|
||||
title={getLabel(111, "提示:开启后,在薪资账套中添加该项目时,默认勾选隐藏且在核算时隐藏该薪资项目,可在具体薪资账套中设置是否隐藏")}
|
||||
title={getLabel(544275, "提示:开启后,在薪资账套中添加该项目时,默认勾选隐藏且在核算时隐藏该薪资项目,可在具体薪资账套中设置是否隐藏")}
|
||||
placement="topLeft"
|
||||
/>
|
||||
</WeaFormItem>
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ class LedgerAssociatedPersonnel extends Component {
|
|||
};
|
||||
deleteLedgerPersonExtRange = (resolve, reject) => {
|
||||
message.destroy();
|
||||
message.loading(getLabel(111, "正在删除中..."), 0);
|
||||
message.loading(getLabel(529063, "正在删除中..."), 0);
|
||||
deleteLedgerPersonExtRange(this.state.rowKeys).then(({ status, errormsg }) => {
|
||||
message.destroy();
|
||||
resolve();
|
||||
|
|
@ -136,7 +136,7 @@ class LedgerAssociatedPersonnel extends Component {
|
|||
};
|
||||
deleteLedgerPersonRange = (resolve, reject) => {
|
||||
message.destroy();
|
||||
message.loading(getLabel(111, "正在删除中..."), 0);
|
||||
message.loading(getLabel(529063, "正在删除中..."), 0);
|
||||
deleteLedgerPersonRange(this.state.rowKeys).then(({ status, errormsg }) => {
|
||||
message.destroy();
|
||||
resolve();
|
||||
|
|
|
|||
|
|
@ -169,11 +169,11 @@ class LedgerBaseSetting extends Component {
|
|||
<Col span={18} className="baseSettingLeft">
|
||||
{
|
||||
_.map(baseForm, item => {
|
||||
const { key, label, type, options = [], children = [] } = item;
|
||||
const { key, label, lanId, type, options = [], children = [] } = item;
|
||||
taxAgentIdDisabled = key === "taxAgentId" && editId && taxAgentId;
|
||||
taxableItemsDisabled = key === "taxableItems" && editId;
|
||||
return <WeaFormItem
|
||||
key={key} label={label}
|
||||
key={key} label={getLabel(lanId, label)}
|
||||
labelCol={{ span: 6 }} wrapperCol={{ span: 12 }}
|
||||
>
|
||||
{
|
||||
|
|
@ -186,12 +186,16 @@ class LedgerBaseSetting extends Component {
|
|||
type === "CHECKBOX" ?
|
||||
<React.Fragment>
|
||||
<WeaCheckbox value={true} viewAttr={1}
|
||||
content="【起薪日期≤薪资周期止】且【最后发薪日期≥薪资周期起】"/>
|
||||
<WeaHelpfulTip width={200} title="提示:最后发薪日期为空,默认为无穷大" placement="topLeft"/>
|
||||
content={getLabel(111, "【起薪日期≤薪资周期止】且【最后发薪日期≥薪资周期起】")}/>
|
||||
<WeaHelpfulTip width={200} title={getLabel(111, "提示:最后发薪日期为空,默认为无穷大")}
|
||||
placement="topLeft"/>
|
||||
</React.Fragment> :
|
||||
type === "SELECT" ?
|
||||
<WeaSelect value={settingBaseInfo[key]}
|
||||
options={((canEdit !== "true" || taxAgentIdDisabled || taxableItemsDisabled) && key === "taxAgentId") ? taxAgentOption : options}
|
||||
options={((canEdit !== "true" || taxAgentIdDisabled || taxableItemsDisabled) && key === "taxAgentId") ? taxAgentOption : _.map(options, it => ({
|
||||
...it,
|
||||
showname: getLabel(it.lanId, it.showname)
|
||||
}))}
|
||||
viewAttr={3}
|
||||
disabled={canEdit !== "true" || taxAgentIdDisabled || taxableItemsDisabled}
|
||||
onChange={(v) => this.handleChangeField(key, v)}/> :
|
||||
|
|
@ -221,9 +225,14 @@ const CustomSelect = (props) => {
|
|||
_.map(list, item => {
|
||||
const { key, options = [] } = item;
|
||||
return <Col span={6}>
|
||||
<WeaSelect value={baseInfo[key]} options={options} viewAttr={3}
|
||||
<WeaSelect value={baseInfo[key]} viewAttr={3}
|
||||
disabled={canEdit !== "true"}
|
||||
onChange={(v) => onChange(key, v)}/>
|
||||
onChange={(v) => onChange(key, v)}
|
||||
options={_.map(options, it => ({
|
||||
...it,
|
||||
showname: getLabel(it.lanId, it.showname)
|
||||
}))}
|
||||
/>
|
||||
</Col>;
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,13 +19,6 @@ import "./index.less";
|
|||
|
||||
const getLabel = WeaLocaleProvider.getLabel;
|
||||
const Step = WeaSteps.Step;
|
||||
const tabs = [
|
||||
{ key: 0, title: getLabel(82751, "基础设置") },
|
||||
{ key: 1, title: getLabel(543467, "关联人员") },
|
||||
{ key: 2, title: getLabel(542362, "薪资项目") },
|
||||
{ key: 3, title: getLabel(543468, "回算薪资项目") },
|
||||
{ key: 4, title: getLabel(543469, "调薪计薪规则") }
|
||||
];
|
||||
|
||||
@inject("taxAgentStore")
|
||||
@observer
|
||||
|
|
@ -214,14 +207,16 @@ class LedgerSlide extends Component {
|
|||
case 1:
|
||||
CurrentDom = !editId ? [
|
||||
<Button type="ghost" onClick={this.handleClose}>{getLabel(543470, "完成,跳过所有步骤")}</Button>,
|
||||
<Button type="primary" onClick={() => this.setState({ current: current + 1 })}>{getLabel(1402, "下一步")}</Button>
|
||||
<Button type="primary"
|
||||
onClick={() => this.setState({ current: current + 1 })}>{getLabel(1402, "下一步")}</Button>
|
||||
] : [];
|
||||
break;
|
||||
case 2:
|
||||
CurrentDom = !editId ?
|
||||
[
|
||||
<Button type="ghost" onClick={this.handleClose}>{getLabel(543470, "完成,跳过所有步骤")}</Button>,
|
||||
<Button type="ghost" onClick={() => this.setState({ current: current - 1 })}>{getLabel(1402, "下一步")}</Button>,
|
||||
<Button type="ghost"
|
||||
onClick={() => this.setState({ current: current - 1 })}>{getLabel(1402, "下一步")}</Button>,
|
||||
<Button
|
||||
type="primary"
|
||||
loading={loading}
|
||||
|
|
@ -239,17 +234,22 @@ class LedgerSlide extends Component {
|
|||
CurrentDom = !editId ?
|
||||
[
|
||||
<Button type="ghost" onClick={this.handleClose}>{getLabel(543470, "完成,跳过所有步骤")}</Button>,
|
||||
<Button type="ghost" onClick={() => this.setState({ current: current - 1 })}>{getLabel(1876, "上一步")}</Button>,
|
||||
<Button type="primary" onClick={() => this.setState({ current: current + 1 })}>{getLabel(1402, "下一步")}</Button>
|
||||
<Button type="ghost"
|
||||
onClick={() => this.setState({ current: current - 1 })}>{getLabel(1876, "上一步")}</Button>,
|
||||
<Button type="primary"
|
||||
onClick={() => this.setState({ current: current + 1 })}>{getLabel(1402, "下一步")}</Button>
|
||||
] : [];
|
||||
break;
|
||||
case 4:
|
||||
CurrentDom = !editId ?
|
||||
[
|
||||
<Button type="ghost" onClick={() => this.setState({ current: current - 1 })}>{getLabel(1876, "上一步")}</Button>,
|
||||
<Button type="primary" loading={loading} onClick={this.saveLedgerAdjustRule}>{getLabel(555, "完成")}</Button>
|
||||
<Button type="ghost"
|
||||
onClick={() => this.setState({ current: current - 1 })}>{getLabel(1876, "上一步")}</Button>,
|
||||
<Button type="primary" loading={loading}
|
||||
onClick={this.saveLedgerAdjustRule}>{getLabel(555, "完成")}</Button>
|
||||
] : [
|
||||
<Button type="primary" loading={loading} onClick={this.saveLedgerAdjustRule}>{getLabel(537558, "保存")}</Button>
|
||||
<Button type="primary" loading={loading}
|
||||
onClick={this.saveLedgerAdjustRule}>{getLabel(537558, "保存")}</Button>
|
||||
];
|
||||
break;
|
||||
default:
|
||||
|
|
@ -262,6 +262,13 @@ class LedgerSlide extends Component {
|
|||
render() {
|
||||
const { title, visible, editId, taxAgentStore: { showOperateBtn } } = this.props;
|
||||
const { current } = this.state;
|
||||
const tabs = [
|
||||
{ key: 0, title: getLabel(82751, "基础设置") },
|
||||
{ key: 1, title: getLabel(543467, "关联人员") },
|
||||
{ key: 2, title: getLabel(542362, "薪资项目") },
|
||||
{ key: 3, title: getLabel(543468, "回算薪资项目") },
|
||||
{ key: 4, title: getLabel(543469, "调薪计薪规则") }
|
||||
];
|
||||
return (
|
||||
<WeaSlideModal
|
||||
className="slideOuterWrapper"
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export const copyConditions = [
|
|||
fieldcol: 14,
|
||||
rules: "required|string",
|
||||
label: getLabel(387252, "账套名称"),
|
||||
lanId: 387252,
|
||||
labelcol: 6,
|
||||
value: "",
|
||||
viewAttr: 3
|
||||
|
|
@ -22,6 +23,7 @@ export const copyConditions = [
|
|||
fieldcol: 14,
|
||||
rules: "required|string",
|
||||
label: getLabel(537996, "个税扣缴义务人"),
|
||||
lanId: 537996,
|
||||
labelcol: 6,
|
||||
value: "",
|
||||
viewAttr: 3
|
||||
|
|
@ -52,17 +54,20 @@ export const baseSettingFormItem = [
|
|||
{
|
||||
key: "name",
|
||||
label: getLabel(387252, "账套名称"),
|
||||
lanId: 387252,
|
||||
type: "INPUT"
|
||||
},
|
||||
{
|
||||
key: "taxAgentId",
|
||||
label: getLabel(537996, "个税扣缴义务人"),
|
||||
lanId: 537996,
|
||||
type: "SELECT",
|
||||
options: []
|
||||
},
|
||||
{
|
||||
key: "taxableItems",
|
||||
label: getLabel(543433, "薪资类型"),
|
||||
lanId: 543433,
|
||||
type: "SELECT",
|
||||
options: [
|
||||
// {
|
||||
|
|
@ -80,6 +85,7 @@ export const baseSettingFormItem = [
|
|||
{
|
||||
key: "salaryCycleStrObj",
|
||||
label: getLabel(543375, "薪资周期"),
|
||||
lanId: 543375,
|
||||
type: "CUSTOM",
|
||||
children: [
|
||||
{
|
||||
|
|
@ -89,21 +95,25 @@ export const baseSettingFormItem = [
|
|||
{
|
||||
key: "1",
|
||||
selected: false,
|
||||
lanId: 543434,
|
||||
showname: getLabel(543434, "上上月")
|
||||
},
|
||||
{
|
||||
key: "2",
|
||||
selected: false,
|
||||
lanId: 17028,
|
||||
showname: getLabel(17028, "上月")
|
||||
},
|
||||
{
|
||||
key: "3",
|
||||
selected: true,
|
||||
lanId: 15541,
|
||||
showname: getLabel(15541, "本月")
|
||||
},
|
||||
{
|
||||
key: "4",
|
||||
selected: false,
|
||||
lanId: 508987,
|
||||
showname: getLabel(508987, "下月")
|
||||
}
|
||||
]
|
||||
|
|
@ -115,157 +125,188 @@ export const baseSettingFormItem = [
|
|||
{
|
||||
key: "1",
|
||||
selected: true,
|
||||
lanId: 543435,
|
||||
showname: getLabel(543435, "1号")
|
||||
},
|
||||
{
|
||||
key: "2",
|
||||
selected: false,
|
||||
lanId: 543436,
|
||||
showname: getLabel(543436, "2号")
|
||||
},
|
||||
{
|
||||
key: "3",
|
||||
selected: false,
|
||||
lanId: 543437,
|
||||
showname: getLabel(543437, "3号")
|
||||
},
|
||||
{
|
||||
key: "4",
|
||||
selected: false,
|
||||
lanId: 543438,
|
||||
showname: getLabel(543438, "4号")
|
||||
},
|
||||
{
|
||||
key: "5",
|
||||
selected: false,
|
||||
lanId: 543439,
|
||||
showname: getLabel(543439, "5号")
|
||||
},
|
||||
{
|
||||
key: "6",
|
||||
selected: false,
|
||||
lanId: 543440,
|
||||
showname: getLabel(543440, "6号")
|
||||
},
|
||||
{
|
||||
key: "7",
|
||||
selected: false,
|
||||
lanId: 543441,
|
||||
showname: getLabel(543441, "7号")
|
||||
},
|
||||
{
|
||||
key: "8",
|
||||
selected: false,
|
||||
lanId: 543442,
|
||||
showname: getLabel(543442, "8号")
|
||||
},
|
||||
{
|
||||
key: "9",
|
||||
selected: false,
|
||||
lanId: 543443,
|
||||
showname: getLabel(543443, "9号")
|
||||
},
|
||||
{
|
||||
key: "10",
|
||||
selected: false,
|
||||
lanId: 543444,
|
||||
showname: getLabel(543444, "10号")
|
||||
},
|
||||
{
|
||||
key: "11",
|
||||
selected: false,
|
||||
showname: getLabel(54345, "11号")
|
||||
lanId: 543445,
|
||||
showname: getLabel(543445, "11号")
|
||||
},
|
||||
{
|
||||
key: "12",
|
||||
selected: false,
|
||||
showname: getLabel(54346, "12号")
|
||||
lanId: 543446,
|
||||
showname: getLabel(543446, "12号")
|
||||
},
|
||||
{
|
||||
key: "13",
|
||||
selected: false,
|
||||
showname: getLabel(54347, "13号")
|
||||
lanId: 543447,
|
||||
showname: getLabel(543447, "13号")
|
||||
},
|
||||
{
|
||||
key: "14",
|
||||
selected: false,
|
||||
showname: getLabel(54348, "14号")
|
||||
lanId: 543448,
|
||||
showname: getLabel(543448, "14号")
|
||||
},
|
||||
{
|
||||
key: "15",
|
||||
selected: false,
|
||||
showname: getLabel(54349, "15号")
|
||||
lanId: 543449,
|
||||
showname: getLabel(543449, "15号")
|
||||
},
|
||||
{
|
||||
key: "16",
|
||||
selected: false,
|
||||
showname: getLabel(54350, "16号")
|
||||
lanId: 543450,
|
||||
showname: getLabel(543450, "16号")
|
||||
},
|
||||
{
|
||||
key: "17",
|
||||
selected: false,
|
||||
showname: getLabel(54351, "17号")
|
||||
lanId: 543451,
|
||||
showname: getLabel(543451, "17号")
|
||||
},
|
||||
{
|
||||
key: "18",
|
||||
selected: false,
|
||||
showname: getLabel(54352, "18号")
|
||||
lanId: 543452,
|
||||
showname: getLabel(543452, "18号")
|
||||
},
|
||||
{
|
||||
key: "19",
|
||||
selected: false,
|
||||
showname: getLabel(54353, "19号")
|
||||
lanId: 543453,
|
||||
showname: getLabel(543453, "19号")
|
||||
},
|
||||
{
|
||||
key: "20",
|
||||
selected: false,
|
||||
showname: getLabel(54354, "20号")
|
||||
lanId: 543454,
|
||||
showname: getLabel(543454, "20号")
|
||||
},
|
||||
{
|
||||
key: "21",
|
||||
selected: false,
|
||||
showname: getLabel(54355, "21号")
|
||||
lanId: 543455,
|
||||
showname: getLabel(543455, "21号")
|
||||
},
|
||||
{
|
||||
key: "22",
|
||||
selected: false,
|
||||
showname: getLabel(54356, "22号")
|
||||
lanId: 543456,
|
||||
showname: getLabel(543456, "22号")
|
||||
},
|
||||
{
|
||||
key: "23",
|
||||
selected: false,
|
||||
showname: getLabel(54357, "23号")
|
||||
lanId: 543457,
|
||||
showname: getLabel(543457, "23号")
|
||||
},
|
||||
{
|
||||
key: "24",
|
||||
selected: false,
|
||||
showname: getLabel(54358, "24号")
|
||||
lanId: 543458,
|
||||
showname: getLabel(543458, "24号")
|
||||
},
|
||||
{
|
||||
key: "25",
|
||||
selected: false,
|
||||
showname: getLabel(54359, "25号")
|
||||
lanId: 543459,
|
||||
showname: getLabel(543459, "25号")
|
||||
},
|
||||
{
|
||||
key: "26",
|
||||
selected: false,
|
||||
showname: getLabel(54360, "26号")
|
||||
lanId: 543460,
|
||||
showname: getLabel(543460, "26号")
|
||||
},
|
||||
{
|
||||
key: "27",
|
||||
selected: false,
|
||||
showname: getLabel(54361, "27号")
|
||||
lanId: 543461,
|
||||
showname: getLabel(543461, "27号")
|
||||
},
|
||||
{
|
||||
key: "28",
|
||||
selected: false,
|
||||
showname: getLabel(54362, "28号")
|
||||
lanId: 543462,
|
||||
showname: getLabel(543462, "28号")
|
||||
},
|
||||
{
|
||||
key: "29",
|
||||
selected: false,
|
||||
showname: getLabel(54363, "29号")
|
||||
lanId: 543463,
|
||||
showname: getLabel(543463, "29号")
|
||||
},
|
||||
{
|
||||
key: "30",
|
||||
selected: false,
|
||||
showname: getLabel(54364, "30号")
|
||||
lanId: 543464,
|
||||
showname: getLabel(543464, "30号")
|
||||
},
|
||||
{
|
||||
key: "31",
|
||||
selected: false,
|
||||
showname: getLabel(54365, "31号")
|
||||
lanId: 543465,
|
||||
showname: getLabel(543465, "31号")
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -274,33 +315,39 @@ export const baseSettingFormItem = [
|
|||
{
|
||||
key: "taxCycleType",
|
||||
label: getLabel(542240, "税款所属期"),
|
||||
lanId: 542240,
|
||||
type: "SELECT",
|
||||
options: [
|
||||
{
|
||||
key: "1",
|
||||
selected: false,
|
||||
showname: getLabel(543434, "上上月"),
|
||||
lanId: 543434,
|
||||
},
|
||||
{
|
||||
key: "2",
|
||||
selected: false,
|
||||
showname: getLabel(17028, "上月"),
|
||||
lanId: 17028,
|
||||
},
|
||||
{
|
||||
key: "3",
|
||||
selected: true,
|
||||
showname: getLabel(15541, "本月")
|
||||
showname: getLabel(15541, "本月"),
|
||||
lanId: 15541,
|
||||
},
|
||||
{
|
||||
key: "4",
|
||||
selected: false,
|
||||
showname: getLabel(508987, "下月")
|
||||
showname: getLabel(508987, "下月"),
|
||||
lanId: 508987,
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
key: "attendCycleStrObj",
|
||||
label: getLabel(543376, "考勤周期"),
|
||||
lanId: 543376,
|
||||
type: "CUSTOM",
|
||||
children: [
|
||||
{
|
||||
|
|
@ -310,21 +357,25 @@ export const baseSettingFormItem = [
|
|||
{
|
||||
key: "1",
|
||||
selected: false,
|
||||
lanId: 543434,
|
||||
showname: getLabel(543434, "上上月")
|
||||
},
|
||||
{
|
||||
key: "2",
|
||||
selected: false,
|
||||
lanId: 17028,
|
||||
showname: getLabel(17028, "上月")
|
||||
},
|
||||
{
|
||||
key: "3",
|
||||
selected: true,
|
||||
lanId: 15541,
|
||||
showname: getLabel(15541, "本月")
|
||||
},
|
||||
{
|
||||
key: "4",
|
||||
selected: false,
|
||||
lanId: 508987,
|
||||
showname: getLabel(508987, "下月")
|
||||
}
|
||||
]
|
||||
|
|
@ -336,157 +387,188 @@ export const baseSettingFormItem = [
|
|||
{
|
||||
key: "1",
|
||||
selected: true,
|
||||
lanId: 543435,
|
||||
showname: getLabel(543435, "1号")
|
||||
},
|
||||
{
|
||||
key: "2",
|
||||
selected: false,
|
||||
lanId: 543436,
|
||||
showname: getLabel(543436, "2号")
|
||||
},
|
||||
{
|
||||
key: "3",
|
||||
selected: false,
|
||||
lanId: 543437,
|
||||
showname: getLabel(543437, "3号")
|
||||
},
|
||||
{
|
||||
key: "4",
|
||||
selected: false,
|
||||
lanId: 543438,
|
||||
showname: getLabel(543438, "4号")
|
||||
},
|
||||
{
|
||||
key: "5",
|
||||
selected: false,
|
||||
lanId: 543439,
|
||||
showname: getLabel(543439, "5号")
|
||||
},
|
||||
{
|
||||
key: "6",
|
||||
selected: false,
|
||||
lanId: 543440,
|
||||
showname: getLabel(543440, "6号")
|
||||
},
|
||||
{
|
||||
key: "7",
|
||||
selected: false,
|
||||
lanId: 543441,
|
||||
showname: getLabel(543441, "7号")
|
||||
},
|
||||
{
|
||||
key: "8",
|
||||
selected: false,
|
||||
lanId: 543442,
|
||||
showname: getLabel(543442, "8号")
|
||||
},
|
||||
{
|
||||
key: "9",
|
||||
selected: false,
|
||||
lanId: 543443,
|
||||
showname: getLabel(543443, "9号")
|
||||
},
|
||||
{
|
||||
key: "10",
|
||||
selected: false,
|
||||
lanId: 543444,
|
||||
showname: getLabel(543444, "10号")
|
||||
},
|
||||
{
|
||||
key: "11",
|
||||
selected: false,
|
||||
showname: getLabel(54345, "11号")
|
||||
lanId: 543445,
|
||||
showname: getLabel(543445, "11号")
|
||||
},
|
||||
{
|
||||
key: "12",
|
||||
selected: false,
|
||||
showname: getLabel(54346, "12号")
|
||||
lanId: 543446,
|
||||
showname: getLabel(543446, "12号")
|
||||
},
|
||||
{
|
||||
key: "13",
|
||||
selected: false,
|
||||
showname: getLabel(54347, "13号")
|
||||
lanId: 543447,
|
||||
showname: getLabel(543447, "13号")
|
||||
},
|
||||
{
|
||||
key: "14",
|
||||
selected: false,
|
||||
showname: getLabel(54348, "14号")
|
||||
lanId: 543448,
|
||||
showname: getLabel(543448, "14号")
|
||||
},
|
||||
{
|
||||
key: "15",
|
||||
selected: false,
|
||||
showname: getLabel(54349, "15号")
|
||||
lanId: 543449,
|
||||
showname: getLabel(543449, "15号")
|
||||
},
|
||||
{
|
||||
key: "16",
|
||||
selected: false,
|
||||
showname: getLabel(54350, "16号")
|
||||
lanId: 543450,
|
||||
showname: getLabel(543450, "16号")
|
||||
},
|
||||
{
|
||||
key: "17",
|
||||
selected: false,
|
||||
showname: getLabel(54351, "17号")
|
||||
lanId: 543451,
|
||||
showname: getLabel(543451, "17号")
|
||||
},
|
||||
{
|
||||
key: "18",
|
||||
selected: false,
|
||||
showname: getLabel(54352, "18号")
|
||||
lanId: 543452,
|
||||
showname: getLabel(543452, "18号")
|
||||
},
|
||||
{
|
||||
key: "19",
|
||||
selected: false,
|
||||
showname: getLabel(54353, "19号")
|
||||
lanId: 543453,
|
||||
showname: getLabel(543453, "19号")
|
||||
},
|
||||
{
|
||||
key: "20",
|
||||
selected: false,
|
||||
showname: getLabel(54354, "20号")
|
||||
lanId: 543454,
|
||||
showname: getLabel(543454, "20号")
|
||||
},
|
||||
{
|
||||
key: "21",
|
||||
selected: false,
|
||||
showname: getLabel(54355, "21号")
|
||||
lanId: 543455,
|
||||
showname: getLabel(543455, "21号")
|
||||
},
|
||||
{
|
||||
key: "22",
|
||||
selected: false,
|
||||
showname: getLabel(54356, "22号")
|
||||
lanId: 543456,
|
||||
showname: getLabel(543456, "22号")
|
||||
},
|
||||
{
|
||||
key: "23",
|
||||
selected: false,
|
||||
showname: getLabel(54357, "23号")
|
||||
lanId: 543457,
|
||||
showname: getLabel(543457, "23号")
|
||||
},
|
||||
{
|
||||
key: "24",
|
||||
selected: false,
|
||||
showname: getLabel(54358, "24号")
|
||||
lanId: 543458,
|
||||
showname: getLabel(543458, "24号")
|
||||
},
|
||||
{
|
||||
key: "25",
|
||||
selected: false,
|
||||
showname: getLabel(54359, "25号")
|
||||
lanId: 543459,
|
||||
showname: getLabel(543459, "25号")
|
||||
},
|
||||
{
|
||||
key: "26",
|
||||
selected: false,
|
||||
showname: getLabel(54360, "26号")
|
||||
lanId: 543460,
|
||||
showname: getLabel(543460, "26号")
|
||||
},
|
||||
{
|
||||
key: "27",
|
||||
selected: false,
|
||||
showname: getLabel(54361, "27号")
|
||||
lanId: 543461,
|
||||
showname: getLabel(543461, "27号")
|
||||
},
|
||||
{
|
||||
key: "28",
|
||||
selected: false,
|
||||
showname: getLabel(54362, "28号")
|
||||
lanId: 543462,
|
||||
showname: getLabel(543462, "28号")
|
||||
},
|
||||
{
|
||||
key: "29",
|
||||
selected: false,
|
||||
showname: getLabel(54363, "29号")
|
||||
lanId: 543463,
|
||||
showname: getLabel(543463, "29号")
|
||||
},
|
||||
{
|
||||
key: "30",
|
||||
selected: false,
|
||||
showname: getLabel(54364, "30号")
|
||||
lanId: 543464,
|
||||
showname: getLabel(543464, "30号")
|
||||
},
|
||||
{
|
||||
key: "31",
|
||||
selected: false,
|
||||
showname: getLabel(54365, "31号")
|
||||
lanId: 543465,
|
||||
showname: getLabel(543465, "31号")
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -495,26 +577,31 @@ export const baseSettingFormItem = [
|
|||
{
|
||||
key: "socialSecurityCycleType",
|
||||
label: getLabel(543466, "福利台账月份"),
|
||||
lanId: 543466,
|
||||
type: "SELECT",
|
||||
options: [
|
||||
{
|
||||
key: "1",
|
||||
selected: false,
|
||||
lanId: 543434,
|
||||
showname: getLabel(543434, "上上月")
|
||||
},
|
||||
{
|
||||
key: "2",
|
||||
selected: false,
|
||||
lanId: 17028,
|
||||
showname: getLabel(17028, "上月")
|
||||
},
|
||||
{
|
||||
key: "3",
|
||||
selected: true,
|
||||
lanId: 15541,
|
||||
showname: getLabel(15541, "本月")
|
||||
},
|
||||
{
|
||||
key: "4",
|
||||
selected: false,
|
||||
lanId: 508987,
|
||||
showname: getLabel(508987, "下月")
|
||||
}
|
||||
]
|
||||
|
|
@ -522,11 +609,13 @@ export const baseSettingFormItem = [
|
|||
{
|
||||
key: "namescpoe",
|
||||
label: getLabel(542307, "核算人员范围"),
|
||||
lanId: 542307,
|
||||
type: "CHECKBOX"
|
||||
},
|
||||
{
|
||||
key: "description",
|
||||
label: getLabel(536726, "备注"),
|
||||
lanId: 536726,
|
||||
type: "TEXTAREA"
|
||||
}
|
||||
];
|
||||
|
|
@ -534,168 +623,201 @@ export const monthDays = [
|
|||
{
|
||||
key: "1",
|
||||
selected: true,
|
||||
lanId: 543435,
|
||||
showname: getLabel(543435, "1号")
|
||||
},
|
||||
{
|
||||
key: "2",
|
||||
selected: false,
|
||||
lanId: 543436,
|
||||
showname: getLabel(543436, "2号")
|
||||
},
|
||||
{
|
||||
key: "3",
|
||||
selected: false,
|
||||
lanId: 543437,
|
||||
showname: getLabel(543437, "3号")
|
||||
},
|
||||
{
|
||||
key: "4",
|
||||
selected: false,
|
||||
lanId: 543438,
|
||||
showname: getLabel(543438, "4号")
|
||||
},
|
||||
{
|
||||
key: "5",
|
||||
selected: false,
|
||||
lanId: 543439,
|
||||
showname: getLabel(543439, "5号")
|
||||
},
|
||||
{
|
||||
key: "6",
|
||||
selected: false,
|
||||
lanId: 543440,
|
||||
showname: getLabel(543440, "6号")
|
||||
},
|
||||
{
|
||||
key: "7",
|
||||
selected: false,
|
||||
lanId: 543441,
|
||||
showname: getLabel(543441, "7号")
|
||||
},
|
||||
{
|
||||
key: "8",
|
||||
selected: false,
|
||||
lanId: 543442,
|
||||
showname: getLabel(543442, "8号")
|
||||
},
|
||||
{
|
||||
key: "9",
|
||||
selected: false,
|
||||
lanId: 543443,
|
||||
showname: getLabel(543443, "9号")
|
||||
},
|
||||
{
|
||||
key: "10",
|
||||
selected: false,
|
||||
lanId: 543444,
|
||||
showname: getLabel(543444, "10号")
|
||||
},
|
||||
{
|
||||
key: "11",
|
||||
selected: false,
|
||||
showname: getLabel(54345, "11号")
|
||||
lanId: 543445,
|
||||
showname: getLabel(543445, "11号")
|
||||
},
|
||||
{
|
||||
key: "12",
|
||||
selected: false,
|
||||
showname: getLabel(54346, "12号")
|
||||
lanId: 543446,
|
||||
showname: getLabel(543446, "12号")
|
||||
},
|
||||
{
|
||||
key: "13",
|
||||
selected: false,
|
||||
showname: getLabel(54347, "13号")
|
||||
lanId: 543447,
|
||||
showname: getLabel(543447, "13号")
|
||||
},
|
||||
{
|
||||
key: "14",
|
||||
selected: false,
|
||||
showname: getLabel(54348, "14号")
|
||||
lanId: 543448,
|
||||
showname: getLabel(543448, "14号")
|
||||
},
|
||||
{
|
||||
key: "15",
|
||||
selected: false,
|
||||
showname: getLabel(54349, "15号")
|
||||
lanId: 543449,
|
||||
showname: getLabel(543449, "15号")
|
||||
},
|
||||
{
|
||||
key: "16",
|
||||
selected: false,
|
||||
showname: getLabel(54350, "16号")
|
||||
lanId: 543450,
|
||||
showname: getLabel(543450, "16号")
|
||||
},
|
||||
{
|
||||
key: "17",
|
||||
selected: false,
|
||||
showname: getLabel(54351, "17号")
|
||||
lanId: 543451,
|
||||
showname: getLabel(543451, "17号")
|
||||
},
|
||||
{
|
||||
key: "18",
|
||||
selected: false,
|
||||
showname: getLabel(54352, "18号")
|
||||
lanId: 543452,
|
||||
showname: getLabel(543452, "18号")
|
||||
},
|
||||
{
|
||||
key: "19",
|
||||
selected: false,
|
||||
showname: getLabel(54353, "19号")
|
||||
lanId: 543453,
|
||||
showname: getLabel(543453, "19号")
|
||||
},
|
||||
{
|
||||
key: "20",
|
||||
selected: false,
|
||||
showname: getLabel(54354, "20号")
|
||||
lanId: 543454,
|
||||
showname: getLabel(543454, "20号")
|
||||
},
|
||||
{
|
||||
key: "21",
|
||||
selected: false,
|
||||
showname: getLabel(54355, "21号")
|
||||
lanId: 543455,
|
||||
showname: getLabel(543455, "21号")
|
||||
},
|
||||
{
|
||||
key: "22",
|
||||
selected: false,
|
||||
showname: getLabel(54356, "22号")
|
||||
lanId: 543456,
|
||||
showname: getLabel(543456, "22号")
|
||||
},
|
||||
{
|
||||
key: "23",
|
||||
selected: false,
|
||||
showname: getLabel(54357, "23号")
|
||||
lanId: 543457,
|
||||
showname: getLabel(543457, "23号")
|
||||
},
|
||||
{
|
||||
key: "24",
|
||||
selected: false,
|
||||
showname: getLabel(54358, "24号")
|
||||
lanId: 543458,
|
||||
showname: getLabel(543458, "24号")
|
||||
},
|
||||
{
|
||||
key: "25",
|
||||
selected: false,
|
||||
showname: getLabel(54359, "25号")
|
||||
lanId: 543459,
|
||||
showname: getLabel(543459, "25号")
|
||||
},
|
||||
{
|
||||
key: "26",
|
||||
selected: false,
|
||||
showname: getLabel(54360, "26号")
|
||||
lanId: 543460,
|
||||
showname: getLabel(543460, "26号")
|
||||
},
|
||||
{
|
||||
key: "27",
|
||||
lanId: 543461,
|
||||
selected: false,
|
||||
showname: getLabel(54361, "27号")
|
||||
showname: getLabel(543461, "27号")
|
||||
},
|
||||
{
|
||||
key: "28",
|
||||
selected: false,
|
||||
showname: getLabel(54362, "28号")
|
||||
lanId: 543462,
|
||||
showname: getLabel(543462, "28号")
|
||||
},
|
||||
{
|
||||
key: "29",
|
||||
selected: false,
|
||||
showname: getLabel(54363, "29号")
|
||||
lanId: 543463,
|
||||
showname: getLabel(543463, "29号")
|
||||
},
|
||||
{
|
||||
key: "30",
|
||||
selected: false,
|
||||
showname: getLabel(54364, "30号")
|
||||
lanId: 543464,
|
||||
showname: getLabel(543464, "30号")
|
||||
},
|
||||
{
|
||||
key: "31",
|
||||
selected: false,
|
||||
showname: getLabel(54365, "31号")
|
||||
lanId: 543465,
|
||||
showname: getLabel(543465, "31号")
|
||||
}
|
||||
];
|
||||
export const fieldType = [
|
||||
{
|
||||
key: "STRING",
|
||||
selected: false,
|
||||
lanId: 391259,
|
||||
showname: getLabel(391259, "字符")
|
||||
},
|
||||
{
|
||||
key: "NUMBER",
|
||||
selected: false,
|
||||
lanId: 17639,
|
||||
showname: getLabel(17639, "数值")
|
||||
}
|
||||
];
|
||||
|
|
@ -703,11 +825,13 @@ export const valueTaking = [
|
|||
{
|
||||
key: "INPUT",
|
||||
selected: false,
|
||||
lanId: 554,
|
||||
showname: getLabel(554, "输入")
|
||||
},
|
||||
{
|
||||
key: "FORMULA",
|
||||
selected: false,
|
||||
lanId: 18125,
|
||||
showname: getLabel(18125, "公式")
|
||||
}
|
||||
];
|
||||
|
|
@ -715,31 +839,37 @@ export const roundingRules = [
|
|||
{
|
||||
key: "RAW_DATA",
|
||||
selected: false,
|
||||
lanId: 19766,
|
||||
showname: getLabel(19766, "原始数据")
|
||||
},
|
||||
{
|
||||
key: "ROUNDING",
|
||||
selected: false,
|
||||
lanId: 389654,
|
||||
showname: getLabel(389654, "四舍五入")
|
||||
},
|
||||
{
|
||||
key: "ROUND_UP",
|
||||
selected: false,
|
||||
lanId: 542722,
|
||||
showname: getLabel(542722, "向上舍入")
|
||||
},
|
||||
{
|
||||
key: "ROUND_DOWN",
|
||||
selected: false,
|
||||
lanId: 542723,
|
||||
showname: getLabel(542723, "向下舍入")
|
||||
},
|
||||
{
|
||||
key: "CEILING",
|
||||
selected: false,
|
||||
lanId: 542724,
|
||||
showname: getLabel(542724, "见分进角")
|
||||
},
|
||||
{
|
||||
key: "UP_EVEN",
|
||||
selected: false,
|
||||
lanId: 542725,
|
||||
showname: getLabel(542725, "向上求偶")
|
||||
}
|
||||
];
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ export default class MobilePayroll extends React.Component {
|
|||
handleGoFeedback = () => {
|
||||
Modal.confirm({
|
||||
title: getLabel(131329, "信息确认"),
|
||||
content: getLabel(111, "请确认薪资信息是有误,进行反馈并发起反馈流程。"),
|
||||
content: getLabel(544271, "请确认薪资信息是有误,进行反馈并发起反馈流程。"),
|
||||
onOk: () => {
|
||||
feedBackSalaryBill({ salaryInfoId: getQueryString("id") }).then(({ status, errorMsg }) => {
|
||||
if (status) {
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ class MySalaryView extends Component {
|
|||
handleGoFeedback = () => {
|
||||
Modal.confirm({
|
||||
title: getLabel(131329, "信息确认"),
|
||||
content: getLabel(111, "请确认薪资信息是有误,进行反馈并发起反馈流程。"),
|
||||
content: getLabel(544271, "请确认薪资信息是有误,进行反馈并发起反馈流程。"),
|
||||
onOk: () => {
|
||||
const { params: { salaryInfoId } } = this.props;
|
||||
feedBackSalaryBill({ salaryInfoId }).then(({ status, errorMsg }) => {
|
||||
|
|
|
|||
|
|
@ -107,9 +107,10 @@ export default class BaseInformForm extends React.Component {
|
|||
} = request;
|
||||
return (
|
||||
<React.Fragment>
|
||||
<WeaSearchGroup title="基础信息" items={[]} needTigger showGroup col={1} className="payrollBaseInfoWrapper">
|
||||
<WeaSearchGroup title={getLabel(82743, "基础信息")} items={[]} needTigger showGroup col={1}
|
||||
className="payrollBaseInfoWrapper">
|
||||
<WeaFormItem
|
||||
label="薪资账套"
|
||||
label={getLabel(538010, "薪资账套")}
|
||||
labelCol={{ span: 6 }}
|
||||
wrapperCol={{ span: 18 }}
|
||||
>
|
||||
|
|
@ -124,7 +125,7 @@ export default class BaseInformForm extends React.Component {
|
|||
}
|
||||
</WeaFormItem>
|
||||
<WeaFormItem
|
||||
label="工资单模板名称"
|
||||
label={getLabel(543584, "工资单模板名称")}
|
||||
labelCol={{ span: 6 }}
|
||||
wrapperCol={{ span: 18 }}
|
||||
>
|
||||
|
|
@ -135,7 +136,7 @@ export default class BaseInformForm extends React.Component {
|
|||
/>
|
||||
</WeaFormItem>
|
||||
<WeaFormItem
|
||||
label="补发工资单模板名称"
|
||||
label={getLabel(543585, "补发工资单模板名称")}
|
||||
labelCol={{ span: 6 }}
|
||||
wrapperCol={{ span: 18 }}
|
||||
>
|
||||
|
|
@ -146,12 +147,15 @@ export default class BaseInformForm extends React.Component {
|
|||
/>
|
||||
</WeaFormItem>
|
||||
<WeaFormItem
|
||||
label="补发工资单名单生成规则"
|
||||
label={getLabel(543586, "补发工资单名单生成规则")}
|
||||
labelCol={{ span: 6 }}
|
||||
wrapperCol={{ span: 18 }}
|
||||
>
|
||||
<WeaSelect
|
||||
options={[{ key: "0", showname: "全部" }, { key: "1", showname: "按规则" }]}
|
||||
options={[{ key: "0", showname: getLabel(332, "全部") }, {
|
||||
key: "1",
|
||||
showname: getLabel(542696, "按规则")
|
||||
}]}
|
||||
value={reissueRule}
|
||||
detailtype={3}
|
||||
viewAttr={3}
|
||||
|
|
@ -161,7 +165,7 @@ export default class BaseInformForm extends React.Component {
|
|||
{
|
||||
reissueRule !== "0" &&
|
||||
<WeaFormItem
|
||||
label="规则设置"
|
||||
label={getLabel(126876, "规则设置")}
|
||||
labelCol={{ span: 6 }}
|
||||
wrapperCol={{ span: 18 }}
|
||||
>
|
||||
|
|
@ -174,7 +178,7 @@ export default class BaseInformForm extends React.Component {
|
|||
</WeaFormItem>
|
||||
}
|
||||
<WeaFormItem
|
||||
label="备注"
|
||||
label={getLabel(536726, "备注")}
|
||||
labelCol={{ span: 6 }}
|
||||
wrapperCol={{ span: 18 }}
|
||||
>
|
||||
|
|
@ -204,7 +208,7 @@ export default class BaseInformForm extends React.Component {
|
|||
autoSendCycleType: value === "1" ? 1 : null
|
||||
});
|
||||
}}/>
|
||||
<WeaHelpfulTip title={getLabel(111, "开启后,还需在计划任务中配置定时任务,执行工资单定时发送任务;")}
|
||||
<WeaHelpfulTip title={getLabel(544272, "开启后,还需在计划任务中配置定时任务,执行工资单定时发送任务;")}
|
||||
style={{ marginLeft: 10 }}
|
||||
placement="top" width={200}/>
|
||||
</WeaFormItem>
|
||||
|
|
@ -236,14 +240,15 @@ export default class BaseInformForm extends React.Component {
|
|||
{
|
||||
ackFeedbackStatus &&
|
||||
<React.Fragment>
|
||||
<WeaFormItem label={getLabel(544095, "自动确认超时天数")} labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
|
||||
<WeaFormItem label={getLabel(544095, "自动确认超时天数")} labelCol={{ span: 6 }}
|
||||
wrapperCol={{ span: 18 }}>
|
||||
<WeaInputNumber
|
||||
min={1} value={autoAckDays} viewAttr={3}
|
||||
style={{ width: "95%" }}
|
||||
onChange={autoAckDays => this.handleChange({ autoAckDays })}
|
||||
/>
|
||||
<WeaHelpfulTip
|
||||
title={getLabel(111, "开启后,还需在计划任务中配置定时任务,执行自动确认任务;邮箱端查看工资单暂不支持确认及反馈;")}
|
||||
title={getLabel(544273, "开启后,还需在计划任务中配置定时任务,执行自动确认任务;邮箱端查看工资单暂不支持确认及反馈;")}
|
||||
style={{ marginLeft: 10 }}
|
||||
placement="top" width={200}/>
|
||||
</WeaFormItem>
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ class TemplateBaseSettings extends Component {
|
|||
}
|
||||
})}/>
|
||||
<WeaHelpfulTip
|
||||
title={getLabel(111, "开启后,还需在计划任务中配置定时任务,执行自动确认任务;邮箱端查看工资单暂不支持确认及反馈;")}
|
||||
title={getLabel(544273, "开启后,还需在计划任务中配置定时任务,执行自动确认任务;邮箱端查看工资单暂不支持确认及反馈;")}
|
||||
style={{ marginLeft: 10 }}
|
||||
placement="top" width={200}/>
|
||||
</WeaFormItem>
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ export default class Index extends Component {
|
|||
const { saveParams } = this.state;
|
||||
Modal.confirm({
|
||||
title: getLabel(131329, "信息确认"),
|
||||
content: (key === "operateTaxDeclaration" && val === "0") ? getLabel(111, "关闭之后,将无法开启,确认要保存吗?") : getLabel(543854, "确认要保存吗?"),
|
||||
content: (key === "operateTaxDeclaration" && val === "0") ? getLabel(544276, "关闭之后,将无法开启,确认要保存吗?") : getLabel(543854, "确认要保存吗?"),
|
||||
onOk: () => {
|
||||
this.setState({
|
||||
saveParams: {
|
||||
|
|
@ -362,13 +362,13 @@ export default class Index extends Component {
|
|||
</WeaFormItem>
|
||||
</WeaSearchGroup>
|
||||
}
|
||||
<WeaSearchGroup title={getLabel(111, "算税规则")} showGroup center>
|
||||
<WeaFormItem label={getLabel(111, "系统算税")} labelCol={{ span: 8 }} wrapperCol={{ span: 16 }}>
|
||||
<WeaSearchGroup title={getLabel(544293, "算税规则")} showGroup center>
|
||||
<WeaFormItem label={getLabel(544294, "系统算税")} labelCol={{ span: 8 }} wrapperCol={{ span: 16 }}>
|
||||
<WeaCheckbox display="switch" value={operateTaxDeclaration}
|
||||
disabled={!operateTaxDeclaration || operateTaxDeclaration === "0"}
|
||||
onChange={val => this.handleChange("operateTaxDeclaration", val)}/>
|
||||
</WeaFormItem>
|
||||
<WeaFormItem label={getLabel(111, "撤回申报表")} labelCol={{ span: 8 }} wrapperCol={{ span: 16 }}>
|
||||
<WeaFormItem label={getLabel(544295, "撤回申报表")} labelCol={{ span: 8 }} wrapperCol={{ span: 16 }}>
|
||||
<WeaCheckbox display="switch" value={withDrawTaxDeclaration}
|
||||
onChange={val => this.handleChange("withDrawTaxDeclaration", val)}/>
|
||||
</WeaFormItem>
|
||||
|
|
@ -380,7 +380,7 @@ export default class Index extends Component {
|
|||
</WeaFormItem>
|
||||
</WeaSearchGroup>
|
||||
<WeaSearchGroup title={getLabel(538011, "薪资核算")} showGroup center>
|
||||
<WeaFormItem label={getLabel(111, "核算人员匹配规则")} labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
|
||||
<WeaFormItem label={getLabel(544269, "核算人员匹配规则")} labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
|
||||
<WeaSelect options={matchRuleOptions} value={matchRule}
|
||||
onChange={val => this.handleChange("matchRule", val)}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -87,11 +87,11 @@ export const salaryItemFields = [
|
|||
},
|
||||
{
|
||||
key: "hideDefault",
|
||||
label: getLabel(111, "核算时隐藏"),
|
||||
label: getLabel(544274, "核算时隐藏"),
|
||||
type: "SWITCH",
|
||||
viewAttr: 2,
|
||||
tip: getLabel(111, "提示:开启后,在薪资账套中添加该项目时,默认勾选隐藏且在核算时隐藏该薪资项目,可在具体薪资账套中设置是否隐藏"),
|
||||
lanId: 111,
|
||||
tip: getLabel(544275, "提示:开启后,在薪资账套中添加该项目时,默认勾选隐藏且在核算时隐藏该薪资项目,可在具体薪资账套中设置是否隐藏"),
|
||||
lanId: 544275,
|
||||
tipLanId: 543298
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import React from "react";
|
|||
import { inject, observer } from "mobx-react";
|
||||
import { toJS } from "mobx";
|
||||
import { Button, Dropdown, Menu, message, Modal, Popover } from "antd";
|
||||
import { WeaHelpfulTip, WeaLocaleProvider, WeaNewScroll, WeaSlideModal, WeaTab, WeaTop } from "ecCom";
|
||||
import { WeaHelpfulTip, WeaLocaleProvider, WeaNewScroll, WeaSlideModal, WeaTab, WeaTools, WeaTop } from "ecCom";
|
||||
import { getSearchs, renderLoading } from "../../../util";
|
||||
import BaseForm from "./baseForm";
|
||||
import SlideModalTitle from "../../../components/slideModalTitle";
|
||||
|
|
@ -117,6 +117,7 @@ export default class Archives extends React.Component {
|
|||
};
|
||||
|
||||
getColumns = () => {
|
||||
const languageidweaver = WeaTools.ls.getJSONObj("languageidweaver");
|
||||
const { columns, salaryArchiveDelete, selectedKey } = this.state;
|
||||
const { taxAgentStore: { showOperateBtn } } = this.props;
|
||||
let tmpV = _.map(columns.filter(item => item.display === "TRUE"), item => {
|
||||
|
|
@ -132,7 +133,7 @@ export default class Archives extends React.Component {
|
|||
return tmpV.length > 0 ? [
|
||||
...tmpV, {
|
||||
title: getLabel(30585, "操作"),
|
||||
width: 150,
|
||||
width: languageidweaver == "8" ? 210 : 150,
|
||||
dataIndex: "operate",
|
||||
render: (text, record) => {
|
||||
return (
|
||||
|
|
@ -537,34 +538,34 @@ export default class Archives extends React.Component {
|
|||
dom = <div>
|
||||
{/*<div>1、新入职人员、返聘人员和个税扣缴义务人发生变更从【待减员】中减员操作的会进入【待增员】;</div>*/}
|
||||
{/*<div>2、返聘人员默认返聘前的社保福利缴纳方案、缴纳账号、缴纳组织数据,其他数据会清空;</div>*/}
|
||||
<div>1、个税扣缴义务人变更进入【待增员】的,保留所有最新版本数据;若修改了数据再增员则修改的数据作为新版本保存;</div>
|
||||
<div>2、维护好员工的社保福利档案数据后,点击【增员】,数据会进入【在缴员工】;</div>
|
||||
<div>3、若不需给该员工缴纳,可点击【删除待办】进入【停缴员工】;进入【停缴员工】后,可以点击【取消停缴】再次进入【待增员】;</div>
|
||||
<div>4、不管起始缴纳月维护到哪个月,都可以进行增员,不影响核算判断;若维护了最后缴纳月,且小于等于当前月,则增员失败;</div>
|
||||
<div>5、增员失败情况:①终止缴纳月小于等于当前月;②方案或起始缴纳月未维护;</div>
|
||||
<div>{getLabel(111, "1、个税扣缴义务人变更进入【待增员】的,保留所有最新版本数据;若修改了数据再增员则修改的数据作为新版本保存;")}</div>
|
||||
<div>{getLabel(111, "2、维护好员工的社保福利档案数据后,点击【增员】,数据会进入【在缴员工】;")}</div>
|
||||
<div>{getLabel(111, "3、若不需给该员工缴纳,可点击【删除待办】进入【停缴员工】;进入【停缴员工】后,可以点击【取消停缴】再次进入【待增员】;")}</div>
|
||||
<div>{getLabel(111, "4、不管起始缴纳月维护到哪个月,都可以进行增员,不影响核算判断;若维护了最后缴纳月,且小于等于当前月,则增员失败;")}</div>
|
||||
<div>{getLabel(111, "5、增员失败情况:①终止缴纳月小于等于当前月;②方案或起始缴纳月未维护;")}</div>
|
||||
{/* ②其他的个税扣缴义务人下的在缴员工中存在该员工,在缴员工未进入停缴员工;*/}
|
||||
</div>;
|
||||
break;
|
||||
case "fixed":
|
||||
dom = <div>
|
||||
<div>1、需缴纳社保福利的员工维护在【在缴员工】;</div>
|
||||
<div>2、可使用更新导入,调整档案数据;</div>
|
||||
<div>3、若维护了最后缴纳月且小于等于当前月,则自动进入【待减员】;</div>
|
||||
<div>4、核算人员范围为,【在缴员工】中的起始缴纳月和最后缴纳月区间包含当前月的人员;</div>
|
||||
<div>{getLabel(111, "1、需缴纳社保福利的员工维护在【在缴员工】;")}</div>
|
||||
<div>{getLabel(111, "2、可使用更新导入,调整档案数据;")}</div>
|
||||
<div>{getLabel(111, "3、若维护了最后缴纳月且小于等于当前月,则自动进入【待减员】;")}</div>
|
||||
<div>{getLabel(111, "4、核算人员范围为,【在缴员工】中的起始缴纳月和最后缴纳月区间包含当前月的人员;")}</div>
|
||||
</div>;
|
||||
break;
|
||||
case "suspend":
|
||||
dom = <div>
|
||||
{/*④某员工分权时在原个税扣缴义务人下处于【在缴员工】里但又将该员工添加到其他的个税扣缴义务人下的情况;*/}
|
||||
<div>1、数据进入【待减员】规则:①员工的人事状态属性从在职变成非在职,且在【在缴员工】里;②【在缴员工】里档案维护了缴纳终止月且小于等于当前月;③个税扣缴义务人发生调整;</div>
|
||||
<div>2、【待减员】为是否不再缴纳的待办状态,数据是从【在缴员工】中复制的,若不处理列表中的待办数据,也不影响社保福利核算;【待减员】维护的数据和【在缴员工】数据是同步的;</div>
|
||||
<div>3、点击【减员】前先维护最后缴纳月,所有有起始缴纳月的福利项的最后缴纳月都小于等于当前月且无未归档的核算数据的档案才能减员成功,减员成功后数据进入【停缴员工】;</div>
|
||||
<div>{getLabel(111, "1、数据进入【待减员】规则:①员工的人事状态属性从在职变成非在职,且在【在缴员工】里;②【在缴员工】里档案维护了缴纳终止月且小于等于当前月;③个税扣缴义务人发生调整;")}</div>
|
||||
<div>{getLabel(111, "2、【待减员】为是否不再缴纳的待办状态,数据是从【在缴员工】中复制的,若不处理列表中的待办数据,也不影响社保福利核算;【待减员】维护的数据和【在缴员工】数据是同步的;")}</div>
|
||||
<div>{getLabel(111, "3、点击【减员】前先维护最后缴纳月,所有有起始缴纳月的福利项的最后缴纳月都小于等于当前月且无未归档的核算数据的档案才能减员成功,减员成功后数据进入【停缴员工】;")}</div>
|
||||
{/*<div>4、数据进入【待减员】规则的第四种情况下,若还需要在当前个税扣缴义务人下进行缴纳的话,当前该员工的【待减员】数据进行【删除待办】操作即可;若不在该个税扣缴义务人下继续缴纳,维护好最后缴纳月后进行【减员】操作,员工进入【停缴员工】;</div>*/}
|
||||
</div>;
|
||||
break;
|
||||
default:
|
||||
dom = <div>
|
||||
<div>1、不需要缴纳社保福利的员工,保存在【停缴员工】;</div>
|
||||
<div>{getLabel(111, "1、不需要缴纳社保福利的员工,保存在【停缴员工】;")}</div>
|
||||
{/*<div>2、【停缴员工】点击取消停缴,数据会回退到上次的位置(从【待减员】减员到停缴员工的,点击停缴返回到【在缴员工】,不返回到【待减员】);</div>*/}
|
||||
{/*<div>3、若员工的社保福利从一个个税扣缴义务人下转到另一个个税扣缴义务人下去缴纳,则在转后的个税扣缴义务人的【待增员】中进行增员操作成功后,员工进入待【在缴员工】,而在原个税扣缴义务人下的【停缴员工】中,该员工数据将会被删除;是否开启分权员工的档案数据都只保存一份;</div>*/}
|
||||
</div>;
|
||||
|
|
@ -667,8 +668,11 @@ export default class Archives extends React.Component {
|
|||
] : selectedKey === "pending" ? [
|
||||
<WeaHelpfulTip
|
||||
width={300}
|
||||
title={<div>提示:缴纳月份区间包含起始缴纳月,不包含最后缴纳月; 若员工离职时还未增员进入在缴员工,则数据会自动清除,
|
||||
因此若确认缴纳,请及时维护档案数据并增员操作。若清除后还需缴纳,需先在个税扣缴义务人菜单将员工按离职状态添加回来,会重新出现在待增员。</div>}
|
||||
title={
|
||||
<div>
|
||||
{getLabel(111, "提示:缴纳月份区间包含起始缴纳月,不包含最后缴纳月; 若员工离职时还未增员进入在缴员工,则数据会自动清除,因此若确认缴纳,请及时维护档案数据并增员操作。若清除后还需缴纳,需先在个税扣缴义务人菜单将员工按离职状态添加回来,会重新出现在待增员。")}
|
||||
</div>
|
||||
}
|
||||
placement="topLeft"
|
||||
/>,
|
||||
<Dropdown.Button
|
||||
|
|
@ -723,7 +727,8 @@ export default class Archives extends React.Component {
|
|||
title={<CancelHelpfulDiv/>}
|
||||
placement="topLeft"
|
||||
/>,
|
||||
<Button type="primary" onClick={() => this.cancelStopPayment(selectedRowKeys)}>{getLabel(543190, "批量取消停缴")}</Button>,
|
||||
<Button type="primary"
|
||||
onClick={() => this.cancelStopPayment(selectedRowKeys)}>{getLabel(543190, "批量取消停缴")}</Button>,
|
||||
<Dropdown.Button onClick={handleButtonClick} overlay={
|
||||
<Menu onClick={handleMenuClick}>
|
||||
<Menu.Item key="1">{getLabel(512938, "导出选中")}</Menu.Item>
|
||||
|
|
@ -828,14 +833,18 @@ export default class Archives extends React.Component {
|
|||
subtitle={getLabel(543191, "员工福利档案")}
|
||||
tabs={[
|
||||
{ title: getLabel(82751, "基础设置"), key: 0 }, { title: getLabel(538967, "社保"), key: 1 },
|
||||
{ title: getLabel(538969, "公积金"), key: 2 }, { title: getLabel(542717, "企业年金及其他福利"), key: 3 }]
|
||||
{ title: getLabel(538969, "公积金"), key: 2 }, {
|
||||
title: getLabel(542717, "企业年金及其他福利"),
|
||||
key: 3
|
||||
}]
|
||||
}
|
||||
editable={false}
|
||||
selectedTab={selectedTab}
|
||||
showOperateBtn={showOperateBtn}
|
||||
customOperate={
|
||||
(showOperateBtn && selectedKey !== "stop" && selectedTab != 0) ?
|
||||
[<Button type="primary" onClick={() => this.handleEditSlideSave()}>{getLabel(537558, "保存")}</Button>] : []
|
||||
[<Button type="primary"
|
||||
onClick={() => this.handleEditSlideSave()}>{getLabel(537558, "保存")}</Button>] : []
|
||||
}
|
||||
subItemChange={selectedTab => this.setState({ selectedTab })}
|
||||
/>
|
||||
|
|
@ -913,16 +922,16 @@ export default class Archives extends React.Component {
|
|||
|
||||
const HelpfulDiv = () => {
|
||||
return <div className="helpWrapper">
|
||||
<span>1、缴纳月份区间包含起始缴纳月,不包含最后缴纳月;</span>
|
||||
<span>2、维护的所有的最后缴纳月都大于当前月,则该待办数据自动清除,不显示在待减员列表;</span>
|
||||
<span>3、减员失败情况:①有起始缴纳月却未维护最后缴纳月;②员工存在未归档的核算数据;</span>
|
||||
<span>{getLabel(111, "1、缴纳月份区间包含起始缴纳月,不包含最后缴纳月;")}</span>
|
||||
<span>{getLabel(111, "2、维护的所有的最后缴纳月都大于当前月,则该待办数据自动清除,不显示在待减员列表;")}</span>
|
||||
<span>{getLabel(111, "3、减员失败情况:①有起始缴纳月却未维护最后缴纳月;②员工存在未归档的核算数据;")}</span>
|
||||
</div>;
|
||||
};
|
||||
|
||||
const CancelHelpfulDiv = () => {
|
||||
return <div className="helpWrapper">
|
||||
<span>1、缴纳月份区间包含起始缴纳月,不包含最后缴纳月;</span>
|
||||
<span>2、若员工当前不在停缴档案的个税扣缴义务人下,则不可取消停缴;</span>
|
||||
<span>3、若员工当前在其他个税扣缴义务人下正在缴纳,也不可取消停缴;</span>
|
||||
<span>{getLabel(111, "1、缴纳月份区间包含起始缴纳月,不包含最后缴纳月;")}</span>
|
||||
<span>{getLabel(111, "2、若员工当前不在停缴档案的个税扣缴义务人下,则不可取消停缴;")}</span>
|
||||
<span>{getLabel(111, "3、若员工当前在其他个税扣缴义务人下正在缴纳,也不可取消停缴;")}</span>
|
||||
</div>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -293,9 +293,9 @@ export default class Programme extends React.Component {
|
|||
|
||||
const renderCustomRightContent = () => {
|
||||
let tipList = [
|
||||
"1、可以为社保、公积金、企业年金及其他福利新增自定义的福利项,如:残疾保险等",
|
||||
"2、新增自定义福利默认启用,社保福利方案中的自定义福利项均未开启缴纳,当前页面的自定义福利项才可以停用;停用后再新增方案时没有该福利项",
|
||||
"3、自定义福利若要缴纳,需要在方案里填写缴纳相关数据"
|
||||
getLabel(111, "1、可以为社保、公积金、企业年金及其他福利新增自定义的福利项,如:残疾保险等"),
|
||||
getLabel(111, "2、新增自定义福利默认启用,社保福利方案中的自定义福利项均未开启缴纳,当前页面的自定义福利项才可以停用;停用后再新增方案时没有该福利项"),
|
||||
getLabel(111, "3、自定义福利若要缴纳,需要在方案里填写缴纳相关数据")
|
||||
];
|
||||
return <TipLabel tipList={tipList}/>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ export default class PersonalScope extends Component {
|
|||
const { taxAgentRangeExtDelete } = this.props.taxAgentStore;
|
||||
const { pageObj } = this.state;
|
||||
message.destroy();
|
||||
message.loading(getLabel(111, "正在删除中..."), 0);
|
||||
message.loading(getLabel(529063, "正在删除中..."), 0);
|
||||
taxAgentRangeExtDelete(ids).then(({ status, errormsg }) => {
|
||||
message.destroy();
|
||||
resolve();
|
||||
|
|
@ -172,7 +172,7 @@ export default class PersonalScope extends Component {
|
|||
const { taxAgentRangeDelete } = this.props.taxAgentStore;
|
||||
const { pageObj } = this.state;
|
||||
message.destroy();
|
||||
message.loading(getLabel(111, "正在删除中..."), 0);
|
||||
message.loading(getLabel(529063, "正在删除中..."), 0);
|
||||
taxAgentRangeDelete(ids).then(({ status, errormsg }) => {
|
||||
message.destroy();
|
||||
resolve();
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ export default class SlideTaxagentUser extends React.Component {
|
|||
[
|
||||
{ title: getLabel(124810, "人员范围"), viewcondition: "1" },
|
||||
{ title: getLabel(543489, "从范围中排除"), viewcondition: "0" },
|
||||
{ title: getLabel(111, "非系统人员范围"), viewcondition: "2" }
|
||||
{ title: getLabel(544292, "非系统人员范围"), viewcondition: "2" }
|
||||
]
|
||||
}
|
||||
keyParam="viewcondition" selectedKey={includeType}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
import { action, observable, toJS } from "mobx";
|
||||
import { message } from "antd";
|
||||
import { WeaForm, WeaTableNew } from "comsMobx";
|
||||
import { WeaLocaleProvider } from "ecCom";
|
||||
import { removePropertyCondition } from "../util/response";
|
||||
|
||||
import * as API from "../apis/welfareArchive"; // 引入API接口文件
|
||||
|
||||
const { TableStore } = WeaTableNew;
|
||||
const getLabel = WeaLocaleProvider.getLabel;
|
||||
|
||||
export class ArchivesStore {
|
||||
@observable tableStore = new TableStore(
|
||||
|
|
@ -284,11 +286,11 @@ export class ArchivesStore {
|
|||
return new Promise((resolve, reject) => {
|
||||
API.save({ welfareType, baseForm, paymentForm }).then(res => {
|
||||
if (res.status) {
|
||||
message.success("保存成功", 1);
|
||||
message.success(getLabel(22619, "保存成功"), 1);
|
||||
resolve();
|
||||
// this.getTableDatas()
|
||||
} else {
|
||||
message.error(res.errormsg || "保存失败", 1);
|
||||
message.error(res.errormsg || getLabel(22620, "保存失败"), 1);
|
||||
reject();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,10 +1,12 @@
|
|||
import { action, observable } from "mobx";
|
||||
import { message } from "antd";
|
||||
import { WeaForm, WeaTableNew } from "comsMobx";
|
||||
import { WeaLocaleProvider } from "ecCom";
|
||||
|
||||
import * as API from "../apis/calculate";
|
||||
|
||||
const { TableStore } = WeaTableNew;
|
||||
const getLabel = WeaLocaleProvider.getLabel;
|
||||
|
||||
export class calculateStore {
|
||||
@observable tableStore = new TableStore(); // new table
|
||||
|
|
@ -458,10 +460,10 @@ export class calculateStore {
|
|||
return new Promise((resolve, reject) => {
|
||||
API.reAccounting({ salaryAcctRecordId }).then(res => {
|
||||
if (res.status) {
|
||||
message.success("保存成功");
|
||||
message.success(getLabel(22619, "保存成功"));
|
||||
resolve();
|
||||
} else {
|
||||
message.error(res.errormsg || "保存失败");
|
||||
message.error(res.errormsg || getLabel(22620, "保存失败"));
|
||||
reject();
|
||||
}
|
||||
});
|
||||
|
|
@ -473,10 +475,10 @@ export class calculateStore {
|
|||
return new Promise((resolve, reject) => {
|
||||
API.backCalculate({ salaryAcctRecordId }).then(res => {
|
||||
if (res.status) {
|
||||
message.success("回算成功");
|
||||
message.success(getLabel(111, "回算成功"));
|
||||
resolve();
|
||||
} else {
|
||||
message.error(res.errormsg || "回算失败");
|
||||
message.error(res.errormsg || getLabel(111, "回算失败"));
|
||||
reject();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -193,11 +193,11 @@ export class ProgrammeStore {
|
|||
API.createScheme(params).then(res => {
|
||||
if (res.status) {
|
||||
resolve(res);
|
||||
message.success("新建成功");
|
||||
message.success(getLabel(111, "新建成功"));
|
||||
this.getTableDatas(this.selectedKey);
|
||||
} else {
|
||||
reject("新建失败");
|
||||
message.error(res.errormsg || "新建失败");
|
||||
message.error(res.errormsg || getLabel(111, "新建失败"));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
@ -213,11 +213,11 @@ export class ProgrammeStore {
|
|||
API.updateScheme(params).then(res => {
|
||||
if (res.status) {
|
||||
resolve(res);
|
||||
message.success("更新成功");
|
||||
message.success(getLabel(31439, "更新成功"));
|
||||
this.getTableDatas(this.selectedKey);
|
||||
} else {
|
||||
reject("更新失败");
|
||||
message.error(res.errormsg || "更新失败");
|
||||
reject(getLabel(31825, "更新失败"));
|
||||
message.error(res.errormsg || getLabel(31825, "更新失败"));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
@ -228,12 +228,12 @@ export class ProgrammeStore {
|
|||
return new Promise((resolve, reject) => {
|
||||
API.copyScheme(params).then(res => {
|
||||
if (res.status) {
|
||||
resolve("复制成功");
|
||||
message.success("复制成功");
|
||||
resolve(getLabel(125245, "复制成功"));
|
||||
message.success(getLabel(125245, "复制成功"));
|
||||
this.getTableDatas(this.selectedKey);
|
||||
} else {
|
||||
reject(res.errormsg || "复制失败");
|
||||
message.error(res.errormsg || "复制失败");
|
||||
message.error(res.errormsg || getLabel(517265, "复制失败"));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
@ -244,10 +244,10 @@ export class ProgrammeStore {
|
|||
API.deleteScheme(params).then(res => {
|
||||
this.deleteLoading = false;
|
||||
if (res.status) {
|
||||
message.success("刪除成功");
|
||||
message.success(getLabel(543721, "刪除成功"));
|
||||
this.getTableDatas(this.selectedKey);
|
||||
} else {
|
||||
message.error(res.errormsg || "刪除失败");
|
||||
message.error(res.errormsg || getLabel(543722, "刪除失败"));
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ export const getSearchs = (form, condition, col, isCenter, onChange = () => void
|
|||
items.push({
|
||||
com: (
|
||||
<WeaFormItem
|
||||
label={`${fields.label}`} // label 标签的文本
|
||||
label={getLabel(fields.lanId || "", fields.label)} // label 标签的文本
|
||||
labelCol={{ span: `${fields.labelcol}` }} // label标签占一行比例
|
||||
wrapperCol={{ span: `${fields.fieldcol}` }} // 右侧控件占一行比例
|
||||
error={form.getError(fields)} // 错误提示: 处理表单中有必填项,保存的校验
|
||||
|
|
|
|||
Loading…
Reference in New Issue