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
26efe332
Commit
26efe332
authored
Aug 10, 2022
by
nanrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
botacc,botpay测试bug修改
parent
728a4d45
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
79 additions
and
35 deletions
+79
-35
Inst.vue
src/views/Business/Botacc/Inst.vue
+1
-1
Setp.vue
src/views/Business/Botacc/Setp.vue
+41
-13
index.vue
src/views/Business/Botacc/index.vue
+5
-2
Inst.vue
src/views/Business/Botpay/Inst.vue
+1
-1
Setp.vue
src/views/Business/Botpay/Setp.vue
+28
-15
index.vue
src/views/Business/Botpay/index.vue
+3
-3
No files found.
src/views/Business/Botacc/Inst.vue
View file @
26efe332
...
...
@@ -17,7 +17,7 @@
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Charges Condition"
prop=
"bodgrp.rec.chato"
>
<c-select
v-model=
"model.bodgrp.rec.chato"
style=
"width:100%"
placeholder=
"请选择Our Charges to"
disabled
>
<el-option
v-for=
"item in codes.cha
to
"
:key=
"item.value"
:label=
"item.label"
<el-option
v-for=
"item in codes.cha
det
"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
...
...
src/views/Business/Botacc/Setp.vue
View file @
26efe332
...
...
@@ -85,7 +85,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Collection Condition"
prop=
"bodgrp.rec.doctypcod"
style=
"width: 100%"
>
<el-form-item
label=
"Collection Condition"
prop=
"bodgrp.rec.doctypcod"
>
<c-select
v-model=
"model.bodgrp.rec.doctypcod"
style=
"width: 100%"
placeholder=
"请选择Payment Condition"
disabled
>
<el-option
v-for=
"item in codes.doctypcod"
:key=
"item.value"
:label=
"item.label"
...
...
@@ -112,7 +112,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Document Set Status"
prop=
"bodgrp.rec.docsta"
style=
"width: 100%"
>
<el-form-item
label=
"Document Set Status"
prop=
"bodgrp.rec.docsta"
>
<c-select
v-model=
"model.bodgrp.rec.docsta"
style=
"width: 100%"
placeholder=
"请输入Document Set Status"
disabled
>
<el-option
v-for=
"item in codes.docstabot"
:key=
"item.value"
:label=
"item.label"
...
...
@@ -158,7 +158,7 @@
<span>
Days
</span>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
Document Set Status"
prop=
"bodgrp.rec.matperbeg"
style=
"width: 100%
"
>
<el-form-item
label=
"
"
prop=
"bodgrp.rec.matperbeg
"
>
<c-select
v-model=
"model.bodgrp.rec.matperbeg"
style=
"width: 100%"
placeholder=
"请选择Start of Maturity Period MATBEG"
disabled
>
<el-option
v-for=
"item in codes.matperbeg"
:key=
"item.value"
:label=
"item.label"
...
...
@@ -223,7 +223,8 @@
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label-width=
"0"
prop=
"setmod.docamt"
>
<c-input
v-model=
"model.setmod.docamt"
placeholder=
"请输入document amount"
></c-input>
<c-input
v-model=
"model.setmod.docamt"
placeholder=
"请输入document amount"
:disabled=
"isDisabled"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -244,18 +245,18 @@
</el-form-item>
</c-col> -->
<c-col
:span=
"24"
style=
"margin-top: 30px"
>
<span
style=
"font-size:14px;
margin-left:5px
"
>
Bills to Pay back:
</span>
<span
style=
"font-size:14px;"
>
Bills to Pay back:
</span>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<c-edit-table
:model=
"model"
v-bind=
"docgrd"
style=
"margin-left:-
25
px"
>
<c-edit-table
:model=
"model"
v-bind=
"docgrd"
style=
"margin-left:-
30
px"
>
</c-edit-table>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<c-istream-table
ref=
"table"
:list=
"model.liaall.tenstm.rows || []"
:columns=
"stmData.columns"
:showSelection=
"true"
v-on:multipleSelect=
"multipleSelect"
>
:showSelection=
"true"
v-on:multipleSelect=
"multipleSelect"
prop=
"liaall.tenstm"
>
</c-istream-table>
</c-col>
</c-col>
...
...
@@ -299,6 +300,7 @@ export default {
mixins
:
[
commonProcess
],
data
()
{
return
{
isDisabled
:
false
,
stmData
:
{
columns
:
[
'1 1 "Type" 80'
,
...
...
@@ -342,13 +344,39 @@ export default {
},
methods
:
{
...
Event
,
multipleSelect
()
{
console
.
log
(
111
);
}
async
multipleSelect
(
selection
)
{
if
(
selection
.
length
>
1
)
{
this
.
$notify
({
title
:
"error"
,
message
:
"You cannot select more than one tenor"
,
type
:
"error"
,
});
}
else
{
let
selIds
;
if
(
selection
.
length
===
0
)
{
selIds
=
[];
this
.
model
.
setmod
.
docamt
=
"0.000"
;
this
.
model
.
liaall
.
tensetstm
.
rows
=
[];
this
.
isDisabled
=
false
;
// this.model.liaall.tenstm.rows = []
}
else
{
selIds
=
[
selection
[
0
]
+
1
];
this
.
model
.
setmod
.
docamt
=
this
.
model
.
bodgrp
.
cbs
.
max
.
amt
;
this
.
isDisabled
=
true
;
}
//
console
.
log
(
this
.
model
.
liaall
.
tensetstm
);
let
params
=
{
selDst
:
"liaall.tenstm"
,
selIds
};
const
rtnmsg
=
await
this
.
executeRule
(
"liaall.tenstm"
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
},
},
created
:
function
()
{
console
.
log
(
this
.
model
.
liaall
.
tenstm
);
}
}
</
script
>
<
style
>
...
...
src/views/Business/Botacc/index.vue
View file @
26efe332
...
...
@@ -9,7 +9,7 @@
<!--PD000027 -->
<el-tab-pane
label=
"Changing Maturity"
name=
"setp"
>
<m-setp
:model=
"model"
:codes=
"codes"
/>
<m-setp
ref=
"setp"
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000049 -->
...
...
@@ -129,7 +129,10 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
this
.
$nextTick
(()
=>
{
this
.
$refs
.
setp
.
$refs
.
table
.
$refs
.
table
.
toggleAllSelection
();
this
.
model
.
setmod
.
docamt
=
this
.
model
.
bodgrp
.
cbs
.
max
.
amt
;
})
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
...
...
src/views/Business/Botpay/Inst.vue
View file @
26efe332
...
...
@@ -17,7 +17,7 @@
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Charges Condition"
prop=
"bodgrp.rec.chato"
>
<c-select
v-model=
"model.bodgrp.rec.chato"
style=
"width:100%"
placeholder=
"请选择Our Charges to"
disabled
>
<el-option
v-for=
"item in codes.cha
to
"
:key=
"item.value"
:label=
"item.label"
<el-option
v-for=
"item in codes.cha
det
"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
...
...
src/views/Business/Botpay/Setp.vue
View file @
26efe332
...
...
@@ -42,8 +42,8 @@
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"1
2
"
>
<el-form-item
label=
"
Document Amount"
prop=
"bodgrp.cbs.max.amt
"
>
<c-col
:span=
"1
1"
:offset=
"1
"
>
<el-form-item
label=
"
"
prop=
"bodgrp.cbs.max.amt"
label-width=
"0
"
>
<c-input
v-model=
"model.bodgrp.cbs.max.amt"
placeholder=
"请输入Document Amount"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -59,14 +59,14 @@
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"
Warehouse/Insurance
"
prop=
"bodgrp.cbs.opn1.cur"
>
<el-form-item
label=
"
Open Amount
"
prop=
"bodgrp.cbs.opn1.cur"
>
<c-input
v-model=
"model.bodgrp.cbs.opn1.cur"
style=
"width:100%"
placeholder=
"请选择Warehouse/Insurance"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"1
2
"
>
<el-form-item
label=
"
Open Amount"
style=
"text-align: left
"
prop=
"bodgrp.cbs.opn1.amt"
>
<c-col
:span=
"1
1"
:offset=
"1
"
>
<el-form-item
label=
"
"
label-width=
"0
"
prop=
"bodgrp.cbs.opn1.amt"
>
<c-input
v-model=
"model.bodgrp.cbs.opn1.amt"
style=
"width:100%"
placeholder=
"请输入Open Amount"
disabled
></c-input>
</el-form-item>
...
...
@@ -85,9 +85,12 @@
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Collection Condition"
prop=
"bodgrp.rec.doctypcod"
>
<c-input
v-model=
"model.bodgrp.rec.doctypcod"
style=
"width:100%"
placeholder=
"请选择Collection Condition"
disabled
>
</c-input>
<c-select
v-model=
"model.bodgrp.rec.doctypcod"
style=
"width: 100%"
placeholder=
"请选择Payment Condition"
disabled
>
<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>
...
...
@@ -103,9 +106,12 @@
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Document Set Status"
prop=
"bodgrp.rec.docsta"
>
<c-input
v-model=
"model.bodgrp.rec.docsta"
maxlength=
"40"
placeholder=
"请输入Document Set Status"
disabled
>
</c-input>
<c-select
v-model=
"model.bodgrp.rec.docsta"
style=
"width: 100%"
placeholder=
"请输入Document Set Status"
disabled
>
<el-option
v-for=
"item in codes.docstabot"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -139,9 +145,12 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"bodgrp.rec.matperbeg"
>
<c-
input
v-model=
"model.bodgrp.rec.matperbeg"
style=
"width:
100%"
<c-
select
v-model=
"model.bodgrp.rec.matperbeg"
style=
"width:
100%"
placeholder=
"请选择Start of Maturity Period MATBEG"
disabled
>
</c-input>
<el-option
v-for=
"item in codes.matperbeg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="5">
...
...
@@ -230,9 +239,13 @@
</c-input>
</el-form-item>
</c-col> -->
<c-col
:span=
"24"
style=
"margin-top: 30px"
>
<span
style=
"font-size:14px"
>
Bills to Pay back:
</span>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"1
1
"
>
<c-edit-table
:model=
"model"
v-bind=
"docgrd"
>
<c-col
:span=
"1
2
"
>
<c-edit-table
:model=
"model"
v-bind=
"docgrd"
style=
"margin-left:-30px"
>
</c-edit-table>
</c-col>
</c-col>
...
...
src/views/Business/Botpay/index.vue
View file @
26efe332
...
...
@@ -8,17 +8,17 @@
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--PD000027 -->
<el-tab-pane
label=
"
setp
"
name=
"setp"
>
<el-tab-pane
label=
"
Funds Settlement
"
name=
"setp"
>
<m-setp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane
label=
"
inst
"
name=
"inst"
>
<el-tab-pane
label=
"
Instructions
"
name=
"inst"
>
<m-inst
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000266 -->
<el-tab-pane
label=
"
ptyp
"
name=
"ptyp"
>
<el-tab-pane
label=
"
Parties
"
name=
"ptyp"
>
<m-ptyp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
...
...
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