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
eda3384a
Commit
eda3384a
authored
Aug 09, 2024
by
lixinming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
071c80e2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
order.ts
src/biz/member/order.ts
+4
-2
provide.ts
src/biz/provide.ts
+1
-1
model.ts
src/data/models/model.ts
+3
-0
router.ts
src/routers/order/router.ts
+2
-0
No files found.
src/biz/member/order.ts
View file @
eda3384a
...
@@ -667,7 +667,7 @@ export async function getInvoiceStatus({id}) {
...
@@ -667,7 +667,7 @@ export async function getInvoiceStatus({id}) {
* 上传转账截图 个人页面的线下付款
* 上传转账截图 个人页面的线下付款
* @param param0
* @param param0
*/
*/
export
async
function
upTransferImg
({
id
,
weChartPR
,
offlinePaymentUrl
})
{
export
async
function
upTransferImg
({
id
,
weChartPR
,
offlinePaymentUrl
,
invoiceMail
,
desc
})
{
let
orderInfo
=
await
findOnce
(
TABLEENUM
.
订单表
,
{
id
});
let
orderInfo
=
await
findOnce
(
TABLEENUM
.
订单表
,
{
id
});
if
(
!
orderInfo
||
!
orderInfo
.
id
)
throw
new
BizError
(
ERRORENUM
.
目标数据不存在
);
if
(
!
orderInfo
||
!
orderInfo
.
id
)
throw
new
BizError
(
ERRORENUM
.
目标数据不存在
);
...
@@ -679,7 +679,9 @@ export async function getInvoiceStatus({id}) {
...
@@ -679,7 +679,9 @@ export async function getInvoiceStatus({id}) {
state
:
ORDERSTATE
.
已支付
,
state
:
ORDERSTATE
.
已支付
,
paymentMethod
:
PAYMENTTYPE
.
线下支付
,
paymentMethod
:
PAYMENTTYPE
.
线下支付
,
payTime
:
new
Date
().
valueOf
(),
payTime
:
new
Date
().
valueOf
(),
confirmReceipt
:
RECEIPTCONFIRMATION
.
待确认
confirmReceipt
:
RECEIPTCONFIRMATION
.
待确认
,
invoiceMail
,
desc
};
};
await
updateOneData
(
TABLEENUM
.
订单表
,
{
id
},
updateInfo
);
await
updateOneData
(
TABLEENUM
.
订单表
,
{
id
},
updateInfo
);
...
...
src/biz/provide.ts
View file @
eda3384a
...
@@ -18,7 +18,7 @@ export async function t() {
...
@@ -18,7 +18,7 @@ export async function t() {
if
(
!
allMap
[
item
.
documentId
])
allMap
[
item
.
documentId
]
=
0
;
if
(
!
allMap
[
item
.
documentId
])
allMap
[
item
.
documentId
]
=
0
;
allMap
[
item
.
documentId
]
+=
1
;
allMap
[
item
.
documentId
]
+=
1
;
if
(
!
item
.
documentId
)
{
if
(
!
item
.
documentId
)
{
phoneList
.
push
([
item
.
name
,
item
.
phone
]);
phoneList
.
push
([
item
.
name
,
item
.
phone
]);
}
}
}
else
{
}
else
{
if
(
!
allUnitMap
[
item
.
unitName
])
allUnitMap
[
item
.
unitName
]
=
0
;
if
(
!
allUnitMap
[
item
.
unitName
])
allUnitMap
[
item
.
unitName
]
=
0
;
...
...
src/data/models/model.ts
View file @
eda3384a
...
@@ -479,6 +479,9 @@ const ModelArray = [
...
@@ -479,6 +479,9 @@ const ModelArray = [
newUscc
:
'String'
,
//新统一信用代码【变更发票信用代码使用】
newUscc
:
'String'
,
//新统一信用代码【变更发票信用代码使用】
ct
:
'Number'
,
//订单创建时间
ct
:
'Number'
,
//订单创建时间
payTime
:
'Number'
,
//支付时间
payTime
:
'Number'
,
//支付时间
//2.0新加
invoiceMail
:
'String'
,
//发票邮箱
desc
:
'String'
,
//描述
}
}
},
},
{
{
...
...
src/routers/order/router.ts
View file @
eda3384a
...
@@ -183,6 +183,8 @@ export const Config = {
...
@@ -183,6 +183,8 @@ export const Config = {
{
key
:
"id"
,
type
:
"String"
,
desc
:
"会员缴费列表返回id"
},
{
key
:
"id"
,
type
:
"String"
,
desc
:
"会员缴费列表返回id"
},
{
key
:
"weChartPR"
,
type
:
"String"
,
desc
:
"转账单号"
},
{
key
:
"weChartPR"
,
type
:
"String"
,
desc
:
"转账单号"
},
{
key
:
"offlinePaymentUrl"
,
type
:
"String"
,
desc
:
"截图上传"
},
{
key
:
"offlinePaymentUrl"
,
type
:
"String"
,
desc
:
"截图上传"
},
{
key
:
"invoiceMail"
,
type
:
"String"
,
desc
:
"邮箱"
},
{
key
:
"desc"
,
type
:
"String"
,
desc
:
"备注"
},
],
],
bindBiz
:
orderBiz
.
upTransferImg
bindBiz
:
orderBiz
.
upTransferImg
},
},
...
...
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