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
zhouqian
vue-gjjs
Commits
1f41e9ab
Commit
1f41e9ab
authored
Oct 11, 2022
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
litdav ui
parent
2f3aecec
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
100 additions
and
104 deletions
+100
-104
Davp.vue
src/views/Business/Litdav/Davp.vue
+3
-8
index.vue
src/views/Business/Litdav/index.vue
+92
-85
Coninfp.vue
src/views/Public/Coninfp.vue
+3
-9
Doctre.vue
src/views/Public/Doctre.vue
+2
-2
No files found.
src/views/Business/Litdav/Davp.vue
View file @
1f41e9ab
<
template
>
<div
class=
"eibs-tab"
>
<!-- =====================左========================== -->
<el-col
:span=
"1
1
"
>
<el-col
:span=
"1
2"
class=
"col-left
"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"信用证编号"
prop=
"lidgrp.rec.ownref"
>
<c-fullbox>
...
...
@@ -16,7 +16,6 @@
style=
"margin: 0 10px 0 10px; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
""
>
<span
style=
"font-family: '宋体'; font-weight: bold"
>
i
</span>
</c-button>
...
...
@@ -112,7 +111,6 @@
style=
"margin: 0 10px 0 10px; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
""
>
<span
style=
"font-family: '宋体'; font-weight: bold"
>
i
</span>
</c-button>
...
...
@@ -145,7 +143,7 @@
</c-col>
</el-col>
<!-- ========================右======================= -->
<el-col
:span=
"1
1"
:offset=
"1
"
>
<el-col
:span=
"1
2"
class=
"col-right
"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"简略信息"
prop=
"lidgrp.rec.nam"
>
<c-input
...
...
@@ -160,10 +158,9 @@
<el-form-item
label=
"申请人参考号"
prop=
"brdgrp.apl.pts.ref"
>
<c-input
disabled
v-model=
"model.brdgrp.apl.pts.ref"
maxlength=
"16"
placeholder=
"请输入申请人"
:disabled=
"true"
></c-input>
v-model=
"model.brdgrp.apl.pts.ref"
maxlength=
"16"
placeholder=
"请输入申请人"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"申请人名称"
prop=
"brdgrp.apl.pts.nam"
>
<c-input
:disabled=
"true"
v-model=
"model.brdgrp.apl.pts.nam"
maxlength=
"40"
placeholder=
"请输入名称"
></c-input>
...
...
@@ -225,7 +222,6 @@
style=
"margin: 0 10px 0 10px; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
""
>
<span
style=
"font-family: '宋体'; font-weight: bold"
>
i
</span>
</c-button>
...
...
@@ -233,7 +229,6 @@
style=
"margin: 0 0"
size=
"small"
type=
"primary"
@
click=
""
>
获取
</c-button>
...
...
src/views/Business/Litdav/index.vue
View file @
1f41e9ab
<
template
>
<c-page
title=
"进口信用证通知"
>
<div
class=
"eContainer"
>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"left"
size=
"small"
:validate-on-rule-change=
"false"
>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"left"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000045 name="davp"-->
<el-tab-pane
label=
"收到通知"
name=
"davp"
>
<c-content>
<m-davp
:model=
"model"
:codes=
"codes"
/>
<m-davp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000139 -->
<el-tab-pane
v-if=
" this.model.brdgrp.rec.advtyp == '750' "
label=
"不符点通知"
name=
"mt750p"
>
<el-tab-pane
v-if=
"this.model.brdgrp.rec.advtyp == '750'"
label=
"不符点通知"
name=
"mt750p"
>
<c-content>
<m-mt750p
:model=
"model"
:codes=
"codes"
/>
<m-mt750p
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane
v-if=
" this.model.brdgrp.rec.advtyp == '754' "
label=
"付款通知"
name=
"mt754p"
>
<el-tab-pane
v-if=
"this.model.brdgrp.rec.advtyp == '754'"
label=
"付款通知"
name=
"mt754p"
>
<c-content>
<m-mt754p
:model=
"model"
:codes=
"codes"
/>
<m-mt754p
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000213 -->
<el-tab-pane
v-if=
" this.model.brdgrp.rec.advtyp == 'OTH' "
label=
"其他通知"
name=
"othadvtypp"
>
<el-tab-pane
v-if=
"this.model.brdgrp.rec.advtyp == 'OTH'"
label=
"其他通知"
name=
"othadvtypp"
>
<c-content>
<m-othadvtypp
:model=
"model"
:codes=
"codes"
/>
<m-othadvtypp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"表外记账"
name=
"engp"
>
<!--PD000001 -->
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"结算"
name=
"setpan"
>
<el-tab-pane
label=
"费用/账务"
name=
"engp,setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
<el-collapse
v-model=
"fyzw"
>
<el-collapse-item
title=
"表外记账"
name=
"engp"
>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<el-collapse-item
title=
"结算"
name=
"setpan"
>
<!-- 结算 -->
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</el-collapse>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"
附言"
name=
"coninfp"
>
<el-tab-pane
label=
"备查/
附言"
name=
"coninfp"
>
<c-content>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane
label=
"报文和
面函"
name=
"docpan"
>
<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>
<!--PD000546 -->
<el-tab-pane
label=
"附件"
name=
"doctre"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<el-tab-pane
label=
"附件信息"
name=
"doctre"
>
<c-content>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
</c-function-btn>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
...
...
@@ -91,23 +110,18 @@
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Litdav
from
"~/model/Litdav"
import
commonProcess
from
"~/mixin/commonProcess"
import
commonFuncs
from
"~/mixin/commonFuncs"
import
Check
from
"~/model/Litdav/Check"
import
Default
from
"~/model/Litdav/Default"
import
Pattern
from
"~/model/Litdav/Pattern"
import
Davp
from
"./Davp"
//import Setpan from "./Setpan"
// import Coninfp from "./Coninfp"
//import Docpan from "./Docpan"
// import Doctre from "./Doctre"
// import Limitbody from "./Limitbody"
import
Mt750p
from
"./Mt750p"
import
Mt754p
from
"./Mt754p"
import
Othadvtypp
from
"./Othadvtypp"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Litdav
from
"~/model/Litdav"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Litdav/Check"
;
import
Default
from
"~/model/Litdav/Default"
;
import
Pattern
from
"~/model/Litdav/Pattern"
;
import
Davp
from
"./Davp"
;
import
Mt750p
from
"./Mt750p"
;
import
Mt754p
from
"./Mt754p"
;
import
Othadvtypp
from
"./Othadvtypp"
;
import
Utils
from
"~/utils"
;
//import Glepan from "~/views/Public/Glepan";
...
...
@@ -118,62 +132,55 @@ import Coninfp from "~/views/Public/Coninfp";
import
Doctre
from
"~/views/Public/Doctre"
;
import
Limitbody
from
"./Limitbody"
;
export
default
{
name
:
"Litdav"
,
components
:{
"m-davp"
:
Davp
,
"m-engp"
:
Engp
,
"m-setpan"
:
Setpan
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-limitbody"
:
Limitbody
,
"m-mt750p"
:
Mt750p
,
"m-mt754p"
:
Mt754p
,
"m-othadvtypp"
:
Othadvtypp
,
name
:
"Litdav"
,
components
:
{
"m-davp"
:
Davp
,
"m-engp"
:
Engp
,
"m-setpan"
:
Setpan
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-limitbody"
:
Limitbody
,
"m-mt750p"
:
Mt750p
,
"m-mt754p"
:
Mt754p
,
"m-othadvtypp"
:
Othadvtypp
,
},
provide
()
{
return
{
root
:
this
}
root
:
this
,
};
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"
"
,
tabVal
:
"davp
"
,
trnName
:
"litdav"
,
model
:
new
Litdav
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{...
CodeTable
},
}
},
methods
:{
codes
:
{
...
CodeTable
},
fyzw
:
[
'engp'
]
};
},
created
:
async
function
(){
methods
:
{},
created
:
async
function
()
{
console
.
log
(
"进入litdav交易"
);
let
rtnmsg
=
await
this
.
init
(
this
.
$route
.
query
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
let
rtnmsg
=
await
this
.
init
(
this
.
$route
.
query
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//更新数据
this
.
updateModel
(
rtnmsg
.
data
);
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
},
};
</
script
>
<
style
>
</
style
>
src/views/Public/Coninfp.vue
View file @
1f41e9ab
<!-- 附言公共页面 -->
<
template
>
<div
class=
"eibs-tab"
>
<c-row>
<c-col
:span=
"24"
>
<c-col
:span=
"15"
>
<el-form-item
style=
"height: 200px"
label=
"一般提示"
label-width=
"70px"
prop=
"mtabut.coninf.oitinf.oit.inftxt"
>
<c-input-xml
...
...
@@ -24,7 +24,6 @@
<c-col
:span=
"7"
:offset=
"1"
>
<el-form-item
label=
"提示类型"
label-width=
"70px"
prop=
"mtabut.coninf.oitinf.oit.inflev"
>
<c-select
...
...
@@ -43,7 +42,6 @@
<el-form-item
label=
"付款提示"
style=
"height: 200px"
label-width=
"70px"
prop=
"mtabut.coninf.oitset.oit.inftxt"
>
<c-input-xml
...
...
@@ -61,7 +59,6 @@
<c-col
:span=
"7"
:offset=
"1"
>
<el-form-item
label=
"提示类型"
label-width=
"70px"
prop=
"mtabut.coninf.oitset.oit.inflev"
>
<c-select
...
...
@@ -77,12 +74,11 @@
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"15"
>
<el-form-item
label=
"执行日期"
label-width=
"70px"
prop=
"mtabut.coninf.conexedat"
>
<el-form-item
label=
"执行日期"
prop=
"mtabut.coninf.conexedat"
>
<c-date-picker
type=
"date"
v-model=
"model.mtabut.coninf.conexedat"
style=
"width: 60%,margin-left:70px"
placeholder=
"请选择执行日期"
></c-date-picker>
</el-form-item>
...
...
@@ -90,14 +86,11 @@
<c-col
:span=
"7"
:offset=
"1"
>
<el-form-item
label=
"指定复核人"
label-width=
"80px"
style=
"display:inline-block"
prop=
"mtabut.coninf.usr.extkey"
>
<c-input
v-model=
"model.mtabut.coninf.usr.extkey"
maxlength=
"8"
disabled=
"disabled"
placeholder=
"请输入用户编码"
...
...
@@ -106,6 +99,7 @@
</c-col>
</c-col>
</c-row>
</div>
</
template
>
<
script
>
// 附言页签,勿改
...
...
src/views/Public/Doctre.vue
View file @
1f41e9ab
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"24"
style=
"height: 24px"
>
<c-col
:span=
"24"
style=
"height: 24px
;margin-bottom: 20px;
"
>
<el-form-item
label=
"发出面函/报文"
class=
"messageLabel"
></el-form-item>
</c-col>
<c-col
:span=
"24"
style=
"height: 0px"
>
...
...
@@ -31,7 +31,7 @@
</c-istream-table-docpan>
</c-col>
<c-col
:span=
"24"
style=
"height: 24px;margin-top: 20px;"
>
<c-col
:span=
"24"
style=
"height: 24px;margin-top: 20px;
;margin-bottom: 20px;
"
>
<el-form-item
label=
"前置面函/报文"
class=
"messageLabel"
></el-form-item>
</c-col>
<c-col
:span=
"24"
style=
"height: 0px"
>
...
...
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