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
a47595be
Commit
a47595be
authored
Jul 26, 2022
by
huangxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
botame,ditdla优化
parent
3e4c70cf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
45 additions
and
49 deletions
+45
-49
Pattern.js
src/model/Botame/Pattern.js
+6
-6
index.js
src/model/Public/Trnmod/index.js
+11
-0
Amep.vue
src/views/Business/Botame/Amep.vue
+11
-26
Setp.vue
src/views/Business/Botset/Setp.vue
+16
-16
Accp.vue
src/views/Business/Ditdla/Accp.vue
+1
-1
No files found.
src/model/Botame/Pattern.js
View file @
a47595be
...
...
@@ -46,8 +46,8 @@ export default {
],
"trnmod.swiadd.newmatpercnt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
//
{type: "string", required: false, message: "必输项"},
//
{max: 3,message:"长度不能超过3"}
],
...
...
@@ -59,7 +59,7 @@ export default {
],
"trnmod.swiadd.ametxt"
:[
//type: "string", required: true, message: "必输项"},
{
max
:
35
,
message
:
"长度不能超过35"
}
//
{max: 35,message:"长度不能超过35"}
],
"botp.recget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -130,7 +130,7 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bodgrp.rec.rcvdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
//
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.shpdat"
:[
...
...
@@ -141,10 +141,10 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bodgrp.rec.predat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
//
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.advdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
//
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.col.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/model/Public/Trnmod/index.js
View file @
a47595be
...
...
@@ -27,6 +27,17 @@ export default class Trnmod {
newnomtoname
:
""
,
prepers18
:
""
,
//New Presentation Period
strinf
:
""
,
// Narrative of Maturity .trnmod.swiadd.strinf
newmatpercnt
:
""
,
// New Tenor Data .trnmod.swiadd.newmatpercnt
newmatpertyp
:
""
,
// Days/Month or Year for Maturity Period .trnmod.swiadd.newmatpertyp
newmatperbeg
:
""
,
// Start of Maturity Period .trnmod.swiadd.newmatperbeg
newmatdat
:
""
,
// New Maturity Date .trnmod.swiadd.newmatdat
ametxt
:
""
,
// Further Amendments .trnmod.swiadd.ametxt
shptoelc
:
""
,
// 货物目的地/交货地(港) .trnmod.swiadd.shptoelc
shpfroelc
:
""
,
// Shipment from .trnmod.swiadd.shpfroelc
//nartxtflg: "", // Narrative modified .trnmod.swiadd.nartxtflg
lcrgod
:
""
,
// Description of Goods amendment .trnmod.swiadd.lcrgod
lcrdoc
:
""
,
// Documents Required amendment .trnmod.swiadd.lcrdoc
//adlcnd: "", // Additional Conditions amendment .trnmod.swiadd.adlcnd
},
trndoc
:
{
nar754
:
""
,
// Narrative :77A: .trnmod.trndoc.nar754
...
...
src/views/Business/Botame/Amep.vue
View file @
a47595be
...
...
@@ -259,13 +259,13 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"New Maturity Date"
prop=
"trnmod.swiadd.newmatdat"
>
<c-date-picker
type=
"date"
@
change=
"change"
:disabled=
"model.bodgrp.rec.doctypcod === 'P'"
v-model=
"model.trnmod.swiadd.newmatdat"
style=
"width:100%"
placeholder=
"请选择New Maturity Date"
></c-date-picker>
<c-date-picker
type=
"date"
:disabled=
"model.bodgrp.rec.doctypcod === 'P'"
v-model=
"model.trnmod.swiadd.newmatdat"
style=
"width:100%"
placeholder=
"请选择New Maturity Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Further Amendments"
prop=
"trnmod.swiadd.ametxt"
>
<c-input
type=
"textarea"
v-model=
"model.trnmod.swiadd.ametxt"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Further Amendments"
></c-inpu
t>
<c-input
-format
type=
"textarea"
v-model=
"model.trnmod.swiadd.ametxt"
:maxRows=
"6"
:maxCols=
"35"
placeholder=
"请输入Further Amendments"
></c-input-forma
t>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -292,35 +292,20 @@ export default {
watch
:{
"model.bodgrp.rec.doctypcod"
:
function
(){
if
(
this
.
model
.
bodgrp
.
rec
.
doctypcod
==
'P'
){
this
.
model
.
trnmod
.
swiadd
.
newmatpercnt
=
""
;
this
.
model
.
trnmod
.
swiadd
.
newmatpertyp
=
""
;
this
.
model
.
trnmod
.
swiadd
.
newmatperbeg
=
""
;
this
.
model
.
trnmod
.
swiadd
.
newmatdat
=
""
;
this
.
model
.
bodgrp
.
rec
.
matdat
=
""
;
}
},
// "model.trnmod.swiadd.newmatdat":function(){
// if(this.model.trnmod.swiadd.newmatdat!="" ){
// this.model.bodgrp.rec.matdat=this.model.trnmod.swiadd.newmatdat;
// console.log(this.model.oldbodgrp.rec.matdat)
// }
// else{
// this.model.bodgrp.rec.matdat=this.model.oldbodgrp.rec.matdat;
// console.log(this.model.bodgrp.rec.matdat)
// }
// }
},
},
methods
:{...
Event
,
change
()
{
if
(
this
.
model
.
trnmod
.
swiadd
.
newmatdat
!=
""
){
this
.
model
.
bodgrp
.
rec
.
matdat
=
this
.
model
.
trnmod
.
swiadd
.
newmatdat
;
}
else
{
this
.
model
.
bodgrp
.
rec
.
matdat
=
this
.
model
.
oldbodgrp
.
rec
.
matdat
;
}
},
//
change() {
//
if(this.model.trnmod.swiadd.newmatdat!="" ){
//
this.model.bodgrp.rec.matdat=this.model.trnmod.swiadd.newmatdat;
//
}
//
else{
//
this.model.bodgrp.rec.matdat=this.model.oldbodgrp.rec.matdat;
//
}
//
},
},
created
:
function
(){
...
...
src/views/Business/Botset/Setp.vue
View file @
a47595be
...
...
@@ -334,7 +334,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-checkbox
disabled
v-model=
"model.mtabut.clsflg
"
<c-checkbox
:disabled=
"model.setmod.docamt
<
=
model
.
bodgrp
.
cbs
.
opn1
.
amt
"
v-model=
"model.mtabut.clsflg"
@
change=
"change1
"
>
Close Contract
</c-checkbox
>
</c-col>
...
...
@@ -435,10 +435,10 @@ export default {
computed
:
{
clsflg
:
{
get
()
{
return
this
.
model
.
mtabut
.
clsflg
===
"
O
"
;
return
this
.
model
.
mtabut
.
clsflg
===
"
X
"
;
},
set
(
val
)
{
this
.
model
.
mtabut
.
clsflg
=
val
?
"
C"
:
"O
"
;
this
.
model
.
mtabut
.
clsflg
=
val
?
"
X"
:
"
"
;
},
},
focflg
:
{
...
...
@@ -473,21 +473,21 @@ export default {
}
},
change1
()
{
if
(
this
.
model
.
bodgrp
.
rec
.
focflg
==
"X"
)
{
this
.
model
.
bodgrp
.
rec
.
docsta
==
"D"
;
}
else
{
this
.
model
.
bodgrp
.
rec
.
docsta
==
"B"
;
// if (this.model.bodgrp.rec.focflg) {
// this.model.bodgrp.rec.docsta = "D";
// } else {
// this.model.bodgrp.rec.docsta = "B";
// }
if
(
this
.
model
.
mtabut
.
clsflg
==
'X'
){
this
.
model
.
bodgrp
.
rec
.
docsta
=
"E"
;
}
else
if
(
this
.
model
.
bodgrp
.
rec
.
focflg
==
'X'
&&
this
.
model
.
mtabut
.
clsflg
!=
'X'
){
this
.
model
.
bodgrp
.
rec
.
docsta
=
"D"
;
}
else
if
(
this
.
model
.
bodgrp
.
rec
.
focflg
!=
'X'
&&
this
.
model
.
mtabut
.
clsflg
!=
'X'
){
this
.
model
.
bodgrp
.
rec
.
docsta
=
"B"
;
}
// if(this.model.bodgrp.rec.focflg=='X' && this.model.bodgrp.rec.clsflg==''){
// this.model.bodgrp.rec.docsta==="D";
// }
// else if(this.model.bodgrp.rec.focflg=='' && this.model.bodgrp.rec.clsflg==''){
// this.model.bodgrp.rec.docsta==="B";
// }
// else{
// this.model.bodgrp.rec.docsta=="E";
// }
if
(
this
.
model
.
bodgrp
.
rec
.
focflg
)
{
this
.
model
.
setmod
.
redamt
=
this
.
model
.
setmod
.
docamt
;
...
...
src/views/Business/Ditdla/Accp.vue
View file @
a47595be
...
...
@@ -339,7 +339,7 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"
Decrease limits stream
"
prop=
"decstm"
>
<el-form-item
label=
"
修改历史列表
"
prop=
"decstm"
>
<c-istream-table
:list=
"model.decstm.rows || []"
:columns=
"trnData.columns"
...
...
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