Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhouqian
vue-gjjs
Commits
8f6a2001
Commit
8f6a2001
authored
Nov 22, 2022
by
Wuyuqiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
申报交易检核提交临时提交
parent
0d531601
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
37 deletions
+5
-37
commonFuncs.js
src/mixin/commonFuncs.js
+2
-34
index.vue
src/views/Business/Dbcadd/index.vue
+2
-2
Basp.vue
src/views/Business/Dbcame/Basp.vue
+1
-1
No files found.
src/mixin/commonFuncs.js
View file @
8f6a2001
...
...
@@ -4,11 +4,11 @@ export default {
methods
:
{
// 表单提交
async
handleSubmit
(
rulePath
)
{
let
result
;
let
result1
;
let
result
;
if
(
rulePath
==
""
){
result
=
await
this
.
save
();
}
else
{
result
1
=
await
this
.
executeRule
(
rulePath
);
result
=
await
this
.
executeRule
(
rulePath
);
}
if
(
result
.
respCode
==
SUCCESS
&&
Object
.
keys
(
result
.
fieldErrors
).
length
==
0
)
{
this
.
$notify
({
...
...
@@ -42,38 +42,6 @@ export default {
});
}
if
(
result1
.
respCode
==
SUCCESS
&&
Object
.
keys
(
result1
.
fieldErrors
).
length
==
0
)
{
this
.
$notify
({
title
:
"成功"
,
message
:
"保存成功"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"TagsView/delView"
,
this
.
$route
)
this
.
$router
.
history
.
push
(
"/taskList"
,
()
=>
{
this
.
$store
.
commit
(
"setTaskListTabVal"
,
'bopsel'
)
//修改待复核界面刷新状态为需要刷新
this
.
$store
.
commit
(
"setLoadingFreshReview"
,
true
)
});
}
else
if
(
result1
.
fieldErrors
&&
Object
.
keys
(
result1
.
fieldErrors
).
length
>
0
){
const
tab
=
this
.
showBackendErrors
(
result1
.
fieldErrors
)
if
(
tab
)
{
// tab切换之后,需出发tab-click的事件
this
.
tabClick
(
tab
);
}
this
.
$notify
({
title
:
"错误"
,
message
:
"检核失败!"
,
type
:
"error"
,
});
}
else
{
this
.
$notify
({
title
:
"失败"
,
message
:
"保存失败"
,
type
:
"error"
,
});
}
},
async
handleConfirm
()
{
...
...
src/views/Business/Dbcadd/index.vue
View file @
8f6a2001
...
...
@@ -31,8 +31,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit=
"handleSubmit
('bopbut.sav')
"
:handleCheck=
"handleCheck
('bopbut.chk')
"
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<!-- ('bopbut.chk') -->
...
...
src/views/Business/Dbcame/Basp.vue
View file @
8f6a2001
...
...
@@ -165,7 +165,7 @@
v-model=
"model.recgrp.bas.issdate"
style=
"width: 100%"
placeholder=
"请选择开证日期"
disabled
:disabled=
"!(model.recgrp.bas.methods!='L'&&model.recgrp.bas.methods!='G')"
></c-date-picker>
</el-form-item>
</c-col>
...
...
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