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
7d1b3b6d
Commit
7d1b3b6d
authored
Nov 02, 2021
by
zhengxiaokui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bdtudp
parent
3e2712aa
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
336 additions
and
249 deletions
+336
-249
Brlip.vue
src/views/Business/Bdtudp/Brlip.vue
+117
-78
Docpre.vue
src/views/Business/Bdtudp/Docpre.vue
+100
-66
Mt754p.vue
src/views/Business/Bdtudp/Mt754p.vue
+0
-0
Payp.vue
src/views/Business/Bdtudp/Payp.vue
+0
-0
Shpdet.vue
src/views/Business/Bdtudp/Shpdet.vue
+2
-2
index.vue
src/views/Business/Bdtudp/index.vue
+117
-103
No files found.
src/views/Business/Bdtudp/Brlip.vue
View file @
7d1b3b6d
<
template
>
<div
class=
"eibs-tab"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"Externally Displayed Name to Identify the Contract"
prop=
"didgrp.rec.nam"
>
<c-input
v-model=
"model.didgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入Externally Displayed Name to Identify the Contract"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"信用证金额"
prop=
"didgrp.cbs.nom1.cur"
>
<c-select
v-model=
"model.didgrp.cbs.nom1.cur"
style=
"width:100%"
placeholder=
"请选择信用证金额"
>
</c-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"信用证金额"
prop=
"didgrp.cbs.nom1.amt"
>
<c-input
v-model=
"model.didgrp.cbs.nom1.amt"
placeholder=
"请输入信用证金额"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"指定银行"
prop=
"didgrp.avbnam"
>
<c-input
v-model=
"model.didgrp.avbnam"
maxlength=
"40"
placeholder=
"请输入指定银行"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"兑付方式"
prop=
"didgrp.rec.avbby"
>
<c-select
v-model=
"model.didgrp.rec.avbby"
style=
"width:100%"
placeholder=
"请选择兑付方式"
>
</c-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<span
v-text=
"model.bdtp.zchday"
data-path=
".bdtp.zchday"
>
</span>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"Shipment Date"
prop=
"didgrp.rec.shpdat"
>
<c-date-picker
type=
"date"
v-model=
"model.didgrp.rec.shpdat"
style=
"width:100%"
placeholder=
"请选择Shipment Date"
></c-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"开证日期"
prop=
"didgrp.rec.opndat"
>
<c-date-picker
type=
"date"
v-model=
"model.didgrp.rec.opndat"
style=
"width:100%"
placeholder=
"请选择开证日期"
></c-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"到期日/到期地点"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rec.expplc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入到期日/到期地点"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"信用证类型"
prop=
"didgrp.rec.lcrtyp"
>
<c-select
v-model=
"model.didgrp.rec.lcrtyp"
style=
"width:100%"
placeholder=
"请选择信用证类型"
>
</c-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"信用证概要"
prop=
"didgrp.rec.nam"
>
<c-input
v-model=
"model.didgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入Externally Displayed Name to Identify the Contract"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"信用证金额"
prop=
"didgrp.cbs.nom1.cur"
>
<c-select
v-model=
"model.didgrp.cbs.nom1.cur"
placeholder=
"币种"
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
""
label-width=
"-20px !important"
prop=
"didgrp.cbs.nom1.amt"
>
<c-input
v-model=
"model.didgrp.cbs.nom1.amt"
placeholder=
"请输入信用证金额"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"指定银行"
prop=
"didgrp.avbnam"
>
<c-input
v-model=
"model.didgrp.avbnam"
maxlength=
"40"
placeholder=
"请输入指定银行"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"兑付方式"
prop=
"didgrp.rec.avbby"
>
<c-select
v-model=
"model.didgrp.rec.avbby"
style=
"width: 100%"
placeholder=
"请选择兑付方式"
>
</c-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<span
v-text=
"model.bdtp.zchday"
data-path=
".bdtp.zchday"
>
</span>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"Shipment Date"
prop=
"didgrp.rec.shpdat"
>
<c-date-picker
type=
"date"
v-model=
"model.didgrp.rec.shpdat"
style=
"width: 100%"
placeholder=
"请选择Shipment Date"
></c-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"开证日期"
prop=
"didgrp.rec.opndat"
>
<c-date-picker
type=
"date"
v-model=
"model.didgrp.rec.opndat"
style=
"width: 100%"
placeholder=
"请选择开证日期"
></c-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"到期日/到期地点"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rec.expplc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入到期日/到期地点"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"信用证类型"
prop=
"didgrp.rec.lcrtyp"
>
<c-select
v-model=
"model.didgrp.rec.lcrtyp"
style=
"width: 100%"
placeholder=
"请选择信用证类型"
>
</c-select>
</el-form-item>
</el-col>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Bdtudp/Event"
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Bdtudp/Event"
;
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
(){
return
{
}
},
methods
:{...
Event
},
created
:
function
(){
}
}
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
()
{
return
{};
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
src/views/Business/Bdtudp/Docpre.vue
View file @
7d1b3b6d
<
template
>
<div
class=
"eibs-tab"
>
<el-col
:span=
"12"
>
<c-checkbox
v-model=
"model.bddgrp.rec.igndisflg"
>
Ignore Discrepancies
</c-checkbox>
</el-col>
<el-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onDocdisButtxmsel"
>
...
<c-row>
<c-col
:span=
"6"
>
<c-checkbox
v-model=
"model.bddgrp.rec.igndisflg"
>
Ignore Discrepancies
</c-checkbox
>
</c-col>
<c-col
:span=
"6"
>
<c-checkbox
v-model=
"model.bddgrp.rec.approvcod"
>
Documents on Approval Basis
</c-checkbox
>
</c-col>
<c-col
:span=
"6"
>
<c-checkbox
v-model=
"model.bdtp.cre752flg"
>
Create 752
</c-checkbox>
</c-col>
<c-col
:span=
"6"
>
<c-checkbox
v-model=
"model.bdtp.cre732flg"
>
Create MT 732
</c-checkbox>
</c-col>
<!--
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onDocdisButtxmsel"
>
...
</c-button>
</el-col
>
<el
-col
:span=
"12"
>
</c-col>
--
>
<c
-col
:span=
"12"
>
<el-form-item
label=
"Type of Advice Received"
prop=
"bddgrp.rec.advtyp"
>
<c-select
v-model=
"model.bddgrp.rec.advtyp"
style=
"width:100%"
placeholder=
"请选择Type of Advice Received"
>
</c-select>
<c-select
v-model=
"model.bddgrp.rec.advtyp"
style=
"width: 100%"
placeholder=
"请选择Type of Advice Received"
>
</c-select>
</el-form-item>
</el
-col>
<el
-col
:span=
"12"
>
</c
-col>
<c
-col
:span=
"12"
>
<el-form-item
label=
"不符点通知日期"
prop=
"bddgrp.rec.disdat"
>
<c-date-picker
type=
"date"
v-model=
"model.bddgrp.rec.disdat"
style=
"width:100%"
placeholder=
"请选择不符点通知日期"
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.bddgrp.rec.disdat"
style=
"width: 100%"
placeholder=
"请选择不符点通知日期"
></c-date-picker>
</el-form-item>
</el
-col>
<el
-col
:span=
"12"
>
</c
-col>
<c
-col
:span=
"12"
>
<el-form-item
label=
"Comments and Conclusions"
>
<c-input
type=
"textarea"
v-model=
"model.bddgrp.blk.comcon"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Comments and Conclusions"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<c-checkbox
v-model=
"model.bddgrp.rec.approvcod"
>
Documents on Approval Basis
</c-checkbox>
</el-col>
<el-col
:span=
"12"
>
<c-checkbox
v-model=
"model.bdtp.cre752flg"
>
Create 752
</c-checkbox>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"Further Identification"
prop=
"bdtp.furide"
>
<c-select
v-model=
"model.bdtp.furide"
style=
"width:100%"
placeholder=
"请选择Further Identification"
>
</c-select>
<c-input
type=
"textarea"
v-model=
"model.bddgrp.blk.comcon"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Comments and Conclusions"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<c-checkbox
v-model=
"model.bdtp.cre732flg"
>
Create MT 732
</c-checkbox>
</el-col>
<el-col
:span=
"12"
>
</c-col>
<c-col
:span=
"12"
>
<span
v-text=
"model.bdtp.docgrdm.docdsclab"
data-path=
".bdtp.docgrdm.docdsclab"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"到期付款确认备注"
>
<c-input
type=
"textarea"
v-model=
"model.bddgrp.blk.accrmk"
maxlength=
"65"
show-word-limit
placeholder=
"请输入到期付款确认备注"
></c-input>
<c-input
type=
"textarea"
v-model=
"model.bddgrp.blk.accrmk"
maxlength=
"65"
show-word-limit
placeholder=
"请输入到期付款确认备注"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Further Identification"
prop=
"bdtp.furide"
>
<c-select
v-model=
"model.bdtp.furide"
style=
"width: 100%"
placeholder=
"请选择Further Identification"
>
</c-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<span
v-text=
"model.bdtp.docgrdm.docdsclab"
data-path=
".bdtp.docgrdm.docdsclab"
>
</span>
</el-col>
</c-col>
</c-row>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Bdtudp/Event"
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Bdtudp/Event"
;
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
(){
return
{
}
},
methods
:{...
Event
},
created
:
function
(){
}
}
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
()
{
return
{};
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
src/views/Business/Bdtudp/Mt754p.vue
View file @
7d1b3b6d
This diff is collapsed.
Click to expand it.
src/views/Business/Bdtudp/Payp.vue
View file @
7d1b3b6d
This diff is collapsed.
Click to expand it.
src/views/Business/Bdtudp/Shpdet.vue
View file @
7d1b3b6d
...
...
@@ -117,11 +117,11 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<
!--
<
el-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onShppDet"
>
Details
</c-button>
</el-col>
</el-col>
-->
<el-col
:span=
"12"
>
<el-form-item
label=
"名称"
>
...
...
src/views/Business/Bdtudp/index.vue
View file @
7d1b3b6d
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"100px"
size=
"small"
>
<c-tabs
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000032 -->
<el-tab-pane
label=
"PD000032"
name=
"payp"
>
<m-payp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane
label=
"PD000147"
name=
"mt754p"
>
<m-mt754p
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000139 -->
<el-tab-pane
label=
"PD000139"
name=
"mt750p"
>
<m-mt750p
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000137 -->
<el-tab-pane
label=
"PD000137"
name=
"ovwp"
>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000062 -->
<el-tab-pane
label=
"PD000062"
name=
"docpre"
>
<m-docpre
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000079 -->
<el-tab-pane
label=
"PD000079"
name=
"shpdet"
>
<m-shpdet
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000168 -->
<el-tab-pane
label=
"PD000168"
name=
"brlip"
>
<m-brlip
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000213 -->
<el-tab-pane
label=
"PD000213"
name=
"othadvtypp"
>
<m-othadvtypp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<c-page
title=
"国内证承兑"
>
<div
class=
"eContainer bdtudp"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"100px"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
:value=
"initPane"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000032 -->
<el-tab-pane
label=
"内容"
name=
"payp"
>
<m-payp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000147 -->
<!--
<el-tab-pane
label=
"PD000147"
name=
"mt754p"
>
<m-mt754p
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--PD000139 -->
<!--
<el-tab-pane
label=
"PD000139"
name=
"mt750p"
>
<m-mt750p
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--PD000137 -->
<!--
<el-tab-pane
label=
"PD000137"
name=
"ovwp"
>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--PD000062 -->
<el-tab-pane
label=
"不符点"
name=
"docpre"
>
<m-docpre
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000079 -->
<el-tab-pane
label=
"明细"
name=
"shpdet"
>
<m-shpdet
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000168 -->
<el-tab-pane
label=
"信用证内容"
name=
"brlip"
>
<m-brlip
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000213 -->
<!--
<el-tab-pane
label=
"PD000213"
name=
"othadvtypp"
>
<m-othadvtypp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</c-tabs>
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
</el-form>
</div>
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Bdtudp
from
"~/model/Bdtudp"
import
CommonProcess
from
"~/mixin/CommonProcess"
import
Pattern
from
"~/model/Bdtudp/Pattern"
import
Payp
from
"./Payp"
import
Mt754p
from
"./Mt754p"
import
Mt750p
from
"./Mt750p"
import
Ovwp
from
"./Ovwp"
import
Docpre
from
"./Docpre"
import
Shpdet
from
"./Shpdet"
import
Brlip
from
"./Brlip"
import
Othadvtypp
from
"./Othadvtypp"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Bdtudp
from
"~/model/Bdtudp"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
Pattern
from
"~/model/Bdtudp/Pattern"
;
import
Payp
from
"./Payp"
;
//import Mt754p from "./Mt754p";
//import Mt750p from "./Mt750p";
//import Ovwp from "./Ovwp";
import
Docpre
from
"./Docpre"
;
import
Shpdet
from
"./Shpdet"
;
import
Brlip
from
"./Brlip"
;
//import Othadvtypp from "./Othadvtypp";
export
default
{
components
:{
"m-payp"
:
Payp
,
"m-mt754p"
:
Mt754p
,
"m-mt750p"
:
Mt750p
,
"m-ovwp"
:
Ovwp
,
"m-docpre"
:
Docpre
,
"m-shpdet"
:
Shpdet
,
"m-brlip"
:
Brlip
,
"m-othadvtypp"
:
Othadvtypp
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
CommonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
model
:
new
Bdtudp
().
data
,
// defaultRule:Default,
// rules:this.mergeRules(Pattern,Check),
rules
:
Pattern
,
codes
:{
},
}
},
methods
:{
tabClick
(){
}
},
created
:
async
function
(){
console
.
log
(
"进入bdtudp交易"
);
let
rtnmsg
=
await
Api
.
post
(
"bdtudp/init"
,{
params
:{}})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
components
:
{
"m-payp"
:
Payp
,
//"m-mt754p": Mt754p,
//"m-mt750p": Mt750p,
//"m-ovwp": Ovwp,
"m-docpre"
:
Docpre
,
"m-shpdet"
:
Shpdet
,
"m-brlip"
:
Brlip
,
//"m-othadvtypp": Othadvtypp,
},
provide
()
{
return
{
root
:
this
,
};
},
mixins
:
[
CommonProcess
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
initPane
:
"payp"
,
model
:
new
Bdtudp
().
data
,
// defaultRule:Default,
// rules:this.mergeRules(Pattern,Check),
rules
:
Pattern
,
codes
:
{},
};
},
methods
:
{
tabClick
()
{},
},
created
:
async
function
()
{
console
.
log
(
"进入bdtudp交易"
);
let
rtnmsg
=
await
Api
.
post
(
"bdtudp/init"
,
{
params
:
{}
});
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
},
};
</
script
>
<
style
>
.bdtudp
.el-form-item
.el-form-item__label
{
width
:
200px
!important
;
}
.bdtudp
.el-form-item
.el-form-item__content
{
margin
:
0
50px
0
200px
!important
;
}
</
style
>
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