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
1c6b1f83
Commit
1c6b1f83
authored
Dec 27, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增收款单修复
parent
0aac82ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+1
-1
paymentVoucher.vue
src/views/ecw/financial/paymentVoucher.vue
+12
-3
No files found.
src/views/ecw/financial/creatCollection.vue
View file @
1c6b1f83
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
:span=
"4"
:span=
"4"
:rules=
"
{ required: true, trigger: ['blur', 'change'], message: $t('业务员不能为空') }"
:rules=
"
{ required: true, trigger: ['blur', 'change'], message: $t('业务员不能为空') }"
>
>
<el-select
v-model=
"form.salesmanId"
:placeholder=
"$t('请选择业务员')"
@
change=
"v => form.salesmanName = creatorData.find(t => t.id === v).nickname"
>
<el-select
v-model=
"form.salesmanId"
filterable
:placeholder=
"$t('请选择业务员')"
@
change=
"v => form.salesmanName = creatorData.find(t => t.id === v).nickname"
>
<el-option
<el-option
v-for=
"item in creatorData"
v-for=
"item in creatorData"
:key=
"item.id"
:key=
"item.id"
...
...
src/views/ecw/financial/paymentVoucher.vue
View file @
1c6b1f83
...
@@ -58,7 +58,15 @@
...
@@ -58,7 +58,15 @@
</el-row>
</el-row>
<el-row
:span=
"24"
>
<el-row
:span=
"24"
>
<el-form-item
:label=
"$t('业务员')"
>
<el-form-item
:label=
"$t('业务员')"
>
<el-select
v-model=
"form.salesmanId"
:placeholder=
"$t('请选择业务员')"
>
<!--
<el-select
v-model=
"form.salesmanId"
:placeholder=
"$t('请选择业务员')"
>
<el-option
v-for=
"item in creatorData"
:key=
"item.id"
:label=
"item.nickname"
:value=
"item.id"
/>
</el-select>
-->
<el-select
v-model=
"form.salesmanId"
filterable
:placeholder=
"$t('请选择业务员')"
@
change=
"v => form.salesmanName = creatorData.find(t => t.id === v).nickname"
>
<el-option
<el-option
v-for=
"item in creatorData"
v-for=
"item in creatorData"
:key=
"item.id"
:key=
"item.id"
...
@@ -189,7 +197,7 @@
...
@@ -189,7 +197,7 @@
<
/template
>
<
/template
>
<
script
>
<
script
>
import
{
userList
}
from
"
@/api/system/user
"
;
import
{
userList
,
listSimpleUsers
}
from
"
@/api/system/user
"
;
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
;
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
;
import
CustomerSelector
from
"
@/components/CustomerSelector
"
;
import
CustomerSelector
from
"
@/components/CustomerSelector
"
;
import
{
getSupplierPage
}
from
"
@/api/ecw/supplier
"
;
import
{
getSupplierPage
}
from
"
@/api/ecw/supplier
"
;
...
@@ -242,7 +250,8 @@ export default {
...
@@ -242,7 +250,8 @@ export default {
}
,
}
,
created
()
{
created
()
{
let
that
=
this
;
let
that
=
this
;
userList
(
"
salesman
"
).
then
((
res
)
=>
(
that
.
creatorData
=
res
.
data
));
listSimpleUsers
().
then
((
res
)
=>
(
that
.
creatorData
=
res
.
data
));
// userList("salesman").then((res) => (that.creatorData = res.data));
getSupplierPage
({
pageNo
:
"
1
"
,
pageSize
:
"
10000
"
}
).
then
((
res
)
=>
{
getSupplierPage
({
pageNo
:
"
1
"
,
pageSize
:
"
10000
"
}
).
then
((
res
)
=>
{
const
{
data
}
=
res
;
const
{
data
}
=
res
;
this
.
allSupplier
=
data
.
list
;
this
.
allSupplier
=
data
.
list
;
...
...
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