update
This commit is contained in:
parent
baf062ece3
commit
c426f612e5
@ -304,7 +304,6 @@ const ReportTable: React.FC<{ currentUser?: CurrentUser }> = (props) => {
|
|||||||
OPRATE_DATE: moment().format('YYYY-MM-DD HH:mm:ss')
|
OPRATE_DATE: moment().format('YYYY-MM-DD HH:mm:ss')
|
||||||
}
|
}
|
||||||
const data = await handleSynchroBANKACCOUNTVERIFY(req)
|
const data = await handleSynchroBANKACCOUNTVERIFY(req)
|
||||||
console.log('data', data);
|
|
||||||
if (data.Result_Code === 100) {
|
if (data.Result_Code === 100) {
|
||||||
message.success(data.Result_Desc)
|
message.success(data.Result_Desc)
|
||||||
actionRef.current?.reload()
|
actionRef.current?.reload()
|
||||||
@ -324,11 +323,9 @@ const ReportTable: React.FC<{ currentUser?: CurrentUser }> = (props) => {
|
|||||||
color:
|
color:
|
||||||
record?.ServerpartShop_Name && !record?.ServerpartShop_ID ? '#1890ff' : record?.Show_Warning ? 'red' : '', cursor: 'pointer'
|
record?.ServerpartShop_Name && !record?.ServerpartShop_ID ? '#1890ff' : record?.Show_Warning ? 'red' : '', cursor: 'pointer'
|
||||||
}} onClick={async () => {
|
}} onClick={async () => {
|
||||||
console.log('record', record)
|
|
||||||
if (record?.ServerpartShop_Name && !record?.ServerpartShop_ID) {
|
if (record?.ServerpartShop_Name && !record?.ServerpartShop_ID) {
|
||||||
if (record?.BusinessProject_ID) {
|
if (record?.BusinessProject_ID) {
|
||||||
const data = await getProjectDetail(record?.BusinessProject_ID)
|
const data = await getProjectDetail(record?.BusinessProject_ID)
|
||||||
console.log('data', data)
|
|
||||||
setCurrentRow(data);
|
setCurrentRow(data);
|
||||||
setShowNewDetail(true)
|
setShowNewDetail(true)
|
||||||
} else {
|
} else {
|
||||||
@ -459,8 +456,6 @@ const ReportTable: React.FC<{ currentUser?: CurrentUser }> = (props) => {
|
|||||||
(record?.ServerpartShop_Name && !record?.ServerpartShop_ID) ?
|
(record?.ServerpartShop_Name && !record?.ServerpartShop_ID) ?
|
||||||
<span style={{ color: '#1890ff', cursor: 'pointer' }}
|
<span style={{ color: '#1890ff', cursor: 'pointer' }}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
console.log('record', record);
|
|
||||||
console.log('bigSearchTime', bigSearchTime);
|
|
||||||
// setCurrentRow(record)
|
// setCurrentRow(record)
|
||||||
// setFlowDrawer(true)
|
// setFlowDrawer(true)
|
||||||
const res = JSON.parse(JSON.stringify(record))
|
const res = JSON.parse(JSON.stringify(record))
|
||||||
@ -512,13 +507,10 @@ const ReportTable: React.FC<{ currentUser?: CurrentUser }> = (props) => {
|
|||||||
const num = record?.Ticket_Price - record?.MobilePay_Price
|
const num = record?.Ticket_Price - record?.MobilePay_Price
|
||||||
return <span style={{ color: num > 0 ? '#60cf60' : num < 0 ? 'red' : '', cursor: record?.index && record?.index.indexOf('.') !== -1 && record?.Ticket_Price - record?.MobilePay_Price !== 0 ? 'pointer' : '' }} onClick={async () => {
|
return <span style={{ color: num > 0 ? '#60cf60' : num < 0 ? 'red' : '', cursor: record?.index && record?.index.indexOf('.') !== -1 && record?.Ticket_Price - record?.MobilePay_Price !== 0 ? 'pointer' : '' }} onClick={async () => {
|
||||||
if (record?.index && record?.index.indexOf('.') !== -1 && record?.Ticket_Price - record?.MobilePay_Price !== 0) {
|
if (record?.index && record?.index.indexOf('.') !== -1 && record?.Ticket_Price - record?.MobilePay_Price !== 0) {
|
||||||
console.log('record', record)
|
|
||||||
setCurrentRow(record)
|
setCurrentRow(record)
|
||||||
setDifferenceDrawer(true)
|
setDifferenceDrawer(true)
|
||||||
// console.log('record?.BusinessProject_ID', record?.BusinessProject_ID)
|
|
||||||
// const data = await getProjectDetail(record?.BusinessProject_ID)
|
// const data = await getProjectDetail(record?.BusinessProject_ID)
|
||||||
// setProjectDetail(data)
|
// setProjectDetail(data)
|
||||||
// console.log('data', data)
|
|
||||||
}
|
}
|
||||||
}}>
|
}}>
|
||||||
{numeral(record?.Ticket_Price - record?.MobilePay_Price).format('0,0.00')}
|
{numeral(record?.Ticket_Price - record?.MobilePay_Price).format('0,0.00')}
|
||||||
@ -886,7 +878,6 @@ const ReportTable: React.FC<{ currentUser?: CurrentUser }> = (props) => {
|
|||||||
const pageLoading = document.getElementsByClassName(`pageLoading`)[0]
|
const pageLoading = document.getElementsByClassName(`pageLoading`)[0]
|
||||||
|
|
||||||
const row = main.getElementsByClassName(`${name}`)[0]
|
const row = main.getElementsByClassName(`${name}`)[0]
|
||||||
console.log('row', row);
|
|
||||||
|
|
||||||
const loadingBox = document.createElement('tr');
|
const loadingBox = document.createElement('tr');
|
||||||
const span = document.createElement('span');
|
const span = document.createElement('span');
|
||||||
@ -923,7 +914,6 @@ const ReportTable: React.FC<{ currentUser?: CurrentUser }> = (props) => {
|
|||||||
Keyword: searchText || ''
|
Keyword: searchText || ''
|
||||||
}
|
}
|
||||||
const data = await handleGetRoyaltyReport(req)
|
const data = await handleGetRoyaltyReport(req)
|
||||||
console.log('time', obj?.Statistics_Date);
|
|
||||||
const res: any = data.data
|
const res: any = data.data
|
||||||
if (res && res.length > 0) {
|
if (res && res.length > 0) {
|
||||||
result.forEach((item: any) => {
|
result.forEach((item: any) => {
|
||||||
@ -932,7 +922,6 @@ const ReportTable: React.FC<{ currentUser?: CurrentUser }> = (props) => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
console.log('result', result);
|
|
||||||
setReqBigDetailList(result)
|
setReqBigDetailList(result)
|
||||||
}
|
}
|
||||||
setBigExportLoadingBtn(false)
|
setBigExportLoadingBtn(false)
|
||||||
|
|||||||
@ -75,7 +75,7 @@ const MonthTopTable = ({ compareCurrent, newData, reload, headerTitle }: DetailP
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
width: 100,
|
width: 100,
|
||||||
render: (_, record) => {
|
render: (_, record) => {
|
||||||
return record?.GUARANTEERATIO ? `${record?.GUARANTEERATIO }%` : ''
|
return record?.GUARANTEERATIO ? `${record?.GUARANTEERATIO}%` : ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -2818,7 +2818,7 @@ const YearExamineDetailTable = ({ parentRow, currentApprovalstate, onRef, setIsS
|
|||||||
{
|
{
|
||||||
// parentRow?.PROJECT_ENDDATE && parentRow?.ENDDATE && moment(parentRow?.PROJECT_ENDDATE).format('YYYY-MM-DD') === moment(parentRow?.ENDDATE).format('YYYY-MM-DD') && parentRow?.BUSINESSAPPROVAL_ID > 0 ?
|
// parentRow?.PROJECT_ENDDATE && parentRow?.ENDDATE && moment(parentRow?.PROJECT_ENDDATE).format('YYYY-MM-DD') === moment(parentRow?.ENDDATE).format('YYYY-MM-DD') && parentRow?.BUSINESSAPPROVAL_ID > 0 ?
|
||||||
parentRow?.ProjectExit ?
|
parentRow?.ProjectExit ?
|
||||||
<HistoricalProjects parentRow={parentRow} pageType={'search'} /> : ""
|
<HistoricalProjects parentRow={parentRow} pageType={currentApprovalstate > 0 && parentRow?.PEND_STATE === 0 && parentRow?.APPLY_PROCCESS ? 'edit' : 'search'} /> : ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -58,7 +58,7 @@ const errorHandler = (error: { response: Response }): Response => {
|
|||||||
const request = extend({
|
const request = extend({
|
||||||
errorHandler, // default error handling
|
errorHandler, // default error handling
|
||||||
// prefix: '/EShangApiMain',// 开发
|
// prefix: '/EShangApiMain',// 开发
|
||||||
prefix: 'https://admin.es.eshangtech.com/platform', // 正式
|
prefix: 'https://java.es.eshangtech.com', // 正式
|
||||||
// prefix: 'http://10.104.1.175:8070/platform', // 正式
|
// prefix: 'http://10.104.1.175:8070/platform', // 正式
|
||||||
headers: {
|
headers: {
|
||||||
token: '',
|
token: '',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user