|
@@ -483,7 +483,7 @@
|
|
|
center
|
|
|
:title="title"
|
|
|
:visible.sync="open"
|
|
|
- width="80%"
|
|
|
+ width="90%"
|
|
|
append-to-body
|
|
|
:close-on-click-modal="false"
|
|
|
>
|
|
@@ -633,7 +633,7 @@
|
|
|
@close="handleClose"
|
|
|
:title="title"
|
|
|
:visible.sync="openDetail"
|
|
|
- width="80%"
|
|
|
+ width="90%"
|
|
|
append-to-body
|
|
|
:close-on-click-modal="false"
|
|
|
>
|
|
@@ -1229,6 +1229,11 @@ export default {
|
|
|
getInfoByColl(id).then((response) => {
|
|
|
//深拷贝,而不是拷贝地址
|
|
|
this.form = JSON.parse(JSON.stringify(response.data));
|
|
|
+ this.form.feeLists.forEach((item) => {
|
|
|
+ if(item.funit == "%"){
|
|
|
+ item.collCalue = item.collCalue.toFixed(2);
|
|
|
+ }
|
|
|
+ })
|
|
|
this.open = true;
|
|
|
this.title = "数据录入";
|
|
|
//深拷贝,而不是拷贝地址
|
|
@@ -1280,7 +1285,12 @@ export default {
|
|
|
getGATHER(id).then((response) => {
|
|
|
//深拷贝,而不是拷贝地址
|
|
|
this.form = JSON.parse(JSON.stringify(response.data));
|
|
|
- console.log(this.form);
|
|
|
+ this.form.feeLists.forEach((item) => {
|
|
|
+ if(item.funit == "%"){
|
|
|
+ item.collCalue = item.collCalue.toFixed(2);
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
this.openDetail = true;
|
|
|
this.title = "数据查看";
|
|
|
//深拷贝,而不是拷贝地址
|