Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
linshenxs-shop
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈超
linshenxs-shop
Commits
472f5074
Commit
472f5074
authored
Jul 12, 2022
by
cpa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改商家端商品查询异常
parent
38f6e49e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
12 deletions
+36
-12
src/api/mall/merchantMallgoods.js
+12
-0
src/views/businessGoods/index.vue
+24
-11
src/views/businessOrder/index.vue
+0
-1
No files found.
src/api/mall/merchantMallgoods.js
View file @
472f5074
import
request
from
'@/router/axios'
export
function
getMerchantByAccount
(
parameter
)
{
return
request
({
url
:
'/admin/merchantMallGoods/getMerchantByAccount'
,
method
:
'get'
,
params
:
parameter
})
}
export
function
isUpon
(
parameter
)
{
return
request
({
url
:
'/admin/merchantMallGoods/batchUpon'
,
...
...
@@ -31,6 +42,7 @@ export function getGoodsInfo(query) {
params
:
query
})
}
//
// export function addObj(obj) {
// return request({
...
...
src/views/businessGoods/index.vue
View file @
472f5074
...
...
@@ -54,13 +54,14 @@
</template>
<
script
>
import
{
fetchList
,
addObj
,
delObj
,
isUpon
,
isNotUpon
}
from
'@/api/mall/merchantMallgoods'
import
{
fetchList
,
addObj
,
delObj
,
isUpon
,
isNotUpon
,
getMerchantByAccount
}
from
'@/api/mall/merchantMallgoods'
import
{
tableOption
}
from
'@/const/crud/mall/merchantMallgoods'
import
{
mapGetters
}
from
'vuex'
export
default
{
name
:
'businessGoods'
,
data
()
{
return
{
merchantId
:
''
,
goodsEditVue
:
false
,
id
:
undefined
,
searchForm
:
{},
...
...
@@ -106,19 +107,31 @@
onChangeDone
()
{
this
.
refreshChange
()
},
// 列表查询
getList
(
page
,
params
)
{
this
.
tableLoading
=
true
// 列表查询
getList
:
function
(
page
,
params
)
{
this
.
tableLoading
=
true
// 1.获取当前登陆用户ID
let
userInfo
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"linshenxs-userInfo"
))
let
account
=
userInfo
.
content
.
username
getMerchantByAccount
(
{
account
:
account
}
).
then
(
response
=>
{
fetchList
(
Object
.
assign
({
current
:
page
.
currentPage
,
size
:
page
.
pageSize
},
params
,
this
.
searchForm
)).
then
(
response
=>
{
this
.
tableData
=
response
.
data
.
data
.
records
this
.
page
.
total
=
response
.
data
.
data
.
total
this
.
tableLoading
=
false
current
:
page
.
currentPage
,
size
:
page
.
pageSize
,
merchantId
:
response
.
data
.
data
.
id
},
params
,
this
.
searchForm
)).
then
(
response
=>
{
this
.
tableData
=
response
.
data
.
data
.
records
this
.
page
.
total
=
response
.
data
.
data
.
total
this
.
tableLoading
=
false
}).
catch
(()
=>
{
this
.
tableLoading
=
false
this
.
tableLoading
=
false
})
}).
catch
(()
=>
{
this
.
tableLoading
=
false
})
},
// 删除
handleDel
:
function
(
row
,
index
)
{
...
...
src/views/businessOrder/index.vue
View file @
472f5074
...
...
@@ -197,7 +197,6 @@
// 立即发货-对话框
shipsImmediately
(
row
){
this
.
form
.
orderNo
=
row
.
orderNo
this
.
$axios
.
get
(
"/admin/merchantMallOrder/isNeedMailed"
,{
params
:{
orderNo
:
row
.
orderNo
},
}).
then
(
response
=>
{
...
...
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