Commit be101e66 authored by youjie's avatar youjie

no message

parent 54e76314
<style scoped>
/* @import "../css/cssReset.css"; */
.w400 {
width: 400px!important;
}
@import "../css/cssReset.css";
.page_fnDm {
background-color: white
}
......@@ -812,7 +809,7 @@
</div>
</template>
</el-dialog>
<el-dialog custom-class='w400' :modal="false" title="账户类型/交易方式/收款账户" :visible.sync="typeVisible" center @close="determine">
<el-dialog custom-class='w800' :modal="false" title="账户类型/交易方式/收款账户" :visible.sync="typeVisible" center @close="determine">
<el-form class="_info_box clearfix" label-width="80px">
<div v-for="(i,index) in typeList" :key="index">
<el-row class="fit row wrap" style="padding:15px 20px 0 0;">
......@@ -845,6 +842,7 @@
</el-form-item>
</el-col>
<el-col :span="3" class="q-pt-sm">
<q-btn v-if="index==0" class="q-ml-lg" color="primary" icon="add" size="9px" label="" @click="addType(i,index,1)" />
<q-btn v-else class="q-ml-lg" icon="delete" size="9px" label="" @click="addType(i,index,0)" />
</el-col>
......@@ -852,8 +850,10 @@
</div>
</el-form>
<div slot="footer" class="dialog-footer">
<q-btn @click="typeCancel">取消</q-btn>
<q-btn color="primary" class="normalBtn q-ml-lg" @click="determine,typeVisible=false">确定</q-btn>
<button class="hollowFixedBtn" @click="typeCancel">{{$t('pub.cancelBtn')}}</button>
<button class="normalBtn" type="primary" @click="determine,typeVisible=false">{{$t('pub.sureBtn')}}</button>
<!-- <q-btn @click="typeCancel">取消</q-btn>
<q-btn color="primary" class="normalBtn q-ml-lg" @click="determine,typeVisible=false">确定</q-btn> -->
</div>
</el-dialog>
</div>
......@@ -1068,7 +1068,6 @@
},
methods: {
typeCancel(){
console.log(this.typeList,'----')
for(let i=0;i<this.typeList.length;i++){
this.typeList[i].AccountType = 0
this.typeList[i].TradeWay = '0'
......@@ -1082,12 +1081,10 @@
determine(){
this.msg.AccountIdStr = ''
for(let i=0;i<this.typeList.length;i++){
let data = (this.typeList[i].AccountType?this.typeList[i].AccountType:0)+'&'
+(this.typeList[i].TradeWay?this.typeList[i].TradeWay:0)+'&'
let data = (this.typeList[i].TradeWay?this.typeList[i].TradeWay:0)+'&'
+(this.typeList[i].BankID?this.typeList[i].BankID.join(','):0)
this.msg.AccountIdStr = JSON.parse(JSON.stringify(this.msg.AccountIdStr))+(i==0?'':'|')+data
}
// console.log(this.msg.AccountIdStr,'00000')
},
addType(item,index,type){
......
......@@ -804,6 +804,9 @@ input:-webkit-autofill {
border-radius: 0;
height: 34px;
}
.clearfix .el-select .el-input{
height: auto;
}
.multiple_input .el-input {
height: auto !important
......
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