Commit 54e76314 authored by youjie's avatar youjie

no message

parent d995b079
...@@ -852,7 +852,7 @@ ...@@ -852,7 +852,7 @@
</div> </div>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<q-btn @click="cancel,typeVisible=false">取消</q-btn> <q-btn @click="typeCancel">取消</q-btn>
<q-btn color="primary" class="normalBtn q-ml-lg" @click="determine,typeVisible=false">确定</q-btn> <q-btn color="primary" class="normalBtn q-ml-lg" @click="determine,typeVisible=false">确定</q-btn>
</div> </div>
</el-dialog> </el-dialog>
...@@ -1019,7 +1019,7 @@ ...@@ -1019,7 +1019,7 @@
{ {
AccountType:'',//账户类型 AccountType:'',//账户类型
AccList:[], AccList:[],
TradeWay:'',//交易方式 TradeWay:'0',//交易方式
BranchAccountList:[], BranchAccountList:[],
BankID:[],//收付款账户 BankID:[],//收付款账户
accountList:[] accountList:[]
...@@ -1067,13 +1067,17 @@ ...@@ -1067,13 +1067,17 @@
}, },
methods: { methods: {
cancel(){ typeCancel(){
this.msg.TradeWay='',this.msg.BankID='',this.msg.AccountIdStr='' console.log(this.typeList,'----')
for(let i=0;i<this.typeList.length;i++){ for(let i=0;i<this.typeList.length;i++){
this.typeList[i].TradeWay = 0 this.typeList[i].AccountType = 0
this.typeList[i].TradeWay = 0 this.typeList[i].TradeWay = '0'
this.typeList[i].BankID = [] this.typeList[i].BankID = []
} }
this.msg.TradeWay='',
this.msg.BankID='',
this.msg.AccountIdStr=''
this.typeVisible=false
}, },
determine(){ determine(){
this.msg.AccountIdStr = '' this.msg.AccountIdStr = ''
...@@ -1091,7 +1095,7 @@ ...@@ -1091,7 +1095,7 @@
this.typeList.push( this.typeList.push(
{AccountType:'',//账户类型 {AccountType:'',//账户类型
AccList:JSON.parse(JSON.stringify(item.AccList)), AccList:JSON.parse(JSON.stringify(item.AccList)),
TradeWay:'',//交易方式 TradeWay:'0',//交易方式
BranchAccountList:JSON.parse(JSON.stringify(item.BranchAccountList)), BranchAccountList:JSON.parse(JSON.stringify(item.BranchAccountList)),
BankID:[],//收付款账户 BankID:[],//收付款账户
accountList:[]} accountList:[]}
......
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