|
|
|
|
@ -249,9 +249,6 @@ const getAuditRecordList = async (id: number) => {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const formatAuditAction = (row: StockOutApproveRecordVO) => {
|
|
|
|
|
if (row.toStatus === 10) return t('ErpStock.Out.submitAudit')
|
|
|
|
|
if (row.toStatus === 20) return t('ErpStock.Out.auditApprove')
|
|
|
|
|
if (row.toStatus === 1) return t('ErpStock.Out.auditReject')
|
|
|
|
|
if (row.actionType === 'SUBMIT') return t('ErpStock.Out.submitAudit')
|
|
|
|
|
if (row.actionType === 'AUDIT') return t('ErpStock.Out.auditApprove')
|
|
|
|
|
return row.actionType || '-'
|
|
|
|
|
|