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
8b6c4794
Commit
8b6c4794
authored
Jan 21, 2025
by
chenwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
✨
: 收款单客户名称多选
parent
5aca8b1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
voucher.vue
src/views/ecw/financial/voucher.vue
+17
-2
No files found.
src/views/ecw/financial/voucher.vue
View file @
8b6c4794
...
...
@@ -9,7 +9,9 @@
<el-input
style=
"max-width: 188px"
v-model=
"queryParams.receiptNo"
:placeholder=
"$t('请输入收款单号')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
:label=
"$t('客户名称')"
>
<customer-selector
multiple
v-model=
"queryParams.customerIdList"
clearable
/>
<el-select
multiple
:remote-method=
"customerDropDownFn"
remote
clearable
filterable
v-model=
"queryParams.customerIdList"
:placeholder=
"$t('请输入关键词')"
>
<el-option
v-for=
"(item, index) in customeList"
:key=
"item.id"
:value=
"item.id"
:label=
"item.name"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('状态')"
>
<dict-selector
multiple
:type=
"DICT_TYPE.ECW_RECEIPT_STATE"
v-model=
"queryParams.stateList"
clearable
/>
...
...
@@ -254,6 +256,8 @@
<
/template
>
<
script
>
import
{
customerDropDownList
}
from
"
@/api/ecw/customerCommissionInfo
"
import
{
getCustomerList
}
from
"
@/api/ecw/customer
"
import
{
listSimpleUsers
}
from
"
@/api/system/user
"
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
import
CustomerSelector
from
"
@/components/CustomerSelector
"
...
...
@@ -320,11 +324,12 @@ export default {
dateType
:
[],
loading
:
""
,
params
:
{
}
,
customeList
:
[],
// 查询参数
queryParams
:
{
page
:
1
,
rows
:
20
,
customerIdList
:
null
,
customerIdList
:
[]
,
stateList
:
null
,
salesmanIdList
:
[],
numberNo
:
null
,
...
...
@@ -373,13 +378,16 @@ export default {
}
}
,
activated
()
{
this
.
customerDropDownFn
()
const
orderNo
=
this
.
$route
.
query
.
orderNo
||
""
if
(
orderNo
)
{
this
.
queryParams
.
numberNo
=
orderNo
}
this
.
getList
()
}
,
computed
:
{
}
,
created
()
{
this
.
customerDropDownFn
()
//获取汇率 lanbm 2024-06-06 add
getCurrencyPage
(
this
.
params
).
then
((
res
)
=>
(
this
.
currencyList
=
res
.
data
.
list
))
...
...
@@ -392,6 +400,13 @@ export default {
this
.
getList
()
}
,
methods
:
{
customerDropDownFn
(
val
)
{
customerDropDownList
({
pageNo
:
1
,
pageSize
:
200
,
searchKey
:
val
}
).
then
((
res
)
=>
{
if
(
res
.
code
===
0
)
{
this
.
customeList
=
res
.
data
.
list
}
}
)
}
,
continueUpload
()
{
this
.
$message
.
success
(
this
.
$t
(
"
正在提交,请稍后。
"
))
this
.
$refs
.
upload
.
handleStart
(
this
.
fileCopy
.
raw
)
...
...
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