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
b77f9f7f
Commit
b77f9f7f
authored
Aug 10, 2022
by
Wuyuqiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bftset交易bug修改
parent
4bb0587c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
107 additions
and
96 deletions
+107
-96
index.vue
src/views/Business/Bftset/index.vue
+107
-96
No files found.
src/views/Business/Bftset/index.vue
View file @
b77f9f7f
<
template
>
<div
class=
"eContainer"
>
<!--
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
-->
<c-function-btn
:handleSubmit=
"handleSubmit"
...
...
@@ -18,120 +17,132 @@
<el-button
size=
"small"
>
智能提示
</el-button>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--PD000034 -->
<el-tab-pane
label=
"收款"
name=
"setp"
>
<c-content>
<m-setp
ref=
"setp"
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"或有"
name=
"engp"
>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000034 -->
<el-tab-pane
label=
"收款"
name=
"setp"
>
<c-content>
<m-setp
ref=
"setp"
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"或有"
name=
"engp"
>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"账务"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"账务"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"分录"
name=
"glepan"
v-if=
"glepan"
>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane
label=
"报文及面函"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane
label=
"报文及面函"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
<!--PD000001 -->
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Bftset
from
"~/model/Bftset"
import
commonProcess
from
"~/mixin/commonProcess"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Bftset
from
"~/model/Bftset"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Bftset/Check"
import
Default
from
"~/model/Bftset/Default"
import
Pattern
from
"~/model/Bftset/Pattern"
import
Setp
from
"./Setp"
import
Check
from
"~/model/Bftset/Check"
;
import
Default
from
"~/model/Bftset/Default"
;
import
Pattern
from
"~/model/Bftset/Pattern"
;
import
Setp
from
"./Setp"
;
import
Engp
from
"~/views/Public/Engp"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Limitbody
from
"~/views/Public/Limitbody"
;
import
Glepan
from
"~/views/Public/Glepan"
;
export
default
{
name
:
"Bftset"
,
components
:{
"m-engp"
:
Engp
,
"m-limitbody"
:
Limitbody
,
"m-docpan"
:
Docpan
,
"m-coninfp"
:
Coninfp
,
"m-setp"
:
Setp
,
"m-setpan"
:
Setpan
,
},
provide
()
{
return
{
root
:
this
}
name
:
"Bftset"
,
components
:
{
"m-engp"
:
Engp
,
"m-limitbody"
:
Limitbody
,
"m-docpan"
:
Docpan
,
"m-coninfp"
:
Coninfp
,
"m-setp"
:
Setp
,
"m-setpan"
:
Setpan
,
"m-glepan"
:
Glepan
,
},
provide
()
{
return
{
root
:
this
,
};
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"setp"
,
trnName
:
"bftset"
,
model
:
new
Bftset
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
,
},
glepan
:
false
,
};
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
if
(
tab
.
name
===
"setpan"
)
{
this
.
glepan
=
true
;
}
/**
* do it yourself
**/
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
"setp"
,
trnName
:
"bftset"
,
model
:
new
Bftset
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
},
}
},
methods
:{
myTabClick
(
tab
){
this
.
tabClick
(
tab
)
/**
* do it yourself
**/
}
},
created
:
async
function
(){
console
.
log
(
"进入bftset交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
if
(
this
.
isInDisplay
){
this
.
restoreDisplay
();
}
this
.
$refs
.
setp
.
$refs
.
table
.
$refs
.
table
.
toggleAllSelection
();
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
created
:
async
function
()
{
console
.
log
(
"进入bftset交易"
);
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
this
.
$refs
.
setp
.
$refs
.
table
.
$refs
.
table
.
toggleAllSelection
();
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
},
};
</
script
>
<
style
>
</
style
>
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