Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
省
省二结算
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
任鸿志
省二结算
Commits
7602a891
Commit
7602a891
authored
Sep 11, 2025
by
任鸿志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
```
refactor(outpatient.vue): 修正条件判断逻辑并添加打印凭条确认对话框
parent
8cb7dc5f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
2 deletions
+28
-2
outpatient.vue
src/views/jiesuan/outpatient.vue
+28
-2
No files found.
src/views/jiesuan/outpatient.vue
View file @
7602a891
...
@@ -2049,8 +2049,21 @@ export default {
...
@@ -2049,8 +2049,21 @@ export default {
// }
// }
let
dept
=
localStorage
.
getItem
(
'
deptCode
'
)
let
dept
=
localStorage
.
getItem
(
'
deptCode
'
)
if
(
dept
!=
'
0502
'
)
{
if
(
dept
!=
'
0502
'
)
{
if
(
dept
this
.
$route
.
query
.
webSource
!=
6
)
{
if
(
this
.
$route
.
query
.
webSource
!=
6
)
{
_this
.
printcard
(
jshidprint
)
_this
.
printcard
(
jshidprint
)
}
else
{
this
.
$confirm
(
'
是否打印结算凭条?
'
,
'
提示
'
,
{
confirmButtonText
:
'
是
'
,
cancelButtonText
:
'
否
'
,
type
:
'
warning
'
}).
then
(()
=>
{
_this
.
printcard
(
jshidprint
)
}).
catch
(()
=>
{
this
.
$message
({
type
:
'
info
'
,
message
:
'
已取消
'
});
});
}
}
// this.$confirm('是否打印结算凭条?', '提示', {
// this.$confirm('是否打印结算凭条?', '提示', {
// confirmButtonText: '是',
// confirmButtonText: '是',
...
@@ -2933,8 +2946,21 @@ export default {
...
@@ -2933,8 +2946,21 @@ export default {
let dept = localStorage.getItem(
'
deptCode
'
)
let dept = localStorage.getItem(
'
deptCode
'
)
if (dept !=
'
0502
'
) {
if (dept !=
'
0502
'
) {
if (
dept
this.$route.query.webSource!=6) {
if (this.$route.query.webSource!=6) {
_this.printcard(jshidprint)
_this.printcard(jshidprint)
}else{
this.$confirm(
'
是否打印结算凭条
?
'
,
'
提示
'
, {
confirmButtonText:
'
是
'
,
cancelButtonText:
'
否
'
,
type:
'
warning
'
}).then(() => {
_this.printcard(jshidprint)
}).catch(() => {
this.$message({
type:
'
info
'
,
message:
'
已取消
'
});
});
}
}
// this.$confirm(
'
是否打印结算凭条
?
'
,
'
提示
'
, {
// this.$confirm(
'
是否打印结算凭条
?
'
,
'
提示
'
, {
// confirmButtonText:
'
是
'
,
// confirmButtonText:
'
是
'
,
...
...
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