= (props) => {
formData.append('TableType', '1401');
formData.append('TableId', data.Result_Data.NOTICEINFO_ID.toString());
const success = await uploadPicture(formData)
+ // const success = await uploadAHYDPicture(formData)
console.log('success', success);
}
if (data.Result_Code === 100) {
diff --git a/src/pages/reports/ConfirmationDifference/index.tsx b/src/pages/reports/ConfirmationDifference/index.tsx
index f202623..7385d07 100644
--- a/src/pages/reports/ConfirmationDifference/index.tsx
+++ b/src/pages/reports/ConfirmationDifference/index.tsx
@@ -1310,16 +1310,16 @@ const revenueConfirmationDifference: React.FC<{ currentUser: CurrentUser }> = (p
console.log('params', params);
setSearchParams(params)
- let SETTLEMENT_MODESSTR: string = ''
- if (params.SETTLEMENT_MODES && params.SETTLEMENT_MODES.length > 0) {
- params.SETTLEMENT_MODES.forEach((item: any) => {
- if (SETTLEMENT_MODESSTR) {
- SETTLEMENT_MODESSTR += `,${item}`
- } else {
- SETTLEMENT_MODESSTR = item
- }
- })
- }
+ // let SETTLEMENT_MODESSTR: string = ''
+ // if (params.SETTLEMENT_MODES && params.SETTLEMENT_MODES.length > 0) {
+ // params.SETTLEMENT_MODES.forEach((item: any) => {
+ // if (SETTLEMENT_MODESSTR) {
+ // SETTLEMENT_MODESSTR += `,${item}`
+ // } else {
+ // SETTLEMENT_MODESSTR = item
+ // }
+ // })
+ // }
// 是否只选择了一个服务区
let isOneServerPart: boolean = false
@@ -1340,7 +1340,7 @@ const revenueConfirmationDifference: React.FC<{ currentUser: CurrentUser }> = (p
const req = {
ServerpartIds: selectedId,
- SETTLEMENT_MODES: SETTLEMENT_MODESSTR || '',
+ SETTLEMENT_MODES: params?.SettlementModes && params?.SettlementModes.length > 0 ? params?.SettlementModes.toString() : "",
startDate: params.MonthDate ? moment(params.MonthDate).format('YYYYMM') : '',
endDate: params.MonthDate ? moment(params.MonthDate).format('YYYYMM') : '',
keyword: params.MERCHANTS_NAME,
diff --git a/src/pages/reports/revenueConfirmation/index.tsx b/src/pages/reports/revenueConfirmation/index.tsx
index 6e62cfe..9e1495f 100644
--- a/src/pages/reports/revenueConfirmation/index.tsx
+++ b/src/pages/reports/revenueConfirmation/index.tsx
@@ -1167,16 +1167,16 @@ const revenueConfirmation: React.FC<{ currentUser: CurrentUser }> = (props) => {
console.log('params', params);
setSearchParams(params)
- let SETTLEMENT_MODESSTR: string = ''
- if (params.SETTLEMENT_MODES && params.SETTLEMENT_MODES.length > 0) {
- params.SETTLEMENT_MODES.forEach((item: any) => {
- if (SETTLEMENT_MODESSTR) {
- SETTLEMENT_MODESSTR += `,${item}`
- } else {
- SETTLEMENT_MODESSTR = item
- }
- })
- }
+ // let SETTLEMENT_MODESSTR: string = ''
+ // if (params.SETTLEMENT_MODES && params.SETTLEMENT_MODES.length > 0) {
+ // params.SETTLEMENT_MODES.forEach((item: any) => {
+ // if (SETTLEMENT_MODESSTR) {
+ // SETTLEMENT_MODESSTR += `,${item}`
+ // } else {
+ // SETTLEMENT_MODESSTR = item
+ // }
+ // })
+ // }
// 是否只选择了一个服务区
let isOneServerPart: boolean = false
@@ -1194,10 +1194,9 @@ const revenueConfirmation: React.FC<{ currentUser: CurrentUser }> = (props) => {
}
-
const req = {
ServerpartIds: selectedId,
- SETTLEMENT_MODES: SETTLEMENT_MODESSTR || '',
+ SETTLEMENT_MODES: params?.SettlementModes && params?.SettlementModes.length > 0 ? params?.SettlementModes.toString() : "",
startDate: params.MonthDate ? moment(params.MonthDate).format('YYYYMM') : '',
endDate: params.MonthDate ? moment(params.MonthDate).format('YYYYMM') : '',
keyword: params.MERCHANTS_NAME,
diff --git a/src/pages/reports/settlementAccount/component/YearExamineDetailTable.tsx b/src/pages/reports/settlementAccount/component/YearExamineDetailTable.tsx
index 9cb0a42..fa2a0d3 100644
--- a/src/pages/reports/settlementAccount/component/YearExamineDetailTable.tsx
+++ b/src/pages/reports/settlementAccount/component/YearExamineDetailTable.tsx
@@ -914,8 +914,7 @@ const YearExamineDetailTable = ({ parentRow, currentApprovalstate, onRef, setIsS
title:
备注
,
width: 100,
dataIndex: 'desc',
- valueType: 'digit',
- align: 'right',
+ align: 'left',
hideInSearch: true,
}
]
@@ -1205,10 +1204,13 @@ const YearExamineDetailTable = ({ parentRow, currentApprovalstate, onRef, setIsS
- exportList.forEach((item: any) => {
+ exportList.forEach((item: any, index: number) => {
if (item.CorrectAmount) {
addRevenueMoneyStr = item.CorrectAmount
}
+
+
+
if (item.PeriodDesc !== '合计') {
if (item.PeriodIndexStr === "项目开始前") {
item.PeriodIndexStr = '装修期'
@@ -1254,7 +1256,9 @@ const YearExamineDetailTable = ({ parentRow, currentApprovalstate, onRef, setIsS
})
}
-
+ if (index + 1 === exportList.length) {
+ item.desc = obj.BusinessProcess_Desc
+ }
exportRes2.push(JSON.parse(JSON.stringify(item)))
item.children = null
exportRes.push(item)
@@ -1293,7 +1297,7 @@ const YearExamineDetailTable = ({ parentRow, currentApprovalstate, onRef, setIsS
WaterCharge: handleHighPrecision(WaterChargeSum),
OtherFee: handleHighPrecision(OtherFeeSum),
ReceivableAmount: handleHighPrecision(ReceivableAmountSum),
- ReductionAmountSum: handleHighPrecision(ReductionAmountSum),
+ ReductionAmount: handleHighPrecision(ReductionAmountSum),
desc: '不含装修期',
addRevenueMoney: addRevenueMoneyStr
}
@@ -1500,11 +1504,12 @@ const YearExamineDetailTable = ({ parentRow, currentApprovalstate, onRef, setIsS
- exportList.forEach((item: any) => {
+ exportList.forEach((item: any, index: number) => {
if (item.PeriodDesc !== '合计') {
if (item.addRevenueMoney) {
addRevenueMoneyStr = item.CorrectAmount
}
+
if (item.PeriodIndexStr === "项目开始前") {
item.PeriodIndexStr = '装修期'
}
@@ -1546,6 +1551,9 @@ const YearExamineDetailTable = ({ parentRow, currentApprovalstate, onRef, setIsS
subItem.amount = (subItem.RevenueAmount * (subItem.GuaranteeRatio / 100)).toFixed(2)
})
}
+ if (index + 1 === exportList.length) {
+ item.desc = obj.BusinessProcess_Desc
+ }
exportRes2.push(JSON.parse(JSON.stringify(item)))
item.children = null
@@ -1580,7 +1588,7 @@ const YearExamineDetailTable = ({ parentRow, currentApprovalstate, onRef, setIsS
ElectricityCharge: handleHighPrecision(HouseRentSum),
WaterCharge: handleHighPrecision(HouseRentSum),
OtherFee: handleHighPrecision(HouseRentSum),
- ReductionAmountSum: handleHighPrecision(ReductionAmountSum),
+ ReductionAmount: handleHighPrecision(ReductionAmountSum),
ReceivableAmount: handleHighPrecision(ReceivableAmountSum),
desc: '不含装修期',
addRevenueMoney: addRevenueMoneyStr
@@ -2068,6 +2076,7 @@ const YearExamineDetailTable = ({ parentRow, currentApprovalstate, onRef, setIsS
{exportSumRow?.PaidFee_9050 ? handleFormatNumber(exportSumRow?.PaidFee_9050) : '0'} |
{exportSumRow?.PaidFee_9090 ? handleFormatNumber(exportSumRow?.PaidFee_9090) : '0'} |
{exportSumRow?.PaidFee_9099 ? handleFormatNumber(exportSumRow?.PaidFee_9099) : '0'} |
+
{exportSumRow?.ReductionAmount ? handleFormatNumber(exportSumRow?.ReductionAmount) : '0'} |
{exportSumRow?.RefundSupplement ? handleFormatNumber(exportSumRow?.RefundSupplement) : '0'} |
{exportSumRow?.addRevenueMoney ? `备注:营收冲正${(exportSumRow?.addRevenueMoney)}元` : ''} |
diff --git a/src/pages/reports/settlementAccount/component/leftSelectTree.tsx b/src/pages/reports/settlementAccount/component/leftSelectTree.tsx
index 6241e0d..2d4425a 100644
--- a/src/pages/reports/settlementAccount/component/leftSelectTree.tsx
+++ b/src/pages/reports/settlementAccount/component/leftSelectTree.tsx
@@ -32,8 +32,9 @@ type DetailProps = {
onShowShop?: boolean// 判断是否显示门店
pageType?: string // 安徽建工的话 会有不一样的数据 判断一下
setAllServiceShop?: any // 给外面输出 服务区的value:该服务区下面的所有门店id 仅建工可用
+ collapsibleTitle?: string // 控制左上方显示的文字
}
-const LeftSelectTree = ({ setSelectedId, reload, actionRef, currentUser, width, otherFun, setCollapsible, collapsible, haveTest, handleGetLeftTreeData, noWj, selectOnly, onShowShop, pageType, setAllServiceShop }: DetailProps) => {
+const LeftSelectTree = ({ setSelectedId, reload, actionRef, currentUser, width, otherFun, setCollapsible, collapsible, haveTest, handleGetLeftTreeData, noWj, selectOnly, onShowShop, pageType, setAllServiceShop, collapsibleTitle }: DetailProps) => {
const searchTreeRef = useRef
();
// 默认的服务区树
const [allTreeViews, setAllTreeViews] = useState()
@@ -257,7 +258,7 @@ const LeftSelectTree = ({ setSelectedId, reload, actionRef, currentUser, width,