Commit dac37c5a authored by youjie's avatar youjie

no message

parent 05136220
...@@ -263,7 +263,8 @@ ...@@ -263,7 +263,8 @@
</tr> </tr>
<tr v-else class="_show_class"> <tr v-else class="_show_class">
<td> <td>
<el-select filterable v-model='item.AccName' @change="clearAccBank()" class=" _border_b_1"> <el-select filterable v-model='item.AccName'
@change="clearAccBank(),item.show=false,CalculationMoney()" class=" _border_b_1">
<el-option v-for='i in AccListT' <el-option v-for='i in AccListT'
:label='i.Name' :label='i.Name'
:value='i.Name' :value='i.Name'
...@@ -272,7 +273,8 @@ ...@@ -272,7 +273,8 @@
</el-select> </el-select>
</td> </td>
<td> <td>
<el-select filterable v-model='item.Type' @change="getAccountList(item.Type)" class=" _border_b_1"> <el-select filterable v-model='item.Type'
@change="getAccountList(item.Type),item.show=false,CalculationMoney()" class=" _border_b_1">
<el-option v-for='i in GetAccountType' <el-option v-for='i in GetAccountType'
:label='i.Name' :label='i.Name'
:value='i.ID' :value='i.ID'
...@@ -281,7 +283,8 @@ ...@@ -281,7 +283,8 @@
</el-select> </el-select>
</td> </td>
<td> <td>
<el-select filterable v-model='item.AccountId' :placeholder="$t('rule.qxzzhanghu')" @change="setAccountName(item.AccountId,1,index)" class=" _border_b_1"> <el-select filterable v-model='item.AccountId' :placeholder="$t('rule.qxzzhanghu')"
@change="setAccountName(item.AccountId,1,index),item.show=false,CalculationMoney()" class=" _border_b_1">
<el-option v-for='i in accountList' <el-option v-for='i in accountList'
:label='i.allName' :label='i.allName'
:value='i.ID' :value='i.ID'
...@@ -490,9 +493,9 @@ export default { ...@@ -490,9 +493,9 @@ export default {
this.BankAccount_post_GetCashAccountList("query"); this.BankAccount_post_GetCashAccountList("query");
} }
if(this.$route.query.ID){ if(this.$route.query.ID){
this.accType = parseInt(this.$route.query.TypeId)?parseInt(this.$route.query.TypeId):''; this.accType = parseInt(this.$route.query.TypeId)?parseInt(this.$route.query.TypeId):'';
this.AccountId=parseInt(this.$route.query.ID); this.AccountId=parseInt(this.$route.query.ID);
let mon1=moment().format("YYYY-MM-DD"); let mon1=moment().format("YYYY-MM-DD");
let mon2=moment().subtract(1, "months").format("YYYY-MM-DD"); let mon2=moment().subtract(1, "months").format("YYYY-MM-DD");
this.productionDate=[mon2,mon1]; this.productionDate=[mon2,mon1];
this.msg.sTradeDate=mon2; this.msg.sTradeDate=mon2;
...@@ -504,7 +507,7 @@ export default { ...@@ -504,7 +507,7 @@ export default {
}) })
this.bankaccount_post_GetList(); this.bankaccount_post_GetList();
this.getList(); this.getList();
} }
},methods:{ },methods:{
Export(){ Export(){
...@@ -814,9 +817,9 @@ export default { ...@@ -814,9 +817,9 @@ export default {
}) })
} }
if(status){ if(status){
this.$router.push({ name: "CapitalAllocationDetail",query:{"id":item.FinanceId,blank:'y'} }) this.$router.push({ name: "CapitalAllocationDetail",query:{"id":item.FinanceId,blank:'y'} })
}else{ }else{
this.$router.push({ name: "FinancialDocumentsDetail",query:{"id":item.FinanceId,blank:'y'} }) this.$router.push({ name: "FinancialDocumentsDetail",query:{"id":item.FinanceId,blank:'y'} })
} }
}, },
goUrl(path,id){ goUrl(path,id){
...@@ -959,7 +962,7 @@ export default { ...@@ -959,7 +962,7 @@ export default {
endStartMoney = endStartMoney + x.Money; endStartMoney = endStartMoney + x.Money;
x.enRSMoney = endRStartMoney;//外币收入 x.enRSMoney = endRStartMoney;//外币收入
x.enSMoney = endStartMoney; x.enSMoney = endStartMoney;
}else if(x.Type===2){//支出 }else if(x.Type===2){//支出
this.bZhi = this.bZhi + x.Money; this.bZhi = this.bZhi + x.Money;
this.wZhi = this.wZhi + x.OriginalMoney; this.wZhi = this.wZhi + x.OriginalMoney;
...@@ -967,7 +970,7 @@ export default { ...@@ -967,7 +970,7 @@ export default {
endStartMoney = endStartMoney - x.Money; endStartMoney = endStartMoney - x.Money;
x.enRSMoney = endRStartMoney; x.enRSMoney = endRStartMoney;
x.enSMoney = endStartMoney; x.enSMoney = endStartMoney;
} }
x.check = false; x.check = false;
x.disabled = false; x.disabled = false;
......
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
</td> </td>
<td>{{ item.BName }}</td> <td>{{ item.BName }}</td>
<!-- <td><span class="cursorpointer" :class="item.Type==1?'_bg_green':'_bg_red'" @click="goUrl('FinancialDocumentsDetail',item.FinanceId)">{{ item.FinanceId }}</span> </td> --> <!-- <td><span class="cursorpointer" :class="item.Type==1?'_bg_green':'_bg_red'" @click="goUrl('FinancialDocumentsDetail',item.FinanceId)">{{ item.FinanceId }}</span> </td> -->
<td> <td>
<span class="cursorpointer" :class=" item.Type === 1 ? 'CAcc_bg_green' : 'CAcc_bg_red'" @click="goUrlNew(item)">{{ item.FinanceId }}</span> <span class="cursorpointer" :class=" item.Type === 1 ? 'CAcc_bg_green' : 'CAcc_bg_red'" @click="goUrlNew(item)">{{ item.FinanceId }}</span>
</td> </td>
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
<td> <td>
<span v-if="item.Type == 1 && item.IsPlatformMergeBank==1">{{moneyFormat(item.Money)}}</span> <span v-if="item.Type == 1 && item.IsPlatformMergeBank==1">{{moneyFormat(item.Money)}}</span>
<span v-else>{{ item.Type == 2 ? moneyFormat(item.Money) : '' }}</span> <span v-else>{{ item.Type == 2 ? moneyFormat(item.Money) : '' }}</span>
</td> </td>
<td>{{ moneyFormat(item.EndMoney) }}</td> <td>{{ moneyFormat(item.EndMoney) }}</td>
</tr> </tr>
...@@ -218,7 +218,7 @@ ...@@ -218,7 +218,7 @@
<td> <td>
<span v-if="OutMoney == 0">0</span> <span v-if="OutMoney == 0">0</span>
<span v-else>{{ moneyFormat(allMoney) }}</span> <span v-else>{{ moneyFormat(allMoney) }}</span>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -230,10 +230,10 @@ ...@@ -230,10 +230,10 @@
<tr > <tr >
<th height="34px">{{$t('fnc.zhfenlei')}}</th> <th height="34px">{{$t('fnc.zhfenlei')}}</th>
<th height="34px">{{$t('fnc.fkfangshi')}}</th> <th height="34px">{{$t('fnc.fkfangshi')}}</th>
<th height="34px">{{$t('fnc.acc')}}</th> <th height="34px">{{$t('fnc.acc')}}</th>
<th height="34px">{{$t('fnc.jine')}}</th> <th height="34px">{{$t('fnc.jine')}}</th>
<th height="34px" width="70">{{$t('hotel.hotel_Currency')}}</th> <th height="34px" width="70">{{$t('hotel.hotel_Currency')}}</th>
<th height="34px" width="50px">{{$t('hotel.hotel_CurrentRate')}}</th> <th height="34px" width="50px">{{$t('hotel.hotel_CurrentRate')}}</th>
<th height="34px" width="100px">{{$t('fnc.a_zongjine')}}</th> <th height="34px" width="100px">{{$t('fnc.a_zongjine')}}</th>
<!-- <th>操作</th> --> <!-- <th>操作</th> -->
</tr> </tr>
...@@ -252,7 +252,8 @@ ...@@ -252,7 +252,8 @@
</tr> </tr>
<tr v-else class="_show_class"> <tr v-else class="_show_class">
<td> <td>
<el-select filterable v-model='item.AccName' @change="clearAccBank()" class=" _border_b_1"> <el-select filterable v-model='item.AccName'
@change="clearAccBank(),item.show=false,CalculationMoney()" class=" _border_b_1">
<el-option v-for='i in AccListT' <el-option v-for='i in AccListT'
:label='i.Name' :label='i.Name'
:value='i.Name' :value='i.Name'
...@@ -261,7 +262,8 @@ ...@@ -261,7 +262,8 @@
</el-select> </el-select>
</td> </td>
<td> <td>
<el-select filterable v-model='item.Type' @change="getAccountList(item.Type)" class=" _border_b_1"> <el-select filterable v-model='item.Type'
@change="getAccountList(item.Type),item.show=false,CalculationMoney()" class=" _border_b_1">
<el-option v-for='i in GetAccountType' <el-option v-for='i in GetAccountType'
:label='i.Name' :label='i.Name'
:value='i.ID' :value='i.ID'
...@@ -270,7 +272,8 @@ ...@@ -270,7 +272,8 @@
</el-select> </el-select>
</td> </td>
<td> <td>
<el-select filterable v-model='item.AccountId' :placeholder="$t('rule.qxzzhanghu')" @change="setAccountName(item.AccountId,1,index)" class=" _border_b_1"> <el-select filterable v-model='item.AccountId' :placeholder="$t('rule.qxzzhanghu')"
@change="setAccountName(item.AccountId,1,index),item.show=false,CalculationMoney()" class=" _border_b_1">
<el-option v-for='i in accountList' <el-option v-for='i in accountList'
:label='i.allName' :label='i.allName'
:value='i.ID' :value='i.ID'
...@@ -478,9 +481,9 @@ export default { ...@@ -478,9 +481,9 @@ export default {
this.AccountId = this.$route.query.AccountId this.AccountId = this.$route.query.AccountId
} }
if(this.$route.query.ID){ if(this.$route.query.ID){
this.accType = parseInt(this.$route.query.TypeId)?parseInt(this.$route.query.TypeId):""; this.accType = parseInt(this.$route.query.TypeId)?parseInt(this.$route.query.TypeId):"";
this.AccountId=parseInt(this.$route.query.ID); this.AccountId=parseInt(this.$route.query.ID);
let mon1=moment().format("YYYY-MM-DD"); let mon1=moment().format("YYYY-MM-DD");
let mon2=moment().subtract(1, "months").format("YYYY-MM-DD"); let mon2=moment().subtract(1, "months").format("YYYY-MM-DD");
this.productionDate=[mon2,mon1]; this.productionDate=[mon2,mon1];
this.msg.sTradeDate=mon2; this.msg.sTradeDate=mon2;
...@@ -490,8 +493,8 @@ export default { ...@@ -490,8 +493,8 @@ export default {
Type:this.Type, Type:this.Type,
AccountId:this.AccountId AccountId:this.AccountId
}) })
this.bankaccount_post_GetList(); this.bankaccount_post_GetList();
this.getList(); this.getList();
} }
},methods:{ },methods:{
...@@ -512,9 +515,9 @@ export default { ...@@ -512,9 +515,9 @@ export default {
}) })
} }
if(status){ if(status){
this.$router.push({ name: "CapitalAllocationDetail",query:{"id":item.FinanceId,blank:'y'} }) this.$router.push({ name: "CapitalAllocationDetail",query:{"id":item.FinanceId,blank:'y'} })
}else{ }else{
this.$router.push({ name: "FinancialDocumentsDetail",query:{"id":item.FinanceId,blank:'y'} }) this.$router.push({ name: "FinancialDocumentsDetail",query:{"id":item.FinanceId,blank:'y'} })
} }
}, },
goUrl(path,id){ goUrl(path,id){
......
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