Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
23f231c1
Commit
23f231c1
authored
Jul 13, 2021
by
季圣华
Browse files
优化单据中仓库、账户之类的下拉框
parent
ee21de66
Changes
21
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/financial/modules/MoneyOutModal.vue
View file @
23f231c1
...
...
@@ -81,7 +81,8 @@
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"付款账户"
>
<a-select
placeholder=
"选择付款账户"
v-decorator=
"[ 'accountId', validatorRules.accountId ]"
:dropdownMatchSelectWidth=
"false"
>
<a-select
placeholder=
"选择付款账户"
v-decorator=
"[ 'accountId', validatorRules.accountId ]"
:dropdownMatchSelectWidth=
"false"
showSearch
optionFilterProp=
"children"
>
<a-select-option
v-for=
"(item,index) in accountList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
name
}}
</a-select-option>
...
...
@@ -195,7 +196,6 @@
}
},
created
()
{
this
.
initAccount
()
},
methods
:
{
//调用完edit()方法之后会自动调用此方法
...
...
@@ -217,6 +217,9 @@
let
url
=
this
.
readOnly
?
this
.
url
.
detailList
:
this
.
url
.
detailList
;
this
.
requestSubTableData
(
url
,
params
,
this
.
accountTable
);
}
this
.
initSupplier
()
this
.
initPerson
()
this
.
initAccount
()
},
//提交单据时整理成formData
classifyIntoFormData
(
allValues
)
{
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
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