薪资账套重构

This commit is contained in:
黎永顺 2022-12-08 17:18:56 +08:00
parent 1d64220c7c
commit b3532b6bd0
2 changed files with 29 additions and 3 deletions

View File

@ -0,0 +1,19 @@
/*
* Author: 黎永顺
* name: 新增编辑薪资账套
* Description:
* Date: 2022/12/8
*/
import React, { Component } from "react";
class LedgerSlide extends Component {
render() {
return (
<div>
</div>
);
}
}
export default LedgerSlide;

View File

@ -17,16 +17,23 @@ class Index extends Component {
super(props);
this.state = {
searchVal: "",
doSearch: false
doSearch: false,
slideparams: {
visible: false,
title: "新建账套"
}
};
}
render() {
const { searchVal, doSearch } = this.state;
const { searchVal, doSearch, slideparams } = this.state;
const { taxAgentStore } = this.props;
const { showOperateBtn } = taxAgentStore;
const btns = [
<Button type="primary">新建</Button>,
<Button
type="primary"
onClick={() => this.setState({ slideparams: { ...slideparams, visible: true } })}
>新建</Button>,
<WeaInputSearch
value={searchVal} placeholder="请输入薪资账套名称"
onChange={searchVal => this.setState({ searchVal })}