Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
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
吴迪
gs1
Commits
8a5d8fb3
Commit
8a5d8fb3
authored
Dec 27, 2021
by
Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 变更记录
parent
214e424d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
search.js
src/axios/module/search.js
+6
-0
internal.vue
src/views/Search/internal.vue
+12
-3
No files found.
src/axios/module/search.js
View file @
8a5d8fb3
...
...
@@ -24,6 +24,11 @@ const searchInternalProduct = (params = {}) => {
return
POST
(
`
${
Prefix
}
/office/production/api/search`
,
params
)
}
// 条码查询—查询商品变更记录
const
searchCompanyChange
=
(
params
=
{})
=>
{
return
POST
(
`
${
Prefix
}
/office/codeSearch/api/domesticCodeUpdateList`
,
params
)
}
// 条码查询—自行车企业代码公告查询
const
searchBike
=
(
params
=
{})
=>
{
return
POST
(
`
${
Prefix
}
/office/bikefirm/api/getBikeFirm`
,
params
)
...
...
@@ -39,6 +44,7 @@ export default {
searchGetList
,
searchInternal
,
searchInternalProduct
,
searchCompanyChange
,
searchBike
,
searchGlossary
,
}
src/views/Search/internal.vue
View file @
8a5d8fb3
...
...
@@ -301,8 +301,8 @@ export default {
changeDetail
:
[
{
changeDate
:
'2021-12-11'
,
before
:
'
公司名称AAAAA
'
,
after
:
'
公司名称BBBBB
'
,
before
:
''
,
after
:
''
,
}
],
changeDialogVisible
:
false
,
...
...
@@ -362,9 +362,18 @@ export default {
}
},
// 查看变更详情
handleCheckChange
(
row
)
{
async
handleCheckChange
(
row
)
{
console
.
log
(
row
);
const
searchGlnRes
=
await
this
.
$api
.
search
.
searchCompanyChange
({
code
:
row
.
code
});
console
.
log
(
searchGlnRes
)
const
{
data
}
=
searchGlnRes
;
if
(
searchGlnRes
.
success
)
{
console
.
log
(
data
)
this
.
changeDetail
=
data
this
.
changeDialogVisible
=
true
}
else
{
alert
(
searchGlnRes
.
returnMsg
||
'网络错误,请稍后再试'
)
}
},
async
handleSearchCompany
()
{
this
.
showResult
=
true
;
...
...
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