Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-shop-manage
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
李奇
8 years ago
Commit
a67087287c64d3b066589ac1ddb66cb1da49ea8a
1 parent
f26a5452
master
...
develop
feature/6.9.24
feature/business-board-add-field
feature/jit
feature/merchant-app-invoice
feature/one-product-proxy-send
feture/docker
release/6.10.1
release/6.10.2
release/6.9.10
release/6.9.24
2.0
fixed:初始条件重置
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
36 deletions
app/pages/product/offsale/offsale.vue
app/pages/product/offsale/store/index.js
app/pages/product/onsale/onsale.vue
app/pages/product/onsale/store/index.js
app/pages/product/offsale/offsale.vue
View file @
a670872
...
...
@@ -91,8 +91,7 @@
tableCols,
tableData,
pageData,
filters: filterFields,
initialFilters: '',
filters: '',
batchOnSale: [],
useFilterSign: false,
showSizeEdit: false,
...
...
@@ -101,7 +100,7 @@
},
created() {
this.productList();
this.
initialFilters = JSON.stringify(filter
Fields);
this.
filters = JSON.parse(initial
Fields);
},
methods: {
editSize(skn) {
...
...
@@ -133,7 +132,7 @@
this.pageData.current = 1;
},
clearFilter() {
this.filters = JSON.parse(
this.initialFilter
s);
this.filters = JSON.parse(
initialField
s);
this.productList();
this.useFilterSign = false;
this.pageData.current = 1;
...
...
@@ -289,24 +288,7 @@
</script>
<style lang="scss">
.row-space {
margin-bottom: 20px;
}
.btn-row-space {
margin-top: 10px;
}
.field-label {
line-height: 32px;
}
.hr {
border-top: 1px solid #eee;
}
.list-page {
float: right;
}
</style>
...
...
app/pages/product/offsale/store/index.js
View file @
a670872
...
...
@@ -137,7 +137,7 @@ let filterFields = {
}
};
let
initialFields
=
JSON
.
parse
(
JSON
.
stringify
(
filterFields
)
);
let
initialFields
=
JSON
.
stringify
(
filterFields
);
let
tableCols
=
[
{
...
...
app/pages/product/onsale/onsale.vue
View file @
a670872
...
...
@@ -2,7 +2,7 @@
<LayoutBody>
<LayoutFilter>
<FilterItem :label="filters.sknCode.label">
<Input v-model.trim="filters.sknCode.model"
<Input v-model.trim
.trim
="filters.sknCode.model"
:placeholder="filters.sknCode.holder"></Input>
</FilterItem>
<FilterItem :label="filters.prodCode.label">
...
...
@@ -84,8 +84,7 @@
tableCols,
tableData,
pageData,
filters: filterFields,
initialFilters: '',
filters: '',
batchOffSale: [],
useFilterSign: false,
categoryValue: []
...
...
@@ -93,7 +92,7 @@
},
created() {
this.productList();
this.
initialFilters = JSON.stringify(filter
Fields);
this.
filters = JSON.parse(initial
Fields);
},
methods: {
editSize(skn) {
...
...
@@ -125,7 +124,7 @@
},
clearFilter() {
this.filters = JSON.parse(
this.initialFilter
s);
this.filters = JSON.parse(
initialField
s);
this.productList();
this.useFilterSign = false;
this.pageData.current = 1;
...
...
@@ -280,7 +279,7 @@
</script>
<style lang="scss">
.list-page {
float: right;
.btn-row-space {
margin-top: 10px;
}
</style>
...
...
app/pages/product/onsale/store/index.js
View file @
a670872
...
...
@@ -18,7 +18,6 @@ let filterFields = {
holder
:
''
,
fieldSpan
:
18
},
prodCode
:
{
label
:
'商家编码'
,
labelSpan
:
6
,
...
...
@@ -26,7 +25,6 @@ let filterFields = {
holder
:
''
,
fieldSpan
:
18
},
prodName
:
{
label
:
'商品名称'
,
labelSpan
:
6
,
...
...
@@ -41,7 +39,6 @@ let filterFields = {
holder
:
''
,
fieldSpan
:
18
},
sort
:
{
first
:
{
label
:
'选择类目'
,
...
...
@@ -65,14 +62,12 @@ let filterFields = {
model
:
''
}
},
brand
:
{
label
:
'选择品牌'
,
labelSpan
:
6
,
fieldSpan
:
18
,
model
:
-
1
},
verifyStatus
:
{
label
:
'审核状态'
,
labelSpan
:
6
,
...
...
@@ -93,7 +88,6 @@ let filterFields = {
}
]
},
stockStatus
:
{
label
:
'库存情况'
,
labelSpan
:
6
,
...
...
@@ -116,7 +110,7 @@ let filterFields = {
}
};
let
initialFields
=
JSON
.
parse
(
JSON
.
stringify
(
filterFields
)
);
let
initialFields
=
JSON
.
stringify
(
filterFields
);
let
tableCols
=
[
{
...
...
Please
register
or
login
to post a comment