Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
f6d96a3f
Commit
f6d96a3f
authored
Jun 04, 2021
by
季圣华
Browse files
报表优化,增加查询条件校验
parent
16b3153b
Changes
9
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/report/BuyInReport.vue
View file @
f6d96a3f
...
@@ -108,6 +108,13 @@
...
@@ -108,6 +108,13 @@
onChange
:
function
(
value
,
dateString
)
{
onChange
:
function
(
value
,
dateString
)
{
console
.
log
(
dateString
);
console
.
log
(
dateString
);
this
.
queryParam
.
monthTime
=
dateString
;
this
.
queryParam
.
monthTime
=
dateString
;
},
searchQuery
()
{
if
(
this
.
queryParam
.
monthTime
==
''
){
this
.
$message
.
warning
(
'
请选择月份!
'
)
}
else
{
this
.
loadData
(
1
);
}
}
}
}
}
}
}
...
...
jshERP-web/src/views/report/CustomerAccount.vue
View file @
f6d96a3f
...
@@ -194,6 +194,13 @@
...
@@ -194,6 +194,13 @@
this
.
handleDetail
(
res
.
data
,
record
.
type
);
this
.
handleDetail
(
res
.
data
,
record
.
type
);
}
}
})
})
},
searchQuery
()
{
if
(
this
.
queryParam
.
beginTime
==
''
||
this
.
queryParam
.
endTime
==
''
){
this
.
$message
.
warning
(
'
请选择单据日期!
'
)
}
else
{
this
.
loadData
(
1
);
}
}
}
}
}
}
}
...
...
jshERP-web/src/views/report/InDetail.vue
View file @
f6d96a3f
...
@@ -183,6 +183,13 @@
...
@@ -183,6 +183,13 @@
this
.
handleDetail
(
res
.
data
,
record
.
newType
);
this
.
handleDetail
(
res
.
data
,
record
.
newType
);
}
}
})
})
},
searchQuery
()
{
if
(
this
.
queryParam
.
beginTime
==
''
||
this
.
queryParam
.
endTime
==
''
){
this
.
$message
.
warning
(
'
请选择单据日期!
'
)
}
else
{
this
.
loadData
(
1
);
}
}
}
}
}
}
}
...
...
jshERP-web/src/views/report/InMaterialCount.vue
View file @
f6d96a3f
...
@@ -162,6 +162,13 @@
...
@@ -162,6 +162,13 @@
this
.
$message
.
info
(
res
.
data
);
this
.
$message
.
info
(
res
.
data
);
}
}
})
})
},
searchQuery
()
{
if
(
this
.
queryParam
.
beginTime
==
''
||
this
.
queryParam
.
endTime
==
''
){
this
.
$message
.
warning
(
'
请选择单据日期!
'
)
}
else
{
this
.
loadData
(
1
);
}
}
}
}
}
}
}
...
...
jshERP-web/src/views/report/InOutStockReport.vue
View file @
f6d96a3f
...
@@ -155,13 +155,17 @@
...
@@ -155,13 +155,17 @@
}
}
})
})
},
},
searchQuery
()
{
this
.
loadData
(
1
);
this
.
getTotalCountMoney
();
},
onChange
:
function
(
value
,
dateString
)
{
onChange
:
function
(
value
,
dateString
)
{
console
.
log
(
dateString
);
console
.
log
(
dateString
);
this
.
queryParam
.
monthTime
=
dateString
;
this
.
queryParam
.
monthTime
=
dateString
;
},
searchQuery
()
{
if
(
this
.
queryParam
.
monthTime
==
''
){
this
.
$message
.
warning
(
'
请选择月份!
'
)
}
else
{
this
.
loadData
(
1
);
this
.
getTotalCountMoney
();
}
}
}
}
}
}
}
...
...
jshERP-web/src/views/report/OutDetail.vue
View file @
f6d96a3f
...
@@ -183,6 +183,13 @@
...
@@ -183,6 +183,13 @@
this
.
handleDetail
(
res
.
data
,
record
.
newType
);
this
.
handleDetail
(
res
.
data
,
record
.
newType
);
}
}
})
})
},
searchQuery
()
{
if
(
this
.
queryParam
.
beginTime
==
''
||
this
.
queryParam
.
endTime
==
''
){
this
.
$message
.
warning
(
'
请选择单据日期!
'
)
}
else
{
this
.
loadData
(
1
);
}
}
}
}
}
}
}
...
...
jshERP-web/src/views/report/OutMaterialCount.vue
View file @
f6d96a3f
...
@@ -162,6 +162,13 @@
...
@@ -162,6 +162,13 @@
this
.
$message
.
info
(
res
.
data
);
this
.
$message
.
info
(
res
.
data
);
}
}
})
})
},
searchQuery
()
{
if
(
this
.
queryParam
.
beginTime
==
''
||
this
.
queryParam
.
endTime
==
''
){
this
.
$message
.
warning
(
'
请选择单据日期!
'
)
}
else
{
this
.
loadData
(
1
);
}
}
}
}
}
}
}
...
...
jshERP-web/src/views/report/SaleOutReport.vue
View file @
f6d96a3f
...
@@ -111,6 +111,13 @@
...
@@ -111,6 +111,13 @@
onChange
:
function
(
value
,
dateString
)
{
onChange
:
function
(
value
,
dateString
)
{
console
.
log
(
dateString
);
console
.
log
(
dateString
);
this
.
queryParam
.
monthTime
=
dateString
;
this
.
queryParam
.
monthTime
=
dateString
;
},
searchQuery
()
{
if
(
this
.
queryParam
.
monthTime
==
''
){
this
.
$message
.
warning
(
'
请选择月份!
'
)
}
else
{
this
.
loadData
(
1
);
}
}
}
}
}
}
}
...
...
jshERP-web/src/views/report/VendorAccount.vue
View file @
f6d96a3f
...
@@ -195,6 +195,13 @@
...
@@ -195,6 +195,13 @@
this
.
handleDetail
(
res
.
data
,
record
.
type
);
this
.
handleDetail
(
res
.
data
,
record
.
type
);
}
}
})
})
},
searchQuery
()
{
if
(
this
.
queryParam
.
beginTime
==
''
||
this
.
queryParam
.
endTime
==
''
){
this
.
$message
.
warning
(
'
请选择单据日期!
'
)
}
else
{
this
.
loadData
(
1
);
}
}
}
}
}
}
}
...
...
Write
Preview
Supports
Markdown
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