Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
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
viitto
million
Commits
d64d5186
Commit
d64d5186
authored
Nov 27, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
94b0781b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
34 deletions
+4
-34
kkday.vue
src/components/searchProductdata/kkday.vue
+4
-34
No files found.
src/components/searchProductdata/kkday.vue
View file @
d64d5186
...
@@ -522,38 +522,7 @@ export default {
...
@@ -522,38 +522,7 @@ export default {
this.dateRange = { from: this.msg.startDate, to: this.msg.endDate
}
;
this.dateRange = { from: this.msg.startDate, to: this.msg.endDate
}
;
}
,
}
,
mounted() {
mounted() {
let LineIdList = [];
if (this.msg.LineIds && this.msg.LineIds.length > 0) {
LineIdList = this.msg.LineIds.split("
,
");
}
let SeriesIdList = [];
if (this.msg.SeriesIds && this.msg.SeriesIds.length > 0) {
SeriesIdList = this.msg.SeriesIds.split("
,
");
}
if (
(LineIdList && LineIdList.length > 0) ||
(SeriesIdList && SeriesIdList.length > 0)
) {
let arr = [];
this.goodsType.forEach((x) => {
let lineIdIndex = LineIdList.findIndex((yId) => x.Id.slice(2) == yId);
if (lineIdIndex != -1) {
arr.push(x.Id);
}
x.children.forEach((y) => {
if (lineIdIndex != -1) {
arr.push(y.Id);
}
else {
let seriesIdIndex = SeriesIdList.findIndex((yId) => y.Id.slice(2) == yId);
if (seriesIdIndex != -1) {
arr.push(y.Id);
}
}
}
);
}
);
this.ticked = arr;
}
}
,
}
,
methods: {
methods: {
handleSelected(target) {
handleSelected(target) {
...
@@ -635,12 +604,13 @@ export default {
...
@@ -635,12 +604,13 @@ export default {
let arr = [];
let arr = [];
let LineIdList = [];
let LineIdList = [];
if (this.msg.LineIds && this.msg.LineIds.length > 0) {
if (this.msg.LineIds && this.msg.LineIds.length > 0) {
LineIdList = this.msg.LineIds.split("
;
");
LineIdList = this.msg.LineIds.split("
,
");
}
}
let SeriesIdList = [];
let SeriesIdList = [];
if (this.msg.SeriesIds && this.msg.SeriesIds.length > 0) {
if (this.msg.SeriesIds && this.msg.SeriesIds.length > 0) {
SeriesIdList = this.msg.SeriesIds.split("
;
");
SeriesIdList = this.msg.SeriesIds.split("
,
");
}
}
console.log("
SeriesIdList
",SeriesIdList);
this.apipost(
this.apipost(
"
b2c_get_GetB2CQueryCondition
",
"
b2c_get_GetB2CQueryCondition
",
this.msg,
this.msg,
...
...
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