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
ad65c4a2
Commit
ad65c4a2
authored
Jun 27, 2023
by
huxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
litrog
parent
aa0a13ac
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
55 additions
and
32 deletions
+55
-32
buildCommons.js
src/business/litrog/event/buildCommons.js
+3
-0
index.js
src/business/litrog/event/index.js
+26
-8
check.js
src/business/litrog/model/check.js
+16
-16
index.js
src/business/litrog/model/index.js
+3
-0
Rog.vue
src/business/litrog/views/Rog.vue
+2
-2
index.vue
src/business/litrog/views/index.vue
+0
-1
Cbs.js
src/model/Public/Cbs.js
+5
-5
No files found.
src/business/litrog/event/buildCommons.js
View file @
ad65c4a2
...
@@ -28,6 +28,9 @@ export default {
...
@@ -28,6 +28,9 @@ export default {
if
(
model
.
lidgrp
.
ben
.
pts
.
extkey
)
{
if
(
model
.
lidgrp
.
ben
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
lidgrp
.
ben
));
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
lidgrp
.
ben
));
}
}
if
(
model
.
lidgrp
.
rog
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
lidgrp
.
rog
));
}
let
dataObj
=
{
let
dataObj
=
{
rec
:
{
rec
:
{
objtyp
:
'LID'
,
objtyp
:
'LID'
,
...
...
src/business/litrog/event/index.js
View file @
ad65c4a2
...
@@ -22,7 +22,12 @@ export default {
...
@@ -22,7 +22,12 @@ export default {
...
doctre
,
...
doctre
,
async
init
()
{
async
init
()
{
const
params
=
{
const
params
=
{
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
))
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
)),
lidgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
inr
}
}
}
}
const
res
=
await
Api
.
post
(
'/service/litrog/init'
,
{
const
res
=
await
Api
.
post
(
'/service/litrog/init'
,
{
...
params
,
...
params
,
...
@@ -95,18 +100,31 @@ export default {
...
@@ -95,18 +100,31 @@ export default {
queryFormData
(
key
)
{
queryFormData
(
key
)
{
console
.
log
(
key
);
console
.
log
(
key
);
},
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
// 获取提货担保编号
async
queryOwnref
()
{
async
queryShgref
()
{
let
params
=
{
ptainr
:
this
.
model
.
lidgrp
.
apl
.
pts
.
ptainr
,
businessType
:
'SG'
,
tbl
:
'SG'
,
};
const
loading
=
this
.
loading
();
let
res
=
await
Api
.
post
(
'/service/litrog/getSgRef'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
loading
.
close
();
this
.
model
.
brdgrp
.
rec
.
shgref
=
res
.
data
;
}
},
// 获取单据编号
async
Butgetref
(){
let
params
=
{
let
params
=
{
ptainr
:
this
.
model
.
gidgrp
.
apl
.
pts
.
ptainr
,
lid
:
this
.
model
.
lidgrp
.
rec
,
businessType
:
'LC'
,
brd
:
this
.
model
.
brdgrp
.
rec
,
tbl
:
'LC'
,
};
};
const
loading
=
this
.
loading
();
const
loading
=
this
.
loading
();
let
res
=
await
Api
.
post
(
'/service/lit
ame/getOwnR
ef'
,
params
);
let
res
=
await
Api
.
post
(
'/service/lit
rog/butgetr
ef'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
if
(
res
.
respCode
==
SUCCESS
)
{
loading
.
close
();
loading
.
close
();
this
.
model
.
gi
dgrp
.
rec
.
ownref
=
res
.
data
;
this
.
model
.
br
dgrp
.
rec
.
ownref
=
res
.
data
;
}
}
},
},
// 获取gitopn弹框表格数据
// 获取gitopn弹框表格数据
...
...
src/business/litrog/model/check.js
View file @
ad65c4a2
...
@@ -304,21 +304,21 @@ export default {
...
@@ -304,21 +304,21 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
{
max
:
1
,
message
:
"长度不能超过1"
}
],
],
"mtabut.coninf.oitinf.oit.inftxt"
:[
//
"mtabut.coninf.oitinf.oit.inftxt":[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
//
{type: "string", required: false, message: "必输项"},
{
max
:
60
,
message
:
"长度不能超过60"
}
//
{max: 60,message:"长度不能超过60"}
],
//
],
"mtabut.coninf.oitset.oit.inftxt"
:[
//
"mtabut.coninf.oitset.oit.inftxt":[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
//
{type: "string", required: false, message: "必输项"},
{
max
:
60
,
message
:
"长度不能超过60"
}
//
{max: 60,message:"长度不能超过60"}
],
//
],
"mtabut.coninf.conexedat"
:[
//
"mtabut.coninf.conexedat":[
{
type
:
"string"
,
required
:
false
,
message
:
"输入正确的日期"
}
//
{type: "string", required: false, message: "输入正确的日期"}
],
//
],
"mtabut.coninf.usr.extkey"
:[
//
"mtabut.coninf.usr.extkey":[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
//
{type: "string", required: false, message: "必输项"},
{
max
:
8
,
message
:
"长度不能超过8"
}
//
{max: 8,message:"长度不能超过8"}
],
//
],
"trnmod.trndoc.advnam"
:[
"trnmod.trndoc.advnam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
{
max
:
50
,
message
:
"长度不能超过50"
}
...
@@ -474,7 +474,7 @@ export default {
...
@@ -474,7 +474,7 @@ export default {
"addbcb.pwtyp9"
:
null
,
"addbcb.pwtyp9"
:
null
,
"brdgrp.shp.adrelc"
:
null
,
"brdgrp.shp.adrelc"
:
null
,
"addbcb.ameadvrmk"
:
null
,
"addbcb.ameadvrmk"
:
null
,
"mtabut.coninf.conexedat"
:
null
,
//
"mtabut.coninf.conexedat": null,
"liaall.limmod.limpts.nonrevflg2"
:
null
,
"liaall.limmod.limpts.nonrevflg2"
:
null
,
"liaall.limmod.limpts.nonrevflg1"
:
null
,
"liaall.limmod.limpts.nonrevflg1"
:
null
,
"addbcb.preexpdat"
:
null
,
"addbcb.preexpdat"
:
null
,
...
...
src/business/litrog/model/index.js
View file @
ad65c4a2
...
@@ -51,6 +51,9 @@ export default class Litrog {
...
@@ -51,6 +51,9 @@ export default class Litrog {
},
},
apl
:
{
apl
:
{
pts
:
new
Pts
().
data
,
pts
:
new
Pts
().
data
,
},
rog
:
{
pts
:
new
Pts
().
data
,
}
}
},
},
number
:
''
,
number
:
''
,
...
...
src/business/litrog/views/Rog.vue
View file @
ad65c4a2
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
></c-input>
></c-input>
<template
slot=
"footer"
>
<template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"queryShgref"
>
获取
获取
</c-button>
</c-button>
</
template
>
</
template
>
...
@@ -190,7 +190,7 @@
...
@@ -190,7 +190,7 @@
placeholder=
"请输入单据编号"
placeholder=
"请输入单据编号"
></c-input>
></c-input>
<
template
slot=
"footer"
>
<
template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"Butgetref"
>
获取
获取
</c-button>
</c-button>
</
template
>
</
template
>
...
...
src/business/litrog/views/index.vue
View file @
ad65c4a2
...
@@ -48,7 +48,6 @@
...
@@ -48,7 +48,6 @@
<m-setmod
<m-setmod
:model=
"model"
:model=
"model"
:codes=
"codes"
:codes=
"codes"
@
changeSetmodModel=
"changeSetmodModel"
/>
/>
</c-content>
</c-content>
</el-tab-pane>
</el-tab-pane>
...
...
src/model/Public/Cbs.js
View file @
ad65c4a2
...
@@ -3,23 +3,23 @@ export default class Cbs {
...
@@ -3,23 +3,23 @@ export default class Cbs {
this
.
data
=
{
this
.
data
=
{
nom1
:
{
nom1
:
{
cur
:
""
,
// Currency .xxxgrp.cbs.nom1.cur
cur
:
""
,
// Currency .xxxgrp.cbs.nom1.cur
amt
:
""
,
// 信用证金额 .xxxgrp.cbs.nom1.amt
amt
:
0
,
// 信用证金额 .xxxgrp.cbs.nom1.amt
},
},
max
:
{
max
:
{
cur
:
""
,
// Currency .xxxgrp.cbs.max.cur
cur
:
""
,
// Currency .xxxgrp.cbs.max.cur
amt
:
""
,
// 信用证最大金额 .xxxgrp.cbs.max.amt
amt
:
0
,
// 信用证最大金额 .xxxgrp.cbs.max.amt
},
},
max2
:
{
max2
:
{
cur
:
""
,
// Additional Amount .xxxgrp.cbs.max2.cur
cur
:
""
,
// Additional Amount .xxxgrp.cbs.max2.cur
amt
:
""
,
// Additional Amount .xxxgrp.cbs.max2.amt
amt
:
0
,
// Additional Amount .xxxgrp.cbs.max2.amt
},
},
opn2
:
{
opn2
:
{
cur
:
""
,
// Open Add. Amount .xxxgrp.cbs.opn2.cur
cur
:
""
,
// Open Add. Amount .xxxgrp.cbs.opn2.cur
amt
:
""
,
// Open Add. Amount .xxxgrp.cbs.opn2.amt
amt
:
0
,
// Open Add. Amount .xxxgrp.cbs.opn2.amt
},
},
opn1
:
{
opn1
:
{
cur
:
""
,
// Open Add. Amount .xxxgrp.cbs.opn1.cur
cur
:
""
,
// Open Add. Amount .xxxgrp.cbs.opn1.cur
amt
:
""
,
// Open Add. Amount .xxxgrp.cbs.opn1.amt
amt
:
0
,
// Open Add. Amount .xxxgrp.cbs.opn1.amt
},
},
}
}
}
}
...
...
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