Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
K
klck
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
位宇华
klck
Commits
737d66cf
Commit
737d66cf
authored
Sep 27, 2023
by
lenovo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物资详情页面添加校验
parent
76b5b43b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
2 deletions
+26
-2
ruoyi-supplies/src/main/java/com/ruoyi/system/service/impl/ActSuppliesHistorydataServiceImpl.java
...ystem/service/impl/ActSuppliesHistorydataServiceImpl.java
+1
-0
ruoyi-ui/src/views/system/supplies/index.vue
ruoyi-ui/src/views/system/supplies/index.vue
+25
-2
No files found.
ruoyi-supplies/src/main/java/com/ruoyi/system/service/impl/ActSuppliesHistorydataServiceImpl.java
View file @
737d66cf
...
...
@@ -159,6 +159,7 @@ public class ActSuppliesHistorydataServiceImpl implements IActSuppliesHistorydat
return
0
;
}
/**
* 获取所有历史数据
*
...
...
ruoyi-ui/src/views/system/supplies/index.vue
View file @
737d66cf
...
...
@@ -18,13 +18,14 @@
</el-form-item>
<el-form-item
label=
"时间"
prop=
"date"
>
<el-date-picker
@
change=
"handledateChange"
v-model=
"date"
type=
"month"
placeholder=
"选择月"
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
"所属矿区"
prop=
"
status
"
>
<el-select
v-model=
"mining"
placeholder=
"请选择矿区"
>
<el-form-item
label=
"所属矿区"
prop=
"
mining
"
>
<el-select
v-model=
"mining"
placeholder=
"请选择矿区"
@
change=
"handleminingChange"
>
<el-option
label=
"东欢坨矿"
:value=
"1"
></el-option>
<el-option
label=
"范矿"
:value=
"2"
></el-option>
<el-option
label=
"林西矿"
:value=
"3"
></el-option>
...
...
@@ -153,7 +154,29 @@ export default {
rulesdate
(){
if
(
this
.
date
==
''
||
this
.
date
==
null
){
this
.
disableNextButton
=
true
;
this
.
$message
.
error
(
'
请选择时间日期!
'
);
}
else
if
(
this
.
mining
==
''
||
this
.
mining
==
null
){
this
.
disableNextButton
=
true
;
this
.
$message
.
error
(
'
请选择所属矿区!
'
);
}
},
handledateChange
(){
if
(
this
.
date
==
''
||
this
.
date
==
null
||
this
.
date
==
undefined
){
this
.
disableNextButton
=
true
;
}
else
{
this
.
disableNextButton
=
false
;
}
},
handleminingChange
(){
if
(
this
.
date
==
''
||
this
.
date
==
null
||
this
.
date
==
undefined
){
this
.
disableNextButton
=
true
;
}
else
{
this
.
disableNextButton
=
false
;
}
},
...
...
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