Commit baf9d7ed authored by 华国豪's avatar 华国豪 🙄

‘样式!’

parent 01e3018c
...@@ -189,17 +189,6 @@ ...@@ -189,17 +189,6 @@
<el-option key="3" value="3" label="交易流水号"></el-option> <el-option key="3" value="3" label="交易流水号"></el-option>
</el-select> </el-select>
</span> </span>
</li>
<li v-if="msg.Conditon==2 || msg.Conditon==3">
<span>
<em>交易日期</em>
<el-date-picker class="h34"
v-model="transactionDate"
@change="timeAdd(3)"
type="daterange"
value-format="yyyy-MM-dd">
</el-date-picker>
</span>
</li> </li>
<template v-if="heightQueryBox"> <template v-if="heightQueryBox">
<li> <li>
...@@ -340,6 +329,17 @@ ...@@ -340,6 +329,17 @@
<el-input v-model="msg.sMoney" class="w64d5"></el-input>-<el-input v-model="msg.eMoney" class="w64d5"></el-input> <el-input v-model="msg.sMoney" class="w64d5"></el-input>-<el-input v-model="msg.eMoney" class="w64d5"></el-input>
</span> </span>
</li> </li>
<li v-if="msg.Conditon==2 || msg.Conditon==3">
<span>
<em>交易日期</em>
<el-date-picker class="h34"
v-model="transactionDate"
@change="timeAdd(3)"
type="daterange"
value-format="yyyy-MM-dd">
</el-date-picker>
</span>
</li>
<li> <li>
<span> <span>
<em>发团日期</em> <em>发团日期</em>
......
...@@ -23,14 +23,11 @@ ...@@ -23,14 +23,11 @@
border-bottom: 2px solid #c94052; border-bottom: 2px solid #c94052;
padding: 0 20px; padding: 0 20px;
} }
.page_addCapitalAllocation table{ .page_addCapitalAllocation ._border_b_1{border-bottom: 1px solid #666666 !important;color: #666666}
padding: 5px; .page_addCapitalAllocation input {
height: 34px; border: none !important;
border:1px solid #E6E6E6; background-color: transparent !important;
width: 100%; padding: 0 2px !important;
border-collapse: collapse;
text-align: center;
border-color: #c94052;
} }
</style> </style>
<template> <template>
...@@ -39,27 +36,29 @@ ...@@ -39,27 +36,29 @@
<p>四川和平国际旅行社有限公司</p> <p>四川和平国际旅行社有限公司</p>
<p><span>资金调拨单</span></p> <p><span>资金调拨单</span></p>
</div> </div>
<table border="1" v-loading="loading"> <div class="_conten">
<tr> <ul>
<th>收款方式</th> <li>
<th>账户</th> <div>
<th>金额</th> <span>收款账户:</span>
<th>币种</th> <el-select filterable v-model='BankList.Type' placeholder="" @change="getAccountList(BankList.Type)" class="w100 _border_b_1">
<th>汇率</th> <el-option v-for='item in AccList'
<th>本位币金额</th> :label='item.Name'
</tr> :value='item.ID'
<tr> :key='item.ID'>
<td> </el-option>
<el-select filterable v-model='bankType' placeholder="" @change="getAccountList(bankType)" class="w100 _border_b_1"> </el-select>
<el-option v-for='item in AccList' <el-select filterable v-model='BankList.AccountId' placeholder="" @change="getAccName(BankList.AccountId)" class="w100 _border_b_1">
:label='item.Name' <el-option v-for='item in accountList'
:value='item.ID' :label='item.Name'
:key='item.ID'> :value='item.ID'
</el-option> :key='item.ID'>
</el-select> </el-option>
</td> </el-select>
</tr> </div>
</table> </li>
</ul>
</div>
</div> </div>
</template> </template>
<script> <script>
...@@ -99,6 +98,7 @@ export default { ...@@ -99,6 +98,7 @@ export default {
] ]
}, },
AccList: [], AccList: [],
accountList: [],
loading: false, loading: false,
bankType: '' bankType: ''
} }
...@@ -118,7 +118,7 @@ export default { ...@@ -118,7 +118,7 @@ export default {
},err=>{}) },err=>{})
}, },
getAccountList(i){ //获取账户类型对应下的账户列表 getAccountList(i){ //获取账户类型对应下的账户列表
this.msg.BankList[0].AccountId = ''; this.BankList.AccountId = '';
this.AccountNumber = ''; this.AccountNumber = '';
this.apipost('FinancialInstitutions_post_GetALLAccountList',{TypeId:i}, res => { this.apipost('FinancialInstitutions_post_GetALLAccountList',{TypeId:i}, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
...@@ -134,6 +134,28 @@ export default { ...@@ -134,6 +134,28 @@ export default {
} }
}, err => {}) }, err => {})
}, },
getAccName: function (i,o) { // 根据选择账户获取账户名
this.accountList.forEach(x=>{
if(x.ID == i){
this.AccountNumber = x.allName;
this.msg.BankList[0].CurrencyId = x.CurrencyId;
this.msg.BankList[0].Type = x.BankType;
this.detailList.currenName = x.CurrencyName;
this.detailList.CurrencyId = x.CurrencyId;
if(this.edit==false||o){
this.detailList.Rate =x.Rate
}
this.msg.detailList.forEach((y,i)=>{
y.CurrencyId = x.CurrencyId;
y.currenName = x.CurrencyName;
if(this.edit==false||o){
y.Rate =x.Rate;
}
this.Calculation(2,i+1);
})
}
})
},
}, },
mounted(){ mounted(){
this.AccountType_post_GetList() this.AccountType_post_GetList()
......
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