瀏覽代碼

银农支付优化

wulanhaote
yujk 3 年之前
父節點
當前提交
c45b58136c
共有 3 個檔案被更改,包括 22 行新增8 行删除
  1. +8
    -0
      src/api/onlineHome/bankAgriculture/paymentApproval.js
  2. +9
    -3
      src/views/onlineHome/bankAgriculture/paymentApproval/approvalAdd4.vue
  3. +5
    -5
      src/views/onlineHome/bankAgriculture/paymentApproval/approvalModify4.vue

+ 8
- 0
src/api/onlineHome/bankAgriculture/paymentApproval.js 查看文件

@@ -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({


+ 9
- 3
src/views/onlineHome/bankAgriculture/paymentApproval/approvalAdd4.vue 查看文件

@@ -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'


+ 5
- 5
src/views/onlineHome/bankAgriculture/paymentApproval/approvalModify4.vue 查看文件

@@ -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;
}) })
}); });


Loading…
取消
儲存