Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
Project
Project
Details
Activity
Releases
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
刘文虎
account-book
Commits
91ea3178
Commit
91ea3178
authored
Aug 25, 2023
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 报价接口更换
parent
f570b059
Pipeline
#6612
canceled with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
quoted-price.js
api/bill/quoted-price.js
+8
-0
choose-category.vue
pages/bill/quoted-price/choose-category/choose-category.vue
+6
-4
No files found.
api/bill/quoted-price.js
View file @
91ea3178
...
@@ -15,6 +15,14 @@ export async function getBrandV3(data) {
...
@@ -15,6 +15,14 @@ export async function getBrandV3(data) {
})
})
}
}
export
async
function
getBrandV4
(
data
)
{
return
request
({
url
:
`/rest/anno/offer/v4/getProductInfo`
,
method
:
'GET'
,
data
})
}
export
function
getOffer
(
data
)
{
export
function
getOffer
(
data
)
{
return
request
({
return
request
({
url
:
`/rest/anno/offer/getOffer`
,
url
:
`/rest/anno/offer/getOffer`
,
...
...
pages/bill/quoted-price/choose-category/choose-category.vue
View file @
91ea3178
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<
script
>
<
script
>
import
QuotedPriceTips
from
'../components/quoted-price-tips.vue'
;
import
QuotedPriceTips
from
'../components/quoted-price-tips.vue'
;
import
QuotedPriceCrumbs
from
'../components/quoted-price-crumbs.vue'
;
import
QuotedPriceCrumbs
from
'../components/quoted-price-crumbs.vue'
;
import
{
getBrand
,
getBrandV
3
}
from
'@/api/bill/quoted-price.js'
;
import
{
getBrand
,
getBrandV
4
}
from
'@/api/bill/quoted-price.js'
;
export
default
{
export
default
{
components
:
{
components
:
{
QuotedPriceTips
,
QuotedPriceTips
,
...
@@ -98,7 +98,7 @@ export default {
...
@@ -98,7 +98,7 @@ export default {
this
.
initScrollView
().
then
(()
=>
{
this
.
initScrollView
().
then
(()
=>
{
/* 获取列表数据,你的代码从此处开始 */
/* 获取列表数据,你的代码从此处开始 */
// this.getList();
// this.getList();
this
.
getBrandV
3
()
this
.
getBrandV
4
()
});
});
},
100
);
},
100
);
},
},
...
@@ -135,8 +135,10 @@ export default {
...
@@ -135,8 +135,10 @@ export default {
});
});
},
},
getBrandV3
()
{
getBrandV4
()
{
getBrandV3
().
then
((
res
)
=>
{
getBrandV4
({
serviceType
:
'AZ'
}).
then
((
res
)
=>
{
if
(
res
.
data
)
{
if
(
res
.
data
)
{
this
.
leftArray
=
res
.
data
this
.
leftArray
=
res
.
data
this
.
mainArray
=
res
.
data
this
.
mainArray
=
res
.
data
...
...
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