Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
uplus-fapai-mp
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d0cca6a0
authored
Apr 24, 2026
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增重新发拍功能,优化发拍单保存逻辑
1 parent
74490a4b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
api/module/home.js
packageIndex/pages/editOrder/index/index.js
api/module/home.js
View file @
d0cca6a
...
@@ -11,6 +11,10 @@ module.exports = {
...
@@ -11,6 +11,10 @@ module.exports = {
saveAuction
(
data
)
{
saveAuction
(
data
)
{
return
api
.
fetch
(
"/rest/audit/save"
,
data
);
return
api
.
fetch
(
"/rest/audit/save"
,
data
);
},
},
/**保存-重新发拍 */
rePublishAuction
(
data
)
{
return
api
.
fetch
(
"/rest/audit/rePublish"
,
data
);
},
/**下架发拍单 */
/**下架发拍单 */
offShelfAuction
(
data
)
{
offShelfAuction
(
data
)
{
return
api
.
get
({
return
api
.
get
({
...
...
packageIndex/pages/editOrder/index/index.js
View file @
d0cca6a
...
@@ -255,8 +255,9 @@ Page({
...
@@ -255,8 +255,9 @@ Page({
mask
:
true
,
mask
:
true
,
});
});
homeApi
const
apiMethod
=
(
optType
===
"republish"
&&
isSubmit
)
?
homeApi
.
rePublishAuction
(
params
)
:
homeApi
.
saveAuction
(
params
);
.
saveAuction
(
params
)
apiMethod
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
this
.
setData
({
isRequesting
:
false
});
this
.
setData
({
isRequesting
:
false
});
wx
.
hideLoading
();
wx
.
hideLoading
();
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment