Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-finance-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-finance-web
Commits
34bf2db4
Commit
34bf2db4
authored
Sep 22, 2023
by
王飞龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
药品bug
parent
c22ee118
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
13 deletions
+39
-13
drug-delivery-detail.vue
...agement/drug-delivery-management/drug-delivery-detail.vue
+11
-3
add-drug.vue
src/views/inventory-management/drug-management/add-drug.vue
+11
-2
drug-detail.vue
...iews/inventory-management/drug-management/drug-detail.vue
+13
-4
drug-management.vue
.../inventory-management/drug-management/drug-management.vue
+4
-4
No files found.
src/views/inventory-management/drug-delivery-management/drug-delivery-detail.vue
View file @
34bf2db4
<
template
>
<div
style=
"min-height: 52.875rem;background-color: #fff"
>
<div
class=
"drug-content-style"
>
<div
style=
" text-align: center;padding-top: 1.875rem;padding-bottom: 1.875rem;
"
>
<span
style=
"font-size: 1.5rem;font-weight: bold; color: #333333;line-height: 20px;
"
>
详情
</span>
<div
class=
"topTitle
"
>
<span
class=
"topTitleText
"
>
详情
</span>
<div
class=
"medicalRecordNo"
>
{{
form
.
medicalRecordNo
}}
</div>
</div>
<div>
...
...
@@ -889,7 +889,15 @@ export default {
.drug-content-style
{
padding
:
0
3rem
1
.875rem
2rem
;
}
.topTitle
{
text-align
:
center
;
padding-top
:
1
.875rem
;
padding-bottom
:
1
.875rem
;
}
.topTitleText
{
font-size
:
24px
;
font-weight
:
bold
;
color
:
#333333
;
line-height
:
24px
;
}
/*最下方按钮布局*/
.bottom-bth-style
{
padding-bottom
:
1
.25rem
;
...
...
src/views/inventory-management/drug-management/add-drug.vue
View file @
34bf2db4
...
...
@@ -2,8 +2,8 @@
<div>
<div
style=
"min-height: 52.875rem;background-color: #fff"
>
<div
class=
"drug-content-style drug-add"
>
<div
style=
" text-align: center;padding-top: 1.875rem;padding-bottom: 1.875rem;
"
>
<span
style=
"font-size: 1.5rem;font-weight: bold; color: #333333;line-height: 20px;
"
>
新增
</span>
<div
class=
"topTitle
"
>
<span
class=
"topTitleText
"
>
新增
</span>
</div>
<div>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"8.5rem"
>
...
...
@@ -953,6 +953,15 @@ export default {
.drug-content-style
{
padding
:
0
8px
1
.875rem
2rem
;
}
.topTitle
{
text-align
:
center
;
padding-top
:
1
.875rem
;
padding-bottom
:
1
.875rem
;
}
.topTitleText
{
font-size
:
24px
;
font-weight
:
bold
;
color
:
#333333
;
line-height
:
24px
;
}
/*最下方按钮布局*/
.bottom-bth-style
{
...
...
src/views/inventory-management/drug-management/drug-detail.vue
View file @
34bf2db4
...
...
@@ -2,8 +2,8 @@
<div>
<div
v-if=
"identify ==='1'"
style=
"min-height: 52.875rem;background-color: #fff"
>
<div
class=
"drug-content-style drug_detail"
>
<div
style=
" text-align: center;padding-top: 1.875rem;padding-bottom: 1.875rem;
"
>
<span
style=
"font-size: 1.5rem;font-weight: bold; color: #333333;line-height: 20px;
"
>
编辑
</span>
<div
class=
"topTitle
"
>
<span
class=
"topTitleText
"
>
编辑
</span>
</div>
<div>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"6.7rem"
>
...
...
@@ -360,8 +360,8 @@
</div>
<div
v-if=
"identify ==='2'"
style=
"min-height: 52.875rem;background-color: #fff"
>
<div
class=
"drug-content-style drug_detail"
>
<div
style=
" text-align: center;padding-top: 1.875rem;padding-bottom: 1.875rem;
"
>
<span
style=
"font-size: 1.5rem;font-weight: bold; color: #333333;line-height: 20px;
"
>
详情
</span>
<div
class=
"topTitle
"
>
<span
class=
"topTitleText
"
>
详情
</span>
</div>
<div>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"6.7rem"
>
...
...
@@ -1346,6 +1346,15 @@ export default {
.drug-content-style
{
padding
:
0
3rem
3
.125rem
2rem
;
}
.topTitle
{
text-align
:
center
;
padding-top
:
1
.875rem
;
padding-bottom
:
1
.875rem
;
}
.topTitleText
{
font-size
:
24px
;
font-weight
:
bold
;
color
:
#333333
;
line-height
:
24px
;
}
/*最下方按钮布局*/
.bottom-bth-style
{
...
...
src/views/inventory-management/drug-management/drug-management.vue
View file @
34bf2db4
...
...
@@ -185,8 +185,8 @@
<span
v-if=
" scope.row.currentQty
<scope
.
row
.
safeQty
"
style=
"color: #DB4747 "
>
{{
scope
.
row
.
currentQty
+
scope
.
row
.
stockUnit
||
"0"
}}
</span>
<span
v-else
>
{{
scope
.
row
.
currentQty
+
scope
.
row
.
stockUnit
||
"0"
}}
</span>
>
{{
scope
.
row
.
currentQty
||
"0"
}}{{
scope
.
row
.
stockUnit
}}
</span>
<span
v-else
>
{{
scope
.
row
.
currentQty
||
"0"
}}{{
scope
.
row
.
stockUnit
}}
</span>
</
template
>
</el-table-column>
...
...
@@ -386,7 +386,7 @@
icon=
"el-icon-upload2"
>
上传文件
</el-button>
<div
slot=
"tip"
class=
"el-upload__tip"
>
支持扩展名: .xlsx.xl
r.xl
s
</div>
<div
slot=
"tip"
class=
"el-upload__tip"
>
支持扩展名: .xlsx.xls
</div>
</el-upload>
</div>
<el-row>
...
...
@@ -689,7 +689,7 @@ export default {
console
.
log
(
fileType
)
// 判断文件名的类型,允许多种就判断多个
// .xlsx.xlr.xls
if
(
fileType
===
'xlsx'
||
fileType
===
'xl
r'
||
fileType
===
'xl
s'
)
{
if
(
fileType
===
'xlsx'
||
fileType
===
'xls'
)
{
console
.
log
(
file
)
}
else
{
this
.
$modal
.
msgWarning
(
file
.
name
+
'文件格式不正确,请上传正确的模板文件'
)
...
...
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