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
03af5f4d
Commit
03af5f4d
authored
Oct 05, 2022
by
Marcus
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
43a481bc
64ee5ef8
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 @
03af5f4d
...
...
@@ -100,14 +100,12 @@
label-width=
"0"
style=
"margin-bottom: 0"
prop=
"supplierBankAccount"
required
error=
"请选择收款账户"
>
<el-select
v-model=
"form.supplierBankAccount"
placeholder=
"请选择收款账户"
>
<el-select
v-model=
"form.supplierBankAccount"
@
change=
"selectChangeBank"
placeholder=
"请选择收款账户"
>
<el-option
v-for=
"item in bankData"
:key=
"item.id"
:label=
"item.bankName + '(' + item.bank
Name
Account+ ')'"
:label=
"item.bankName + '(' + item.bankAccount+ ')'"
:value=
"item.id"
/>
</el-select>
...
...
@@ -416,7 +414,7 @@ import { getChannelList } from "@/api/ecw/channel";
import
CustomerSelector
from
"
@/components/CustomerSelector
"
;
import
{
listSimpleDepts
}
from
"
@/api/system/dept
"
;
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
"
export
default
{
name
:
"
CreatPayment
"
,
...
...
@@ -557,6 +555,10 @@ export default {
if
(
this
.
list
&&
this
.
list
.
length
>
0
)
{
params
.
payableReqVOList
=
[...
this
.
list
]
}
if
(
!
params
.
supplierBankAccount
){
this
.
$modal
.
msgError
(
"
请选择供应商银行账号
"
);
return
}
if
(
params
.
payableReqVOList
.
length
===
0
)
{
this
.
$modal
.
msgError
(
"
请选择供应商未付款项
"
);
return
...
...
@@ -584,6 +586,10 @@ export default {
if
(
this
.
list
&&
this
.
list
.
length
>
0
)
{
params
.
payableReqVOList
=
[...
this
.
list
]
}
if
(
!
params
.
supplierBankAccount
){
this
.
$modal
.
msgError
(
"
请选择供应商银行账号
"
);
return
}
if
(
params
.
payableReqVOList
.
length
===
0
)
{
this
.
$modal
.
msgError
(
"
请选择供应商未付款项
"
);
return
...
...
@@ -592,11 +598,24 @@ export default {
}
})
},
selectChangeBank
(
val
){
this
.
$forceUpdate
()
console
.
log
(
this
.
form
.
supplierBankAccount
)
},
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
)
t
&&
(
this
.
form
.
supplierName
=
t
.
companyZh
)
t
&&
(
this
.
bankData
=
t
.
bankList
)
//
t && (this.bankData = t.bankList)
},
handleQuery
()
{},
handleSelectionChange
(
val
)
{
...
...
src/views/ecw/order/prepayDeal.vue
View file @
03af5f4d
...
...
@@ -317,7 +317,7 @@
getExceptionById
(
that
.
orderExceptionId
).
then
(
response
=>
{
that
.
orderExceptionData
=
response
.
data
;
// 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
.
loading
=
false
;
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