Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
f7516e03
Commit
f7516e03
authored
Aug 22, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调漆调配记录卡粘度没有有值的时候不从理论粘度截取
parent
cd5666f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.vue
...s/src/privateComponents/components/ViscosityBox/index.vue
+2
-2
No files found.
applications/dee-mes/src/privateComponents/components/ViscosityBox/index.vue
View file @
f7516e03
...
@@ -62,9 +62,9 @@ export default {
...
@@ -62,9 +62,9 @@ export default {
immediate
:
true
,
immediate
:
true
,
deep
:
true
,
deep
:
true
,
handler
:
function
(
val
)
{
handler
:
function
(
val
)
{
// 粘度里的杯根据理论粘度截取(从第一个“,“截取到第一个”杯“,有杯没有逗号的截取杯前的所有字符串)
//
this.cup没有值得时候
粘度里的杯根据理论粘度截取(从第一个“,“截取到第一个”杯“,有杯没有逗号的截取杯前的所有字符串)
const
splitFromBei
=
val
&&
val
.
includes
(
'杯'
)
?
val
.
split
(
'杯'
)[
0
]
+
'杯'
:
''
const
splitFromBei
=
val
&&
val
.
includes
(
'杯'
)
?
val
.
split
(
'杯'
)[
0
]
+
'杯'
:
''
if
(
splitFromBei
)
{
if
(
splitFromBei
&&
!
this
.
cup
)
{
const
str
=
splitFromBei
.
includes
(
','
)
||
splitFromBei
.
includes
(
','
)
?
splitFromBei
:
(
','
+
splitFromBei
)
const
str
=
splitFromBei
.
includes
(
','
)
||
splitFromBei
.
includes
(
','
)
?
splitFromBei
:
(
','
+
splitFromBei
)
const
formatVal
=
str
.
replace
(
/,/g
,
','
)
const
formatVal
=
str
.
replace
(
/,/g
,
','
)
const
regex
=
new
RegExp
(
`,(.*?)杯`
)
const
regex
=
new
RegExp
(
`,(.*?)杯`
)
...
...
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