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
Show 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 {
if
(
model
.
lidgrp
.
ben
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
lidgrp
.
ben
));
}
if
(
model
.
lidgrp
.
rog
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
lidgrp
.
rog
));
}
let
dataObj
=
{
rec
:
{
objtyp
:
'LID'
,
...
...
src/business/litrog/event/index.js
View file @
ad65c4a2
...
...
@@ -22,7 +22,12 @@ export default {
...
doctre
,
async
init
()
{
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'
,
{
...
params
,
...
...
@@ -95,18 +100,31 @@ export default {
queryFormData
(
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
=
{
ptainr
:
this
.
model
.
gidgrp
.
apl
.
pts
.
ptainr
,
businessType
:
'LC'
,
tbl
:
'LC'
,
lid
:
this
.
model
.
lidgrp
.
rec
,
brd
:
this
.
model
.
brdgrp
.
rec
,
};
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
)
{
loading
.
close
();
this
.
model
.
gi
dgrp
.
rec
.
ownref
=
res
.
data
;
this
.
model
.
br
dgrp
.
rec
.
ownref
=
res
.
data
;
}
},
// 获取gitopn弹框表格数据
...
...
src/business/litrog/model/check.js
View file @
ad65c4a2
...
...
@@ -304,21 +304,21 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"mtabut.coninf.oitinf.oit.inftxt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
"mtabut.coninf.oitset.oit.inftxt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
"mtabut.coninf.conexedat"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"mtabut.coninf.usr.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
8
,
message
:
"长度不能超过8"
}
],
//
"mtabut.coninf.oitinf.oit.inftxt":[
//
{type: "string", required: false, message: "必输项"},
//
{max: 60,message:"长度不能超过60"}
//
],
//
"mtabut.coninf.oitset.oit.inftxt":[
//
{type: "string", required: false, message: "必输项"},
//
{max: 60,message:"长度不能超过60"}
//
],
//
"mtabut.coninf.conexedat":[
//
{type: "string", required: false, message: "输入正确的日期"}
//
],
//
"mtabut.coninf.usr.extkey":[
//
{type: "string", required: false, message: "必输项"},
//
{max: 8,message:"长度不能超过8"}
//
],
"trnmod.trndoc.advnam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
...
...
@@ -474,7 +474,7 @@ export default {
"addbcb.pwtyp9"
:
null
,
"brdgrp.shp.adrelc"
:
null
,
"addbcb.ameadvrmk"
:
null
,
"mtabut.coninf.conexedat"
:
null
,
//
"mtabut.coninf.conexedat": null,
"liaall.limmod.limpts.nonrevflg2"
:
null
,
"liaall.limmod.limpts.nonrevflg1"
:
null
,
"addbcb.preexpdat"
:
null
,
...
...
src/business/litrog/model/index.js
View file @
ad65c4a2
...
...
@@ -51,6 +51,9 @@ export default class Litrog {
},
apl
:
{
pts
:
new
Pts
().
data
,
},
rog
:
{
pts
:
new
Pts
().
data
,
}
},
number
:
''
,
...
...
src/business/litrog/views/Rog.vue
View file @
ad65c4a2
...
...
@@ -172,7 +172,7 @@
></c-input>
<template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"queryShgref"
>
获取
</c-button>
</
template
>
...
...
@@ -190,7 +190,7 @@
placeholder=
"请输入单据编号"
></c-input>
<
template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"Butgetref"
>
获取
</c-button>
</
template
>
...
...
src/business/litrog/views/index.vue
View file @
ad65c4a2
...
...
@@ -48,7 +48,6 @@
<m-setmod
:model=
"model"
:codes=
"codes"
@
changeSetmodModel=
"changeSetmodModel"
/>
</c-content>
</el-tab-pane>
...
...
src/model/Public/Cbs.js
View file @
ad65c4a2
...
...
@@ -3,23 +3,23 @@ export default class Cbs {
this
.
data
=
{
nom1
:
{
cur
:
""
,
// Currency .xxxgrp.cbs.nom1.cur
amt
:
""
,
// 信用证金额 .xxxgrp.cbs.nom1.amt
amt
:
0
,
// 信用证金额 .xxxgrp.cbs.nom1.amt
},
max
:
{
cur
:
""
,
// Currency .xxxgrp.cbs.max.cur
amt
:
""
,
// 信用证最大金额 .xxxgrp.cbs.max.amt
amt
:
0
,
// 信用证最大金额 .xxxgrp.cbs.max.amt
},
max2
:
{
cur
:
""
,
// Additional Amount .xxxgrp.cbs.max2.cur
amt
:
""
,
// Additional Amount .xxxgrp.cbs.max2.amt
amt
:
0
,
// Additional Amount .xxxgrp.cbs.max2.amt
},
opn2
:
{
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
:
{
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