|
@@ -187,7 +187,7 @@
|
|
|
|
|
|
<!-- 汇率 -->
|
|
|
<span slot="exchangeRate" slot-scope="text, record, index">
|
|
|
- <a-input placeholder="请输入" v-model="record.exchangeRate" @change="changeExchangeRate(record)"/>
|
|
|
+ <a-input placeholder="请输入" v-model="record.exchangeRate" @change="changeExchangeRate(record,index)"/>
|
|
|
</span>
|
|
|
<!-- 实际事故金额 -->
|
|
|
<span slot="practicalSum" slot-scope="text, record, index">
|
|
@@ -199,7 +199,7 @@
|
|
|
</span>
|
|
|
<!-- 账套号 -->
|
|
|
<span slot="zhanghaoId" slot-scope="text, record, index">
|
|
|
- <a-select v-model="record.zhanghaoId" @change="handleChange(record)" style="width: 100%;">
|
|
|
+ <a-select v-model="record.zhanghaoId" @change="handleChange(record,index)" style="width: 100%;">
|
|
|
<a-select-option value="101">101</a-select-option>
|
|
|
<a-select-option value="102">102</a-select-option>
|
|
|
<a-select-option value="103">103</a-select-option>
|
|
@@ -513,19 +513,23 @@
|
|
|
})
|
|
|
},
|
|
|
// 改变账套号
|
|
|
- handleChange(record){
|
|
|
+ handleChange(record,index){
|
|
|
+ if(index==0){
|
|
|
this.incidentTicketChildrenTable.dataSource.map(item=>{
|
|
|
item.zhanghaoId = record.zhanghaoId
|
|
|
})
|
|
|
+ }
|
|
|
},
|
|
|
changepracticalSum(record){
|
|
|
record.practicalSum = Number(record.practicalSum).toFixed(2)
|
|
|
this.$forceUpdate()
|
|
|
},
|
|
|
- changeExchangeRate(record){
|
|
|
+ changeExchangeRate(record,index){
|
|
|
+ if(index == 0){
|
|
|
this.incidentTicketChildrenTable.dataSource.map(item=>{
|
|
|
item.exchangeRate = record.exchangeRate
|
|
|
})
|
|
|
+ }
|
|
|
},
|
|
|
//关闭
|
|
|
handleCancel(){
|