@@ -299,7 +299,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -1344,7 +1348,7 @@ | |||||
payeeSearch(val){ | payeeSearch(val){ | ||||
console.log(val); | console.log(val); | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==1||res.payeeType==2){ | if(res.payeeType==1||res.payeeType==2){ | ||||
@@ -264,7 +264,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -437,7 +441,7 @@ | |||||
payeeSearch(val){ | payeeSearch(val){ | ||||
console.log(val); | console.log(val); | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==4||res.payeeType==3){ | if(res.payeeType==4||res.payeeType==3){ | ||||
@@ -191,8 +191,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -345,7 +348,7 @@ | |||||
methods: { | methods: { | ||||
payeeSearch(val){ | payeeSearch(val){ | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
this.accountTypeChange(); | this.accountTypeChange(); | ||||
}, | }, | ||||
// 表单重置 | // 表单重置 | ||||
@@ -232,7 +232,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -405,7 +409,7 @@ | |||||
payeeSearch(val){ | payeeSearch(val){ | ||||
console.log(val); | console.log(val); | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==1||res.payeeType==2){ | if(res.payeeType==1||res.payeeType==2){ | ||||
@@ -191,7 +191,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -346,7 +350,7 @@ | |||||
methods: { | methods: { | ||||
payeeSearch(val){ | payeeSearch(val){ | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
this.accountTypeChange(); | this.accountTypeChange(); | ||||
}, | }, | ||||
// 表单重置 | // 表单重置 | ||||
@@ -296,7 +296,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -528,7 +532,7 @@ | |||||
payeeSearch(val){ | payeeSearch(val){ | ||||
console.log(val); | console.log(val); | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==1||res.payeeType==2){ | if(res.payeeType==1||res.payeeType==2){ | ||||
@@ -254,7 +254,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -451,7 +455,7 @@ | |||||
payeeSearch(val){ | payeeSearch(val){ | ||||
console.log(val); | console.log(val); | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==4||res.payeeType==3){ | if(res.payeeType==4||res.payeeType==3){ | ||||
@@ -191,7 +191,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -342,7 +346,7 @@ | |||||
methods: { | methods: { | ||||
payeeSearch(val){ | payeeSearch(val){ | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
this.accountTypeChange(); | this.accountTypeChange(); | ||||
}, | }, | ||||
goFlow(){ | goFlow(){ | ||||
@@ -232,7 +232,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -423,7 +427,7 @@ | |||||
payeeSearch(val){ | payeeSearch(val){ | ||||
console.log(val); | console.log(val); | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==1||res.payeeType==2){ | if(res.payeeType==1||res.payeeType==2){ | ||||
@@ -199,7 +199,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -349,7 +353,7 @@ | |||||
methods: { | methods: { | ||||
payeeSearch(val){ | payeeSearch(val){ | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
this.accountTypeChange(); | this.accountTypeChange(); | ||||
}, | }, | ||||
goFlow(){ | goFlow(){ | ||||
@@ -290,7 +290,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -542,7 +546,7 @@ | |||||
payeeSearch(val){ | payeeSearch(val){ | ||||
console.log(val); | console.log(val); | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==1||res.payeeType==2){ | if(res.payeeType==1||res.payeeType==2){ | ||||
@@ -257,7 +257,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -429,7 +433,7 @@ | |||||
payeeSearch(val){ | payeeSearch(val){ | ||||
console.log(val); | console.log(val); | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==4||res.payeeType==3){ | if(res.payeeType==4||res.payeeType==3){ | ||||
@@ -191,7 +191,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -343,7 +347,7 @@ | |||||
methods: { | methods: { | ||||
payeeSearch(val){ | payeeSearch(val){ | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
this.accountTypeChange(); | this.accountTypeChange(); | ||||
}, | }, | ||||
// 表单重置 | // 表单重置 | ||||
@@ -232,7 +232,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -404,7 +408,7 @@ | |||||
payeeSearch(val){ | payeeSearch(val){ | ||||
console.log(val); | console.log(val); | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==1||res.payeeType==2){ | if(res.payeeType==1||res.payeeType==2){ | ||||
@@ -191,7 +191,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -344,7 +348,7 @@ | |||||
methods: { | methods: { | ||||
payeeSearch(val){ | payeeSearch(val){ | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
this.accountTypeChange(); | this.accountTypeChange(); | ||||
}, | }, | ||||
// 表单重置 | // 表单重置 | ||||
@@ -302,7 +302,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -565,7 +569,7 @@ | |||||
payeeSearch(val){ | payeeSearch(val){ | ||||
console.log(val); | console.log(val); | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==1||res.payeeType==2){ | if(res.payeeType==1||res.payeeType==2){ | ||||
@@ -254,7 +254,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -449,7 +453,7 @@ | |||||
payeeSearch(val){ | payeeSearch(val){ | ||||
console.log(val); | console.log(val); | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==4||res.payeeType==3){ | if(res.payeeType==4||res.payeeType==3){ | ||||
@@ -191,7 +191,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -341,7 +345,7 @@ | |||||
methods: { | methods: { | ||||
payeeSearch(val){ | payeeSearch(val){ | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
this.accountTypeChange(); | this.accountTypeChange(); | ||||
}, | }, | ||||
goFlow(){ | goFlow(){ | ||||
@@ -232,7 +232,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -422,7 +426,7 @@ | |||||
payeeSearch(val){ | payeeSearch(val){ | ||||
console.log(val); | console.log(val); | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
listPayee(this.queryParams).then((response) => { | listPayee(this.queryParams).then((response) => { | ||||
response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
if(res.payeeType==1||res.payeeType==2){ | if(res.payeeType==1||res.payeeType==2){ | ||||
@@ -199,7 +199,11 @@ | |||||
:rules="[{ required: true , message:'请选择收款方' }]" | :rules="[{ required: true , message:'请选择收款方' }]" | ||||
/> | /> | ||||
<van-popup v-model="item.showPayee" position="bottom"> | <van-popup v-model="item.showPayee" position="bottom"> | ||||
<van-search v-model="payeeSearchValue" placeholder="请输入收款方名称搜索" @input="payeeSearch" /> | |||||
<van-search v-model="payeeSearchValue" show-action placeholder="请输入收款方名称搜索" > | |||||
<template #action> | |||||
<div @click="payeeSearch">搜索</div> | |||||
</template> | |||||
</van-search> | |||||
<van-picker | <van-picker | ||||
show-toolbar | show-toolbar | ||||
:columns="payeeList" | :columns="payeeList" | ||||
@@ -349,7 +353,7 @@ | |||||
methods: { | methods: { | ||||
payeeSearch(val){ | payeeSearch(val){ | ||||
this.payeeList = []; | this.payeeList = []; | ||||
this.queryParams.payee = val; | |||||
this.queryParams.payee = this.payeeSearchValue; | |||||
this.accountTypeChange(); | this.accountTypeChange(); | ||||
}, | }, | ||||
goFlow(){ | goFlow(){ | ||||