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
fukai
vue-gjjs
Commits
eafb523b
Commit
eafb523b
authored
Nov 21, 2022
by
Wuyuqiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
申报交易增删改查临时提交
parent
89234f59
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
9 deletions
+43
-9
FunctionBtn.vue
src/components/FunctionBtn.vue
+2
-2
commonFuncs.js
src/mixin/commonFuncs.js
+34
-3
Selp.vue
src/views/Business/Bopsel/Selp.vue
+2
-1
index.vue
src/views/Business/Dbcadd/index.vue
+2
-2
Basp.vue
src/views/Business/Dbcame/Basp.vue
+3
-1
No files found.
src/components/FunctionBtn.vue
View file @
eafb523b
...
...
@@ -88,10 +88,10 @@ export default {
// },
start
:
async
function
()
{
this
.
handleSubmit
&&
(
await
this
.
handleSubmit
(
'bopbut.sav'
));
this
.
handleSubmit
&&
(
await
this
.
handleSubmit
());
},
check
:
async
function
()
{
this
.
handleCheck
&&
(
await
this
.
handleCheck
(
'bopbut.chk'
));
this
.
handleCheck
&&
(
await
this
.
handleCheck
());
},
save
:
async
function
()
{
this
.
handleStash
&&
(
await
this
.
handleStash
());
...
...
src/mixin/commonFuncs.js
View file @
eafb523b
...
...
@@ -4,13 +4,12 @@ export default {
methods
:
{
// 表单提交
async
handleSubmit
(
rulePath
)
{
let
result
;
let
result
;
let
result1
;
if
(
rulePath
==
""
){
result
=
await
this
.
save
();
}
else
{
result
=
await
this
.
executeRule
(
rulePath
);
result
1
=
await
this
.
executeRule
(
rulePath
);
}
// let result = await this.save();
if
(
result
.
respCode
==
SUCCESS
&&
Object
.
keys
(
result
.
fieldErrors
).
length
==
0
)
{
this
.
$notify
({
title
:
"成功"
,
...
...
@@ -43,6 +42,38 @@ 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/Bopsel/Selp.vue
View file @
eafb523b
...
...
@@ -308,7 +308,8 @@ export default {
'0 1 "申报号码" 170 '
,
'1 2 "客户" 100'
,
'16 3 "组织机构代码" 120'
,
'2 4 "基础" 80'
,
// '2 4 "基础" 80',
{
index
:
2
,
position
:
4
,
width
:
80
,
pattern
:
'code'
,
label
:
'基础'
,
code
:
this
.
codes
.
staflg
},
'5 5 "银行业务编号" 150'
,
//'6 6, "收付汇日期" 200',
{
index
:
6
,
position
:
6
,
width
:
150
,
pattern
:
'date'
,
label
:
'收付汇日期'
},
...
...
src/views/Business/Dbcadd/index.vue
View file @
eafb523b
...
...
@@ -31,8 +31,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleSubmit=
"handleSubmit
('bopbut.sav')
"
:handleCheck=
"handleCheck
('bopbut.chk')
"
:handleStash=
"handleStash"
>
<!-- ('bopbut.chk') -->
...
...
src/views/Business/Dbcame/Basp.vue
View file @
eafb523b
...
...
@@ -30,7 +30,6 @@
v-model=
"model.recgrp.bas.ownextkey"
style=
"width: 100%"
placeholder=
"请选择地区机构号"
:code=
"codes.ownextkey3"
disabled
>
</c-select>
...
...
@@ -166,6 +165,7 @@
v-model=
"model.recgrp.bas.issdate"
style=
"width: 100%"
placeholder=
"请选择开证日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
...
...
@@ -176,6 +176,7 @@
v-model=
"model.recgrp.bas.lcbgno"
maxlength=
"20"
placeholder=
"请输入信用证/保函编号"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -296,6 +297,7 @@
<c-input
v-model=
"model.recgrp.bas.tenor"
placeholder=
"请输入期限"
disabled
></c-input>
</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