Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
peizhen-vue
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PeiZhen-Java
peizhen-vue
Commits
663ca36a
Commit
663ca36a
authored
Oct 30, 2023
by
裴梁博
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/v1/plb' into 'master'
修改代办买药 See merge request
!9
parents
c1e60fce
ec67aa4b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
113 additions
and
6 deletions
+113
-6
src/views/orderManagement/dbmyOrder/index.vue
+113
-6
No files found.
src/views/orderManagement/dbmyOrder/index.vue
View file @
663ca36a
...
@@ -105,14 +105,32 @@
...
@@ -105,14 +105,32 @@
prop=
"ypName"
prop=
"ypName"
key=
"ypName"
key=
"ypName"
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
/>
>
<template
slot-scope=
"
{ row }">
<el-button
v-if=
"row.ypName"
type=
"text"
@
click=
"clickSeeROWrFK(row.ypName, '药品名称')"
>
查看
</el-button
>
</
template
>
</el-table-column>
<el-table-column
<el-table-column
label=
"药店地址"
label=
"药店地址"
align=
"center"
align=
"center"
prop=
"ydAddress"
prop=
"ydAddress"
key=
"ydAddress"
key=
"ydAddress"
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
/>
>
<
template
slot-scope=
"{ row }"
>
<el-button
v-if=
"row.ydAddress"
type=
"text"
@
click=
"clickSeeROWrFK(row.ydAddress, '药店地址')"
>
查看
</el-button
>
</
template
>
</el-table-column>
<el-table-column
<el-table-column
label=
"是否处方药"
label=
"是否处方药"
align=
"center"
align=
"center"
...
@@ -134,7 +152,7 @@
...
@@ -134,7 +152,7 @@
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
width=
"120"
width=
"120"
>
>
<
template
slot-scope=
"{ row }"
>
<
!-- <
template slot-scope="{ row }">
<fileUpload
<fileUpload
v-model="row.prescriptionAttachment"
v-model="row.prescriptionAttachment"
:isShowTip="false"
:isShowTip="false"
...
@@ -147,6 +165,20 @@
...
@@ -147,6 +165,20 @@
: 1
: 1
"
"
/>
/>
</template> -->
<
template
slot-scope=
"{ row }"
>
<el-button
v-if=
"row.prescriptionAttachment"
type=
"text"
@
click=
"
clickSeeROWrFK(
row.prescriptionAttachment,
'处方附件',
'fileUpload'
)
"
>
查看
</el-button
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"取药方式"
align=
"center"
prop=
"way"
key=
"way"
>
<el-table-column
label=
"取药方式"
align=
"center"
prop=
"way"
key=
"way"
>
...
@@ -161,14 +193,32 @@
...
@@ -161,14 +193,32 @@
prop=
"recipient"
prop=
"recipient"
key=
"recipient"
key=
"recipient"
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
/>
>
<
template
slot-scope=
"{ row }"
>
<el-button
v-if=
"row.recipient"
type=
"text"
@
click=
"clickSeeROWrFK(row.recipient, '收件人')"
>
查看
</el-button
>
</
template
>
</el-table-column>
<el-table-column
<el-table-column
label=
"收货地址"
label=
"收货地址"
align=
"center"
align=
"center"
prop=
"adress"
prop=
"adress"
key=
"adress"
key=
"adress"
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
/>
>
<
template
slot-scope=
"{ row }"
>
<el-button
v-if=
"row.adress"
type=
"text"
@
click=
"clickSeeROWrFK(row.adress, '收货地址')"
>
查看
</el-button
>
</
template
>
</el-table-column>
<el-table-column
<el-table-column
label=
"城市"
label=
"城市"
align=
"center"
align=
"center"
...
@@ -182,7 +232,16 @@
...
@@ -182,7 +232,16 @@
prop=
"addressInfo"
prop=
"addressInfo"
key=
"addressInfo"
key=
"addressInfo"
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
/>
>
<
template
slot-scope=
"{ row }"
>
<el-button
v-if=
"row.addressInfo"
type=
"text"
@
click=
"clickSeeROWrFK(row.addressInfo, '详细地址')"
>
查看
</el-button
>
</
template
>
</el-table-column>
<el-table-column
label=
"接单人"
align=
"center"
prop=
"ename"
key=
"ename"
>
<el-table-column
label=
"接单人"
align=
"center"
prop=
"ename"
key=
"ename"
>
<
template
slot-scope=
"{ row }"
>
<
template
slot-scope=
"{ row }"
>
<el-button
v-if=
"row.ename"
type=
"text"
@
click=
"clickSeeEM(row)"
<el-button
v-if=
"row.ename"
type=
"text"
@
click=
"clickSeeEM(row)"
...
@@ -535,6 +594,36 @@
...
@@ -535,6 +594,36 @@
</div>
</div>
</el-dialog>
</el-dialog>
</
template
>
</
template
>
<
template
v-if=
"vDataL.open"
>
<el-dialog
:title=
"vDataL.title"
:visible
.
sync=
"vDataL.open"
width=
"600px"
append-to-body
>
<div
class=
"contl"
>
<div
class=
"contl-item"
>
<p
class=
"contl-item-label"
>
{{
vDataL
.
title
}}
:
</p>
<template
v-if=
"vDataL.type === 'fileUpload'"
>
<fileUpload
v-model=
"vDataL.value"
:isShowTip=
"false"
:disabled=
"true"
:limit=
"
vDataL.value &&
vDataL.value.split(',') &&
vDataL.value.split(',').length
? vDataL.value.split(',').length
: 1
"
/>
</
template
>
<p
class=
"contl-item-rig"
v-else
>
{{ vDataL.value }}
</p>
</div>
</div>
</el-dialog>
</template>
</div>
</div>
</template>
</template>
...
@@ -551,6 +640,12 @@ export default {
...
@@ -551,6 +640,12 @@ export default {
name
:
"DbmyOrder"
,
name
:
"DbmyOrder"
,
data
()
{
data
()
{
return
{
return
{
vDataL
:
{
open
:
false
,
title
:
""
,
value
:
""
,
type
:
""
,
},
openEMInfo
:
false
,
openEMInfo
:
false
,
openArticleInfoImg
:
false
,
openArticleInfoImg
:
false
,
openArticleInfo
:
false
,
openArticleInfo
:
false
,
...
@@ -618,6 +713,18 @@ export default {
...
@@ -618,6 +713,18 @@ export default {
this
.
getList
();
this
.
getList
();
},
},
methods
:
{
methods
:
{
clickSeeROWrFK
(
value
,
title
,
type
=
"undefined"
)
{
this
.
vDataL
=
{
open
:
false
,
title
:
""
,
value
:
""
,
type
:
""
,
};
this
.
$set
(
this
.
vDataL
,
"title"
,
title
);
this
.
$set
(
this
.
vDataL
,
"value"
,
value
);
this
.
$set
(
this
.
vDataL
,
"type"
,
type
);
this
.
$set
(
this
.
vDataL
,
"open"
,
true
);
},
clickSeeEM
(
row
)
{
clickSeeEM
(
row
)
{
this
.
openEMInfo
=
true
;
this
.
openEMInfo
=
true
;
this
.
VisitorData
=
row
;
this
.
VisitorData
=
row
;
...
...
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