Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
04d0dc85
Commit
04d0dc85
authored
Oct 05, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
请款单供应商银行账号bug修复
parent
f6994b63
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
8 deletions
+27
-8
creatPayment.vue
src/views/ecw/financial/creatPayment.vue
+26
-7
prepayDeal.vue
src/views/ecw/order/prepayDeal.vue
+1
-1
No files found.
src/views/ecw/financial/creatPayment.vue
View file @
04d0dc85
...
@@ -100,14 +100,12 @@
...
@@ -100,14 +100,12 @@
label-width=
"0"
label-width=
"0"
style=
"margin-bottom: 0"
style=
"margin-bottom: 0"
prop=
"supplierBankAccount"
prop=
"supplierBankAccount"
required
error=
"请选择收款账户"
>
>
<el-select
v-model=
"form.supplierBankAccount"
placeholder=
"请选择收款账户"
>
<el-select
v-model=
"form.supplierBankAccount"
@
change=
"selectChangeBank"
placeholder=
"请选择收款账户"
>
<el-option
<el-option
v-for=
"item in bankData"
v-for=
"item in bankData"
:key=
"item.id"
:key=
"item.id"
:label=
"item.bankName + '(' + item.bank
Name
Account+ ')'"
:label=
"item.bankName + '(' + item.bankAccount+ ')'"
:value=
"item.id"
:value=
"item.id"
/>
/>
</el-select>
</el-select>
...
@@ -416,7 +414,7 @@ import { getChannelList } from "@/api/ecw/channel";
...
@@ -416,7 +414,7 @@ import { getChannelList } from "@/api/ecw/channel";
import
CustomerSelector
from
"
@/components/CustomerSelector
"
;
import
CustomerSelector
from
"
@/components/CustomerSelector
"
;
import
{
listSimpleDepts
}
from
"
@/api/system/dept
"
;
import
{
listSimpleDepts
}
from
"
@/api/system/dept
"
;
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
;
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
;
import
{
getSupplierPage
}
from
"
@/api/ecw/supplier
"
;
import
{
getSupplierPage
,
getSupplier
}
from
"
@/api/ecw/supplier
"
;
import
{
getPayableList
,
getPayableInfoByIds
,
createPayment
,
getPaymentInfoByIds
,
getPaymentItem
,
updatePayment
}
from
"
@/api/ecw/financial
"
import
{
getPayableList
,
getPayableInfoByIds
,
createPayment
,
getPaymentInfoByIds
,
getPaymentItem
,
updatePayment
}
from
"
@/api/ecw/financial
"
export
default
{
export
default
{
name
:
"
CreatPayment
"
,
name
:
"
CreatPayment
"
,
...
@@ -557,6 +555,10 @@ export default {
...
@@ -557,6 +555,10 @@ export default {
if
(
this
.
list
&&
this
.
list
.
length
>
0
)
{
if
(
this
.
list
&&
this
.
list
.
length
>
0
)
{
params
.
payableReqVOList
=
[...
this
.
list
]
params
.
payableReqVOList
=
[...
this
.
list
]
}
}
if
(
!
params
.
supplierBankAccount
){
this
.
$modal
.
msgError
(
"
请选择供应商银行账号
"
);
return
}
if
(
params
.
payableReqVOList
.
length
===
0
)
{
if
(
params
.
payableReqVOList
.
length
===
0
)
{
this
.
$modal
.
msgError
(
"
请选择供应商未付款项
"
);
this
.
$modal
.
msgError
(
"
请选择供应商未付款项
"
);
return
return
...
@@ -584,6 +586,10 @@ export default {
...
@@ -584,6 +586,10 @@ export default {
if
(
this
.
list
&&
this
.
list
.
length
>
0
)
{
if
(
this
.
list
&&
this
.
list
.
length
>
0
)
{
params
.
payableReqVOList
=
[...
this
.
list
]
params
.
payableReqVOList
=
[...
this
.
list
]
}
}
if
(
!
params
.
supplierBankAccount
){
this
.
$modal
.
msgError
(
"
请选择供应商银行账号
"
);
return
}
if
(
params
.
payableReqVOList
.
length
===
0
)
{
if
(
params
.
payableReqVOList
.
length
===
0
)
{
this
.
$modal
.
msgError
(
"
请选择供应商未付款项
"
);
this
.
$modal
.
msgError
(
"
请选择供应商未付款项
"
);
return
return
...
@@ -592,11 +598,24 @@ export default {
...
@@ -592,11 +598,24 @@ export default {
}
}
})
})
},
},
selectChangeBank
(
val
){
this
.
$forceUpdate
()
console
.
log
(
this
.
form
.
supplierBankAccount
)
},
selectChange
(
val
)
{
selectChange
(
val
)
{
this
.
bankData
=
[]
// this.form.supplierBankAccount=''
if
(
val
){
getSupplier
(
val
).
then
((
res
)
=>
{
this
.
bankData
=
res
.
data
.
bankList
this
.
form
.
supplierBankAccount
=
''
})
}
const
t
=
this
.
allSupplier
.
find
(
v
=>
v
.
id
==
val
)
const
t
=
this
.
allSupplier
.
find
(
v
=>
v
.
id
==
val
)
t
&&
(
this
.
form
.
supplierName
=
t
.
companyZh
)
t
&&
(
this
.
form
.
supplierName
=
t
.
companyZh
)
t
&&
(
this
.
bankData
=
t
.
bankList
)
//
t && (this.bankData = t.bankList)
},
},
handleQuery
()
{},
handleQuery
()
{},
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
...
...
src/views/ecw/order/prepayDeal.vue
View file @
04d0dc85
...
@@ -317,7 +317,7 @@
...
@@ -317,7 +317,7 @@
getExceptionById
(
that
.
orderExceptionId
).
then
(
response
=>
{
getExceptionById
(
that
.
orderExceptionId
).
then
(
response
=>
{
that
.
orderExceptionData
=
response
.
data
;
that
.
orderExceptionData
=
response
.
data
;
// that.orderExceptionData.orderExceptionType = 'order_other_exception'
// that.orderExceptionData.orderExceptionType = 'order_other_exception'
that
.
orderExceptionData
.
orderExceptionType
=
'
order_miss_exception
'
//
that.orderExceptionData.orderExceptionType = 'order_miss_exception'
// that.orderExceptionData.orderExceptionType = 'order_pay_exception'
// that.orderExceptionData.orderExceptionType = 'order_pay_exception'
that
.
loading
=
false
;
that
.
loading
=
false
;
that
.
orderId
=
response
.
data
.
orderId
that
.
orderId
=
response
.
data
.
orderId
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment