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
6b629e97
Commit
6b629e97
authored
Jun 25, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LETNOT交易前端清理
parent
0e837c76
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
144 additions
and
79 deletions
+144
-79
Addbcb.vue
src/business/betsnd/views/Addbcb.vue
+0
-1
buildCommons.js
src/business/letnot/event/buildCommons.js
+26
-5
index.js
src/business/letnot/event/index.js
+48
-41
check.js
src/business/letnot/model/check.js
+0
-0
index.js
src/business/letnot/model/index.js
+0
-0
Addbcb.vue
src/business/letnot/views/Addbcb.vue
+1
-1
Detp.vue
src/business/letnot/views/Detp.vue
+0
-4
Ovwp.vue
src/business/letnot/views/Ovwp.vue
+1
-1
Ovwp1.vue
src/business/letnot/views/Ovwp1.vue
+0
-9
Ptyp.vue
src/business/letnot/views/Ptyp.vue
+0
-10
index.vue
src/business/letnot/views/index.vue
+48
-7
ReviewLetnot.vue
src/review/ReviewLetnot.vue
+19
-0
review.js
src/routers/modules/review.js
+1
-0
No files found.
src/business/betsnd/views/Addbcb.vue
View file @
6b629e97
...
...
@@ -10,7 +10,6 @@
<
script
>
import
event
from
"../event"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
...
...
src/business/letnot/event/buildCommons.js
View file @
6b629e97
...
...
@@ -19,15 +19,36 @@ export default {
},
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
[];
if
(
model
.
ledgrp
.
a2b
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
a2b
));
}
if
(
model
.
ledgrp
.
con
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
con
));
}
if
(
model
.
ledgrp
.
ben
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
ben
));
}
if
(
model
.
ledgrp
.
avb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
avb
));
}
if
(
model
.
ledgrp
.
iss
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
iss
));
}
if
(
model
.
ledgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
apl
));
}
if
(
model
.
ledgrp
.
drw
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
drw
));
}
if
(
model
.
ledgrp
.
apb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
apb
));
}
if
(
model
.
ledgrp
.
rmb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
rmb
));
}
if
(
model
.
ledgrp
.
adv
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
adv
));
}
if
(
model
.
ledgrp
.
ben
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
ben
));
}
let
dataObj
=
{
rec
:
{
objtyp
:
'LED'
,
...
...
@@ -121,7 +142,7 @@ export default {
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'LED'
,
objinr
:
model
.
ledgrp
.
rec
.
obj
inr
,
objinr
:
model
.
ledgrp
.
rec
.
inr
,
ownref
:
model
.
ledgrp
.
rec
.
ownref
,
},
};
...
...
@@ -132,7 +153,7 @@ export default {
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'LED'
,
objinr
:
model
.
ledgrp
.
rec
.
obj
inr
,
objinr
:
model
.
ledgrp
.
rec
.
inr
,
ownref
:
model
.
ledgrp
.
rec
.
ownref
,
// swiftflg: model.gitp.swiftflg,
},
...
...
src/business/letnot/event/index.js
View file @
6b629e97
...
...
@@ -21,7 +21,14 @@ export default {
...
doctre
,
async
init
()
{
const
params
=
{
// spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
)),
trnmod
:{
trn
:
JSON
.
parse
(
localStorage
.
getItem
(
'review_'
+
this
.
trnName
))
}
}
if
(
typeof
(
this
.
$route
.
query
.
inr
)
==
'string'
){
params
.
spt
=
null
params
.
trnmod
.
trn
=
null
}
const
loading
=
this
.
loading
();
const
res
=
await
Api
.
post
(
'/service/letnot/init'
,
{
...
...
@@ -65,7 +72,7 @@ export default {
let
engpRequest
=
buildFn
.
buildEngp
(
this
.
model
,
this
.
trnName
);
this
.
processLiaall
(
engpRequest
);
break
;
case
'set
pan
'
:
case
'set
mod
'
:
let
setfegRequest
=
buildFn
.
buildSetfeg
(
this
.
model
,
this
.
trnName
);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this
.
processSetpan
(
setfegRequest
,
()
=>
{
...
...
@@ -76,7 +83,7 @@ export default {
let
docpanRequest
=
buildFn
.
buildDocpan
(
this
.
model
,
this
.
trnName
);
this
.
processTrndoc
(
docpanRequest
);
break
;
case
'gle
pan
'
:
case
'gle
ntry
'
:
let
glentryRequest
=
buildFn
.
buildGlentry
(
this
.
model
,
this
.
trnName
);
this
.
processGlentry
(
glentryRequest
);
break
;
...
...
@@ -119,46 +126,46 @@ export default {
this
.
$set
(
this
.
model
.
ledgrp
,
row
.
role
.
toLowerCase
(),
res
.
data
);
}
},
//获取信用证编号
async
onLitpButgetref
()
{
let
params
=
{
ptainr
:
this
.
model
.
ledgrp
.
apl
.
pts
.
ptainr
,
businessType
:
'LG'
,
tbl
:
'LG'
,
};
const
loading
=
this
.
loading
();
let
res
=
await
Api
.
post
(
'/service/letnot/getOwnRef'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
loading
.
close
();
this
.
model
.
ledgrp
.
rec
.
ownref
=
res
.
data
;
}
},
// 初始化开立类型码表下拉列表
async
queryHndtypCodeTableList
(
trnName
)
{
let
params
=
{
letp
:
{
swiftflg
:
this
.
model
.
letp
.
swiftflg
,
},
ledgrp
:
{
rec
:
{
purpos
:
this
.
model
.
ledgrp
.
rec
.
purpos
,
},
},
transName
:
trnName
.
toUpperCase
(),
};
// let res = await Api.post('/service/litopn/initHndtyp', params);
// if (res.respCode == SUCCESS) {
// this.$set(this.codes, 'voHndtyp', res.data);
// }
},
//
//
获取信用证编号
//
async onLitpButgetref() {
//
let params = {
//
ptainr: this.model.ledgrp.apl.pts.ptainr,
//
businessType: 'LG',
//
tbl: 'LG',
//
};
//
const loading = this.loading();
//
let res = await Api.post('/service/letnot/getOwnRef', params);
//
if (res.respCode == SUCCESS) {
//
loading.close();
//
this.model.ledgrp.rec.ownref = res.data;
//
}
//
},
//
//
初始化开立类型码表下拉列表
//
async queryHndtypCodeTableList(trnName) {
//
let params = {
//
letp: {
//
swiftflg: this.model.letp.swiftflg,
//
},
//
ledgrp: {
//
rec: {
//
purpos: this.model.ledgrp.rec.purpos,
//
},
//
},
//
transName: trnName.toUpperCase(),
//
};
//
// let res = await Api.post('/service/litopn/initHndtyp', params);
//
// if (res.respCode == SUCCESS) {
//
// this.$set(this.codes, 'voHndtyp', res.data);
//
// }
//
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg
()
{
this
.
queryHndtypCodeTableList
(
this
.
root
.
trnName
);
},
//
handleChangeSwiftflg() {
//
this.queryHndtypCodeTableList(this.root.trnName);
//
},
// 支出目的修改--联动保函开立类型
handleChangePurpos
()
{
this
.
queryHndtypCodeTableList
(
this
.
root
.
trnName
);
},
//
handleChangePurpos() {
//
this.queryHndtypCodeTableList(this.root.trnName);
//
},
apprulChange
(
v
)
{
if
(
v
!==
'OTHR'
)
{
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
''
...
...
src/business/letnot/model/check.js
View file @
6b629e97
This diff is collapsed.
Click to expand it.
src/business/letnot/model/index.js
View file @
6b629e97
This diff is collapsed.
Click to expand it.
src/business/letnot/views/Addbcb.vue
View file @
6b629e97
<
template
>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
@
change=
"handleChange"
>
<el-collapse
v-model=
"activeNames"
>
<el-collapse-item
title=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
...
...
src/business/letnot/views/Detp.vue
View file @
6b629e97
...
...
@@ -27,8 +27,6 @@
}"
:noRef="true"
:onlySearch="true"
@onSeainf="onSeainf"
@onAplpDet="onAvbpDet"
:disabledExtkey="!avbFlag"
>
</c-ptap>
...
...
@@ -132,8 +130,6 @@
}"
:noRef=
"true"
:onlySearch=
"false"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onDrwpDet"
:disabledExtkey=
"blkDftatFlag"
:disabled=
"blkDftatFlag"
>
...
...
src/business/letnot/views/Ovwp.vue
View file @
6b629e97
<
template
>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
@
change=
"handleChange"
>
<el-collapse
v-model=
"activeNames"
>
<el-collapse-item
title=
"内容"
name=
"ovwp1"
>
<m-ovwp1
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
...
...
src/business/letnot/views/Ovwp1.vue
View file @
6b629e97
...
...
@@ -23,7 +23,6 @@
style=
"margin: 0 10px 0 0; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
"onSeainf"
>
<i
class=
"el-icon-info"
style=
"font-size:15px"
></i>
</c-button>
...
...
@@ -36,7 +35,6 @@
? false
: true
"
@
click=
"onLetpButgetref"
>
获取
</c-button>
...
...
@@ -90,7 +88,6 @@
size=
"small"
icon=
"el-icon-search"
type=
"primary"
@
click=
"onExtkey"
></c-button>
</
template
>
</c-fullbox>
...
...
@@ -379,8 +376,6 @@
rol: 'ben',
}"
:disabled=
"true"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onBenpDet"
>
</c-ptap>
</c-col>
...
...
@@ -394,8 +389,6 @@
rol: 'iss',
}"
:disabled=
"true"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onIsspDet"
>
</c-ptap>
</c-col>
...
...
@@ -409,8 +402,6 @@
rol: 'apl',
}"
:disabled=
"true"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onAplpDet"
>
</c-ptap>
</c-col>
...
...
src/business/letnot/views/Ptyp.vue
View file @
6b629e97
...
...
@@ -12,8 +12,6 @@
grp: 'ledgrp',
rol: 'adv',
}"
@onSeainf="onSeainf"
@onAplpDet="onAdvpDet"
disabled
disabledRef
disabledExtkey
...
...
@@ -30,8 +28,6 @@
grp: 'ledgrp',
rol: 'a2b',
}"
@onSeainf="onSeainf"
@onAplpDet="onA2bpDet"
>
</c-ptap>
</c-col>
...
...
@@ -61,8 +57,6 @@
grp: 'ledgrp',
rol: 'apb',
}"
@onSeainf="onSeainf"
@onAplpDet="onApbpDet"
>
</c-ptap>
</c-col>
...
...
@@ -82,8 +76,6 @@
grp: 'ledgrp',
rol: 'rmb',
}"
@onSeainf="onSeainf"
@onAplpDet="onRmbpDet"
>
</c-ptap>
</c-col>
...
...
@@ -98,8 +90,6 @@
rol: 'con',
}"
:onlySearch="true"
@onSeainf="onSeainf"
@onAplpDet="onConpDet"
disabled
disabledRef
disabledExtkey
...
...
src/business/letnot/views/index.vue
View file @
6b629e97
...
...
@@ -14,7 +14,7 @@
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"
myT
abClick"
@
tab-click=
"
t
abClick"
>
<el-tab-pane
label=
"业务信息"
name=
"ovwp"
>
<c-content>
...
...
@@ -26,10 +26,10 @@
<m-setmod
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"会计分录"
name=
"gle
pan
"
>
<el-tab-pane
label=
"会计分录"
name=
"gle
ntry
"
>
<c-content>
<!-- 会计分录 -->
<m-gle
pan
:model=
"model"
:codes=
"codes"
/>
<m-gle
ntry
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
...
...
@@ -64,7 +64,6 @@
ref=
"doxpDialog"
:isPty=
"false"
:promptData=
"promptData"
@
select-ety=
"selectMsg"
>
</c-grid-ety-prompt-dialog>
...
...
@@ -88,7 +87,7 @@ import Addbcb from './Addbcb'
import
formRules
from
'../model/check'
import
operationFunc
from
"~/mixin/operationFunc"
;
import
Setmod
from
"~/components/business/setmod/views"
;
import
Gle
pan
from
"~/components/business/glentry/views"
;
import
Gle
ntry
from
"~/components/business/glentry/views"
;
import
Docpan
from
"~/components/business/docpan/views"
;
import
Doctre
from
"~/components/business/doctre/views"
;
...
...
@@ -97,7 +96,7 @@ export default {
components
:
{
'm-ovwp'
:
Ovwp
,
'm-setmod'
:
Setmod
,
'm-gle
pan'
:
Glepan
,
'm-gle
ntry'
:
Glentry
,
'm-docpan'
:
Docpan
,
'm-doctre'
:
Doctre
,
'm-addbcb'
:
Addbcb
,
...
...
@@ -115,7 +114,49 @@ export default {
model
:
new
Letnot
().
data
,
rules
:
formRules
,
codes
:
{
...
CodeTable
},
activeNames
:
[
"setpan"
]
activeNames
:
[
"setmod"
],
promptData
:
{
title
:
'Select a Party'
,
columns
:
[
{
prop
:
'ptyInr'
,
label
:
'Party Number'
},
{
prop
:
'inr'
,
label
:
'Address Number'
},
{
prop
:
'branch'
,
label
:
'Branch Code'
},
{
prop
:
'bchName'
,
label
:
'Branch Name'
},
{
prop
:
'adrName'
,
label
:
'Address Name'
},
{
prop
:
'adr1'
,
label
:
'Address1'
},
{
prop
:
'locCty'
,
label
:
'City'
},
{
prop
:
'locZip'
,
label
:
'Zip'
},
{
prop
:
'bicCode'
,
label
:
'BIC'
}
],
data
:
[]
}
}
},
mounted
()
{
...
...
src/review/ReviewLetnot.vue
0 → 100644
View file @
6b629e97
<
template
>
<ReviewWrapper>
<Letnot></Letnot>
</ReviewWrapper>
</
template
>
<
script
>
import
Letnot
from
"~/business/letnot/views"
;
import
{
ReviewWrapper
}
from
"~/components/gj-common.min.js"
;
export
default
{
name
:
"ReviewLetnot"
,
components
:
{
ReviewWrapper
,
Letnot
},
created
()
{},
mounted
()
{},
};
</
script
>
<
style
></
style
>
src/routers/modules/review.js
View file @
6b629e97
...
...
@@ -13,5 +13,6 @@ const Business = [
{
path
:
'litdav'
,
component
:
()
=>
import
(
'~/review/ReviewLitdav.vue'
),
name
:
'litdav'
,
meta
:
{
title
:
'复核-Litdav'
}
},
{
path
:
'litsel'
,
component
:
()
=>
import
(
'~/review/ReviewLitsel.vue'
),
name
:
'litsel'
,
meta
:
{
title
:
'复核-Litsel'
}
},
{
path
:
'letopn'
,
component
:
()
=>
import
(
'~/review/ReviewLetopn.vue'
),
name
:
'letopn'
,
meta
:
{
title
:
'复核-Letopn'
}
},
{
path
:
'letnot'
,
component
:
()
=>
import
(
'~/review/ReviewLetnot.vue'
),
name
:
'letnot'
,
meta
:
{
title
:
'复核-letnot'
}
},
]
export
default
Business
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