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
7a2a2adc
Commit
7a2a2adc
authored
Mar 01, 2025
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'order_fee_update' into pre-release
parents
ea359513
d11cc8fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
batchMarkup.vue
src/views/ecw/box/batchMarkup.vue
+4
-1
feeApplication.vue
src/views/ecw/order/feeApplication.vue
+12
-1
No files found.
src/views/ecw/box/batchMarkup.vue
View file @
7a2a2adc
...
...
@@ -56,9 +56,12 @@
<el-descriptions-item
label=
"SO NO"
>
{{
shipmentObj
.
bookSeaInfo
?
shipmentObj
.
bookSeaInfo
.
sono
:
''
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('装柜时间')"
>
<el-descriptions-item
v-if=
"shipmentObj.transportType == 1 || shipmentObj.transportType == 2"
:label=
"$t('装柜时间')"
>
{{
shipmentObj
.
zgDate
}}
</el-descriptions-item>
<el-descriptions-item
v-else
:label=
"$t('出仓时间')"
>
{{
shipmentObj
.
ckDate
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('到港时间')"
>
{{
shipmentObj
.
dgDate
}}
</el-descriptions-item>
...
...
src/views/ecw/order/feeApplication.vue
View file @
7a2a2adc
...
...
@@ -57,7 +57,7 @@
<
template
v-slot:default=
"scope"
>
<el-input
:disabled=
"!scope.row.editMode && !!scope.row.status"
v-model=
"scope.row.applicationFee"
type=
"number"
v-model=
"scope.row.applicationFee"
type=
"number"
@
input=
"formatAmount(scope.row)"
></el-input>
</
template
>
</el-table-column>
...
...
@@ -283,6 +283,17 @@ export default {
});
},
methods
:
{
formatAmount
(
row
)
{
// 使用正则表达式限制输入为数字和小数点,并限制小数点后最多两位数字
// row.applicationFee = row.applicationFee.replace(/[^\d.]/g, '').replace(/(\..*)\./g, '$1');
if
(
row
.
applicationFee
.
indexOf
(
'
.
'
)
>
-
1
)
{
const
decimalPart
=
row
.
applicationFee
.
split
(
'
.
'
)[
1
];
if
(
decimalPart
.
length
>
2
)
{
row
.
applicationFee
=
row
.
applicationFee
.
substring
(
0
,
row
.
applicationFee
.
length
-
(
decimalPart
.
length
-
2
));
}
}
},
del
(
index
)
{
this
.
$confirm
(
this
.
$t
(
"
确定要删除此条费用申请么?
"
)).
then
(()
=>
{
this
.
list
.
splice
(
index
,
1
);
...
...
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