|
@@ -179,7 +179,7 @@
|
|
|
|
|
|
<!-- 汇率 -->
|
|
|
<span slot="exchangeRate" slot-scope="text, record, index">
|
|
|
- <a-input placeholder="请输入" v-model="record.exchangeRate" />
|
|
|
+ <a-input placeholder="请输入" v-model="record.exchangeRate" @change="changeExchangeRate(record)"/>
|
|
|
</span>
|
|
|
<!-- 实际事故金额 -->
|
|
|
<span slot="practicalSum" slot-scope="text, record, index">
|
|
@@ -509,7 +509,13 @@
|
|
|
})
|
|
|
},
|
|
|
changepracticalSum(record){
|
|
|
- record = Number(record.practicalSum)
|
|
|
+ record.practicalSum = Number(record.practicalSum).toFixed(2)
|
|
|
+ this.$forceUpdate()
|
|
|
+ },
|
|
|
+ changeExchangeRate(record){
|
|
|
+ this.incidentTicketChildrenTable.dataSource.map(item=>{
|
|
|
+ item.exchangeRate = record.exchangeRate
|
|
|
+ })
|
|
|
},
|
|
|
//关闭
|
|
|
handleCancel(){
|