Commit ff750ecd authored by youjie's avatar youjie

no message

parent e9d3b079
...@@ -302,15 +302,18 @@ ...@@ -302,15 +302,18 @@
</el-select> </el-select>
</td> </td>
<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>
<td> <td>
<p>{{item.CurrenName}}</p> <p>{{item.CurrenName}}</p>
</td> </td>
<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>
<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> </tr>
</template> </template>
<tr> <tr>
...@@ -928,6 +931,23 @@ export default { ...@@ -928,6 +931,23 @@ export default {
if(r.data.resultCode === 1) { if(r.data.resultCode === 1) {
this.addChuNa = false; this.addChuNa = false;
this.saveMsg=[]; 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() this.getList()
}else{ }else{
this.$message.error(r.data.message) this.$message.error(r.data.message)
...@@ -1025,6 +1045,7 @@ export default { ...@@ -1025,6 +1045,7 @@ export default {
this.payMsg.allMoney = allBPrice * 1; this.payMsg.allMoney = allBPrice * 1;
this.addMsg.FrIDs = s; this.addMsg.FrIDs = s;
this.addChuNa = true; this.addChuNa = true;
this.listAllMoney = allBPrice * 1
}else{ }else{
this.$message.error(this.$t('fnc.a_qxzdanju')) this.$message.error(this.$t('fnc.a_qxzdanju'))
} }
...@@ -1053,10 +1074,11 @@ export default { ...@@ -1053,10 +1074,11 @@ export default {
this.CalculationMoney(); this.CalculationMoney();
}, },
CalculationMoney(){ CalculationMoney(){
// this.listAllMoney = 0; this.listAllMoney = 0;
// this.payMsgList.forEach(x=>{ this.payMsgList.forEach(x=>{
// this.listAllMoney = this.listAllMoney + x.allMoney // this.listAllMoney = this.listAllMoney + x.allMoney
// }) this.listAllMoney += x.allMoney
})
}, },
financeinfo_post_GetCostTypeList(){ // 费用类型 financeinfo_post_GetCostTypeList(){ // 费用类型
this.apipost('financeinfo_post_GetCostTypeList',{Name:'',type:0,DepartIDs:this.DepartIDs},res=>{ 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