release/2.9.10.2312.02

This commit is contained in:
黎永顺 2024-01-10 14:43:07 +08:00
parent b7a3fcccfd
commit 15bc21ecd5
3 changed files with 14 additions and 10 deletions

View File

@ -25,10 +25,10 @@ class Index extends Component {
<div className="bill-info-header">
<div className="title">{theme || ""}</div>
<div className="time">{moment().format("YYYY-MM-DD HH:mm:ss")}</div>
{
background &&
<div className="img"><img src={`${background}`} alt="logo"/></div>
}
{/*{*/}
{/* background &&*/}
{/* <div className="img"><img src={`${background}`} alt="logo"/></div>*/}
{/*}*/}
</div>
{
!onlyOneGrup && tipPosi === "1" && tip &&

View File

@ -17,10 +17,10 @@ class Content extends Component {
<div className="header-salary-date-time">{moment(sendTime).format("YYYY-MM-DD HH:mm:ss")}</div>
</div>
<div className="body">
{
background &&
<div className="comp-img"><img src={`${background}`} alt="logo"/></div>
}
{/*{*/}
{/* background &&*/}
{/* <div className="comp-img"><img src={`${background}`} alt="logo"/></div>*/}
{/*}*/}
{
!onlyOneGrup && tipPosi.toString() === "1" && tip &&
<div className="corporate-culture-text" title={tip}>{tip}</div>

View File

@ -48,7 +48,11 @@ class SalaryItemForm extends Component {
return { ...item, display: dataType === "number" };
case "width":
case "sortedIndex":
return { ...item, label: getLabel(item.lanId, item.label) };
return {
...item,
label: getLabel(item.lanId, item.label),
display: ((!isLedger && key === "width") || key === "sortedIndex")
};
case "useInEmployeeSalary":
return {
...item,
@ -169,7 +173,7 @@ class SalaryItemForm extends Component {
<WeaInputNumber value={value} viewAttr={viewAttr} precision={0}
min={key === "width" ? 0 : -99999}
onChange={v => this.handleChangeSalaryFiledItems(key, v)}/>
{key === "width" &&
{key === "width" && display &&
<span style={{ paddingLeft: 10, position: "absolute", marginTop: 4 }}>px</span>}
</React.Fragment>
</WeaFormItem> : null