Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
1e67e3e5
Commit
1e67e3e5
authored
Oct 19, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量加价不能有小数
parent
ab00143c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
batchMarkup.vue
src/views/ecw/box/batchMarkup.vue
+3
-4
No files found.
src/views/ecw/box/batchMarkup.vue
View file @
1e67e3e5
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<selector
:disabled=
"approval"
v-model=
"form.freightUnitId"
:options=
"unitList"
:label-field=
"$l('title')"
value-field=
"id"
defaultable
class=
"w-100 ml-10"
/>
<selector
:disabled=
"approval"
v-model=
"form.freightUnitId"
:options=
"unitList"
:label-field=
"$l('title')"
value-field=
"id"
defaultable
class=
"w-100 ml-10"
/>
</div>
</div>
<div
class=
"mt-10"
>
<div
class=
"mt-10"
>
{{
$t
(
'
清关费加价
价
'
)
}}
{{
$t
(
'
清关费加价
'
)
}}
<!--货币-->
<!--货币-->
<selector
:disabled=
"approval"
v-model=
"form.clearanceCurrencyId"
:options=
"currencyList"
:label-field=
"$l('title')"
value-field=
"id"
defaultable
class=
"w-100 ml-10"
/>
<selector
:disabled=
"approval"
v-model=
"form.clearanceCurrencyId"
:options=
"currencyList"
:label-field=
"$l('title')"
value-field=
"id"
defaultable
class=
"w-100 ml-10"
/>
<!--金额-->
<!--金额-->
...
@@ -273,9 +273,8 @@ export default {
...
@@ -273,9 +273,8 @@ export default {
methods
:{
methods
:{
// 检查正数
// 检查正数
checkPositive
(
object
,
field
){
checkPositive
(
object
,
field
){
object
[
field
]
=
parseInt
(
object
[
field
])
object
[
field
]
=
parseFloat
(
object
[
field
])
if
(
isNaN
(
object
[
field
])
||
object
[
field
]
<
0
)
object
[
field
]
=
''
object
[
field
]
=
isNaN
(
object
[
field
])
?
''
:
object
[
field
].
toString
()
else
object
[
field
]
=
object
[
field
].
toString
()
},
},
// 表格多选
// 表格多选
handleSelectionChange
(
selection
)
{
handleSelectionChange
(
selection
)
{
...
...
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