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
02cb9781
Commit
02cb9781
authored
Aug 23, 2022
by
nanrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
botacc,botpay优化
parent
359d1758
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
27 deletions
+25
-27
Setp.vue
src/views/Business/Botacc/Setp.vue
+5
-10
Setp.vue
src/views/Business/Botpay/Setp.vue
+19
-15
index.vue
src/views/Business/Botpay/index.vue
+1
-2
No files found.
src/views/Business/Botacc/Setp.vue
View file @
02cb9781
...
@@ -247,7 +247,7 @@
...
@@ -247,7 +247,7 @@
<c-col
:span=
"24"
style=
"margin-top: 30px"
>
<c-col
:span=
"24"
style=
"margin-top: 30px"
>
<span
style=
"font-size:14px;"
>
Bills to Pay back:
</span>
<span
style=
"font-size:14px;"
>
Bills to Pay back:
</span>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
style=
"margin-top: -10px"
>
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
<c-edit-table
:model=
"model"
v-bind=
"docgrd"
style=
"margin-left:-30px"
>
<c-edit-table
:model=
"model"
v-bind=
"docgrd"
style=
"margin-left:-30px"
>
</c-edit-table>
</c-edit-table>
...
@@ -351,22 +351,17 @@ export default {
...
@@ -351,22 +351,17 @@ export default {
type
:
"error"
,
type
:
"error"
,
});
});
}
else
{
}
else
{
let
sel
Ids
;
let
chk
Ids
;
if
(
selection
.
length
===
0
)
{
if
(
selection
.
length
===
0
)
{
sel
Ids
=
[];
chk
Ids
=
[];
this
.
model
.
setmod
.
docamt
=
"0.000"
;
this
.
model
.
setmod
.
docamt
=
"0.000"
;
this
.
model
.
liaall
.
tensetstm
.
rows
=
[];
this
.
model
.
liaall
.
tensetstm
.
rows
=
[];
// this.model.bodgrp.rec.focflg = '';
// this.model.liaall.tenstm.rows = []
}
else
{
}
else
{
selIds
=
[
selection
[
0
]
+
1
];
chkIds
=
[
selection
[
0
]
+
1
];
this
.
model
.
setmod
.
docamt
=
this
.
model
.
bodgrp
.
cbs
.
max
.
amt
;
// this.model.bodgrp.rec.focflg = 'X';
}
}
//
//
console
.
log
(
this
.
model
.
liaall
.
tensetstm
);
console
.
log
(
this
.
model
.
liaall
.
tensetstm
);
let
params
=
{
selDst
:
"liaall.tenstm"
,
sel
Ids
};
let
params
=
{
chkDst
:
"liaall.tenstm"
,
chk
Ids
};
const
rtnmsg
=
await
this
.
executeRule
(
"liaall.tenstm"
,
params
);
const
rtnmsg
=
await
this
.
executeRule
(
"liaall.tenstm"
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
this
.
updateModel
(
rtnmsg
.
data
);
...
...
src/views/Business/Botpay/Setp.vue
View file @
02cb9781
...
@@ -44,7 +44,8 @@
...
@@ -44,7 +44,8 @@
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
""
prop=
"bodgrp.cbs.max.amt"
label-width=
"0"
>
<el-form-item
label=
""
prop=
"bodgrp.cbs.max.amt"
label-width=
"0"
>
<c-input
v-model
.
number=
"model.bodgrp.cbs.max.amt"
placeholder=
"请输入Document Amount"
disabled
></c-input>
<c-input
v-model
.
number=
"model.bodgrp.cbs.max.amt"
placeholder=
"请输入Document Amount"
disabled
>
</c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
...
@@ -67,8 +68,8 @@
...
@@ -67,8 +68,8 @@
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
""
label-width=
"0"
prop=
"bodgrp.cbs.opn1.amt"
>
<el-form-item
label=
""
label-width=
"0"
prop=
"bodgrp.cbs.opn1.amt"
>
<c-input
v-model
.
number=
"model.bodgrp.cbs.opn1.amt"
style=
"width:100%"
placeholder=
"请输入Open Amount"
<c-input
v-model
.
number=
"model.bodgrp.cbs.opn1.amt"
style=
"width:100%"
disabled
></c-input>
placeholder=
"请输入Open Amount"
disabled
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
...
@@ -203,7 +204,8 @@
...
@@ -203,7 +204,8 @@
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label-width=
"0"
prop=
"setmod.docamt"
>
<el-form-item
label-width=
"0"
prop=
"setmod.docamt"
>
<c-input
v-model
.
number=
"model.setmod.docamt"
placeholder=
"请输入document amount"
disabled
></c-input>
<c-input
v-model
.
number=
"model.setmod.docamt"
placeholder=
"请输入document amount"
disabled
>
</c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
...
@@ -224,7 +226,8 @@
...
@@ -224,7 +226,8 @@
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label-width=
"0"
prop=
"setmod.redamt"
>
<el-form-item
label-width=
"0"
prop=
"setmod.redamt"
>
<c-input
v-model
.
number=
"model.setmod.redamt"
placeholder=
"请输入document amount"
:disabled=
"model.bodgrp.rec.focflg? true:false"
>
<c-input
v-model
.
number=
"model.setmod.redamt"
placeholder=
"请输入document amount"
:disabled=
"model.bodgrp.rec.focflg == 'X'"
>
</c-input>
</c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
...
@@ -243,7 +246,7 @@
...
@@ -243,7 +246,7 @@
<c-col
:span=
"24"
style=
"margin-top: 30px"
>
<c-col
:span=
"24"
style=
"margin-top: 30px"
>
<span
style=
"font-size:14px"
>
Bills to Pay back:
</span>
<span
style=
"font-size:14px"
>
Bills to Pay back:
</span>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
style=
"margin-top: -10px"
>
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
<c-edit-table
:model=
"model"
v-bind=
"docgrd"
style=
"margin-left:-30px"
>
<c-edit-table
:model=
"model"
v-bind=
"docgrd"
style=
"margin-left:-30px"
>
</c-edit-table>
</c-edit-table>
...
@@ -353,6 +356,7 @@ export default {
...
@@ -353,6 +356,7 @@ export default {
this
.
model
.
setmod
.
redamt
=
this
.
model
.
setmod
.
docamt
;
this
.
model
.
setmod
.
redamt
=
this
.
model
.
setmod
.
docamt
;
let
rtnmsg
=
await
this
.
executeDefault
(
"liaall.tenstm"
);
let
rtnmsg
=
await
this
.
executeDefault
(
"liaall.tenstm"
);
this
.
model
.
bodgrp
.
rec
.
docsta
=
rtnmsg
.
data
.
bodgrp_rec_docsta
;
this
.
model
.
bodgrp
.
rec
.
docsta
=
rtnmsg
.
data
.
bodgrp_rec_docsta
;
}
else
{
}
else
{
this
.
model
.
setmod
.
redamt
=
"0.00"
;
this
.
model
.
setmod
.
redamt
=
"0.00"
;
let
rtnmsg
=
await
this
.
executeDefault
(
"liaall.tenstm"
);
let
rtnmsg
=
await
this
.
executeDefault
(
"liaall.tenstm"
);
...
@@ -367,22 +371,22 @@ export default {
...
@@ -367,22 +371,22 @@ export default {
type
:
"error"
,
type
:
"error"
,
});
});
}
else
{
}
else
{
let
sel
Ids
;
let
chk
Ids
;
if
(
selection
.
length
===
0
)
{
if
(
selection
.
length
===
0
)
{
selIds
=
[];
chkIds
=
[];
this
.
model
.
setmod
.
docamt
=
"0.000"
;
this
.
$nextTick
(
async
()
=>
{
this
.
model
.
setmod
.
docamt
=
"0.000"
;
})
this
.
model
.
liaall
.
tensetstm
.
rows
=
[];
this
.
model
.
liaall
.
tensetstm
.
rows
=
[];
// this.model.bodgrp.rec.focflg = '';
// this.model.liaall.tenstm.rows = []
}
else
{
}
else
{
selIds
=
[
selection
[
0
]
+
1
];
chkIds
=
[
selection
[
0
]
+
1
];
this
.
model
.
setmod
.
docamt
=
this
.
model
.
bodgrp
.
cbs
.
max
.
amt
;
// this.model.bodgrp.rec.focflg = 'X';
}
}
//
//
console
.
log
(
this
.
model
.
liaall
.
tensetstm
);
console
.
log
(
this
.
model
.
liaall
.
tensetstm
);
let
params
=
{
selDst
:
"liaall.tenstm"
,
selIds
};
let
params
=
{
chkDst
:
"liaall.tenstm"
,
chkIds
};
console
.
log
(
params
);
const
rtnmsg
=
await
this
.
executeRule
(
"liaall.tenstm"
,
params
);
const
rtnmsg
=
await
this
.
executeRule
(
"liaall.tenstm"
,
params
);
console
.
log
(
rtnmsg
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
this
.
updateModel
(
rtnmsg
.
data
);
}
else
{
}
else
{
...
...
src/views/Business/Botpay/index.vue
View file @
02cb9781
...
@@ -143,9 +143,8 @@ export default {
...
@@ -143,9 +143,8 @@ export default {
if
(
this
.
isInDisplay
)
{
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
this
.
restoreDisplay
();
}
}
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(
async
()
=>
{
this
.
$refs
.
setp
.
$refs
.
table
.
$refs
.
table
.
toggleAllSelection
();
this
.
$refs
.
setp
.
$refs
.
table
.
$refs
.
table
.
toggleAllSelection
();
this
.
model
.
setmod
.
docamt
=
this
.
model
.
bodgrp
.
cbs
.
max
.
amt
;
})
})
}
}
else
{
else
{
...
...
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