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
bb5db2a7
Commit
bb5db2a7
authored
Sep 08, 2025
by
任鸿志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(jiesuan): 优化结算凭据打印提示和新增地纬结算功能
- 将结算凭据打印提示框从 $alert 改为 $confirm,增加取消选项 - 在单方面退款页面添加地纬结算和地纬撤销结算功能
parent
60383861
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
16 deletions
+72
-16
outpatient.vue
src/views/jiesuan/outpatient.vue
+41
-16
unilateralRefund.vue
src/views/jiesuan/unilateralRefund.vue
+31
-0
No files found.
src/views/jiesuan/outpatient.vue
View file @
bb5db2a7
...
@@ -2047,15 +2047,27 @@ export default {
...
@@ -2047,15 +2047,27 @@ export default {
// }
// }
let
dept
=
localStorage
.
getItem
(
'
deptCode
'
)
let
dept
=
localStorage
.
getItem
(
'
deptCode
'
)
if
(
dept
!=
'
0502
'
)
{
if
(
dept
!=
'
0502
'
)
{
this
.
$alert
(
'
是否打印结算凭条?
'
,
'
提示
'
,
{
this
.
$confirm
(
'
是否打印结算凭条?
'
,
'
提示
'
,
{
confirmButtonText
:
'
确定
'
,
confirmButtonText
:
'
是
'
,
callback
:
action
=>
{
cancelButtonText
:
'
否
'
,
if
(
action
==
'
confirm
'
)
{
type
:
'
warning
'
}).
then
(()
=>
{
_this
.
printcard
(
jshidprint
)
_this
.
printcard
(
jshidprint
)
}
}).
catch
(()
=>
{
this
.
$message
({
}
type
:
'
info
'
,
message
:
'
已取消
'
});
});
});
// this.$alert('是否打印结算凭条?', '提示', {
// confirmButtonText: '确定',
// callback: action => {
// if (action == 'confirm') {
// _this.printcard(jshidprint)
// }
//
// }
// });
// _this.printcard(jshidprint)
// _this.printcard(jshidprint)
}
}
...
@@ -2916,15 +2928,28 @@ export default {
...
@@ -2916,15 +2928,28 @@ export default {
let dept = localStorage.getItem(
'
deptCode
'
)
let dept = localStorage.getItem(
'
deptCode
'
)
if (dept !=
'
0502
'
) {
if (dept !=
'
0502
'
) {
this.$alert(
'
是否打印结算凭条?
'
,
'
提示
'
, {
this.$confirm(
'
是否打印结算凭条
?
'
,
'
提示
'
, {
confirmButtonText:
'
确定
'
,
confirmButtonText:
'
是
'
,
callback: action => {
cancelButtonText:
'
否
'
,
if (action ==
'
confirm
'
) {
type:
'
warning
'
}).then(() => {
_this.printcard(jshidprint)
_this.printcard(jshidprint)
}
}).catch(() => {
this.$message({
}
type:
'
info
'
,
message:
'
已取消
'
});
});
});
// this.$alert(
'
是否打印结算凭条?
'
,
'
提示
'
, {
// confirmButtonText:
'
确定
'
,
// callback: action => {
// if (action ==
'
confirm
'
) {
// _this.printcard(jshidprint)
// }
// }
// });
}
}
// _this.printcard(jshidprint)
// _this.printcard(jshidprint)
...
...
src/views/jiesuan/unilateralRefund.vue
View file @
bb5db2a7
...
@@ -46,6 +46,37 @@
...
@@ -46,6 +46,37 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"地纬结算"
name=
"4"
>
<el-form
ref=
"formEWM"
:model=
"formEWM"
label-width=
"100px"
>
<el-form-item
label=
"结算信息"
>
<el-input
v-model=
"formEWM.jsh_id"
type=
"textarea"
:rows=
"2"
placeholder=
"请输入内容"
></el-input>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSubmitEWM"
>
确定
</el-button>
<el-button>
取消
</el-button>
</el-form-item>
</el-form>
</el-tab-pane>
<el-tab-pane
label=
"地纬撤销结算"
name=
"3"
>
<el-form
ref=
"formEWM"
:model=
"formEWM"
label-width=
"100px"
>
<el-form-item
label=
"地纬账号"
>
<el-input
v-model=
"formEWM.dw_user"
></el-input>
</el-form-item>
<el-form-item
label=
"二维码"
>
<el-input
v-model=
"formEWM.ewm"
></el-input>
</el-form-item>
<el-form-item
label=
"结算号ID"
>
<el-input
v-model=
"formEWM.jsh_id"
></el-input>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSubmitEWM"
>
确定
</el-button>
<el-button>
取消
</el-button>
</el-form-item>
</el-form>
</el-tab-pane>
</el-tabs>
</el-tabs>
</el-card>
</el-card>
...
...
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