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
2992d9fb
Commit
2992d9fb
authored
Nov 10, 2023
by
WH
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/settle-test-20230110' into settle-test-20230110
parents
51a9d14c
ab4faf0f
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
308 additions
and
270 deletions
+308
-270
buildCommons.js
src/business/betacc/event/buildCommons.js
+1
-0
index.js
src/business/betacc/model/index.js
+10
-10
Accp.vue
src/business/betacc/views/Accp.vue
+84
-85
check.js
src/business/betset/model/check.js
+19
-16
index.js
src/business/betset/model/index.js
+2
-8
index.vue
src/business/betset/views/index.vue
+2
-1
buildCommons.js
src/business/brtdck/event/buildCommons.js
+4
-3
index.js
src/business/brtdck/model/index.js
+4
-1
Brtdckp.vue
src/business/brtdck/views/Brtdckp.vue
+20
-19
check.js
src/business/letame/model/check.js
+24
-24
Drv.vue
src/business/letdrw/views/Drv.vue
+48
-45
Ovwp1.vue
src/business/letdrw/views/Ovwp1.vue
+90
-58
No files found.
src/business/betacc/event/buildCommons.js
View file @
2992d9fb
...
...
@@ -49,6 +49,7 @@ export default {
cnfsta
:
model
.
bedgrp
.
rec
.
cnfsta
,
snadat
:
model
.
snadat
,
docamt
:
model
.
setmod
.
docamt
,
doctypcod
:
model
.
bedgrp
.
rec
.
doctypcod
,
},
cbsMap
:
{
MAX
:
model
.
bedgrp
.
cbs
.
max
,
...
...
src/business/betacc/model/index.js
View file @
2992d9fb
...
...
@@ -19,7 +19,7 @@ export default class Betacc {
cbs
:
{
opn1
:
{
cur
:
''
,
amt
:
''
amt
:
'
0
'
}
},
rmb
:
{
...
...
@@ -44,14 +44,14 @@ export default class Betacc {
cbs
:
{
opn1
:
{
cur
:
''
,
amt
:
''
amt
:
'
0
'
},
opn2
:
{
amt
:
''
amt
:
'
0
'
},
max
:
{
cur
:
''
,
amt
:
''
amt
:
'
0
'
}
},
iss
:
{
...
...
@@ -65,8 +65,8 @@ export default class Betacc {
}
},
aamset
:
{
utlamt
:
''
,
utlamt2
:
''
utlamt
:
'
0
'
,
utlamt2
:
'
0
'
},
mtabut
:
{
coninf
:
{
...
...
@@ -144,22 +144,22 @@ export default class Betacc {
cbs
:
{
opn1
:
{
cur
:
''
,
amt
:
''
amt
:
'
0
'
},
opn2
:
{
cur
:
''
},
max
:
{
cur
:
''
,
amt
:
''
amt
:
'
0
'
}
}
},
trnmod
:
{
swiadd
:
{
strinf
:
''
}
},
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
...
...
src/business/betacc/views/Accp.vue
View file @
2992d9fb
...
...
@@ -190,100 +190,17 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col
:span=
"12"
style=
"padding-left: 20px;"
>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"信用证余额"
prop=
"ledgrp.cbs.opn1.cur"
>
<c-input
v-model=
"model.ledgrp.cbs.opn1.cur"
maxlength=
"3"
placeholder=
"请输入信用证余额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.cbs.opn1.amt"
>
<c-input-currency-min
v-model=
"model.ledgrp.cbs.opn1.amt"
placeholder=
"请输入金额"
disabled
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据简略信息"
prop=
"bedgrp.rec.nam"
>
<c-input
v-model=
"model.bedgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入简略信息"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{
title: '交单人',
grp: 'bedgrp',
rol: 'prb',
}"
:disabled=
"true"
:enRef=
"false"
:enNam=
"false"
></c-ptsmsg>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{
title: '开证行',
grp: 'bedgrp',
rol: 'iss',
}"
:disabled=
"true"
:enRef=
"false"
:enNam=
"false"
></c-ptsmsg>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{
title: '申请人',
grp: 'bedgrp',
rol: 'apl',
}"
:disabled=
"true"
:enRef=
"false"
:enNam=
"false"
></c-ptsmsg>
</c-col>
</c-col>
<!-- <c-col :span="24">
<el-form-item style="margin-left: 0px">
<el-divider />
</el-form-item>
</c-col> -->
<!-- next part -->
<!-- left -->
<c-col
:span=
"12"
style=
"padding-right: 20px;"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"到期日修订说明"
prop=
"
trnmod.
swiadd.strinf"
prop=
"swiadd.strinf"
>
<c-input
type=
"textarea"
v-model=
"model.
trnmod.
swiadd.strinf"
v-model=
"model.swiadd.strinf"
maxlength=
"35"
show-word-limit
placeholder=
"请输入说明"
...
...
@@ -371,6 +288,88 @@
<!-- right -->
<c-col
:span=
"12"
style=
"padding-left: 20px;"
>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"信用证余额"
prop=
"ledgrp.cbs.opn1.cur"
>
<c-input
v-model=
"model.ledgrp.cbs.opn1.cur"
maxlength=
"3"
placeholder=
"请输入信用证余额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.cbs.opn1.amt"
>
<c-input-currency-min
v-model=
"model.ledgrp.cbs.opn1.amt"
placeholder=
"请输入金额"
disabled
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据简略信息"
prop=
"bedgrp.rec.nam"
>
<c-input
v-model=
"model.bedgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入简略信息"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{
title: '交单人',
grp: 'bedgrp',
rol: 'prb',
}"
:disabled=
"true"
:enRef=
"false"
:enNam=
"false"
></c-ptsmsg>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{
title: '开证行',
grp: 'bedgrp',
rol: 'iss',
}"
:disabled=
"true"
:enRef=
"false"
:enNam=
"false"
></c-ptsmsg>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{
title: '申请人',
grp: 'bedgrp',
rol: 'apl',
}"
:disabled=
"true"
:enRef=
"false"
:enNam=
"false"
></c-ptsmsg>
</c-col>
</c-col>
<!-- <c-col :span="24">
<el-form-item style="margin-left: 0px">
<el-divider />
</el-form-item>
</c-col> -->
<!-- right -->
<c-col
:span=
"12"
style=
"padding-left: 20px;"
>
<c-col
:span=
"18"
>
...
...
src/business/betset/model/check.js
View file @
2992d9fb
...
...
@@ -16,7 +16,7 @@ let checkObj = {
"bopmod.dbdgrp.bas.custype"
:
null
,
"bopmod.dbagrp.bas.outchargeccy"
:
null
,
"bopmod.dbagrp.bas.actiontype"
:
null
,
"bopmod.szflg"
:
null
,
//
"bopmod.szflg": null,
"bopmod.dbdgrp.bas.actiontype"
:
null
,
"cnybop.traflg"
:
null
,
"bopmod.dbagrp.bas.inchargeccy"
:
null
,
...
...
@@ -32,6 +32,9 @@ let checkObj = {
"cnybop.cnyinc.cpayeraccttyp"
:
null
,
"mtabut.clsflg"
:
null
,
"cnybop.vouflg"
:
null
,
"bopmod.szflg"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
],
"betp.ledget.sdamod.dadsnd"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
@@ -98,13 +101,13 @@ let checkObj = {
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"bedgrp.rec.matdat"
:
[
{
type
:
"
date
"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
type
:
"
string
"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"bedgrp.rec.rcvdat"
:
[
{
type
:
"
date
"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
type
:
"
string
"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"bedgrp.rec.predat"
:
[
{
type
:
"
date
"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
type
:
"
string
"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"bedgrp.apl.pts.ref"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -135,7 +138,7 @@ let checkObj = {
{
max
:
18
,
message
:
"整数位不能超过14位"
},
],
"trnmod.trndoc.nar754"
:
[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"setmod.setamt"
:
[
...
...
@@ -260,16 +263,16 @@ let checkObj = {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"mtabut.coninf.oitinf.oit.inftxt"
:
[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
"mtabut.coninf.oitset.oit.inftxt"
:
[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
//
"mtabut.coninf.oitinf.oit.inftxt": [
// {type: "string", required: fals
e, message: "必输项"},
//
{max: 60, message: "长度不能超过60"}
//
],
//
"mtabut.coninf.oitset.oit.inftxt": [
// {type: "string", required: fals
e, message: "必输项"},
//
{max: 60, message: "长度不能超过60"}
//
],
"mtabut.coninf.conexedat"
:
[
{
type
:
"
date
"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
type
:
"
string
"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"mtabut.coninf.usr.extkey"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -304,7 +307,7 @@ let checkObj = {
{
max
:
22
,
message
:
"长度不能超过22"
}
],
"bopmod.outchargeamt"
:
[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
}
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
}
],
"bopmod.dbdgrp.bas.rptno"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -477,7 +480,7 @@ let checkObj = {
{
max
:
4
,
message
:
"长度不能超过4"
}
],
"cnybop.cnyinc.dpayeedate"
:
[
{
type
:
"
date
"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
type
:
"
string
"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"cnybop.cnyinc.fprepayeeamt"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/business/betset/model/index.js
View file @
2992d9fb
...
...
@@ -3,12 +3,6 @@ import Pub from '~/components/business/commonModel/index.js';
export
default
class
Betset
{
constructor
()
{
this
.
data
=
{
setmod
:
{
redamt
:
''
,
setamt
:
''
,
doccur
:
''
,
docamt
:
''
},
cnybop
:
{
sbankname
:
''
,
outflg
:
''
,
...
...
@@ -70,12 +64,12 @@ export default class Betset {
cbs
:
{
opn1
:
{
cur
:
''
,
amt
:
''
amt
:
'
0
'
}
}
},
bopmod
:
{
outchargeamt
:
''
,
outchargeamt
:
'
0
'
,
dbap
:
{
baspp
:
{
acp
:
''
...
...
src/business/betset/views/index.vue
View file @
2992d9fb
...
...
@@ -88,6 +88,7 @@
import
event
from
'../event'
;
import
operationFunc
from
"~/mixin/operationFunc"
;
import
CodeTable
from
"~/config/CodeTable"
import
formRules
from
'../model/check'
import
Betset
from
"../model"
;
import
Ovwp
from
"./Ovwp"
...
...
@@ -124,7 +125,7 @@ export default {
tabVal
:
"ovwp"
,
trnName
:
"betset"
,
model
:
new
Betset
().
data
,
rules
:
null
,
rules
:
formRules
,
codes
:
{
...
CodeTable
},
...
...
src/business/brtdck/event/buildCommons.js
View file @
2992d9fb
...
...
@@ -120,7 +120,7 @@ export default {
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'
LI
D'
,
objtyp
:
'
BR
D'
,
objinr
:
model
.
brdgrp
.
rec
.
objinr
,
ownref
:
model
.
brdgrp
.
rec
.
ownref
,
},
...
...
@@ -131,9 +131,10 @@ export default {
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'
LI
D'
,
objinr
:
model
.
brdgrp
.
rec
.
obj
inr
,
objtyp
:
'
BR
D'
,
inr
:
model
.
lidgrp
.
rec
.
inr
,
ownref
:
model
.
brdgrp
.
rec
.
ownref
,
mhtyp
:
model
.
mhtyp
,
// swiftflg: model.gitp.swiftflg,
},
};
...
...
src/business/brtdck/model/index.js
View file @
2992d9fb
...
...
@@ -137,7 +137,7 @@ export default class Brtdck {
amt
:
''
},
max2
:
{
amt
:
''
amt
:
'
0.0
'
}
}
},
...
...
@@ -158,6 +158,9 @@ export default class Brtdck {
cur
:
''
,
amt
:
''
}
},
blk
:
{
defdet
:
''
}
},
...
...
src/business/brtdck/views/Brtdckp.vue
View file @
2992d9fb
...
...
@@ -228,6 +228,7 @@
v-model=
"model.brdgrp.cbs.max.cur"
style=
"width: 100%"
placeholder=
""
disabled
:code=
"codes.curtxt1"
>
</c-select>
...
...
@@ -253,14 +254,14 @@
v-show=
"model.brdgrp.cbs.max.amt!=model.oldbrdgrp.cbs.max.amt"
>
</span>
</c-col>
<c-col
:span=
"11"
>
<
c-form-item
label=
""
label-width=
"5px"
prop=
"
oldbrdgrp.cbs.max.amt"
>
<
el-form-item
label=
"原始单据金额"
prop=
"oldbrdgrp.cbs.max.amt"
v-show=
"model.brdgrp.cbs.max.amt!=model.
oldbrdgrp.cbs.max.amt"
>
<c-input
v-model=
"model.oldbrdgrp.cbs.max.amt"
placeholder=
""
class=
"m-input-currency"
style=
"width: 100%"
disabled
v-show=
"model.brdgrp.cbs.max.amt!=model.oldbrdgrp.cbs.max.amt"
></c-input>
</
c
-form-item>
</
el
-form-item>
</c-col>
</c-col>
...
...
@@ -270,6 +271,7 @@
<el-form-item
label=
"提取附加金额"
prop=
"brdgrp.cbs.opn2.cur"
>
<c-select
v-model=
"opn2cur"
disabled
style=
"width: 100%"
placeholder=
"请选择币种"
:code=
"codes.curtxt1"
...
...
@@ -298,13 +300,14 @@
v-show=
"model.brdgrp.cbs.max2.amt!=model.oldbrdgrp.cbs.max2.amt"
>
</span>
</c-col>
<c-col
:span=
"11"
>
<
c-form-item
label=
""
label-width=
"5px"
prop=
"
oldbrdgrp.cbs.max2.amt"
>
<
el-form-item
label=
"原始附加金额"
prop=
"oldbrdgrp.cbs.max2.amt"
v-show=
"model.brdgrp.cbs.max2.amt!=model.
oldbrdgrp.cbs.max2.amt"
>
<c-input
v-model=
"model.oldbrdgrp.cbs.max2.amt"
:placeholder=
"$t('other.please_enter')+'Balance'"
class=
"m-input-currency"
style=
"width: 100%"
disabled
v-show=
"model.brdgrp.cbs.max2.amt!=model.oldbrdgrp.cbs.max2.amt"
></c-input>
</c-form-item>
v-show=
"model.brdgrp.cbs.max2.amt!=model.oldbrdgrp.cbs.max2.amt"
></c-input>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -536,10 +539,12 @@
:model=
"model"
:argadr=
"{
title: '',
grp: 'br
t
p',
rol: '
oth
',
grp: 'br
dgr
p',
rol: '
apl
',
}"
:disabled=
"this.flag3"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('APL', 'C')
"
:disabledExtkey=
"this.flag4"
:isAdrblk=
"true"
:noRef=
"true"
...
...
@@ -586,6 +591,13 @@ export default {
}
},
"model.mhtyp"
:
function
()
{
if
(
this
.
model
.
mhtyp
==
'R'
)
{
this
.
model
.
brdgrp
.
cbs
.
max
.
amt
=
this
.
model
.
oldbrdgrp
.
cbs
.
max
.
amt
;
this
.
model
.
brdgrp
.
cbs
.
max2
.
amt
=
this
.
model
.
oldbrdgrp
.
cbs
.
max2
.
amt
;
}
},
"model.brdgrp.prb.pts.extkey"
:
{
immediate
:
true
,
...
...
@@ -606,17 +618,6 @@ export default {
}
},
"model.brtp.oth.pts.extkey"
:
{
immediate
:
true
,
handler
(
val
,
oldVal
)
{
if
(
this
.
model
.
brtp
.
oth
.
pts
.
extkey
!=
''
)
{
this
.
flag3
=
true
;
}
else
{
this
.
flag3
=
false
;
}
}
},
},
methods
:
{},
created
:
function
()
{
...
...
src/business/letame/model/check.js
View file @
2992d9fb
...
...
@@ -32,8 +32,8 @@ export default {
{
max
:
3
,
message
:
'长度不能超过3'
}
],
'oldledgrp.cbs.nom1.amt'
:
[
{
required
:
true
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
required
:
true
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'oldledgrp.rec.nomtop'
:
[
...
...
@@ -50,25 +50,25 @@ export default {
],
'oldledgrp.cbs.max.amt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'trnmod.swiadd.ameamt'
:
[
{
required
:
false
,
message
:
'必输项'
},
{
type
:
'number'
,
trigger
:
'blur'
,
max
:
18
,
message
:
'整数位不能超过14位'
},
{
type
:
'number'
,
trigger
:
'blur'
,
max
:
18
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
(\+
|
\-)
|
\d
+$
)
|
(
^
(\+
|
\-)
|
\.\d{1,3}
$
)
|
(
^
(\+
|
\-)
|
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'letamep.engamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
{
pattern
:
/
(
^-
?\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^-
?\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'trnmod.swiadd.newamt'
:
[
{
type
:
'number'
,
required
:
false
,
rigger
:
'blur'
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
type
:
'number'
,
required
:
false
,
rigger
:
'blur'
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'trnmod.swiadd.newnomtop'
:
[
...
...
@@ -85,7 +85,7 @@ export default {
],
'letamep.maxamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
...
...
@@ -140,7 +140,7 @@ export default {
],
'trnmod.swiadd.addamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'letp.recget.sdamod.dadsnd'
:
[
...
...
@@ -188,9 +188,9 @@ export default {
{
max
:
35
,
message
:
'长度不能超过35'
}
],
'ledgrp.cbs.nom1.amt'
:
[
{
required
:
true
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
trigger
:
'blur'
,
message
:
'小数位不能超过3位'
}
{
required
:
true
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
trigger
:
'blur'
,
message
:
'小数位不能超过3位'
}
],
'ledgrp.ben.pts.adrblk'
:
[
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
...
...
@@ -214,7 +214,7 @@ export default {
],
'ledgrp.cbs.max.amt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'ledgrp.iss.pts.ref'
:
[
...
...
@@ -422,12 +422,12 @@ export default {
],
'ledgrp.cbs.max2.amt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'ledgrp.cbs.opn2.amt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'ledgrp.blk.addamtcov'
:
[
...
...
@@ -663,7 +663,7 @@ export default {
],
'liaall.outamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'liaall.outpct'
:
[
...
...
@@ -676,17 +676,17 @@ export default {
],
'liaall.misamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'liaall.exttotoldamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'liaall.exttotamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'setmod.ref'
:
[
...
...
@@ -695,7 +695,7 @@ export default {
],
'setmod.docamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'setmod.zmqacc'
:
[
...
...
@@ -783,7 +783,7 @@ export default {
],
'liaall.limmod.comamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'liaall.limmod.limpts.wrk.pts.nam'
:
[
...
...
@@ -796,7 +796,7 @@ export default {
],
'liaall.limmod.ccvamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'liaall.limmod.limpts.pfcod1'
:
[
...
...
@@ -841,12 +841,12 @@ export default {
],
'letp.totamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'letp.trnopnamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
max
:
18
,
trigger
:
'blur'
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'letp.trnshpdat'
:
[
...
...
src/business/letdrw/views/Drv.vue
View file @
2992d9fb
<
template
>
<div
class=
"eibs"
>
<!-- ============左边================= -->
<c-col
:span=
"12"
style=
"padding-right: 20px;"
>
<!-- ============左边================= -->
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"出口信用证编号"
prop=
"ledgrp.rec.ownref"
>
<c-input
...
...
@@ -76,7 +75,8 @@
</el-form-item>
</c-col>
<c-col
:span=
"5"
>
<c-checkbox
v-model=
"model.ledgrp.rec.revflg"
<c-checkbox
v-model=
"model.ledgrp.rec.revflg"
style=
"margin-left: 10px"
disabled
>
循环信用证
</c-checkbox
...
...
@@ -109,7 +109,8 @@
</el-form-item>
</c-col>
<c-col
:span=
"5"
>
<c-checkbox
v-model=
"model.ledgrp.rec.redclsflg"
<c-checkbox
v-model=
"model.ledgrp.rec.redclsflg"
style=
"margin-left: 10px"
disabled
>
红/绿条款
</c-checkbox
...
...
@@ -271,7 +272,12 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
" "
prop=
"bedgrp.rec.dscinsflg"
label-width=
"120px"
style=
" float:right;"
>
<el-form-item
label=
" "
prop=
"bedgrp.rec.dscinsflg"
label-width=
"120px"
style=
"float: right"
>
<c-checkbox
v-model=
"model.bedgrp.rec.dscinsflg"
>
输入单据、不符点、指示信息
</c-checkbox
>
...
...
@@ -279,11 +285,7 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"该信用证前手信息"
prop=
"ledgrp.rec.utlnbr"
>
<el-form-item
label=
"该信用证前手信息"
prop=
"ledgrp.rec.utlnbr"
>
<c-input
v-model=
"model.ledgrp.rec.utlnbr"
placeholder=
"请输入前手信息"
...
...
@@ -294,7 +296,7 @@
</c-col>
<!-- ============右边================= -->
<c-col
:span=
"12"
style=
"padding-left: 20px;
"
>
<c-col
:span=
"12"
style=
"padding-left: 20px
"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"简略信息"
prop=
"ledgrp.rec.nam"
>
<c-input
...
...
@@ -472,51 +474,52 @@
</div>
</template>
<
script
>
import
event
from
"../event"
;
import
Ptap
from
'~/views/Public/Ptap'
import
Ptap
from
"~/views/Public/Ptap"
;
export
default
{
components
:
{
'c-ptap'
:
Ptap
},
inject
:
[
'root'
],
props
:
[
'model'
,
'codes'
],
components
:
{
"c-ptap"
:
Ptap
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
event
],
data
()
{
return
{}
},
methods
:
{
return
{};
},
methods
:
{},
created
:
function
()
{},
computed
:{
opn1cur
(){
this
.
model
.
ledgrp
.
cbs
.
opn1
.
cur
=
this
.
model
.
ledgrp
.
cbs
.
nom1
.
cur
return
this
.
model
.
ledgrp
.
cbs
.
opn1
.
cur
computed
:
{
opn1cur
()
{
this
.
model
.
ledgrp
.
cbs
.
opn1
.
cur
=
this
.
model
.
ledgrp
.
cbs
.
nom1
.
cur
;
return
this
.
model
.
ledgrp
.
cbs
.
opn1
.
cur
;
},
opn1amt
()
{
this
.
model
.
ledgrp
.
cbs
.
opn1
.
amt
=
parseFloat
(
this
.
model
.
ledgrp
.
cbs
.
nom1
.
amt
*
(
1
+
this
.
model
.
ledgrp
.
rec
.
nomtop
/
100
)
).
toFixed
(
2
);
return
this
.
model
.
ledgrp
.
cbs
.
opn1
.
amt
;
},
getDoctypcod
()
{
this
.
model
.
bedgrp
.
rec
.
doctypcod
=
this
.
model
.
ledgrp
.
rec
.
avbby
;
return
this
.
model
.
bedgrp
.
rec
.
doctypcod
;
},
opn1amt
()
{
this
.
model
.
ledgrp
.
cbs
.
opn1
.
amt
=
parseFloat
(
this
.
model
.
ledgrp
.
cbs
.
nom1
.
amt
*
(
1
+
this
.
model
.
ledgrp
.
rec
.
nomtop
/
100
)).
toFixed
(
2
)
return
this
.
model
.
ledgrp
.
cbs
.
opn1
.
amt
maxcur
()
{
this
.
model
.
bedgrp
.
cbs
.
max
.
cur
=
this
.
model
.
ledgrp
.
cbs
.
opn1
.
cur
;
return
this
.
model
.
bedgrp
.
cbs
.
max
.
cur
;
},
getDoctypcod
()
{
this
.
model
.
bedgrp
.
rec
.
doctypcod
=
this
.
model
.
ledgrp
.
rec
.
avbby
return
this
.
model
.
bedgrp
.
rec
.
doctypcod
maxamt
()
{
this
.
model
.
bedgrp
.
cbs
.
max
.
amt
=
this
.
model
.
ledgrp
.
cbs
.
opn1
.
amt
;
return
this
.
model
.
bedgrp
.
cbs
.
max
.
amt
;
},
maxcur
()
{
this
.
model
.
bedgrp
.
cbs
.
max
.
cur
=
this
.
model
.
ledgrp
.
cbs
.
opn1
.
cur
return
this
.
model
.
bedgrp
.
cbs
.
max
.
cur
docprbrol
()
{
this
.
model
.
bedgrp
.
rec
.
docprbrol
=
"BEB"
;
return
this
.
model
.
bedgrp
.
rec
.
docprbrol
;
},
m
axamt
()
{
this
.
model
.
bedgrp
.
cbs
.
max
.
amt
=
this
.
model
.
ledgrp
.
cbs
.
opn1
.
amt
return
this
.
model
.
bedgrp
.
cbs
.
max
.
amt
m
odelben
()
{
this
.
model
.
bedgrp
.
prb
.
pts
=
this
.
model
.
ledgrp
.
ben
.
pts
;
return
this
.
model
.
ledgrp
.
ben
.
pts
.
ref
;
},
docprbrol
(){
this
.
model
.
bedgrp
.
rec
.
docprbrol
=
'BEB'
return
this
.
model
.
bedgrp
.
rec
.
docprbrol
},
modelben
(){
this
.
model
.
bedgrp
.
prb
.
pts
=
this
.
model
.
ledgrp
.
ben
.
pts
return
this
.
model
.
ledgrp
.
ben
.
pts
}
}
}
};
</
script
>
<
style
></
style
>
src/business/letdrw/views/Ovwp1.vue
View file @
2992d9fb
<
template
>
<div
class=
"eibs"
>
<!-- ============左边================= -->
<c-col
:span=
"12"
style=
"padding-right: 20px;"
>
<!-- ============左边================= -->
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"信用证号码"
...
...
@@ -24,14 +23,17 @@
size=
"small"
type=
"primary"
>
<i
class=
"el-icon-info"
style=
"font-size:
15px"
></i>
<i
class=
"el-icon-info"
style=
"font-size:
15px"
></i>
</c-button>
<c-button
style=
"margin: 0 0"
size=
"small"
type=
"primary"
:disabled=
"
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref? false: true"
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref
? false
: true
"
@
click=
"getref"
>
获取
...
...
@@ -139,8 +141,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
</c-col>
<c-col
:span=
"4"
>
</c-col>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -224,7 +225,7 @@
v-model=
"model.ledgrp.rec.shpdat"
style=
"width: 90%"
placeholder=
"请选择装运日期"
:disabled=
"model.ledgrp.blk.shpper!=
''"
:disabled=
"model.ledgrp.blk.shpper !=
''"
></c-date-picker>
</el-form-item>
</c-col>
...
...
@@ -327,7 +328,7 @@
</c-col>
<!-- ============右边================= -->
<c-col
:span=
"12"
style=
"padding-left: 20px;
"
>
<c-col
:span=
"12"
style=
"padding-left: 20px
"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"摘要"
prop=
"ledgrp.rec.nam"
>
<c-input
...
...
@@ -350,9 +351,7 @@
rol: 'ben',
}"
:disabled=
"true"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('BEN', 'C')
"
@
keyup
.
enter
.
native=
"queryGridEtyPromptDialogData('BEN', 'C')"
>
</c-ptap>
</c-col>
...
...
@@ -366,9 +365,7 @@
rol: 'iss',
}"
:disabled=
"true"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('ISS', 'B')
"
@
keyup
.
enter
.
native=
"queryGridEtyPromptDialogData('ISS', 'B')"
>
</c-ptap>
</c-col>
...
...
@@ -382,16 +379,19 @@
rol: 'apl',
}"
:disabled=
"true"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('APL', 'C')
"
@
keyup
.
enter
.
native=
"queryGridEtyPromptDialogData('APL', 'C')"
>
</c-ptap>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
" "
prop=
"ledgrp.rec.revflg"
label-width=
"120px"
style=
" float:left;"
>
<c-col
:span=
"12"
>
<el-form-item
label=
" "
prop=
"ledgrp.rec.revflg"
label-width=
"120px"
style=
"float: left"
>
<c-checkbox
v-model=
"model.ledgrp.rec.revflg"
>
循环信用证
</c-checkbox
>
...
...
@@ -400,15 +400,27 @@
<!-- Authorization to Debit -->
<c-col
:span=
"12"
>
<el-form-item
label=
" "
prop=
"ledgrp.rec.dbtflg"
label-width=
"120px"
style=
" float:right;"
>
<c-checkbox
v-model=
"model.ledgrp.rec.dbtflg"
>
借记授权书
</c-checkbox>
<el-form-item
label=
" "
prop=
"ledgrp.rec.dbtflg"
label-width=
"120px"
style=
"float: right"
>
<c-checkbox
v-model=
"model.ledgrp.rec.dbtflg"
>
借记授权书
</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<!-- Non-Bank Issuer -->
<c-col
:span=
"24"
>
<el-form-item
label=
" "
prop=
"ledgrp.rec.nonban"
label-width=
"120px"
style=
" float:right;"
>
<el-form-item
label=
" "
prop=
"ledgrp.rec.nonban"
label-width=
"120px"
style=
"float: right"
>
<c-checkbox
v-model=
"model.ledgrp.rec.nonban"
>
非银行发行人
</c-checkbox
>
...
...
@@ -416,8 +428,13 @@
</c-col>
<!-- Test Key Unconfirmity -->
<c-col
:span=
"24"
>
<el-form-item
label=
" "
prop=
"ledgrp.rec.teskeyunc"
label-width=
"120px"
style=
" float:right;"
>
<c-col
:span=
"24"
>
<el-form-item
label=
" "
prop=
"ledgrp.rec.teskeyunc"
label-width=
"120px"
style=
"float: right"
>
<c-checkbox
v-model=
"model.ledgrp.rec.teskeyunc"
>
测试密钥
</c-checkbox>
</el-form-item>
</c-col>
...
...
@@ -426,66 +443,81 @@
</template>
<
script
>
import
event
from
"../event"
;
import
Ptap
from
'~/views/Public/Ptap'
import
Ptap
from
"~/views/Public/Ptap"
;
export
default
{
components
:
{
'c-ptap'
:
Ptap
},
inject
:
[
'root'
],
props
:
[
'model'
,
'codes'
],
components
:
{
"c-ptap"
:
Ptap
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
event
],
data
()
{
return
{}
return
{}
;
},
watch
:
{
"model.ledgrp"
:{
watch
:
{
"model.ledgrp"
:
{
immediate
:
true
,
deep
:
true
,
handler
(
val
,
oldval
){
const
res
=
this
.
model
.
ledgrp
if
(
res
.
cbs
.
nom1
.
cur
!==
""
||
res
.
cbs
.
nom1
.
amt
!==
""
||
res
.
apl
.
pts
.
adrblk
!==
""
||
res
.
rec
.
stacty
!==
""
){
this
.
model
.
ledgrp
.
rec
.
nam
=
(
res
.
cbs
.
nom1
.
cur
.
concat
(
" "
).
concat
(
res
.
cbs
.
nom1
.
amt
).
concat
(
" "
).
concat
(
res
.
rec
.
stacty
).
concat
(
"."
).
concat
(
res
.
ben
.
pts
.
nam
)).
substring
(
0
,
40
);
}
handler
(
val
,
oldval
)
{
const
res
=
this
.
model
.
ledgrp
;
if
(
res
.
cbs
.
nom1
.
cur
!==
""
||
res
.
cbs
.
nom1
.
amt
!==
""
||
res
.
apl
.
pts
.
adrblk
!==
""
||
res
.
rec
.
stacty
!==
""
)
{
this
.
model
.
ledgrp
.
rec
.
nam
=
res
.
cbs
.
nom1
.
cur
.
concat
(
" "
)
.
concat
(
res
.
cbs
.
nom1
.
amt
)
.
concat
(
" "
)
.
concat
(
res
.
rec
.
stacty
)
.
concat
(
"."
)
.
concat
(
res
.
ben
.
pts
.
nam
)
.
substring
(
0
,
40
);
}
},
"model.ledgrp.iss"
:{
},
"model.ledgrp.iss"
:
{
immediate
:
true
,
deep
:
true
,
handler
(
val
,
oldval
){
if
(
this
.
model
.
ledgrp
.
iss
.
pts
!==
""
){
this
.
getstacty
()
}
}
handler
(
val
,
oldval
)
{
if
(
this
.
model
.
ledgrp
.
iss
.
pts
!==
""
)
{
this
.
getstacty
();
}
},
},
},
methods
:
{
apprulChange
(
v
)
{
if
(
v
!==
'OTHR'
)
{
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
''
if
(
v
!==
"OTHR"
)
{
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
""
;
}
},
async
getstacty
()
{
let
params
=
{
ptainr
:
this
.
model
.
ledgrp
.
iss
.
pts
.
ptainr
}
let
res
=
await
Api
.
post
(
'/service/letopn/stacty'
,
params
);
ptainr
:
this
.
model
.
ledgrp
.
iss
.
pts
.
ptainr
,
};
let
res
=
await
Api
.
post
(
"/service/letopn/stacty"
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
model
.
ledgrp
.
rec
.
stacty
=
res
.
data
;
}
}
}
,
},
created
:
function
()
{},
computed
:{
maxcur
(){
this
.
model
.
ledgrp
.
cbs
.
max
.
cur
=
this
.
model
.
ledgrp
.
cbs
.
nom1
.
cur
return
this
.
model
.
ledgrp
.
cbs
.
max
.
cur
computed
:
{
maxcur
()
{
this
.
model
.
ledgrp
.
cbs
.
max
.
cur
=
this
.
model
.
ledgrp
.
cbs
.
nom1
.
cur
;
return
this
.
model
.
ledgrp
.
cbs
.
max
.
cur
;
},
maxamt
()
{
this
.
model
.
ledgrp
.
cbs
.
max
.
amt
=
parseFloat
(
this
.
model
.
ledgrp
.
cbs
.
nom1
.
amt
*
(
1
+
this
.
model
.
ledgrp
.
rec
.
nomtop
/
100
)).
toFixed
(
2
)
return
this
.
model
.
ledgrp
.
cbs
.
max
.
amt
}
}
}
this
.
model
.
ledgrp
.
cbs
.
max
.
amt
=
parseFloat
(
this
.
model
.
ledgrp
.
cbs
.
nom1
.
amt
*
(
1
+
this
.
model
.
ledgrp
.
rec
.
nomtop
/
100
)
).
toFixed
(
2
);
return
this
.
model
.
ledgrp
.
cbs
.
max
.
amt
;
},
},
};
</
script
>
<
style
>
.marginLable
{
...
...
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