Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pad
Project
Project
Details
Activity
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
ximai
mes-pad
Commits
b8089d4c
Commit
b8089d4c
authored
May 11, 2024
by
张海景
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:修改日期组件
parent
0ef7673d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
index.vue
pages/mes/qc/index.vue
+1
-1
calendar.vue
...tetime-picker/components/uni-datetime-picker/calendar.vue
+4
-2
time-picker.vue
...ime-picker/components/uni-datetime-picker/time-picker.vue
+1
-0
No files found.
pages/mes/qc/index.vue
View file @
b8089d4c
...
...
@@ -115,7 +115,7 @@
<!-- <u-input v-model="qcForm.inspector"></u-input>-->
<!-- <zxz-uni-data-select v-model="qcForm.inspector" filterable multiple dataKey="label" dataValue="value" :localdata="qcUserList" @change="change"></zxz-uni-data-select> -->
<u-input
disabled
v-model=
"qcForm.inspectorNickName"
></u-input>
<u-button
@
tap=
"userTempVisible = true"
type=
"success"
size=
"mini"
>
选择人员
</u-button>
<u-button
v-if=
"btnType !== 'firstView'"
@
tap=
"userTempVisible = true"
type=
"success"
size=
"mini"
>
选择人员
</u-button>
</u-form-item>
</u-col>
</u-row>
...
...
uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue
View file @
b8089d4c
...
...
@@ -70,6 +70,7 @@
style=
"padding: 0 80px;"
>
<view
class=
"uni-date-changed--time-date"
>
{{
tempSingleDate
?
tempSingleDate
:
selectDateText
}}
</view>
<time-picker
type=
"time"
:start=
"timepickerStartTime"
:end=
"timepickerEndTime"
v-model=
"time"
@
submit=
"confirm"
:disabled=
"!tempSingleDate"
:border=
"false"
:hide-second=
"hideSecond"
class=
"time-picker-style"
>
</time-picker>
</view>
...
...
@@ -93,9 +94,9 @@
</view>
</view>
<view
v-if=
"!insert"
class=
"uni-date-changed uni-date-btn--ok"
>
<
!--
<
view
v-if=
"!insert"
class=
"uni-date-changed uni-date-btn--ok"
>
<view
class=
"uni-datetime-picker--btn"
@
click=
"confirm"
>
{{
confirmText
}}
</view>
</view>
</view>
-->
</view>
</view>
</
template
>
...
...
@@ -594,6 +595,7 @@
this
.
tempRange
.
after
=
this
.
cale
.
multipleStatus
.
after
}
this
.
change
()
this
.
confirm
()
},
changeMonth
(
type
)
{
let
newDate
...
...
uni_modules/uni-datetime-picker/components/uni-datetime-picker/time-picker.vue
View file @
b8089d4c
...
...
@@ -761,6 +761,7 @@
setTime
()
{
this
.
initTime
()
this
.
tiggerTimePicker
()
this
.
$emit
(
'submit'
)
}
}
}
...
...
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