Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pt-tobacco-lims-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
wangweidong
pt-tobacco-lims-web
Commits
96944537
Commit
96944537
authored
Jun 10, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改流转选择人员
parent
b4bc23b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
transferListModal.vue
pages/drug-sample-flow/transferListModal.vue
+9
-5
No files found.
pages/drug-sample-flow/transferListModal.vue
View file @
96944537
...
...
@@ -40,8 +40,8 @@
<span
v-else-if=
"item.key==='flower'"
>
<!--
<Input
v-model=
"scope.row.person"
name=
"person"
placeholder=
"请输入流转人"
style=
"width: 100px;"
/>
-->
<Input
readonly=
"readonly"
v-model=
"scope.row.flower"
readonly=
"readonly"
placeholder=
"请选择人员"
@
click
.
native=
"_selectStaff(scope.$index)"
/>
...
...
@@ -74,6 +74,7 @@
<
script
>
import
UserInfo
from
'../../components/user-info-single/assignPerson'
import
{
drugSample
}
from
'../../api'
import
Global
from
'../../api/config'
export
default
{
name
:
'TransferListModal'
,
...
...
@@ -144,20 +145,21 @@ export default {
},
_userData
(
data
,
msg
,
index
,
contractTempData
)
{
console
.
log
(
data
)
console
.
log
(
this
.
getPage
.
records
)
// 选择人员返回数据
// 选择业务员
this
.
person
=
data
.
realname
alert
(
this
.
dataIndex
)
this
.
getPage
.
records
[
this
.
dataIndex
].
flowerId
=
data
.
userId
this
.
getPage
.
records
[
this
.
dataIndex
].
flower
=
data
.
realname
// alert(this.dataIndex)
this
.
getPage
.
records
[
this
.
dataIndex
].
flowerId
=
data
.
userId
// console.log(this.person)
// this.getPage = data
console
.
log
(
this
.
getPage
.
records
)
},
_open
(
data
)
{
this
.
showListModal
=
true
this
.
getPage
.
records
=
[]
const
length
=
data
.
length
const
user
=
Global
.
getUserInfo
()
for
(
let
i
=
0
;
i
<
length
;
i
++
)
{
const
object
=
data
[
i
]
const
obj
=
{}
...
...
@@ -166,9 +168,11 @@ export default {
obj
.
name
=
object
.
name
obj
.
groupName
=
object
.
groupName
obj
.
groupId
=
object
.
groupId
obj
.
flower
=
user
.
realname
obj
.
flowerId
=
user
.
userId
obj
.
flowQuantity
=
1
this
.
getPage
.
records
.
push
(
obj
)
}
this
.
$refs
.
pageTable
.
_initTable
()
},
_footerResult
(
msg
)
{
...
...
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