手机端添加收付款账户显示

main-20240105
赵夫琳 8 months ago
parent 8e5da8c9a4
commit 0a4373fba9

@ -39,8 +39,7 @@
import { createVendorPayment, getVendorPayment, updateVendorPayment } from "@/api/bs/vendorPayment";
import VerifyFunc from '@/utils/verify'
import { getDictDatas, DICT_TYPE } from "@/utils/dict";
import { getVendorPage } from "@/api/bs/vendor";
import { getBankAccountInfoPage } from "@/api/bs/bankAccountInfo";
import { vendorBankPage } from "@/api/bs/vendor";
import { listUser } from "@/api/system/user";
export default {
//import使
@ -216,13 +215,13 @@ export default {
this.$loading(true, 'demo1')
return new Promise((resolve) => {
Promise.all([
getVendorPage({ pageNo: 1, pageSize: 999 }),
vendorBankPage({ pageNo: 1, pageSize: 999 }),
]).then(responses => {
//
this.allGysList = (responses[0].data.list || []).map(item => {
return {
id: item.id,
title: item.vendorName
title: `${item.vendorName}-付款账户:${item.bankNumber}`
}
});
this.$loading(false, 'demo1')

@ -197,7 +197,7 @@ export default {
this.allBankList = (responses[1].data.list || []).map(item => {
return {
id: item.id,
title: `${item.bankName}-${item.bankAccount}`
title: `${item.bankName}-收款账户:${item.bankAccount}`
}
});
resolve()

@ -393,6 +393,10 @@ export default {
}),
// proposerPerson:this.userInfo.id
}
if (!this.oaReimburseFeeitemList.length) {
this.$loading(false, 'form')
return this.$fm('暂无付款计划,无法提交!')
}
this.$loading(true, 'form')
createSupplierContract(newForm).then((res) => {
this.$loading(false, 'form')
@ -405,10 +409,6 @@ export default {
this.$loading(false, 'form')
})
// })
if (!this.oaReimburseFeeitemList.length) {
this.$loading(false, 'form')
return this.$fm('暂无付款计划,无法提交!')
}
}).catch((err) => {
this.$loading(false, 'form')
if (err && err.length > 0 && err[0].name) {
@ -566,8 +566,10 @@ export default {
}).then((res) => {
this.typeList = res.data || []
})
getProjectPage({type:2,pageNo: 1,
pageSize: 500}).then(res=>{
getProjectPage({
type: 2, pageNo: 1,
pageSize: 500
}).then(res => {
this.projectList = res.data.list || []
})
listData({

Loading…
Cancel
Save