Commit be101e66 authored by youjie's avatar youjie

no message

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