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
77a5ce5a
Commit
77a5ce5a
authored
Dec 21, 2021
by
wangguangchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复核列表优化
parent
aba1411e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
241 additions
and
219 deletions
+241
-219
Event.js
src/model/Trnrel/Event.js
+1
-1
index.vue
src/views/Business/Sptsel/index.vue
+2
-0
Inftrnps.vue
src/views/Business/Trnrel/Inftrnps.vue
+232
-194
index.vue
src/views/Business/Trnrel/index.vue
+6
-24
No files found.
src/model/Trnrel/Event.js
View file @
77a5ce5a
...
...
@@ -303,7 +303,7 @@ export default {
async
handleReset
(){
this
.
model
.
bchcon
=
""
;
this
.
model
.
trncorco
.
ownref
=
""
;
this
.
model
.
trncorco
.
relflg
=
"
Waiting
"
;
this
.
model
.
trncorco
.
relflg
=
""
;
this
.
model
.
usrcon
=
""
;
this
.
model
.
trncorco
.
inidatfro
=
""
;
this
.
model
.
trncorco
.
inidattil
=
""
;
...
...
src/views/Business/Sptsel/index.vue
View file @
77a5ce5a
...
...
@@ -3,7 +3,9 @@
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
tokenKey=
"modelForm"
label-width=
"170px"
size=
"small"
:validate-on-rule-change=
"false"
>
<!--
<c-tabs
:value=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
-->
<!--
<el-tab-pane
:value=
"tabVal"
label=
"待办任务查询"
name=
"menu"
>
-->
<c-content>
<m-menu
:model=
"model"
:codes=
"codes"
ref=
"Menu"
:isDraftBox=
"isDraftBox"
/>
</c-content>
<!--
</el-tab-pane>
-->
<!--
</c-tabs>
-->
</el-form>
...
...
src/views/Business/Trnrel/Inftrnps.vue
View file @
77a5ce5a
<
template
>
<div
class=
"eibs-tab"
>
<c-list-search
@
form-reset=
"handleReset"
@
form-search=
"handleSearch"
>
<template
v-slot=
"searchSlot"
>
<el-form
class=
"m-table-search-form"
ref=
"paramsForm"
:inline=
"true"
label-position=
"right"
label-width=
"110px"
size=
"small"
<c-list-search
@
form-reset=
"handleReset"
@
form-search=
"handleSearch"
>
<template
v-slot=
"searchSlot"
>
<el-form
class=
"m-table-search-form"
ref=
"paramsForm"
:inline=
"true"
label-position=
"right"
label-width=
"110px"
size=
"small"
>
<el-row>
<c-col
:span=
"23"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"业务机构"
prop=
"bchcon"
style=
"width: 100%"
>
<el-row>
<c-col
:span=
"23"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"业务机构"
prop=
"bchcon"
style=
"width: 100%"
>
<c-select
v-model=
"model.bchcon"
style=
"width: 100%"
placeholder=
"请选择Branch"
>
<el-option
<c-select
v-model=
"model.bchcon"
style=
"width: 100%"
placeholder=
"请选择Branch"
>
<el-option
v-for=
"item in codes.bchtyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"业务编号"
prop=
"trncorco.ownref"
style=
"width: 100%"
>
<c-input
v-model=
"model.trncorco.ownref"
maxlength=
"16"
placeholder=
"请输入Reference"
></c-input>
</el-form-item>
</c-col>
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"8"
v-show=
"searchSlot.searchToggle"
>
<el-form-item
label=
"经办柜员"
prop=
"usrcon"
style=
"width: 100%"
>
<c-select
v-model=
"model.usrcon"
style=
"width: 100%"
placeholder=
"请选择User"
>
<el-option
v-for=
"item in codes.usrsort"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"业务编号"
prop=
"trncorco.ownref"
style=
"width: 100%"
>
<c-input
v-model=
"model.trncorco.ownref"
maxlength=
"16"
placeholder=
"请输入Reference"
></c-input>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!--
<c-col
:span=
"8"
v-show=
"searchSlot.searchToggle"
>
<el-form-item
label=
"经办柜员"
prop=
"usrcon"
style=
"width: 100%"
>
<c-select
v-model=
"model.usrcon"
style=
"width: 100%"
placeholder=
"请选择User"
>
<el-option
v-for=
"item in codes.usrsort"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"Drag Drop Sender"
>
<c-input
v-model=
"model.atpget.sdamod.dadsnd"
placeholder=
"请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
-->
<el-row
v-show=
"searchSlot.searchToggle"
>
<c-col
:span=
"23"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"业务状态"
prop=
"trncorco.relflg"
style=
"width: 100%"
>
<c-select
v-model=
"model.trncorco.relflg"
style=
"width: 100%"
placeholder=
"请选择Status"
>
<el-option
v-for=
"item in codes.relflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<el-row
v-show=
"searchSlot.searchToggle"
>
<c-col
:span=
"23"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"业务状态"
prop=
"trncorco.relflg"
style=
"width: 100%"
>
<c-select
v-model=
"model.trncorco.relflg"
style=
"width: 100%"
placeholder=
"请选择Status"
>
<el-option
v-for=
"item in relflgCodes"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"创建时间"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<el-date-picker
...
...
@@ -113,75 +126,84 @@
</el-form-item>
</c-col>
<!--
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"and"
>
</el-form-item>
</c-col>
-->
<c-col
:span=
"8"
>
<el-form-item
label=
"交易代码"
prop=
"atp.cod"
style=
"width: 100%"
>
<c-col
:span=
"24"
>
<c-col
:span=
"18"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"交易代码"
prop=
"atp.cod"
style=
"width: 100%"
>
<c-col
:span=
"24"
>
<c-col
:span=
"18"
>
<c-input
v-model=
"model.atp.cod"
maxlength=
"6"
style=
"width: 100%"
placeholder=
"请输入Transaction Type "
></c-input>
</c-col>
<!--
<c-input
v-model=
"model.atpget.sdamod.seainf"
style=
"width:10%"
placeholder=
"i"
></c-input>
-->
</c-col>
<!--
<c-input
v-model=
"model.atpget.sdamod.seainf"
style=
"width:10%"
placeholder=
"i"
></c-input>
-->
<c-col
:span=
"6"
>
<c-button
size=
"small"
style=
"width: 90%"
type=
"primary"
@
click=
"onSeainf"
icon=
"el-icon-search"
></c-button
>
<c-button
size=
"small"
style=
"width: 85%"
type=
"primary"
@
click=
"onSeainf"
icon=
"el-icon-search"
></c-button>
</c-col>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"23"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"业务标志"
prop=
"trncorco.dflg"
style=
"width: 100%"
>
<c-select
v-model=
"model.trncorco.dflg"
style=
"width: 100%"
placeholder=
"请选择业务标志"
>
<el-option
v-for=
"item in codes.dflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"交易名称"
prop=
"atptxt"
style=
"width: 100%"
>
<c-input
v-model=
"model.atptxt"
maxlength=
"37"
placeholder=
"请输入Transaction Text"
></c-input>
</el-form-item>
</c-col>
</c-col>
</el-row>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"23"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"业务标志"
prop=
"trncorco.dflg"
style=
"width: 100%"
>
<c-select
v-model=
"model.trncorco.dflg"
style=
"width: 100%"
placeholder=
"请选择业务标志"
>
<el-option
v-for=
"item in codes.dflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</el-form>
</
template
>
</c-list-search>
<c-col
:span=
"8"
>
<el-form-item
label=
"交易名称"
prop=
"atptxt"
style=
"width: 100%"
>
<c-input
v-model=
"model.atptxt"
maxlength=
"37"
placeholder=
"请输入Transaction Text"
></c-input>
</el-form-item>
</c-col>
</c-col>
</el-row>
</el-form>
</
template
>
</c-list-search>
<!--
<c-col :span="12">
...
...
@@ -198,17 +220,16 @@
-->
<!-- <div style="margin-top:20px;"> -->
<!-- <c-button size="small" type="primary" @click="onSeaown">
<!-- <c-button size="small" type="primary" @click="onSeaown">
Search Own
</c-button>
<c-button size="small" type="primary" @click="onSeajbh">
Search All
</c-button> -->
<!-- <c-button
<!-- <c-button
size="small"
type="primary"
disabled="disabled"
...
...
@@ -367,19 +388,21 @@
:showSelection="true"
v-on:multipleSelect="multipleSelect"
> -->
<el-row>
<c-col
:span=
"23"
>
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
>
<el-table-column
fixed=
"right"
prop=
"display"
label=
"操作"
width=
"300px"
>
<
template
>
<!--
<a
:href=
"`/#/display/$
{scope.row['10'].toLowerCase()}?trn=${scope.row['1']}`" target="_blank" >显示快照
</a>
-->
<!--
<a
href=
"javascript:void(0)"
@
click=
"display(scope.$index, scope.row)"
<el-row>
<c-col
:span=
"23"
>
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
>
<el-table-column
fixed=
"right"
prop=
"display"
label=
"操作"
width=
"260px"
>
<
template
>
<!--
<a
:href=
"`/#/display/$
{scope.row['10'].toLowerCase()}?trn=${scope.row['1']}`" target="_blank" >显示快照
</a>
-->
<!--
<a
href=
"javascript:void(0)"
@
click=
"display(scope.$index, scope.row)"
>
显示快照
</a
>
-->
<c-button
<c-button
style=
"margin-left: 0"
size=
"small"
type=
"primary"
...
...
@@ -427,47 +450,47 @@
>
冲正
</c-button>
</
template
>
</el-table-column>
</c-istream-table>
</c-col>
</
template
>
</el-table-column>
</c-istream-table>
</c-col>
</el-row>
<el-row
style=
"margin-top:2rem;"
>
<c-col
:span=
"23"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
交易状态信息 —— {{transactionStatus.busiNo}}
</span>
<el-row
style=
"margin-top: 2rem"
>
<c-col
:span=
"23"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
交易状态信息 —— {{ transactionStatus.busiNo }}
</span>
</div>
<div
class=
"text item"
>
<form
class=
"el-form--label-left el-form--inline"
>
<div
class=
"el-form-item"
>
<label
class=
"el-form-item__label"
>
修改次数:
</label>
<div
class=
"el-form-item__content"
>
<span>
{{ transactionStatus.modTimes }}
</span>
</div>
<div
class=
"text item"
>
<form
class=
"el-form--label-left el-form--inline"
>
<div
class=
"el-form-item"
>
<label
class=
"el-form-item__label"
>
修改次数:
</label>
<div
class=
"el-form-item__content"
>
<span>
{{transactionStatus.modTimes}}
</span>
</div>
</div>
<div
class=
"el-form-item"
>
<label
class=
"el-form-item__label transstatus"
>
交单次数:
</label>
<div
class=
"el-form-item__content"
>
<span>
{{transactionStatus.postCount}}
</span>
</div>
</div>
<div
class=
"el-form-item"
>
<label
class=
"el-form-item__label transstatus"
>
付款次数:
</label>
<div
class=
"el-form-item__content"
>
<span>
{{transactionStatus.earnCount}}
</span>
</div>
</div>
<div
class=
"el-form-item"
>
<label
class=
"el-form-item__label transstatus"
>
付款金额:
</label>
<div
class=
"el-form-item__content"
>
<span>
{{transactionStatus.earnAmt}} CNY
</span>
</div>
</div>
</form>
</div>
</el-card>
</c-col>
</div>
<div
class=
"el-form-item"
>
<label
class=
"el-form-item__label transstatus"
>
交单次数:
</label>
<div
class=
"el-form-item__content"
>
<span>
{{ transactionStatus.postCount }}
</span>
</div>
</div>
<div
class=
"el-form-item"
>
<label
class=
"el-form-item__label transstatus"
>
付款次数:
</label>
<div
class=
"el-form-item__content"
>
<span>
{{ transactionStatus.earnCount }}
</span>
</div>
</div>
<div
class=
"el-form-item"
>
<label
class=
"el-form-item__label transstatus"
>
付款金额:
</label>
<div
class=
"el-form-item__content"
>
<span>
{{ transactionStatus.earnAmt }} CNY
</span>
</div>
</div>
</form>
</div>
</el-card>
</c-col>
</el-row>
<!-- <el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns">
...
...
@@ -488,15 +511,15 @@ export default {
components
:
{},
data
()
{
return
{
initdialog
:
false
,
initdialog
:
false
,
transactionStatus
:
{
busiNo
:
""
,
modTimes
:
0
,
postCount
:
0
,
accCount
:
0
,
earnCount
:
0
,
earnAmt
:
0
},
busiNo
:
""
,
modTimes
:
0
,
postCount
:
0
,
accCount
:
0
,
earnCount
:
0
,
earnAmt
:
0
,
},
stmData
:
{
// columns: [
// '10 1 "TRN" 50 1 tdViewTypeEdit:0 3 ATPTXT',
...
...
@@ -533,6 +556,7 @@ export default {
data
:
[],
},
relrowDisabled
:
true
,
relflgCodes
:[],
// multipleSelection: [],
};
},
...
...
@@ -549,8 +573,22 @@ export default {
},
created
:
function
()
{},
mounted
()
{
console
.
log
(
this
.
root
.
tag
);
if
(
this
.
root
.
tag
==
"tocheck"
)
{
this
.
relflgCodes
=
[
{
label
:
"Correct"
,
value
:
"C"
},
{
label
:
"Entered"
,
value
:
"E"
},
{
label
:
"External"
,
value
:
"X"
},
{
label
:
"Picked up"
,
value
:
"P"
},
{
label
:
"Rejected"
,
value
:
"N"
},
{
label
:
"Waiting"
,
value
:
"W"
},
];
}
else
if
(
this
.
root
.
tag
==
"finish"
)
{
this
.
relflgCodes
=
[
{
label
:
"Closed"
,
value
:
"M"
},
{
label
:
"Final"
,
value
:
"F"
},
{
label
:
"Released"
,
value
:
"R"
},
];
}
},
computed
:
{},
};
...
...
src/views/Business/Trnrel/index.vue
View file @
77a5ce5a
...
...
@@ -84,14 +84,6 @@ export default {
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
relflg
:
[
{
label
:
"Correct"
,
value
:
"C"
},
{
label
:
"Entered"
,
value
:
"E"
},
{
label
:
"External"
,
value
:
"X"
},
{
label
:
"Picked up"
,
value
:
"P"
},
{
label
:
"Rejected"
,
value
:
"N"
},
{
label
:
"Waiting"
,
value
:
"W"
},
],
dflg
:
CodeTable
.
dflg
,
bchtyp
:
CodeTable
.
bchtyp
,
usrsort
:
CodeTable
.
usrsort
,
...
...
@@ -100,26 +92,16 @@ export default {
},
methods
:
{},
mounted
:
async
function
()
{
if
(
this
.
tag
==
"tocheck"
)
{
this
.
codes
.
relflg
=
[
{
label
:
"Correct"
,
value
:
"C"
},
{
label
:
"Entered"
,
value
:
"E"
},
{
label
:
"External"
,
value
:
"X"
},
{
label
:
"Picked up"
,
value
:
"P"
},
{
label
:
"Rejected"
,
value
:
"N"
},
{
label
:
"Waiting"
,
value
:
"W"
},
];
}
else
if
(
this
.
tag
==
"finish"
)
{
this
.
codes
.
relflg
=
[
{
label
:
"Closed"
,
value
:
"M"
},
{
label
:
"Final"
,
value
:
"F"
},
{
label
:
"Released"
,
value
:
"R"
},
];
}
console
.
log
(
"进入trnrel交易"
);
const
that
=
this
;
that
.
init
(
that
.
model
).
then
((
res
)
=>
{
//TODO 处理数据逻辑
if
(
this
.
tag
==
"finish"
)
{
if
((
res
.
data
.
trncorco_relflg
=
"W"
))
{
res
.
data
.
trncorco_relflg
=
"R"
;
}
}
that
.
model
=
Utils
.
copyValueFromVO
(
that
.
model
,
res
.
data
);
// that.$refs.inftrnps.stmData.columns=res.data.trncorco_trnstm.rows
});
...
...
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