Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-business-web
Project
Project
Details
Activity
Releases
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
刘怀志
pet-business-web
Commits
1d308a8e
Commit
1d308a8e
authored
Sep 08, 2023
by
刘怀志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
67471 挂号管理、病历管理,处方单中已被选择的药品、检查项目、治疗项目再次新增时应该还可以进行选择
parent
6c1393e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
medical-edit.vue
src/views/medical-record-management/medical-edit.vue
+10
-7
No files found.
src/views/medical-record-management/medical-edit.vue
View file @
1d308a8e
...
...
@@ -1743,9 +1743,10 @@ export default {
}
}
,
drugOptionsShow
()
{
// disabled: !this.stockDispenseOutboundList.every(drug => drug.drugId !== item.drugId)
console
.
log
(
'drugListShow'
,
this
.
stockDispenseOutboundList
,
this
.
drugOptions
)
return
this
.
drugOptions
.
map
(
item
=>
{
return
{
...
item
,
disabled
:
!
this
.
stockDispenseOutboundList
.
every
(
drug
=>
drug
.
drugId
!==
item
.
drugId
)
}
return
{
...
item
,
disabled
:
false
}
}
)
}
...
...
@@ -1947,12 +1948,13 @@ export default {
console
.
log
(
'finishSetDrugOthers'
,
rowData
)
}
,
changeTreatItemOptionsShow
(
type
,
row
)
{
// !this.treatManageBo.every(treat =>
{
// return treat.treatItemsId !== item.value
//
}
)
this
.
treatItemOptionsShow
=
this
.
treatItemOptions
.
filter
(
item
=>
item
.
type
===
type
).
map
(
item
=>
{
return
{
...
item
,
disabled
:
!
this
.
treatManageBo
.
every
(
treat
=>
{
return
treat
.
treatItemsId
!==
item
.
value
}
)
disabled
:
false
}
}
)
console
.
log
(
'this.treatItemOptionsQQQQQQQQQQQQQQQ'
,
this
.
treatItemOptionsShow
,
this
.
treatManageBo
)
...
...
@@ -1976,15 +1978,16 @@ export default {
getCheckItemOptions
(
checkType
,
row
)
{
return
new
Promise
(
resolve
=>
{
console
.
log
(
'getCheckItemOptions'
,
checkType
,
row
)
// disabled: !this.checkManageBos.every(check =>
{
// return check.checkItemsId !== item.id.toString()
//
}
)
listByType
({
itemType
:
checkType
}
).
then
(
res
=>
{
this
.
checkItemOptions
=
res
.
rows
.
map
(
item
=>
{
return
{
label
:
item
.
name
,
value
:
item
.
id
.
toString
(),
payAmount
:
item
.
price
,
disabled
:
!
this
.
checkManageBos
.
every
(
check
=>
{
return
check
.
checkItemsId
!==
item
.
id
.
toString
()
}
)
disabled
:
false
}
}
)
console
.
log
(
'checkItemOptions!!!!!!!!!!!!!'
,
this
.
checkItemOptions
)
...
...
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