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
fukai
vue-gjjs
Commits
ea828f14
Commit
ea828f14
authored
Mar 14, 2023
by
xionglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
bc11304b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
102 additions
and
38 deletions
+102
-38
index.js
src/config/CodeTable/index.js
+5
-3
commonFuncs.js
src/mixin/commonFuncs.js
+2
-0
Event.js
src/model/Infbtd/Event.js
+37
-3
Event.js
src/model/Infltd/Event.js
+36
-21
Setpan.vue
src/views/Public/Setpan.vue
+22
-11
No files found.
src/config/CodeTable/index.js
View file @
ea828f14
...
...
@@ -6850,14 +6850,16 @@ const CodeTable = {
{
label
:
"信用"
,
value
:
"C"
},
],
setfelRol
:
[
{
label
:
"OWN Ourselves"
,
value
:
"OWN"
},
{
label
:
"ISS 开证行"
,
value
:
"ISS"
},
{
label
:
"APL 申请人"
,
value
:
"APL"
},
{
label
:
"ADT 通知行转账"
,
value
:
"ADT"
},
{
label
:
"APL 申请人"
,
value
:
"APL"
},
{
label
:
"AVB 可用银行"
,
value
:
"AVB"
},
{
label
:
"AVT Avail. w. Bank Tr."
,
value
:
"AVT"
},
{
label
:
"BE1 第一受益人"
,
value
:
"BE1"
},
{
label
:
"BE2 第二受益人"
,
value
:
"BE2"
},
{
label
:
"BEN 受益人"
,
value
:
"BEN"
},
{
label
:
"CON 保兑行"
,
value
:
"CON"
},
{
label
:
"DRW 付款人(DRW)"
,
value
:
"DRW"
},
{
label
:
"ISS 开证行"
,
value
:
"ISS"
},
],
setfelRol1
:
[
{
label
:
"A2B 第二通知行"
,
value
:
"A2B"
},
...
...
src/mixin/commonFuncs.js
View file @
ea828f14
...
...
@@ -164,6 +164,8 @@ export default {
}
// let result = await this.checkAll();
console
.
log
(
">>>>>>>>>"
)
console
.
log
(
result
)
if
(
result
.
respCode
==
SUCCESS
)
{
const
fieldErrors
=
result
.
fieldErrors
;
this
.
updateModel
(
result
.
data
);
...
...
src/model/Infbtd/Event.js
View file @
ea828f14
...
...
@@ -75,9 +75,34 @@ export default {
}
},
async
handleReset
(
formName
)
{
this
.
$refs
[
formName
].
resetFields
();
this
.
model
.
infcon
.
seaamtfr
=
'0.00'
;
this
.
model
.
infcon
.
seaamtto
=
'0.00'
;
this
.
model
.
infcon
.
seaownref
=
''
let
today
=
new
Date
();
let
date
=
{
year
:
today
.
getFullYear
(),
month
:
today
.
getMonth
()
+
1
,
day
:
today
.
getDate
()
}
if
(
date
.
month
<
10
)
date
.
month
=
`0
${
date
.
month
}
`
if
(
date
.
day
<
10
)
date
.
day
=
`0
${
date
.
day
}
`
let
nowDate
=
date
.
year
+
'-'
+
date
.
month
+
'-'
+
date
.
day
;
console
.
log
(
nowDate
)
if
(
this
.
model
.
infcon
.
opndatto
!=
nowDate
){
this
.
model
.
infcon
.
opndatto
=
''
}
if
(
this
.
model
.
infcon
.
opndatfrom
!=
nowDate
){
this
.
model
.
infcon
.
opndatfrom
=
''
}
this
.
model
.
infcon
.
nam
=
''
this
.
model
.
infcon
.
searef
=
''
this
.
model
.
infcon
.
pty
.
extkey
=
''
this
.
model
.
infcon
.
seapty
=
''
this
.
model
.
infcon
.
searol
=
''
this
.
model
.
infcon
.
seasta
=
''
this
.
model
.
infcon
.
seacur
=
''
this
.
model
.
infcon
.
seaamtfr
=
'0.00'
this
.
model
.
infcon
.
seaamtto
=
'0.00'
},
async
handleSearch
()
{
this
.
stmData
.
data
=
[];
...
...
@@ -91,6 +116,15 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'查询结束日期必输!'
});
return
;
}
let
seaamtfr
=
this
.
model
.
infcon
.
seaamtfr
;
let
seaamtto
=
this
.
model
.
infcon
.
seaamtto
;
let
seacur
=
this
.
model
.
infcon
.
seacur
;
if
(
seaamtfr
!=
'0.00'
||
seaamtto
!=
'0.00'
){
if
(
seacur
==
''
||
!
seacur
){
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'不允许在没有有效货币的情况下搜索金额'
});
return
;
}
}
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.searow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
src/model/Infltd/Event.js
View file @
ea828f14
...
...
@@ -21,30 +21,45 @@ export default {
}
},*/
// async handleReset() {
// this.model.infcon.seaownref = "";
// this.model.infcon.searef = "";
// this.model.infcon.pty.extkey = "";
// this.model.infcon.seapty = "";
// this.model.infcon.opndatfrom = "";
// this.model.infcon.opndatto = "";
// this.model.infcon.seaamtfr = "";
// this.model.infcon.seaamtto = "";
// this.model.infcon.seasta = "";
// this.model.infcon.usr.extkey = "";
// this.model.infcon.nam = "";
// this.model.infcon.hndtyp = "";
// this.model.infcon.pty.nam = "";
// this.model.infcon.searol = "";
// this.model.infcon.seacur = "";
// this.stmData.data = "";
// },
async
handleReset
()
{
this
.
model
.
infcon
.
seaownref
=
""
;
this
.
model
.
infcon
.
searef
=
""
;
this
.
model
.
infcon
.
pty
.
extkey
=
""
;
this
.
model
.
infcon
.
seapty
=
""
;
let
today
=
new
Date
();
let
date
=
{
year
:
today
.
getFullYear
(),
month
:
today
.
getMonth
()
+
1
,
day
:
today
.
getDate
()
}
if
(
date
.
month
<
10
)
date
.
month
=
`0
${
date
.
month
}
`
if
(
date
.
day
<
10
)
date
.
day
=
`0
${
date
.
day
}
`
let
nowDate
=
date
.
year
+
'-'
+
date
.
month
+
'-'
+
date
.
day
;
if
(
this
.
model
.
infcon
.
opndatfrom
!=
nowDate
){
this
.
model
.
infcon
.
opndatfrom
=
''
}
if
(
this
.
model
.
infcon
.
opndatto
!=
nowDate
){
this
.
model
.
infcon
.
opndatto
=
''
}
this
.
model
.
infcon
.
seaamtfr
=
"0.00"
;
this
.
model
.
infcon
.
seaamtto
=
"0.00"
;
this
.
model
.
infcon
.
seasta
=
""
;
this
.
model
.
infcon
.
usr
.
extkey
=
""
;
this
.
model
.
infcon
.
nam
=
""
;
this
.
model
.
infcon
.
hndtyp
=
""
;
this
.
model
.
infcon
.
pty
.
nam
=
""
;
this
.
model
.
infcon
.
searol
=
""
;
this
.
model
.
infcon
.
seacur
=
""
;
this
.
stmData
.
data
=
""
;
async
handleReset
(
formName
)
{
this
.
$refs
[
formName
].
resetFields
();
},
// async handleReset(formName) {
// this.$refs[formName].resetFields();
// },
async
handleSearch
()
{
this
.
stmData
.
data
=
[];
let
opndatfrom
=
this
.
model
.
infcon
.
opndatfrom
;
...
...
src/views/Public/Setpan.vue
View file @
ea828f14
...
...
@@ -171,20 +171,31 @@
<el-table-column
label=
"处理方式"
prop=
"dsp"
width=
"110px"
>
</el-table-column>
<el-table-column
label=
"付款人摘要"
prop=
"txtdbt"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.txtdbt"
></c-input>
</
template
>
</el-table-column>
<el-table-column
label=
"收款人摘要"
prop=
"txtpay"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.txtpay"
style=
"border:none"
></c-input>
</
template
>
</el-table-column>
<el-table-column
label=
"币种"
prop=
"cur"
width=
"110px"
>
<
template
slot-scope=
"scope"
>
<c-select
v-model=
"scope.row.cur"
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
<c-select
v-model=
"scope.row.cur"
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</
template
>
</el-table-column>
<el-table-column
label=
"金额"
prop=
"amt"
width=
"110px"
>
...
...
@@ -193,10 +204,10 @@
label-width=
"0"
:prop=
"'setmod.setfog.setfol.' + scope.$index + '.amt'"
>
<
!--
<
c-input-currency
<c-input-currency
v-model=
"scope.row.amt"
placeholder=
"0.00"
></c-input-currency>
-->
></c-input-currency>
</el-form-item>
</
template
>
</el-table-column>
...
...
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