This commit is contained in:
wyw 2026-07-27 15:50:04 +08:00
parent 9ab5ae470e
commit a98d07021b

View File

@ -64,7 +64,6 @@ class SE013ShowPrint extends React.Component {
let canSign = this.props.data.tableKey == "1" && ret.Nav_TrainUserList.find(it => it.USER_ID == this.props.login.user.ID) ? true : false let canSign = this.props.data.tableKey == "1" && ret.Nav_TrainUserList.find(it => it.USER_ID == this.props.login.user.ID) ? true : false
let overTimeSign = ret.STATUS == 3 && ret.Nav_TrainUserList.find(it => it.USER_ID == this.props.login.user.ID && it.IS_LEAVE === 0) && this.props.data.tableKey == "1" ? true : false let overTimeSign = ret.STATUS == 3 && ret.Nav_TrainUserList.find(it => it.USER_ID == this.props.login.user.ID && it.IS_LEAVE === 0) && this.props.data.tableKey == "1" ? true : false
var leavel0_Show = '' var leavel0_Show = ''
debugger
if (ret.STATUS >= 2) { if (ret.STATUS >= 2) {
leavel0_Show = '超期未处理' leavel0_Show = '超期未处理'
} else if ((new Date(ret.TRAIN_START_TIME)).getTime() >= (new Date()).getTime()) { } else if ((new Date(ret.TRAIN_START_TIME)).getTime() >= (new Date()).getTime()) {
@ -282,7 +281,7 @@ class SE013ShowPrint extends React.Component {
</tr> </tr>
<tr> <tr>
<td colSpan={4} rowSpan={1} className={styles.fontBold}>序号</td> <td colSpan={4} rowSpan={1} className={styles.fontBold}>序号</td>
<td colSpan={4} rowSpan={1} className={styles.fontBold}>部门/车间</td> <td colSpan={4} rowSpan={1} className={styles.fontBold}>组织名称</td>
<td colSpan={4} rowSpan={1} className={styles.fontBold}>工号</td> <td colSpan={4} rowSpan={1} className={styles.fontBold}>工号</td>
<td colSpan={4} rowSpan={1} className={styles.fontBold}>姓名</td> <td colSpan={4} rowSpan={1} className={styles.fontBold}>姓名</td>
<td colSpan={4} rowSpan={1} className={styles.fontBold}>岗位</td> <td colSpan={4} rowSpan={1} className={styles.fontBold}>岗位</td>
@ -290,7 +289,7 @@ class SE013ShowPrint extends React.Component {
</tr> </tr>
{ {
data.Nav_TrainUserList.map((item, index) => { data.Nav_TrainUserList.map((item, index) => {
return <tr > return <tr>
<td colSpan={4} rowSpan={1}>{index + 1}</td> <td colSpan={4} rowSpan={1}>{index + 1}</td>
<td colSpan={4} rowSpan={1}>{item.DEPARTMENT_NAME}</td> <td colSpan={4} rowSpan={1}>{item.DEPARTMENT_NAME}</td>
<td colSpan={4} rowSpan={1}>{item.Nav_User.CODE}</td> <td colSpan={4} rowSpan={1}>{item.Nav_User.CODE}</td>