This commit is contained in:
ylj20011123 2025-09-01 18:27:05 +08:00
parent a05dd915f3
commit d3a4c2ad28
21 changed files with 285 additions and 189 deletions

View File

@ -1,6 +1,6 @@
{
"name": "ant-design-pro",
"version": "4.5.40",
"version": "4.5.42",
"private": true,
"description": "An out-of-box UI solution for enterprise applications",
"scripts": {

View File

@ -193,6 +193,28 @@ const List: React.FC<{ currentUser?: CurrentUser }> = ({ currentUser }) => {
}
})
setSelectServicePartId(list[0].value)
const req = {
SearchParameter: {
SERVERPART_IDS: list[0].value,
ISVALID: 1
},
PageIndex: 1,
PageSize: 999999,
SortStr: "SHOPREGION,SHOPTRADE,SHOPSHORTNAME,SHOPCODE"
}
const data = await handleGetServerpartShopList(req)
console.log('shop', data);
let shopList: any = []
if (data && data.length > 0) {
data.forEach((item: any) => {
shopList.push({ label: item.SHOPNAME, value: item.SHOPCODE })
})
}
setSelectShopId(null)
setShopList(shopList)
}
return list
})

View File

@ -157,6 +157,8 @@ const ItemDetail: React.FC<{ currentItem?: any, showDetail?: any, currentRow?: a
}
const handleGetItemDetail = async () => {
console.log('currentRowcurrentRowcurrentRow', currentRow);
setShowChangeLoading(true)
const req = {
RoleType: 1,
@ -166,6 +168,8 @@ const ItemDetail: React.FC<{ currentItem?: any, showDetail?: any, currentRow?: a
EndDate: moment(searchTime[1]).format('YYYY-MM-DD'),
}
const data = await handleBrandDetailList(req)
console.log('dsadasdsad', data);
const resultData = JSON.parse(JSON.stringify(data))
setTopDetail(resultData)
if (resultData.VerifyList && resultData.VerifyList.length > 0) {
@ -192,6 +196,7 @@ const ItemDetail: React.FC<{ currentItem?: any, showDetail?: any, currentRow?: a
setLeftTimeList([resultData.VerifyList, resultData.VerifiedList][selectTab - 1])
console.log('selectTabListselectTabListselectTabList', selectTabList)
if (selectTabList[0].number === 0) {
setSelectTab(2)
@ -207,8 +212,8 @@ const ItemDetail: React.FC<{ currentItem?: any, showDetail?: any, currentRow?: a
if (leftList && leftList.length > 0) {
// setSelectLeftTime(leftList[0].value)
// handleGetDetail(leftList[0].value, selectTab)
setSelectLeftTime(currentRow?.Endaccount_Id)
handleGetDetail(currentRow?.Endaccount_Id, selectTab)
setSelectLeftTime(currentRow?.Endaccount_Id || leftList[0].value)
handleGetDetail(currentRow?.Endaccount_Id || leftList[0].value, selectTab)
} else {
formRef.current?.resetFields()
}
@ -278,23 +283,23 @@ const ItemDetail: React.FC<{ currentItem?: any, showDetail?: any, currentRow?: a
EndaccountId: id
}
const data = await handleDetail(req)
setAuditTableData(data.AuditInfoList)
setAuditTableData(data?.AuditInfoList || [])
if (tabSelect !== 2) {
handleGetShopPriceData(1, data.Endaccount_Id)
handleGetShopPriceData(3, data.Endaccount_Id)
if (data.ShowCigarette) {
handleGetShopPriceData(2, data.Endaccount_Id, data.CigaretteType)
handleGetShopPriceData(1, data?.Endaccount_Id)
handleGetShopPriceData(3, data?.Endaccount_Id)
if (data?.ShowCigarette) {
handleGetShopPriceData(2, data?.Endaccount_Id, data?.CigaretteType)
}
}
setCurrentDetail(data)
formRef.current?.setFieldsValue(
{
...data,
AvgTicketPrice: data.Ticket_Count ? fmoney(data.TotalSell_Amount / data.Ticket_Count, 2) : ''
AvgTicketPrice: data?.Ticket_Count ? fmoney(data?.TotalSell_Amount / data?.Ticket_Count, 2) : ''
}
)
setShowChangeLoading(false)
getPictureList(data.Endaccount_Id)
getPictureList(data?.Endaccount_Id || "")
}
const handleGetShopPriceData = async (type: number, id: number, CigaretteType?: any) => {
@ -325,23 +330,23 @@ const ItemDetail: React.FC<{ currentItem?: any, showDetail?: any, currentRow?: a
setProductData(data)
formRef?.current?.setFieldsValue({
...data,
SellCount_Sale: data.count,
FactAmount_Sale: data.amount
SellCount_Sale: data?.count,
FactAmount_Sale: data?.amount
})
}
else if (type === 2) {
setCigarettePayment(data)
formRef?.current?.setFieldsValue({
...data,
FactAmount_Cigarette: data.amount,
SellCount_Cigarette: data.count
FactAmount_Cigarette: data?.amount,
SellCount_Cigarette: data?.count
})
}
else if (type === 3) {
setMobilePayment(data)
formRef?.current?.setFieldsValue({
...data,
FactAmount_Mobilepayment: data.amount
FactAmount_Mobilepayment: data?.amount
})
}
setShowChangeLoading(false)
@ -350,6 +355,9 @@ const ItemDetail: React.FC<{ currentItem?: any, showDetail?: any, currentRow?: a
const getPictureList = (id: any) => {
setShowChangeLoading(true)
if (!id) {
return
}
const req = {
TableId: id,
TableName: "ENDACCOUNT",

View File

@ -611,7 +611,7 @@ const COMMODITYINFO = ({ onShow, onCancel, parentRow }: DetailProps) => {
options={false}
scroll={{ x: '100%', y: 400 }}
request={async (params) => {
console.log('parentRow', parentRow);
// 拿个商品详情
const commodityDetail = await handleGetGetCOMMODITYDetail({ COMMODITYId: parentRow?.COMMODITY_ID })
setCommodityInfo(commodityDetail)

View File

@ -169,11 +169,11 @@ const InventoryDetailModal = ({ onShow, parentRow, onCancel, come }: DetailProps
} else if (item.OPERATE_TYPE === 6000) {
obj = {
...obj,
PURCHASE_COUNT: item.OPERATE_COUNT,// 入库数量
OVERPLUSCOUNT: item.OPERATE_COUNT,// 入库数量
PURCHASE_TAXPRICE: item.PURCHASE_TAXPRICE,// 含税单价
PURCHASE_TOTALTAXPRICE: item.OPERATE_TAXAMOUNT,// 含税金额
OVERPLUS_AMOUNT: item.OPERATE_TAXAMOUNT,// 含税金额
PURCHASE_PRICE: item.PURCHASE_PRICE,// 除税单价
LAST_OVERPLUSPRICE: item.OPERATE_AMOUNT,// 上期库存除税
OVERPLUS_PRICE: item.OPERATE_AMOUNT,// 上期库存除税
}
} else if (item.OPERATE_TYPE === 6001) {
obj = {
@ -190,7 +190,12 @@ const InventoryDetailModal = ({ onShow, parentRow, onCancel, come }: DetailProps
LAST_OVERPLUSPRICE: item.OPERATE_AMOUNT,// 上期库存除税
}
} else if (item.OPERATE_TYPE === 6003) {
obj = {
...obj,
LAST_LOSSPROFIT_COUNT: item.OPERATE_COUNT,// 上期损溢数量
LAST_LOSSPROFIT_AMOUNT: item.OPERATE_TAXAMOUNT,// 上期损溢金额
LAST_LOSSPROFIT_PRICE: item.OPERATE_AMOUNT,// 上期损溢除税
}
}
})
}
@ -199,8 +204,10 @@ const InventoryDetailModal = ({ onShow, parentRow, onCancel, come }: DetailProps
console.log('detaildetaildetaildetail', detail);
obj = {
...obj,
...detail,
SERVERPART_NAME: parentRow?.Serverpart_Name, // 服务区名
SHOPNAME: parentRow?.ServerpartShop_Name, // 门店名称
SERVERPARTSHOP_ID: parentRow?.ServerpartShop_Id, // 门店ID
COMMODITY_CODE: detail?.COMMODITY_CODE, // 商品编码
BUSINESSTYPE: detail?.BUSINESSTYPE, // 业态
COMMODITY_TYPE: detail?.COMMODITY_TYPE, // 商品类型
@ -211,6 +218,7 @@ const InventoryDetailModal = ({ onShow, parentRow, onCancel, come }: DetailProps
CHECKDATE_Start: "",
CHECKDATE: "",
}
setCommodityDetail(obj)
return obj
} else {
if (!parentRow?.INSALES_STATISTIC_ID) {
@ -341,7 +349,7 @@ const InventoryDetailModal = ({ onShow, parentRow, onCancel, come }: DetailProps
<Col span={8}>
<ProFormDigit
label={'损溢数量'}
name={'LOSSPROFIT_COUNT'}
name={'LAST_LOSSPROFIT_COUNT'}
fieldProps={{
addonAfter: false
}}
@ -350,7 +358,7 @@ const InventoryDetailModal = ({ onShow, parentRow, onCancel, come }: DetailProps
<Col span={8}>
<ProFormDigit
label={'损溢金额'}
name={'LOSSPROFIT_AMOUNT'}
name={'LAST_LOSSPROFIT_AMOUNT'}
fieldProps={{
addonAfter: false
}}
@ -359,7 +367,7 @@ const InventoryDetailModal = ({ onShow, parentRow, onCancel, come }: DetailProps
<Col span={8}>
<ProFormDigit
label={'损溢除税'}
name={'LOSSPROFIT_PRICE'}
name={'LAST_LOSSPROFIT_PRICE'}
fieldProps={{
addonAfter: false
}}

View File

@ -1,3 +1,4 @@
// 项目拆分审批流程查询
import React, { useRef, useState } from "react";
import type { CurrentUser } from "@/models/user";
import { connect } from "umi";
@ -361,7 +362,7 @@ const monthSearch: React.FC<{ currentUser?: CurrentUser }> = (props) => {
// hideInSearch: true
// },
{
title: '业务名称',
title: <div style={{ textAlign: 'center' }}></div>,
width: 400,
ellipsis: true,
dataIndex: 'BusinessProcess_Name',
@ -422,8 +423,8 @@ const monthSearch: React.FC<{ currentUser?: CurrentUser }> = (props) => {
}
},
{
title: '经办人',
width: 120,
title: <div style={{ textAlign: 'center' }}></div>,
width: 140,
dataIndex: 'Staff_Name',
ellipsis: true,
hideInSearch: true,
@ -433,6 +434,14 @@ const monthSearch: React.FC<{ currentUser?: CurrentUser }> = (props) => {
</Tooltip>
}
},
{
title: '经营商户',
width: 140,
dataIndex: 'MERCHANTS_NAME',
align: 'center',
ellipsis: true,
hideInSearch: true,
},
{
title: '业务时间',
width: 100,
@ -444,7 +453,7 @@ const monthSearch: React.FC<{ currentUser?: CurrentUser }> = (props) => {
}
},
{
title: '业务状态',
title: <div style={{ textAlign: 'center' }}></div>,
width: 300,
ellipsis: true,
dataIndex: 'BusinessProcess_States',
@ -454,7 +463,7 @@ const monthSearch: React.FC<{ currentUser?: CurrentUser }> = (props) => {
hideInTable: busninessType === 2,
// hideInSearch: true,
render: (_, record) => {
return record?.BusinessProcess_State ? `${monthStateObj[record?.BusinessProcess_State]}${record?.BusinessProcess_State === 9000 ? '' : `${record?.ApproveStaff_Name}`}` : ''
return record?.BusinessProcess_State && monthStateObj ? `${monthStateObj[record?.BusinessProcess_State]}${record?.BusinessProcess_State === 9000 ? '' : `${record?.ApproveStaff_Name}`}` : ''
}
},
{
@ -531,6 +540,7 @@ const monthSearch: React.FC<{ currentUser?: CurrentUser }> = (props) => {
title: '本期累计时间',
width: 180,
ellipsis: true,
align: 'center',
hideInTable: busninessType === 2,
dataIndex: 'STARTDATEENDDATE',
hideInSearch: true,

View File

@ -127,6 +127,7 @@ const CommoditysaleTable: React.FC<{ currentUser: CurrentUser | undefined }> = (
picker: "month",
format: 'YYYY-MM',
disabledDate: (current: any) => current && current > moment().subtract(2, 'months').startOf("month")
// 月度数据 查询的是历史的 所以中间必须要隔一个月份 不能修改
}
},
{

View File

@ -373,7 +373,7 @@ const cigaretteReport: React.FC<{ currentUser: CurrentUser }> = (props) => {
expandable={{
expandRowByClick: true
}}
scroll={{ x: 'max-content', y: 'calc(100vh - 450px)' }}
scroll={{ x: 'max-content', y: 'calc(100vh - 470px)' }}
headerTitle={<PageTitleBox props={props} />}
search={{ span: 6 }}
request={async (params) => {

View File

@ -1,3 +1,4 @@
// 收银员统计表
import { connect } from "umi";
import type { CurrentUser } from "umi";
import type { ConnectState } from "@/models/connect";
@ -360,7 +361,7 @@ const personSellReport: React.FC<{ currentUser: CurrentUser }> = (props) => {
formRef={formRef}
columns={columns}
bordered
scroll={{ x: 1600 }}
scroll={{ x: '100%', y: 'calc(100vh - 520px)' }}
// pagination={false}
headerTitle={<PageTitleBox props={props} />}
search={{ span: 8 }}

View File

@ -303,7 +303,7 @@ const saleFlow: React.FC<{ currentUser: CurrentUser | undefined }> = (props) =>
actionRef={actionRef}
search={{ span: 6 }}
pagination={{ pageSize: 20 }}
scroll={{ x: '100%', y: 'calc(100vh - 470px)' }}
scroll={{ x: '100%', y: 'calc(100vh - 590px)' }}
request={async (params) => {
if (selectedId || currenMenu) {
handleCallLogs()

View File

@ -1,3 +1,5 @@
// 历史销售单品报表
import { connect } from "umi";
import type { CurrentUser } from "umi";
import type { ConnectState } from "@/models/connect";
@ -326,7 +328,7 @@ const saleHisReport: React.FC<{ currentUser: CurrentUser }> = (props) => {
columns={columns}
bordered
headerTitle={<PageTitleBox props={props} />}
scroll={{ y: 'calc(100vh - 470px)' }}
scroll={{ y: 'calc(100vh - 540px)' }}
search={{ span: 6 }}
pagination={{ pageSize: 100 }}
request={async (params) => {

View File

@ -173,10 +173,10 @@ const saleRankReport: React.FC<{ currentUser: CurrentUser }> = (props) => {
hideInSearch: true
},
{
title: '商品名称',
width: 240,
title: <div style={{ textAlign: 'center' }}></div>,
width: 250,
ellipsis: true,
align: 'center',
align: 'left',
dataIndex: 'Commodity_Name',
hideInSearch: true
},

View File

@ -1,3 +1,4 @@
// 销售单品报表 区域销售单品报表
import { connect } from "umi";
import type { CurrentUser } from "umi";
import type { ConnectState } from "@/models/connect";
@ -190,9 +191,9 @@ const saleReport: React.FC<{ currentUser: CurrentUser }> = (props) => {
{
dataIndex: 'Commodity_Name',
title: <div style={{ textAlign: 'center' }}></div>,
width: 150,
width: 250,
ellipsis: true,
align: 'center',
align: 'left',
hideInSearch: true,
sorter: (a, b) => a.Commodity_Name.localeCompare(b.Commodity_Name)
},
@ -369,7 +370,7 @@ const saleReport: React.FC<{ currentUser: CurrentUser }> = (props) => {
bordered
headerTitle={<PageTitleBox props={props} />}
search={{ span: 6 }}
scroll={{ x: "100%", y: 'calc(100vh - 490px)' }}
scroll={{ x: "100%", y: 'calc(100vh - 510px)' }}
pagination={{ pageSize: 100 }}
request={async (params, sorter) => {
if (isFirst) {

View File

@ -304,6 +304,7 @@ const saleTypeHisReport: React.FC<{ currentUser: CurrentUser }> = (props) => {
bordered
headerTitle={<PageTitleBox props={props} />}
search={{ span: 6 }}
scroll={{ x: '100%', y: 'calc(100vh - 540px)' }}
request={async (params) => {
if (isFirst) {
setIsFirst(false)

View File

@ -474,7 +474,7 @@ const transactionAnalysis: React.FC<{ currentUser: CurrentUser }> = (props) => {
bordered
headerTitle={<PageTitleBox props={props} />}
search={{ span: 6, defaultCollapsed: false, }}
scroll={{ y: 'calc(100vh - 470px)' }}
scroll={{ x: '100%', y: 'calc(100vh - 520px)' }}
request={async (params) => {
if (isFirst) {
setIsFirst(false)

View File

@ -1,3 +1,4 @@
// 销售金额异常
import { connect } from "umi";
import type { CurrentUser } from "umi";
import type { ConnectState } from "@/models/connect";
@ -68,11 +69,12 @@ const abnormalAmount: React.FC<{ currentUser: CurrentUser }> = (props) => {
title: '序号',
dataIndex: 'index',
width: 70,
align: 'center',
hideInSearch: true,
valueType: 'index'
},
{
title: '门店名称',
title: <div style={{ textAlign: 'center' }}></div>,
width: 140,
dataIndex: 'SHOPNAME',
hideInSearch: true,
@ -80,6 +82,7 @@ const abnormalAmount: React.FC<{ currentUser: CurrentUser }> = (props) => {
{
title: '异常类型',
width: 100,
align: 'center',
dataIndex: 'ABNORMALITY_TYPE',
valueType: 'treeSelect',
request: async () => {
@ -94,6 +97,7 @@ const abnormalAmount: React.FC<{ currentUser: CurrentUser }> = (props) => {
},
{
title: '统计时间',
align: 'center',
dataIndex: 'search_date',
valueType: 'dateRange',
hideInTable: true,
@ -113,25 +117,30 @@ const abnormalAmount: React.FC<{ currentUser: CurrentUser }> = (props) => {
}
},
{
title: '商品数量',
title: <div style={{ textAlign: 'center' }}></div>,
align: 'right',
width: 100,
valueType: 'digit',
dataIndex: 'COMMOTITY_COUNT',
hideInSearch: true,
},
{
title: '销售金额',
title: <div style={{ textAlign: 'center' }}></div>,
align: 'right',
width: 100,
valueType: 'digit',
dataIndex: 'TOTALAMOUNT',
hideInSearch: true,
},
{
title: '异常记录时间',
title: <div style={{ textAlign: 'center' }}></div>,
align: 'center',
width: 150,
dataIndex: 'ABNORMALITY_TIME',
hideInSearch: true,
},
{
title: '审核意见',
title: <div style={{ textAlign: 'center' }}></div>,
width: 200,
dataIndex: 'ABNORMALITY_DESC',
ellipsis: true,
@ -139,18 +148,22 @@ const abnormalAmount: React.FC<{ currentUser: CurrentUser }> = (props) => {
},
{
title: '服务区',
width: 120,
align: 'center',
width: 140,
dataIndex: 'SERVERPART_NAME',
ellipsis: true,
hideInSearch: true,
},
{
title: '收银机号',
align: 'center',
width: 120,
dataIndex: 'MACHINECODE',
hideInSearch: true,
},
{
title: '收银员',
align: 'center',
width: 100,
dataIndex: 'SELLWORK_NAME',
hideInSearch: true,
@ -314,6 +327,7 @@ const abnormalAmount: React.FC<{ currentUser: CurrentUser }> = (props) => {
columns={columns}
bordered
headerTitle={<PageTitleBox props={props} />}
scroll={{ x: '100%', y: 'calc(100vh - 430px)' }}
search={{ span: 6 }}
pagination={{ pageSize: 20 }}
request={async (params) => {

View File

@ -1,3 +1,4 @@
// 稽核联动查询
import { connect } from "umi";
import type { CurrentUser } from "umi";
import type { ConnectState } from "@/models/connect";
@ -86,19 +87,22 @@ const abnormalExamine: React.FC<{ currentUser: CurrentUser}> = (props) => {
{
title: '序号',
dataIndex: 'index',
align: 'center',
width: 70,
hideInSearch: true,
valueType: 'index'
},
{
title: '门店名称',
title: <div style={{ textAlign: 'center' }}></div>,
width: 140,
align: 'left',
dataIndex: 'SHOPNAME',
hideInSearch: true,
},
{
title: '异常类型',
width: 100,
align: 'center',
dataIndex: 'ABNORMALITY_TYPE',
valueType: 'treeSelect',
request: async () => {
@ -123,25 +127,30 @@ const abnormalExamine: React.FC<{ currentUser: CurrentUser}> = (props) => {
initialValue: ''
},
{
title: '商品数量',
title: <div style={{ textAlign: 'center' }}></div>,
width: 100,
align: 'right',
valueType: 'digit',
dataIndex: 'COMMOTITY_COUNT',
hideInSearch: true,
},
{
title: '销售金额',
title: <div style={{ textAlign: 'center' }}></div>,
width: 100,
align: 'right',
valueType: 'digit',
dataIndex: 'TOTALAMOUNT',
hideInSearch: true,
},
{
title: '异常记录时间',
align: 'center',
width: 150,
dataIndex: 'ABNORMALITY_TIME',
hideInSearch: true,
},
{
title: '审核意见',
title: <div style={{ textAlign: 'center' }}></div>,
width: 200,
dataIndex: 'ABNORMALITY_DESC',
ellipsis: true,
@ -149,18 +158,21 @@ const abnormalExamine: React.FC<{ currentUser: CurrentUser}> = (props) => {
},
{
title: '服务区',
align: 'center',
width: 120,
dataIndex: 'SERVERPART_NAME',
hideInSearch: true,
},
{
title: '收银机号',
align: 'center',
width: 120,
dataIndex: 'MACHINECODE',
hideInSearch: true,
},
{
title: '收银员',
align: 'center',
width: 120,
dataIndex: 'SELLWORK_NAME',
ellipsis: true,
@ -323,7 +335,8 @@ const abnormalExamine: React.FC<{ currentUser: CurrentUser}> = (props) => {
columns={columns}
bordered
headerTitle={<PageTitleBox props={props} />}
search={{span: 6}}
scroll={{ x: "100%", y: 'calc(100vh - 470px)' }}
search={{ span: 6, defaultCollapsed: false }}
pagination={{ pageSize: 20 }}
request={async (params) => {
if (!selectedId) {

View File

@ -70,19 +70,22 @@ const abnormalSale: React.FC<{ currentUser: CurrentUser}> = (props) => {
dataIndex: 'index',
width: 70,
hideInSearch: true,
valueType: 'index'
valueType: 'index',
align: 'center'
},
{
title: '门店名称',
title: <div style={{ textAlign: 'center' }}></div>,
width: 140,
dataIndex: 'SHOPNAME',
hideInSearch: true,
align: 'left'
},
{
title: '异常类型',
width: 100,
dataIndex: 'ABNORMALITY_TYPE',
valueType: 'treeSelect',
align: 'center',
request: async () => {
const data = await getFieldEnumTreeNoSession({ FieldExplainField: 'EXCEPTION_TYPE', FieldEnumPID: 13852, FieldEnumStatus: true });
console.log('data', data)
@ -113,14 +116,16 @@ const abnormalSale: React.FC<{ currentUser: CurrentUser}> = (props) => {
}
},
{
title: '商品数量',
title: <div style={{ textAlign: 'center' }}></div>,
width: 100,
dataIndex: 'COMMOTITY_COUNT',
align: 'right',
hideInSearch: true,
},
{
title: '销售金额',
title: <div style={{ textAlign: 'center' }}></div>,
width: 100,
align: 'right',
dataIndex: 'TOTALAMOUNT',
hideInSearch: true,
},
@ -128,10 +133,12 @@ const abnormalSale: React.FC<{ currentUser: CurrentUser}> = (props) => {
title: '异常记录时间',
width: 150,
dataIndex: 'ABNORMALITY_TIME',
align: 'center',
hideInSearch: true,
},
{
title: '审核意见',
title: <div style={{ textAlign: 'center' }}></div>,
align: 'left',
width: 200,
dataIndex: 'ABNORMALITY_DESC',
ellipsis: true,
@ -139,7 +146,9 @@ const abnormalSale: React.FC<{ currentUser: CurrentUser}> = (props) => {
},
{
title: '服务区',
width: 120,
width: 140,
ellipsis: true,
align: 'center',
dataIndex: 'SERVERPART_NAME',
hideInSearch: true,
},
@ -147,11 +156,13 @@ const abnormalSale: React.FC<{ currentUser: CurrentUser}> = (props) => {
title: '收银机号',
width: 120,
dataIndex: 'MACHINECODE',
align: 'center',
hideInSearch: true,
},
{
title: '收银员',
width: 100,
align: 'center',
dataIndex: 'SELLWORK_NAME',
ellipsis: true,
hideInSearch: true,
@ -317,6 +328,7 @@ const abnormalSale: React.FC<{ currentUser: CurrentUser}> = (props) => {
headerTitle={<PageTitleBox props={props} />}
search={{ span: 6 }}
pagination={{ pageSize: 20 }}
scroll={{ x: '100%', y: 'calc(100vh - 430px)' }}
request={async (params) => {
console.log('params', params)
if (!selectedId) {

View File

@ -2089,7 +2089,7 @@ const YearExamineDetailTable = ({ parentRow, currentApprovalstate, onRef, setIsS
summary={() => {
return <>
<tr>
<td colSpan={2} align={'center'}>{exportSumRow?.PeriodIndexStr}</td>
<td colSpan={2} align={'center'}>{exportSumRow?.PeriodIndexStr}1</td>
<td>{exportSumRow?.MinturnOver ? handleFormatNumber(exportSumRow?.MinturnOver) : '0'}</td>
<td></td>
<td>{exportSumRow?.CashAmount ? handleFormatNumber(exportSumRow?.CashAmount) : '0'}</td>
@ -2113,9 +2113,9 @@ const YearExamineDetailTable = ({ parentRow, currentApprovalstate, onRef, setIsS
</tr>
<tr></tr>
<tr>
<td colSpan={1} align={'right'}>{'财务部:'}</td>
<td colSpan={1} align={'right'}>{`${new Date(parentRow?.CLOSED_DATE || parentRow?.ENDDATE).getTime() > new Date('2025-04-01 00:00:00').getTime() ? '运营管理子公司' : ''}财务部:`}</td>
<td colSpan={6}>{signature?.financeName || ''}</td>
<td colSpan={1} align={'right'}>{'经发部:'}</td>
<td colSpan={1} align={'right'}>{`${new Date(parentRow?.CLOSED_DATE || parentRow?.ENDDATE).getTime() > new Date('2025-04-01 00:00:00').getTime() ? '运营管理子公司运营服务部:' : '经发部:'}`}</td>
<td colSpan={6}>{signature?.developmentName || ''}</td>
</tr>
<tr></tr>
@ -2638,11 +2638,11 @@ const YearExamineDetailTable = ({ parentRow, currentApprovalstate, onRef, setIsS
const footer: string = `<div style="width:100%;box-sizing: border-box;padding: 12px 12px 12px 20px;">
<div style="width: 100%;display: flex;align-items: center;">
<div style="width: 33%;box-sizing: border-box;padding-left: 5%">
<span style="font-size: 14px;font-weight: 600;margin-right: 2px;"></span>
<span style="font-size: 14px;font-weight: 600;margin-right: 2px;">${new Date(parentRow?.CLOSED_DATE || parentRow?.ENDDATE).getTime() > new Date('2025-04-01 00:00:00').getTime() ? '运营管理子公司' : ''}</span>
<span style="font-size: 12px;">${signature?.financeRealName || ''}</span>
</div>
<div style="width: 33%;box-sizing: border-box;padding-left: 5%">
<span style="font-size: 14px;font-weight: 600;margin-right: 2px;"></span>
<span style="font-size: 14px;font-weight: 600;margin-right: 2px;">${new Date(parentRow?.CLOSED_DATE || parentRow?.ENDDATE).getTime() > new Date('2025-04-01 00:00:00').getTime() ? '运营管理子公司运营服务部:' : '经发部'}</span>
<span style="font-size: 12px;">${signature?.developmentRealName || ''}</span>
</div>
<div style="width: 33%;box-sizing: border-box;padding-left: 5%">
@ -2684,6 +2684,8 @@ const YearExamineDetailTable = ({ parentRow, currentApprovalstate, onRef, setIsS
<Button style={{ marginLeft: '8px' }} key="new" onClick={() => {
setIsPrinting(true)
console.log('exportData', exportData);
console.log('parentRow', parentRow);
// window.print();
const printName: string = `${parentRow?.MERCHANTS_NAME}-${parentRow?.SETTLEMENT_DATE ? `${moment(parentRow?.SETTLEMENT_DATE).format('YYYY')}年度` : ''}结算明细表`
@ -2736,11 +2738,11 @@ const YearExamineDetailTable = ({ parentRow, currentApprovalstate, onRef, setIsS
const footer: string = `<div style="width:100%;box-sizing: border-box;padding: 12px 12px 12px 20px;">
<div style="width: 100%;display: flex;align-items: center;">
<div style="width: 33%;box-sizing: border-box;padding-left: 5%">
<span style="font-size: 14px;font-weight: 600;margin-right: 2px;"></span>
<span style="font-size: 14px;font-weight: 600;margin-right: 2px;"> ${new Date(parentRow?.CLOSED_DATE || parentRow?.ENDDATE).getTime() > new Date('2025-04-01 00:00:00').getTime() ? '运营管理子公司' : ''}</span>
<span style="font-size: 12px;">${signature?.financeRealName || ''}</span>
</div>
<div style="width: 33%;box-sizing: border-box;padding-left: 5%">
<span style="font-size: 14px;font-weight: 600;margin-right: 2px;"></span>
<span style="font-size: 14px;font-weight: 600;margin-right: 2px;">${new Date(parentRow?.CLOSED_DATE || parentRow?.ENDDATE).getTime() > new Date('2025-04-01 00:00:00').getTime() ? '运营管理子公司运营服务部:' : '经发部:'}</span>
<span style="font-size: 12px;">${signature?.developmentRealName || ''}</span>
</div>
<div style="width: 33%;box-sizing: border-box;padding-left: 5%">

View File

@ -77,6 +77,7 @@ const PrintContent = ({ pageName, exportColumns, exportData, exportSumRow, type
<td align={'right'}>{exportSumRow?.PaidFee_9099 ? formatToTwoDecimalPlaces(exportSumRow?.PaidFee_9099) : '0.00'}</td>
</>
}
<td align={'right'}>{exportSumRow?.ReductionAmountSum ? formatToTwoDecimalPlaces(exportSumRow?.ReductionAmountSum) : '0'}</td>
<td align={'right'}>{exportSumRow?.RefundSupplement ? formatToTwoDecimalPlaces(exportSumRow?.RefundSupplement) : '0'}</td>
<td>{exportSumRow?.desc}</td>
</tr> : ''

View File

@ -1,4 +1,4 @@
// 由 scripts/writeVersion.js 自动生成
export const VERSION = "4.5.40";
export const GIT_HASH = "debd5be";
export const BUILD_TIME = "2025-08-29T07:11:29.945Z";
export const VERSION = "4.5.42";
export const GIT_HASH = "a05dd91";
export const BUILD_TIME = "2025-09-01T07:45:38.579Z";