| @@ -213,6 +213,14 @@ export function listVaccount(query) { | |||||
| params: query | params: query | ||||
| }) | }) | ||||
| } | } | ||||
| // 查询村级账户列表 | |||||
| export function listVaccount1(query) { | |||||
| return request({ | |||||
| url: '/yinnong/vaccount/list1', | |||||
| method: 'get', | |||||
| params: query | |||||
| }) | |||||
| } | |||||
| // 查询乡镇账户列表 | // 查询乡镇账户列表 | ||||
| export function listTaccount(query) { | export function listTaccount(query) { | ||||
| return request({ | return request({ | ||||
| @@ -235,7 +235,12 @@ | |||||
| <script> | <script> | ||||
| import { addTransfer , listPayee , updateTransfer , getProjectto , listProject , addProjectto , customSubmit , getAccount ,getQmyeFlow} from "@/api/onlineHome/bankAgriculture/paymentApproval"; | import { addTransfer , listPayee , updateTransfer , getProjectto , listProject , addProjectto , customSubmit , getAccount ,getQmyeFlow} from "@/api/onlineHome/bankAgriculture/paymentApproval"; | ||||
| import {attachmentList, commonAttach, listVaccount} from "../../../../api/onlineHome/bankAgriculture/paymentApproval"; | |||||
| import { | |||||
| attachmentList, | |||||
| commonAttach, | |||||
| listVaccount, | |||||
| listVaccount1 | |||||
| } from "../../../../api/onlineHome/bankAgriculture/paymentApproval"; | |||||
| import request from '@/utils/request' | import request from '@/utils/request' | ||||
| import Dialog from "vant/lib/dialog"; | import Dialog from "vant/lib/dialog"; | ||||
| export default { | export default { | ||||
| @@ -316,9 +321,10 @@ | |||||
| this.projectFundTypeDictionaries = response.data; | this.projectFundTypeDictionaries = response.data; | ||||
| }); | }); | ||||
| let params1={ | let params1={ | ||||
| villageAccountType:'1' | |||||
| villageAccountType:'1', | |||||
| "params":{townAccountType:'1'} | |||||
| } | } | ||||
| listVaccount(params1).then((response) => { | |||||
| listVaccount1(params1).then((response) => { | |||||
| this.payerOptions = response.rows; | this.payerOptions = response.rows; | ||||
| response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
| res['payerFrom'] = '1' | res['payerFrom'] = '1' | ||||
| @@ -243,7 +243,7 @@ | |||||
| import { getAccount , getTransfer , queryTransferDetail , listPayee , updateTransfer , getProjectto , listProject , addProjectto , customSubmit ,getQmyeFlow} from "@/api/onlineHome/bankAgriculture/paymentApproval"; | import { getAccount , getTransfer , queryTransferDetail , listPayee , updateTransfer , getProjectto , listProject , addProjectto , customSubmit ,getQmyeFlow} from "@/api/onlineHome/bankAgriculture/paymentApproval"; | ||||
| import { | import { | ||||
| attachmentList, | attachmentList, | ||||
| commonAttach, | |||||
| commonAttach, listVaccount, listVaccount1, | |||||
| systemAttachment | systemAttachment | ||||
| } from "../../../../api/onlineHome/bankAgriculture/paymentApproval"; | } from "../../../../api/onlineHome/bankAgriculture/paymentApproval"; | ||||
| import request from '@/utils/request'; | import request from '@/utils/request'; | ||||
| @@ -326,15 +326,15 @@ | |||||
| this.projectFundTypeDictionaries = response.data; | this.projectFundTypeDictionaries = response.data; | ||||
| }); | }); | ||||
| let params1={ | let params1={ | ||||
| accountType: "102", | |||||
| status: "N", | |||||
| villageAccountType:'1', | |||||
| "params":{townAccountType:'1'} | |||||
| } | } | ||||
| getAccount(params1).then((response) => { | |||||
| listVaccount1(params1).then((response) => { | |||||
| this.payerOptions = response.rows; | this.payerOptions = response.rows; | ||||
| response.rows.map((res,index) => { | response.rows.map((res,index) => { | ||||
| res['payerFrom'] = '1' | res['payerFrom'] = '1' | ||||
| console.log(res) | console.log(res) | ||||
| this.payerOptions[index].text = res.accountName; | |||||
| this.payerOptions[index].text = res.payee; | |||||
| this.payerOptions[index].value = res.id; | this.payerOptions[index].value = res.id; | ||||
| }) | }) | ||||
| }); | }); | ||||