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
6193e84c
Commit
6193e84c
authored
Sep 19, 2023
by
小费同学阿
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
66896 【UI】列表样式、按钮icon、间距、边距、对齐、进度样式问题
parent
abb1f89f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
1 deletion
+34
-1
medical-edit.vue
src/views/medical-record-management/medical-edit.vue
+34
-1
No files found.
src/views/medical-record-management/medical-edit.vue
View file @
6193e84c
...
@@ -597,7 +597,6 @@ color: #333333;"
...
@@ -597,7 +597,6 @@ color: #333333;"
</span>
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
min-width=
"70"
:show-overflow-tooltip=
"true"
align=
"left"
label=
"销售数量"
prop=
"sallNum"
>
<el-table-column
min-width=
"70"
:show-overflow-tooltip=
"true"
align=
"left"
label=
"销售数量"
prop=
"sallNum"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
<span>
...
@@ -683,6 +682,18 @@ color: #333333;"
...
@@ -683,6 +682,18 @@ color: #333333;"
<svg-icon
icon-class=
"liebiao_icon_shanchu"
/>
<svg-icon
icon-class=
"liebiao_icon_shanchu"
/>
删除
删除
</el-button>
</el-button>
<el-button
v-if=
"scope.row.isAdd"
id=
"clear-medication"
plain
size=
"mini"
class=
"el-button--error--solid"
type=
"danger"
@
click=
"handleClearRow(scope.row, 'stockDispenseOutboundList','clear-medication')"
>
<svg-icon
icon-class=
"liebiao_icon_shanchu"
/>
清空
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -1792,6 +1803,28 @@ export default {
...
@@ -1792,6 +1803,28 @@ export default {
this
.
getDrugList
()
this
.
getDrugList
()
}
,
}
,
methods
:
{
methods
:
{
/* 清空按钮方法 */
handleClearRow
(
row
,
listName
,
removeButtonId
)
{
// 删除信息行
this
.
$confirm
(
'是否确认删除此条数据,删除后不可恢复'
,
'删除'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
closeOnClickModal
:
false
,
customClass
:
'box-logout'
,
cancelButtonClass
:
'resetBtn'
,
confirmButtonClass
:
'queryBtn'
}
).
then
(()
=>
{
/* 清空当前行 */
const
index
=
this
[
listName
].
indexOf
(
row
)
this
[
listName
].
splice
(
index
,
1
)
/* 清空后状态改变 */
this
.
editCunt
[
listName
]
=
0
}
).
catch
(()
=>
{
/* 最后给特定的id进行设置 */
document
.
getElementById
(
removeButtonId
).
blur
()
}
)
}
,
checkPermi
,
checkPermi
,
/* 金额格式化 */
/* 金额格式化 */
formatAmount
(
amount
)
{
formatAmount
(
amount
)
{
...
...
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