Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
911c49a2
authored
2023-02-10 11:14:35 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
日期选择空间格式修改
1 parent
334a11ba
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
15 deletions
src/utils/operation.js
src/views/jktj/bsxljk/index.vue
src/views/jktj/cgltj/index.vue
src/views/jktj/ywltj/index.vue
src/views/jsbwcx/index.vue
src/views/sthj/dbrzcx/index.vue
src/views/sthj/sbbwcx/index.vue
src/utils/operation.js
View file @
911c49a
import
{
Message
}
from
"element-ui"
;
export
function
removeTreeListItem
(
treeList
,
dictId
,
idName
=
'bsmDict'
)
{
debugger
if
(
!
treeList
||
!
treeList
.
length
)
{
return
}
...
...
@@ -122,9 +122,9 @@ export function timeFormat (date, end) {
var
d
=
date
.
getDate
();
//日
d
<
10
&&
(
d
=
'0'
+
d
)
if
(
end
)
{
return
y
+
"
/"
+
m
+
"/
"
+
d
+
' 23:59:59'
;
return
y
+
"
-"
+
m
+
"-
"
+
d
+
' 23:59:59'
;
}
else
{
return
y
+
"
/"
+
m
+
"/
"
+
d
+
' 00:00:00'
;
return
y
+
"
-"
+
m
+
"-
"
+
d
+
' 00:00:00'
;
}
}
export
function
getFirstDayOfSeason
(
d
)
{
...
...
src/views/jktj/bsxljk/index.vue
View file @
911c49a
...
...
@@ -17,7 +17,7 @@
placeholder=
"开始日期"
:picker-options=
"pickerOptionsStart"
v-model=
"form.startTime"
value-format=
"yyyy
/MM/
dd HH:mm:ss"
value-format=
"yyyy
-MM-
dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-col>
...
...
@@ -30,7 +30,7 @@
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
v-model=
"form.endTime"
value-format=
"yyyy
/MM/
dd HH:mm:ss"
value-format=
"yyyy
-MM-
dd HH:mm:ss"
@
change=
"endTimeChange"
></el-date-picker>
</el-form-item>
...
...
src/views/jktj/cgltj/index.vue
View file @
911c49a
...
...
@@ -35,7 +35,7 @@
placeholder=
"开始日期"
:picker-options=
"pickerOptionsStart"
v-model=
"form.startTime"
value-format=
"yyyy
/MM/
dd HH:mm:ss"
value-format=
"yyyy
-MM-
dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-col>
...
...
@@ -48,7 +48,7 @@
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
v-model=
"form.endTime"
value-format=
"yyyy
/MM/
dd HH:mm:ss"
value-format=
"yyyy
-MM-
dd HH:mm:ss"
@
change=
"endTimeChange"
></el-date-picker>
</el-form-item>
...
...
src/views/jktj/ywltj/index.vue
View file @
911c49a
...
...
@@ -35,7 +35,7 @@
placeholder=
"开始日期"
:picker-options=
"pickerOptionsStart"
v-model=
"form.startTime"
value-format=
"yyyy
/MM/
dd HH:mm:ss"
value-format=
"yyyy
-MM-
dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-col>
...
...
@@ -48,7 +48,7 @@
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
v-model=
"form.endTime"
value-format=
"yyyy
/MM/
dd HH:mm:ss"
value-format=
"yyyy
-MM-
dd HH:mm:ss"
@
change=
"endTimeChange"
></el-date-picker>
</el-form-item>
...
...
src/views/jsbwcx/index.vue
View file @
911c49a
...
...
@@ -19,13 +19,13 @@
<el-col
:span=
"6"
>
<el-form-item
label=
"接收日期"
prop=
"receiveStartTime"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"开始日期"
:picker-options=
"pickerOptionsStart"
clearable
v-model=
"form.receiveStartTime"
value-format=
"yyyy
/MM/
dd HH:mm:ss"
></el-date-picker>
clearable
v-model=
"form.receiveStartTime"
value-format=
"yyyy
-MM-
dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"至"
prop=
"receiveEndTime"
label-width=
"35px"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
clearable
v-model=
"form.receiveEndTime"
value-format=
"yyyy
/MM/
dd HH:mm:ss"
clearable
v-model=
"form.receiveEndTime"
value-format=
"yyyy
-MM-
dd HH:mm:ss"
@
change=
"endTimeChange"
></el-date-picker>
</el-form-item>
</el-col>
...
...
src/views/sthj/dbrzcx/index.vue
View file @
911c49a
...
...
@@ -19,13 +19,13 @@
<el-col
:span=
"6"
>
<el-form-item
label=
"开始日期"
prop=
"startTime"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"开始日期"
:picker-options=
"pickerOptionsStart"
clearable
v-model=
"form.startTime"
value-format=
"yyyy
/MM/
dd HH:mm:ss"
></el-date-picker>
clearable
v-model=
"form.startTime"
value-format=
"yyyy
-MM-
dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"结束日期"
prop=
"endTime"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
clearable
v-model=
"form.endTime"
value-format=
"yyyy
/MM/
dd HH:mm:ss"
clearable
v-model=
"form.endTime"
value-format=
"yyyy
-MM-
dd HH:mm:ss"
@
change=
"endTimeChange"
></el-date-picker>
</el-form-item>
</el-col>
...
...
src/views/sthj/sbbwcx/index.vue
View file @
911c49a
...
...
@@ -20,14 +20,14 @@
<el-form-item
label=
"汇交时间"
prop=
"exchangeStartTime"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"开始日期"
clearable
:picker-options=
"pickerOptionsStart"
v-model=
"form.exchangeStartTime"
value-format=
"yyyy
/MM/
dd HH:mm:ss"
></el-date-picker>
value-format=
"yyyy
-MM-
dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"至"
prop=
"exchangeStartTime"
label-width=
"35px"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"结束日期"
clearable
:picker-options=
"pickerOptionsEnd"
v-model=
"form.exchangeEndTime"
value-format=
"yyyy
/MM/
dd HH:mm:ss"
@
change=
"endTimeChange"
></el-date-picker>
value-format=
"yyyy
-MM-
dd HH:mm:ss"
@
change=
"endTimeChange"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
...
...
Please
register
or
sign in
to post a comment