Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wenHuaBu_adminServer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
wenHuaBu_adminServer
Commits
5403f6a3
Commit
5403f6a3
authored
Dec 21, 2024
by
lixinming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
19b2d48f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
costVerification.ts
src/biz/member/finance/costVerification.ts
+3
-3
invoice.ts
src/biz/member/finance/invoice.ts
+1
-1
order.ts
src/biz/member/order.ts
+1
-1
No files found.
src/biz/member/finance/costVerification.ts
View file @
5403f6a3
...
...
@@ -95,11 +95,11 @@ export async function paidList({name, memberType, documentId, phone, mail, joinS
if
(
phone
)
findParam
.
phone
=
phone
;
if
(
examineState
)
{
if
(
examineState
==
1
)
{
findParam
.
confirmReceipt
=
{
"$ne"
:
RECEIPTCONFIRMATION
.
收款确认
}
;
findParam
.
confirmReceipt
=
RECEIPTCONFIRMATION
.
待确认
;
}
else
{
findParam
.
confirmReceipt
=
RECEIPTCONFIRMATION
.
收款确认
;
}
}
}
else
findParam
.
confirmReceipt
=
{
"$ne"
:
RECEIPTCONFIRMATION
.
退回
}
if
(
costType
)
findParam
.
isFirst
=
costType
==
COSTTYPE
.
首次
;
let
selectFile
=
[
"id"
,
"unitName"
,
"userId"
,
"orderCycleStart"
,
"orderCycleEnd"
,
"money"
,
"paymentMethod"
,
"memberCategory"
,
"isFirst"
,
"paymentNum"
,
"memberState"
,
"operationTime"
,
"confirmReceipt"
,
"invoiceStatus"
];
...
...
@@ -125,7 +125,7 @@ export async function paidList({name, memberType, documentId, phone, mail, joinS
itemData
.
paymentNum
=
"-"
;
}
let
userInfo
=
await
findOnce
(
TABLEENUM
.
用户表
,
{
userId
:
info
.
userId
},
[
"memberState"
,
"name"
,
"memberLevel"
,
"individualMemberType"
,
"unitMemberType"
]);
let
userInfo
=
await
findOnce
(
TABLEENUM
.
用户表
,
{
userId
:
info
.
userId
},
[
"
userId"
,
"
memberState"
,
"name"
,
"memberLevel"
,
"individualMemberType"
,
"unitMemberType"
]);
if
(
!
userInfo
||
!
userInfo
.
userId
)
continue
;
itemData
.
memberLevel
=
changeEnumValue
(
MEMBERLEVEL
,
userInfo
.
memberLevel
);
itemData
.
name
=
userInfo
.
name
;
...
...
src/biz/member/finance/invoice.ts
View file @
5403f6a3
...
...
@@ -434,7 +434,7 @@ export async function invoicedList({name, memberType, documentId, phone, mail, j
// itemData.cycle = `${moment(info.orderCycleStart).format("YYYY-MM-DD")}至${moment(info.orderCycleEnd).format("YYYY-MM-DD")}`;
itemData
.
cycle
=
`
${
moment
(
info
.
orderCycleStart
).
format
(
"YYYY"
)}
至
${
moment
(
info
.
orderCycleEnd
).
format
(
"YYYY"
)}
`
;
itemData
.
isPay
=
changeEnumValue
(
ORDERSTATE
,
itemData
.
state
);
let
userInfo
=
await
findOnce
(
TABLEENUM
.
用户表
,
{
userId
:
itemData
.
userId
},
[
"memberState"
,
"name"
,
"memberLevel"
,
"individualMemberType"
,
"unitMemberType"
])
let
userInfo
=
await
findOnce
(
TABLEENUM
.
用户表
,
{
userId
:
itemData
.
userId
},
[
"
userId"
,
"
memberState"
,
"name"
,
"memberLevel"
,
"individualMemberType"
,
"unitMemberType"
])
if
(
userInfo
)
{
if
(
userInfo
.
individualMemberType
)
{
itemData
.
memberType
=
changeEnumValue
(
MEMBERTYPEECCENUM
,
userInfo
.
individualMemberType
);
...
...
src/biz/member/order.ts
View file @
5403f6a3
...
...
@@ -214,7 +214,7 @@ export async function orderList({userId, type}) {
payState
=
MYORDERLISTPAYSTATE
.
财务查账中
;
}
else
if
(
confirmReceipt
==
RECEIPTCONFIRMATION
.
收款确认
)
{
payState
=
MYORDERLISTPAYSTATE
.
已缴费
;
}
else
{
}
else
{
//退回
if
(
isReceive
==
ISRECEIVE
.
提供账户
_zkh
需退款
_ykh
)
{
//收到了用户的款项的退款
if
(
isReplenishReturnInfo
&&
refundSuccessful
)
{
payState
=
MYORDERLISTPAYSTATE
.
退款成功
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment