|
|
|
@ -29,6 +29,7 @@ import RtpPendingAnswerFromAmazonDetail from './RptPendingAnswerFromAmazonDetail |
|
|
|
|
import { AiFillFileUnknown, AiTwotoneFileExcel } from 'react-icons/ai' |
|
|
|
|
import DTO2096PerfilesParecidos from '../../../DTO/DTO2096PerfilesParecidos' |
|
|
|
|
import FileManager from '../../../../../Utils/FileManager/FileManager' |
|
|
|
|
import { MFileManager } from '../../../../../Utils/MFileManager/MFileManager' |
|
|
|
|
export interface IRptPendingAnswerFromAmazonProps {} |
|
|
|
|
|
|
|
|
|
export default function RptPendingAnswerFromAmazon( |
|
|
|
@ -175,7 +176,7 @@ export default function RptPendingAnswerFromAmazon( |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const relacionaIDArchivoRespuestaConFactura = (idFile : number) => { |
|
|
|
|
/* const relacionaIDArchivoRespuestaConFactura = (idFile : number) => { |
|
|
|
|
DSAmazon.ArchivoRespuestaAmazon(IDFactura, idFile) |
|
|
|
|
.then((response) => { |
|
|
|
|
}) |
|
|
|
@ -186,7 +187,7 @@ export default function RptPendingAnswerFromAmazon( |
|
|
|
|
setShowMsg(true) |
|
|
|
|
return |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} */ |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|
<div> |
|
|
|
@ -316,7 +317,9 @@ export default function RptPendingAnswerFromAmazon( |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<div |
|
|
|
|
onClick={() => { setShowModalAnswerFile(!ShowModalAnswerFile) }} |
|
|
|
|
onClick={() => {
|
|
|
|
|
setIDFactura(MasterData.id) |
|
|
|
|
setShowModalAnswerFile(!ShowModalAnswerFile) }} |
|
|
|
|
title="Archivo de respuesta" |
|
|
|
|
> |
|
|
|
|
<IconContext.Provider |
|
|
|
@ -688,7 +691,7 @@ export default function RptPendingAnswerFromAmazon( |
|
|
|
|
dialogClassName={'modal-50w'} |
|
|
|
|
> |
|
|
|
|
<Modal.Body> |
|
|
|
|
<div style={{ height: '180px' }}> |
|
|
|
|
<div style={{ height: '330px' }}> |
|
|
|
|
<Row style={{ paddingTop: '15px' }}> |
|
|
|
|
<Col xs={12}> |
|
|
|
|
<Alert key={'danger'} variant={'danger'} style={{textAlign:'center'}}> |
|
|
|
@ -699,7 +702,7 @@ export default function RptPendingAnswerFromAmazon( |
|
|
|
|
<Row style={{ paddingTop: '15px' }}> |
|
|
|
|
<Col></Col> |
|
|
|
|
<Col xs={10} style={{ textAlign: 'center' }}> |
|
|
|
|
<FileManager |
|
|
|
|
{/* <FileManager |
|
|
|
|
IDUser={UserId} |
|
|
|
|
width={650} |
|
|
|
|
height={100} |
|
|
|
@ -710,7 +713,8 @@ export default function RptPendingAnswerFromAmazon( |
|
|
|
|
FileType={['xlsx']} |
|
|
|
|
Leyenda={`Seleccione el archivo de respuesta de Amazon, arrastrelo hasta aqui y sueltelo para subirlo al servidor...`} |
|
|
|
|
onAppendFM={function (idFile: number): void { relacionaIDArchivoRespuestaConFactura(idFile)}} |
|
|
|
|
/> |
|
|
|
|
/> */} |
|
|
|
|
<MFileManager IDTrafico={IDFactura} Proceso={IDProcess} showPreview={3} canEdit={true} Leyenda='Sube archivos de respuesta de Amazon'/> |
|
|
|
|
</Col> |
|
|
|
|
<Col></Col> |
|
|
|
|
</Row> |
|
|
|
|