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
e7977683
Commit
e7977683
authored
Oct 26, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:litrog check修复
parent
6e2c38b6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
104 additions
and
146 deletions
+104
-146
buildCommons.js
src/business/litrog/event/buildCommons.js
+11
-11
index.js
src/business/litrog/event/index.js
+9
-9
check.js
src/business/litrog/model/check.js
+0
-0
index.js
src/business/litrog/model/index.js
+6
-5
Addbcb.vue
src/business/litrog/views/Addbcb.vue
+17
-17
Addbcb1.vue
src/business/litrog/views/Addbcb1.vue
+10
-13
Ovwp.vue
src/business/litrog/views/Ovwp.vue
+18
-17
Rog.vue
src/business/litrog/views/Rog.vue
+14
-49
index.vue
src/business/litrog/views/index.vue
+19
-25
No files found.
src/business/litrog/event/buildCommons.js
View file @
e7977683
export
default
{
buildPtspta
(
ptsptaObj
)
{
buildPtspta
(
ptsptaObj
)
{
let
pts
=
ptsptaObj
.
pts
;
let
ptspta
=
{
rol
:
pts
.
rol
,
...
...
@@ -17,7 +17,7 @@ export default {
};
return
ptspta
;
},
buildCommonData
(
model
,
trnName
)
{
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
[];
if
(
model
.
lidgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
lidgrp
.
apl
));
...
...
@@ -66,7 +66,7 @@ export default {
};
return
dataObj
},
buildSetfeg
(
model
,
trnName
)
{
buildSetfeg
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaall
:
model
.
liaall
,
...
...
@@ -75,7 +75,7 @@ export default {
};
return
params
},
buildSetglg
(
model
,
trnName
)
{
buildSetglg
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
setfeg
:
model
.
setmod
.
setfeg
,
...
...
@@ -84,7 +84,7 @@ export default {
};
return
params
},
buildGlentry
(
model
,
trnName
)
{
buildGlentry
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaallg
:
model
.
liaall
.
liaallg
,
...
...
@@ -94,20 +94,20 @@ export default {
};
return
params
},
buildEngp
(
model
,
trnName
)
{
buildEngp
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaallg
:
model
.
liaall
.
liaallg
,
};
return
params
},
buildDocpan
(
model
,
trnName
)
{
buildDocpan
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
};
return
params
},
buildCcvpan
(
model
,
trnName
)
{
buildCcvpan
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaccvg
:
model
.
liaccv
.
liaccvg
,
...
...
@@ -117,7 +117,7 @@ export default {
};
return
params
},
buildLimitbody
(
model
,
trnName
)
{
buildLimitbody
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
...
...
@@ -128,7 +128,7 @@ export default {
};
return
params
},
buildDoctre
(
model
,
trnName
)
{
buildDoctre
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
...
...
@@ -141,7 +141,7 @@ export default {
return
params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts
(
model
,
trnName
,
setglg
)
{
buildSetgllAccts
(
model
,
trnName
,
setglg
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
setglg
...
...
src/business/litrog/event/index.js
View file @
e7977683
...
...
@@ -20,21 +20,21 @@ export default {
...
ccvpan
,
...
limitbody
,
...
doctre
,
async
init
()
{
async
init
()
{
const
params
=
{
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
)),
trninr
:
this
.
$route
.
query
.
trninr
,
}
if
(
typeof
(
this
.
$route
.
query
.
inr
)
==
'string'
)
{
if
(
typeof
(
this
.
$route
.
query
.
inr
)
==
'string'
)
{
params
.
spt
=
null
}
const
res
=
await
Api
.
post
(
'/service/litrog/init'
,
{
...
params
,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
lidgrp
:
{
rec
:
{
inr
:
this
.
$route
.
query
.
inr
lidgrp
:
{
rec
:
{
inr
:
this
.
$route
.
query
.
inr
}
}
});
...
...
@@ -48,7 +48,7 @@ export default {
this
.
copyValueFromVoData
(
this
.
model
.
setmod
.
setglg
,
res
.
data
.
setglg
)
},
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData
(
model
,
data
)
{
copyValueFromVoData
(
model
,
data
)
{
let
keysList
=
Object
.
keys
(
model
)
keysList
.
map
((
key
)
=>
{
if
(
data
[
key
])
{
...
...
@@ -120,7 +120,7 @@ export default {
}
},
// 获取单据编号
async
Butgetref
()
{
async
Butgetref
()
{
let
params
=
{
lid
:
this
.
model
.
lidgrp
.
rec
,
brd
:
this
.
model
.
brdgrp
.
rec
,
...
...
@@ -160,7 +160,7 @@ export default {
purposChange
(
key
,
value
)
{
this
.
handleChangeForm
(
key
,
value
);
},
buildLiaccv
()
{
buildLiaccv
()
{
let
params
=
{
...
buildFn
.
buildCommonData
(
this
.
model
,
this
.
trnName
),
liaccvg
:
this
.
model
.
liaccv
.
liaccvg
,
...
...
@@ -172,7 +172,7 @@ export default {
return
params
},
// 公共组件setmod处理方式改变触发联动
changeSetmodModel
(
emitParams
)
{
changeSetmodModel
(
emitParams
)
{
let
reqParams
=
{}
switch
(
emitParams
.
code
)
{
case
'processMethods'
:
...
...
src/business/litrog/model/check.js
View file @
e7977683
This diff is collapsed.
Click to expand it.
src/business/litrog/model/index.js
View file @
e7977683
import
Pts
from
'~/components/business/commonModel/Pts'
;
import
Pub
from
'~/components/business/commonModel/index.js'
;
export
default
class
Litrog
{
constructor
()
{
this
.
data
=
{
...
...
@@ -40,7 +41,7 @@ export default class Litrog {
inr
:
''
,
pntinr
:
''
,
pnttyp
:
''
,
ver
:
''
,
ver
:
''
,
etyextkey
:
''
,
},
cbs
:
{
...
...
@@ -78,7 +79,7 @@ export default class Litrog {
lidgrp
:
{
rec
:
{
branchinr
:
''
,
inr
:
''
,
inr
:
''
,
revflg
:
''
,
expdat
:
''
,
expplc
:
''
,
...
...
@@ -101,13 +102,13 @@ export default class Litrog {
}
},
avbnam
:
''
,
apl
:
{
apl
:
{
pts
:
new
Pts
().
data
,
},
adv
:
{
adv
:
{
pts
:
new
Pts
().
data
,
},
ben
:
{
ben
:
{
pts
:
new
Pts
().
data
,
},
},
...
...
src/business/litrog/views/Addbcb.vue
View file @
e7977683
...
...
@@ -4,40 +4,40 @@
<!-- 备查表 -->
<el-collapse-item
title=
"备查表"
name=
"addbcb1"
>
<m-addbcb1
:model=
"model"
:codes=
"codes"
/>
<m-addbcb1
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<!-- 附言 -->
<el-collapse-item
title=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</el-collapse>
</div>
</
template
>
<
script
>
import
event
from
'../event'
import
Addbcb1
from
'./Addbcb1'
;
import
Coninfp
from
'~/components/business/coninfp/views'
;
</
template
>
<
script
>
import
event
from
'../event'
import
Addbcb1
from
'./Addbcb1'
;
import
Coninfp
from
'~/components/business/coninfp/views'
;
export
default
{
export
default
{
components
:
{
'm-coninfp'
:
Coninfp
,
'm-addbcb1'
:
Addbcb1
,
},
inject
:
[
'root'
],
props
:[
'model'
,
'codes'
],
props
:
[
'model'
,
'codes'
],
mixins
:
[
event
],
data
()
{
data
()
{
return
{
activeNames
:
[
'addbcb1'
],
}
},
methods
:
{},
created
:
function
()
{
methods
:
{},
created
:
function
()
{
}
}
</
script
>
<
style
>
}
</
script
>
<
style
>
</
style
>
\ No newline at end of file
</
style
>
\ No newline at end of file
src/business/litrog/views/Addbcb1.vue
View file @
e7977683
...
...
@@ -2,10 +2,10 @@
<div
class=
"eibs"
>
<c-col
:span=
"12"
style=
"padding-right: 20px;"
>
<el-form-item
label=
"贸易金融部意见"
prop=
"addbcb.label5"
>
<div
v-text=
""
data-path=
".addbcb.label1"
>
1、申请人与我行已签署贸易融资协议(如需);
</div>
<div
v-text=
""
data-path=
".addbcb.label2"
>
2、申请人已提交全套业务所需资料;
</div>
<div
v-text=
""
data-path=
".addbcb.label3"
>
3、申请书要素齐全并已签章,签章已经核符﹔
</div>
<div
v-text=
""
data-path=
".addbcb.label4"
>
4、占用授信额度的开证业务;
</div>
<div
v-text=
""
data-path=
".addbcb.label1"
>
1、申请人与我行已签署贸易融资协议(如需);
</div>
<div
v-text=
""
data-path=
".addbcb.label2"
>
2、申请人已提交全套业务所需资料;
</div>
<div
v-text=
""
data-path=
".addbcb.label3"
>
3、申请书要素齐全并已签章,签章已经核符﹔
</div>
<div
v-text=
""
data-path=
".addbcb.label4"
>
4、占用授信额度的开证业务;
</div>
<c-select
v-model=
"model.addbcb.label5"
style=
"width: 100%"
...
...
@@ -16,25 +16,22 @@
</c-col>
<c-col
:span=
"12"
>
<span
v-text=
"model.addbcb.label6"
data-path=
".addbcb.label6"
>
</span>
<span
v-text=
"model.addbcb.label6"
data-path=
".addbcb.label6"
>
</span>
</c-col>
</div>
</
template
>
<
script
>
import
event
from
'../event'
export
default
{
inject
:
[
'root'
],
props
:[
'model'
,
'codes'
],
props
:
[
'model'
,
'codes'
],
mixins
:
[
event
],
data
(){
return
{
}
data
()
{
return
{}
},
methods
:
{},
created
:
function
()
{
methods
:
{},
created
:
function
()
{
}
}
</
script
>
...
...
src/business/litrog/views/Ovwp.vue
View file @
e7977683
...
...
@@ -2,43 +2,43 @@
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
>
<el-collapse-item
title=
"提货担保"
name=
"rog"
>
<m-rog
:model=
"model"
:codes=
"codes"
/>
<m-rog
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<el-collapse-item
title=
"装运详情"
name=
"shpdet"
>
<!-- 详情 -->
<m-shpdet
:model=
"model"
:codes=
"codes"
/>
<m-shpdet
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</el-collapse>
</div>
</
template
>
<
script
>
import
event
from
'../event'
import
Rog
from
'./Rog'
import
Shpdet
from
'./Shpdet'
;
</
template
>
<
script
>
import
event
from
'../event'
import
Rog
from
'./Rog'
import
Shpdet
from
'./Shpdet'
;
export
default
{
export
default
{
components
:
{
'm-shpdet'
:
Shpdet
,
'm-rog'
:
Rog
,
'm-rog'
:
Rog
,
},
inject
:
[
'root'
],
props
:[
'model'
,
'codes'
],
props
:
[
'model'
,
'codes'
],
mixins
:
[
event
],
data
()
{
data
()
{
return
{
activeNames
:
[
'rog'
],
}
},
methods
:
{},
created
:
function
()
{
methods
:
{},
created
:
function
()
{
}
}
</
script
>
<
style
>
}
</
script
>
<
style
>
</
style
>
</
style
>
\ No newline at end of file
src/business/litrog/views/Rog.vue
View file @
e7977683
...
...
@@ -37,7 +37,8 @@
<c-col
:span=
"4"
>
<c-checkbox
disabled
v-model=
"model.brtp.aammod.addamtflg"
>
附加金额
</c-checkbox
>
附加金额
</c-checkbox
>
</c-col>
...
...
@@ -64,7 +65,8 @@
<c-col
:span=
"4"
>
<c-checkbox
disabled
v-model=
"model.lidgrp.rec.revflg"
>
循环信用证
</c-checkbox
>
循环信用证
</c-checkbox
>
</c-col>
...
...
@@ -97,7 +99,8 @@
disabled
v-model=
"model.lidgrp.rec.redclsflg"
style=
"margin-left: 25px; padding: 0 10px"
>
红/绿条款
</c-checkbox
>
红/绿条款
</c-checkbox
>
</c-col>
...
...
@@ -371,44 +374,6 @@
</el-form-item>
</c-col>
<!-- <c-col :span="24">-->
<!-- <el-form-item label="地址编码" prop="brdgrp.prb.pts.extkey">-->
<!-- <c-fullbox>-->
<!-- <c-input-->
<!-- v-model="model.brdgrp.prb.pts.extkey"-->
<!-- maxlength="16"-->
<!-- placeholder="请输入地址编码"-->
<!-- ></c-input>-->
<!-- <template slot="footer">-->
<!-- <c-button-->
<!-- style="margin: 0 5px 0 10px; padding: 0 12px"-->
<!-- size="small"-->
<!-- type="primary"-->
<!-- icon="el-icon-info"-->
<!-- >-->
<!-- </c-button>-->
<!-- <c-button style="margin: 0 0" size="small" type="primary">-->
<!-- 详情-->
<!-- </c-button>-->
<!-- </template>-->
<!-- </c-fullbox>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<!-- <c-col :span="24">-->
<!-- <el-form-item label="地址信息" prop="brdgrp.prb.pts.adrblk">-->
<!-- <c-input-->
<!-- :rows="5"-->
<!-- type="textarea"-->
<!-- v-model="model.brdgrp.prb.pts.adrblk"-->
<!-- maxlength="200"-->
<!-- show-word-limit-->
<!-- placeholder="请输入地址信息"-->
<!-- ></c-input>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
...
...
@@ -427,7 +392,6 @@
</c-ptap>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"发票类型"
prop=
"brdgrp.rec.invtyp"
>
<c-select
...
...
@@ -447,27 +411,28 @@ import event from '../event';
import
Ptap
from
"~/views/Public/Ptap"
;
export
default
{
components
:
{
"c-ptap"
:
Ptap
},
components
:
{
"c-ptap"
:
Ptap
},
inject
:
[
'root'
],
props
:
[
'model'
,
'codes'
],
mixins
:
[
event
],
data
()
{
return
{};
},
watch
:{
"model.brdgrp"
:{
watch
:
{
"model.brdgrp"
:
{
immediate
:
true
,
deep
:
true
,
handler
(
val
,
oldval
)
{
handler
(
val
,
oldval
)
{
const
res
=
this
.
model
.
brdgrp
if
(
res
.
cbs
.
max
.
cur
!==
""
||
res
.
cbs
.
max
.
amt
!==
""
||
res
.
apl
.
pts
.
nam
!==
""
)
{
this
.
model
.
brdgrp
.
rec
.
nam
=
(
res
.
cbs
.
max
.
cur
.
concat
(
" "
).
concat
(
res
.
cbs
.
max
.
amt
).
concat
(
" "
).
concat
(
res
.
apl
.
pts
.
nam
)).
substring
(
0
,
40
);
if
(
res
.
cbs
.
max
.
cur
!==
""
||
res
.
cbs
.
max
.
amt
!==
""
||
res
.
apl
.
pts
.
nam
!==
""
)
{
this
.
model
.
brdgrp
.
rec
.
nam
=
(
res
.
cbs
.
max
.
cur
.
concat
(
" "
).
concat
(
res
.
cbs
.
max
.
amt
).
concat
(
" "
).
concat
(
res
.
apl
.
pts
.
nam
)).
substring
(
0
,
40
);
}
}
}
},
methods
:
{},
created
:
function
()
{},
created
:
function
()
{
},
};
</
script
>
<
style
>
...
...
src/business/litrog/views/index.vue
View file @
e7977683
...
...
@@ -38,7 +38,7 @@
<el-tab-pane
label=
"表外记账"
name=
"engp"
>
<c-content>
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
...
...
@@ -55,7 +55,7 @@
<!--PD000027 -->
<el-tab-pane
label=
"会计分录"
name=
"glepan"
>
<c-content>
<m-glentry
:model=
"model"
:codes=
"codes"
/>
<m-glentry
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
...
...
@@ -69,14 +69,14 @@
<!--PD000529 -->
<el-tab-pane
label=
"报文/面函"
name=
"docpan"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"附件信息"
name=
"doctre"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
...
...
@@ -105,13 +105,8 @@ import Litrog from '../model'
import
formRules
from
'../model/check'
;
import
operationFunc
from
'~/mixin/operationFunc'
;
import
event
from
'../event'
;
import
Ovwp
from
'./Ovwp'
import
Ovwp
from
'./Ovwp'
import
Addbcb
from
'./Addbcb'
//mport Coninfp from '~/views/Public/Coninfp'
import
Engp
from
'~/components/business/engp/views'
;
import
Ccvpan
from
'~/components/business/ccvpan/views'
;
import
Coninfp
from
'~/components/business/coninfp/views'
;
...
...
@@ -120,35 +115,35 @@ import Doctre from '~/components/business/doctre/views';
import
Setmod
from
'~/components/business/setmod/views'
;
import
Glentry
from
'~/components/business/glentry/views'
;
import
Limitbody
from
'~/components/business/limitbody/views'
;
export
default
{
name
:
'Litrog'
,
components
:
{
components
:
{
'm-engp'
:
Engp
,
'm-ccvpan'
:
Ccvpan
,
'm-engp'
:
Engp
,
'm-ccvpan'
:
Ccvpan
,
'm-coninfp'
:
Coninfp
,
// 'm-coninfp' : Coninfp,
'm-docpan'
:
Docpan
,
'm-doctre'
:
Doctre
,
'm-addbcb'
:
Addbcb
,
'm-docpan'
:
Docpan
,
'm-doctre'
:
Doctre
,
'm-addbcb'
:
Addbcb
,
'm-setmod'
:
Setmod
,
'm-glentry'
:
Glentry
,
'm-limitbody'
:
Limitbody
,
'm-ovwp'
:
Ovwp
,
'm-limitbody'
:
Limitbody
,
'm-ovwp'
:
Ovwp
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
operationFunc
,
event
],
// 里面包含了Default、Check等的公共处理
data
()
{
mixins
:
[
operationFunc
,
event
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
'ovwp'
,
trnName
:
'litrog'
,
model
:
new
Litrog
().
data
,
rules
:
formRules
,
codes
:
{...
CodeTable
},
codes
:
{...
CodeTable
},
activeNames
:
[
'engp'
],
promptData
:
{
title
:
'Select a Party'
,
...
...
@@ -194,9 +189,8 @@ export default {
},
}
},
methods
:{
},
mounted
()
{
methods
:
{},
mounted
()
{
this
.
init
()
},
...
...
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