Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
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
xugong
hls-xcmg-vue-app
Commits
68a6c0f8
Commit
68a6c0f8
authored
Jul 04, 2023
by
郑娟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:报价计算增加参数
parent
09737ab8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+11
-1
No files found.
src/pages/contractCreate/creat-rent-info.vue
View file @
68a6c0f8
...
@@ -1165,6 +1165,11 @@ export default {
...
@@ -1165,6 +1165,11 @@ export default {
vm
.
saveInfo
.
penalty_rate
=
e
.
penalty_rate
vm
.
saveInfo
.
penalty_rate
=
e
.
penalty_rate
vm
.
saveInfo
.
deposit_ratio
=
e
.
deposit_ratio
vm
.
saveInfo
.
deposit_ratio
=
e
.
deposit_ratio
vm
.
saveInfo
.
deposit_ratio_n
=
e
.
deposit_ratio_n
.
replace
(
'%'
,
''
)
vm
.
saveInfo
.
deposit_ratio_n
=
e
.
deposit_ratio_n
.
replace
(
'%'
,
''
)
//冬歇/雨歇起止日期
vm
.
saveInfo
.
fallow_date_f
=
e
.
fallow_date_f
?
vm
.
dateFormat
(
e
.
fallow_date_f
)
:
''
vm
.
saveInfo
.
fallow_date_t
=
e
.
fallow_date_t
?
vm
.
dateFormat
(
e
.
fallow_date_t
)
:
''
//首X期-期数
vm
.
saveInfo
.
lease_times_x
=
e
.
lease_times_x
?
e
.
lease_times_x
:
''
// vm.saveInfo.lease_times = e.lease_times
// vm.saveInfo.lease_times = e.lease_times
vm
.
saveInfo
.
lease_times
=
''
vm
.
saveInfo
.
lease_times
=
''
...
@@ -1949,6 +1954,11 @@ export default {
...
@@ -1949,6 +1954,11 @@ export default {
name
:
'CreateEnclosureInfo'
,
name
:
'CreateEnclosureInfo'
,
})
})
},
},
dateFormat
(
timestamp
)
{
if
(
!
timestamp
)
return
''
;
var
newDate
=
/
\d{4}
-
\d{1,2}
-
\d{1,2}
/g
.
exec
(
timestamp
);
return
newDate
[
0
];
}
}
}
,
,
}
}
...
...
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