Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
Project
Project
Details
Activity
Releases
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
刘文虎
account-book
Commits
cbf8e834
Commit
cbf8e834
authored
Mar 14, 2026
by
肖重湘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决鸿蒙设备 type=digit二次渲染输入无效bug
parent
cbce2ba9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
particulars-create.vue
pages/maintain-bill/components/particulars-create.vue
+9
-11
No files found.
pages/maintain-bill/components/particulars-create.vue
View file @
cbf8e834
...
...
@@ -54,7 +54,9 @@
<view
class=
"item-view"
>
<view
class=
"label-view"
>
单价
</view>
<view
class=
"value-view"
>
<!-- v-if="show" 解决鸿蒙设备 type="digit"二次渲染输入无效bug-->
<u-input
v-if=
"show"
type=
"digit"
:clearable=
"false"
:custom-style=
"customStyle"
...
...
@@ -159,7 +161,7 @@ export default {
},
disabled
()
{
let
flag
=
false
;
this
.
rules
.
map
(
item
=>
{
this
.
rules
.
map
(
(
item
)
=>
{
if
(
!
this
.
form
[
item
.
value
])
{
flag
=
true
;
}
...
...
@@ -168,7 +170,7 @@ export default {
}
},
created
()
{
uni
.
$on
(
'charge-selected'
,
res
=>
{
uni
.
$on
(
'charge-selected'
,
(
res
)
=>
{
var
form
=
JSON
.
parse
(
res
||
{});
this
.
form
.
unit
=
form
.
unit
;
this
.
form
.
name
=
form
.
serviceName
;
...
...
@@ -180,17 +182,13 @@ export default {
methods
:
{
open
(
detail
)
{
if
(
detail
&&
detail
.
uid
)
{
this
.
form
=
{
...
detail
};
}
else
{
this
.
form
=
{
...
this
.
defaultInfo
};
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
detail
));
}
else
{
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
defaultInfo
));
}
//
this.$nextTick(() => {
this
.
$nextTick
(()
=>
{
this
.
show
=
true
;
//
});
});
},
close
()
{
this
.
show
=
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