Commit dc37299a authored by zhengke's avatar zhengke

修改

parent 9d25ac05
...@@ -175,7 +175,7 @@ ...@@ -175,7 +175,7 @@
<td> {{ moneyFormat(StartMoney) }} </td> <td> {{ moneyFormat(StartMoney) }} </td>
</tr> </tr>
<tr v-for=" ( item , index ) in DataList "> <tr v-for=" ( item , index ) in DataList ">
<td> <td style="width:50px;">
<input type="checkbox" :disabled="item.disabled" v-model="item.check" @change="addCheckbox(item,index)"> <input type="checkbox" :disabled="item.disabled" v-model="item.check" @change="addCheckbox(item,index)">
</td> </td>
<td> {{ item.BName }} </td> <td> {{ item.BName }} </td>
......
...@@ -385,7 +385,7 @@ ...@@ -385,7 +385,7 @@
<template v-for="(file,fIndex) in saveMsg"> <template v-for="(file,fIndex) in saveMsg">
<div v-if="file.Type==3"> <div v-if="file.Type==3">
<div style="width:100%;height:100%;overflow: hidden;"> <div style="width:100%;height:100%;overflow: hidden;">
<img :src="file.Url?file.Url:file.Content" @click="showUpLoadFile(file)"> <img style="width:100%;" :src="file.Url?file.Url:file.Content" @click="showUpLoadFile(file)">
</div> </div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span> <span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span>
</div> </div>
...@@ -978,9 +978,10 @@ ...@@ -978,9 +978,10 @@
x.check=false; x.check=false;
}) })
} }
this.checkList=[];
this.DataList.forEach((x,index)=>{ this.DataList.forEach((x,index)=>{
if(x.check&&x.ClientID>0){ if(x.check){
this.checkList[index] = { let obj = {
FinanceId:x.FinanceId, FinanceId:x.FinanceId,
Type:x.Type, Type:x.Type,
ClientID:x.ClientID, ClientID:x.ClientID,
...@@ -988,6 +989,7 @@ ...@@ -988,6 +989,7 @@
OriginalMoney:x.OriginalMoney, OriginalMoney:x.OriginalMoney,
Money:x.Money, Money:x.Money,
} }
this.checkList.push(obj);
} }
}) })
}, },
......
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
<td>{{moneyFormat(StartMoney)}}</td> <td>{{moneyFormat(StartMoney)}}</td>
</tr> </tr>
<tr v-for=" ( item , index ) in DataList "> <tr v-for=" ( item , index ) in DataList ">
<td> <td style="width:50px;">
<input type="checkbox" :disabled="item.disabled" v-model="item.check" @change="addCheckbox(item,index)"> <input type="checkbox" :disabled="item.disabled" v-model="item.check" @change="addCheckbox(item,index)">
</td> </td>
<td>{{ item.BName }}</td> <td>{{ item.BName }}</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment