Commit ff750ecd authored by youjie's avatar youjie

no message

parent e9d3b079
......@@ -302,15 +302,18 @@
</el-select>
</td>
<td>
<el-input v-model="item.OriginalMoney" @change="Calculation(1,index)" @blur="item.show=false,CalculationMoney" :placeholder="$t('rule.qsrjine')" type="number" class=" _border_b_1"></el-input>
<el-input v-model="item.OriginalMoney" @change="Calculation(1,index)"
@blur="item.show=false,CalculationMoney()"
:placeholder="$t('rule.qsrjine')" type="number" class=" _border_b_1"></el-input>
</td>
<td>
<p>{{item.CurrenName}}</p>
</td>
<td>
<el-input v-model="item.Rate" @blur="item.show=false,CalculationMoney" @change="Calculation(1,index)" type="number" class=" _border_b_1"></el-input>
<el-input v-model="item.Rate" @blur="item.show=false,CalculationMoney()" @change="Calculation(1,index)"
type="number" class=" _border_b_1"></el-input>
</td>
<td>{{moneyFormat(item.allMoney)}} <i @click="deleteRow(item,index),CalculationMoney" class="_delete_row iconfont icon-img_delete_small"></i></td>
<td>{{moneyFormat(item.allMoney)}} <i @click="deleteRow(item,index),CalculationMoney()" class="_delete_row iconfont icon-img_delete_small"></i></td>
</tr>
</template>
<tr>
......@@ -928,6 +931,23 @@ export default {
if(r.data.resultCode === 1) {
this.addChuNa = false;
this.saveMsg=[];
this.payMsgList = []
this.payMsg = {
ID:0,
FinanceId:'',
Type:'',
AccountId:'',
OriginalMoney:0,
CurrencyId:'',
Rate:0,
Fee:0,
Name:'',
CurrenName:'',
Account:'',
balance:'',
allMoney:0,
show:false,
}
this.getList()
}else{
this.$message.error(r.data.message)
......@@ -1025,6 +1045,7 @@ export default {
this.payMsg.allMoney = allBPrice * 1;
this.addMsg.FrIDs = s;
this.addChuNa = true;
this.listAllMoney = allBPrice * 1
}else{
this.$message.error(this.$t('fnc.a_qxzdanju'))
}
......@@ -1053,10 +1074,11 @@ export default {
this.CalculationMoney();
},
CalculationMoney(){
// this.listAllMoney = 0;
// this.payMsgList.forEach(x=>{
this.listAllMoney = 0;
this.payMsgList.forEach(x=>{
// this.listAllMoney = this.listAllMoney + x.allMoney
// })
this.listAllMoney += x.allMoney
})
},
financeinfo_post_GetCostTypeList(){ // 费用类型
this.apipost('financeinfo_post_GetCostTypeList',{Name:'',type:0,DepartIDs:this.DepartIDs},res=>{
......
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