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
be8e0401
Commit
be8e0401
authored
Jul 28, 2022
by
nanrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
infbod测试bug修改,页面显示问题以及码表的更正
parent
c0ae83d2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
91 additions
and
63 deletions
+91
-63
Infsea.vue
src/views/Business/Infbod/Infsea.vue
+91
-63
No files found.
src/views/Business/Infbod/Infsea.vue
View file @
be8e0401
...
...
@@ -37,44 +37,59 @@
<c-row
v-show=
"searchSlot.searchToggle"
>
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<
!--
<
c-col
:span=
"8"
>
<el-form-item
label=
"Release Status"
prop=
"infcon.relflg"
style=
"width: 100%"
>
<!--
<c-select
v-model=
"model.infcon.relflg"
style=
"width: 100%"
placeholder=
"请选择Release Status"
>
</c-select>
-->
<c-select
v-model=
"model.infcon.relflg"
style=
"width: 100%"
placeholder=
"请选择Release 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>
<c-col
:span=
"8"
>
</c-col>
-->
<!--
<c-col
:span=
"8"
>
<el-form-item
label=
"Handling Type"
prop=
"infcon.hndtyp"
style=
"width: 100%"
>
<!--
<c-select
v-model=
"model.infcon.hndtyp"
style=
"width: 100%"
placeholder=
"请选择Handling Type"
>
</c-select>
-->
<c-select
v-model=
"model.infcon.hndtyp"
style=
"width: 100%"
placeholder=
"请选择Handling Type"
>
<el-option
v-for=
"item in codes.hndtyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
-->
<c-col
:span=
"8"
>
<el-form-item
label=
"Select Single Party"
prop=
"infcon.pty.extkey"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.pty.extkey"
maxlength=
"24"
placeholder=
"请输入Select Single Party"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"Resp.User"
prop=
"infcon.usr.extkey"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.usr.extkey"
maxlength=
"8"
placeholder=
"请输入User ID"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"Role"
prop=
"infcon.searol"
style=
"width: 100%"
>
<!--
<c-select
v-model=
"model.infcon.searol"
style=
"width: 100%"
placeholder=
"请选择Role"
>
</c-select>
-->
<c-select
v-model=
"model.infcon.payrol"
style=
"width: 100%"
placeholder=
"请选择Role"
>
<el-option
v-for=
"item in codes.payrol"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<
!--
<
c-col
:span=
"8"
>
<el-form-item
label=
"External Visible Name"
prop=
"infcon.pty.nam"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.pty.nam"
maxlength=
"40"
placeholder=
"请输入External Visible Name"
>
</c-input>
</el-form-item>
</c-col>
-->
<c-col
:span=
"8"
>
<el-form-item
label=
"Party Name"
prop=
"infcon.pty.nam"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.pty.nam"
maxlength=
"40"
placeholder=
"请输入External Visible Name"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"Party Name/BIC"
prop=
"infcon.seapty"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.seapty"
maxlength=
"24"
placeholder=
"请输入Party Name/BIC"
></c-input>
...
...
@@ -82,11 +97,9 @@
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"Role"
prop=
"infcon.searol"
style=
"width: 100%"
>
<!--
<c-select
v-model=
"model.infcon.searol"
style=
"width: 100%"
placeholder=
"请选择Role"
>
</c-select>
-->
<c-select
v-model=
"model.infcon.payrol"
style=
"width: 100%"
placeholder=
"请选择Role"
>
<el-option
v-for=
"item in codes.payrol"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<el-form-item
label=
"Currency"
prop=
"infcon.curtxt1"
style=
"width: 100%"
>
<c-select
v-model=
"model.infcon.curtxt1"
style=
"width: 100%"
placeholder=
"请选择Currency"
>
<el-option
v-for=
"item in codes.curtxt1"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
...
...
@@ -95,16 +108,29 @@
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"
名称
"
prop=
"infcon.nam"
style=
"width: 100%"
>
<el-form-item
label=
"
Name
"
prop=
"infcon.nam"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.nam"
maxlength=
"40"
placeholder=
"请输入Name"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"Amount between"
prop=
"infcon.seaamtfr"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<c-input
v-model=
"model.infcon.seaamtfr"
placeholder=
"请输入Amount between"
></c-input>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
<c-col
:span=
"11"
>
<c-input
v-model=
"model.infcon.seaamtto"
placeholder=
"请输入Amount to"
></c-input>
</c-col>
</el-form-item>
</c-col>
<!--
<c-col
:span=
"8"
>
<el-form-item
label=
"User ID"
prop=
"infcon.usr.extkey"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.usr.extkey"
maxlength=
"8"
placeholder=
"请输入User ID"
></c-input>
</el-form-item>
</c-col>
</c-col>
-->
<c-col
:span=
"8"
>
<el-form-item
label=
"Status"
prop=
"infcon.seasta"
style=
"width: 100%"
>
...
...
@@ -119,39 +145,24 @@
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"Currency"
prop=
"infcon.curtxt1"
style=
"width: 100%"
>
<c-select
v-model=
"model.infcon.curtxt1"
style=
"width: 100%"
placeholder=
"请选择Currency"
>
<el-option
v-for=
"item in codes.curtxt1"
: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=
"是否显示查询码"
prop=
"infcon.cxmflg"
style=
"width: 100%"
>
<!--
<c-select
v-model=
"model.infcon.cxmflg"
style=
"width: 100%"
placeholder=
"请选择是否显示查询码"
>
</c-select>
-->
<c-select
v-model=
"model.infcon.cxmflg"
style=
"width: 100%"
placeholder=
"请选择是否显示查询码"
>
<el-option
v-for=
"item in codes.cxmflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
-->
<c-col
:span=
"8"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Amount between"
prop=
"infcon.seaamtfr"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.seaamtfr"
placeholder=
"请输入Amount between"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Amount to"
prop=
"infcon.seaamtto"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.seaamtto"
placeholder=
"请输入Amount to"
></c-input>
<el-form-item
label=
"Payment Condition"
prop=
"doctypcod"
style=
"width: 100%"
>
<c-select
v-model=
"model.infcon.doctypcod"
style=
"width: 100%"
placeholder=
"请选择Payment Condition"
>
<el-option
v-for=
"item in codes.doctypcod"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!--
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
...
...
@@ -195,18 +206,6 @@
</c-button>
</c-col> -->
<c-col
:span=
"8"
style=
"margin-top:15px"
>
<el-form-item
label=
"Payment Condition"
prop=
"seadoctypcod"
style=
"width: 100%"
>
<!-- <c-select v-model="model.seadoctypcod" style="width: 100%" placeholder="请选择Payment Condition">
</c-select> -->
<c-select
v-model=
"model.infcon.seadoctypcod"
style=
"width: 100%"
placeholder=
"请选择Payment Condition"
>
<el-option
v-for=
"item in codes.seadoctypcod"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
style=
"margin-top: 10px"
>
<c-button
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 0px"
type=
"primary"
@
click=
"toBotdav"
>
寄单
</c-button>
</c-col>
...
...
@@ -243,8 +242,12 @@
</c-istream-table>
</c-col>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
:model=
"BotselModel"
ownrefPath=
"bodgrp"
trnCode=
"botsel"
@
onChoose=
"onChoose"
>
11
</m-busbtn>
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
:model=
"BotselModel"
ownrefPath=
"bodgrp"
trnCode=
"botsel"
@
onChoose=
"onChoose"
>
11
</m-busbtn>
</div>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -308,14 +311,17 @@ export default {
methods
:
{
...
Event
,
async
getButtons
(
ownref
)
{
this
.
initdialog
=
true
;
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
);
console
.
log
(
"ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
)
},
10
)
},
async
onChoose
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
this
.
initdialog
=
false
;
},
closeTrn
(
refId
)
{
this
.
$refs
[
refId
].
doClose
();
...
...
@@ -337,10 +343,32 @@ export default {
console
.
log
(
this
.
trnData
.
data
);
}
},
async
getDitSelInfo
(
code
)
{
async
getDitSelInfo
(
idx
,
row
)
{
//TD中选中行触发
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
var
params
=
{
selDst
:
"infbut.dspstm"
,
selIds
:
[
idx
+
1
]
}
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.dspstm"
,
params
);
if
(
rtnmsg
.
respCode
=
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TD中点击display时触发
params
=
{
selDst
:
"infbut.dsp"
,
selIds
:
[
idx
+
1
]
}
let
rtnmsgNew
=
await
this
.
executeRule
(
"infbut.dsp"
,
params
);
if
(
rtnmsgNew
.
respCode
=
SUCCESS
)
{
console
.
log
(
rtnmsgNew
);
this
.
updateModel
(
rtnmsgNew
.
data
);
let
rtnmsgOitset
=
await
this
.
executeDefault
(
"mtabut.coninf.oitset.oit"
);
if
(
rtnmsgOitset
.
respCode
=
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsgOitset
.
data
);
}
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this
.
$emit
(
'updateShowPanel'
,
true
)
},
toBotdav
()
{
...
...
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