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
0b9627c4
Commit
0b9627c4
authored
Dec 29, 2021
by
wangbinfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
fbeda824
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
103 additions
and
469 deletions
+103
-469
Check.js
src/model/Cltdav/Check.js
+0
-5
Default.js
src/model/Cltdav/Default.js
+0
-13
Event.js
src/model/Cltdav/Event.js
+0
-97
Pattern.js
src/model/Cltdav/Pattern.js
+2
-93
index.js
src/model/Cltdav/index.js
+1
-72
BusRouter.js
src/views/Business/BusRouter.js
+9
-0
Sel.vue
src/views/Business/Cltdav/Sel.vue
+54
-98
index.vue
src/views/Business/Cltdav/index.vue
+26
-91
SideMenu.vue
src/views/Layout/SideMenu.vue
+11
-0
No files found.
src/model/Cltdav/Check.js
View file @
0b9627c4
...
...
@@ -5,16 +5,11 @@ import Utils from "~/utils"
*/
let
checkObj
=
{
"cldgrp.rec.valdat"
:
null
,
"cldgrp.blk.setins"
:
null
,
"cur"
:
null
,
"cltp.colp.ptsget.sdamod.dadsnd"
:
null
,
"setmod.dspflg"
:
null
,
"cldgrp.rec.credat"
:
null
,
"cldgrp.col.pts.nam"
:
null
,
"cldgrp.col.pts.extkey"
:
null
,
"cldgrp.rec.ownref"
:
null
,
"mtabut.coninf.conexedat"
:
null
,
"setmod.docamt"
:
null
,
"amount"
:
null
,
"cldgrp.rec.colflg"
:
null
,
}
...
...
src/model/Cltdav/Default.js
View file @
0b9627c4
...
...
@@ -6,26 +6,13 @@ import Api from "~/service/Api";
import
Utils
from
"~/utils/index"
export
default
{
"modflg"
:
Utils
.
defaultFunction
,
"cldgrp.col.pts.extkey"
:
Utils
.
defaultFunction
,
"cur"
:
Utils
.
defaultFunction
,
"cldgrp.rec.colflg"
:
Utils
.
defaultFunction
,
"cldgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"rowcntr"
:
Utils
.
defaultFunction
,
"setmod.doccur"
:
Utils
.
defaultFunction
,
"setmod.dspflg"
:
Utils
.
defaultFunction
,
"setmod.docamt"
:
Utils
.
defaultFunction
,
"trnmod.trndoc.condocstm"
:
Utils
.
defaultFunction
,
"trnmod.trndoc.shwinc"
:
Utils
.
defaultFunction
,
"trnmod.trndoc.shwout"
:
Utils
.
defaultFunction
,
"cldgrp.col.pts.nam"
:
Utils
.
defaultFunction
,
"mtabut.coninf.usr.extkey"
:
Utils
.
defaultFunction
,
"cldgrp.rec.count"
:
Utils
.
defaultFunction
,
"amount"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inftxt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inflev"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitinf.oit.inftxt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitinf.oit.inflev"
:
Utils
.
defaultFunction
,
"mtabut.coninf.conexedat"
:
Utils
.
defaultFunction
,
}
//你可以添加自动default处理
src/model/Cltdav/Event.js
View file @
0b9627c4
...
...
@@ -38,101 +38,5 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButshw
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butshw"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButadd
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butadd"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButnew
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butnew"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButattto
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butattto"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButdel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butdel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButatt
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butatt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetmodDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetinsButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"setins.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/model/Cltdav/Pattern.js
View file @
0b9627c4
...
...
@@ -13,10 +13,10 @@ export default {
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"cldgrp.rec.valdat"
:[
{
type
:
"date"
,
required
:
true
,
message
:
"必输项
"
}
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期
"
}
],
"cldgrp.rec.credat"
:[
{
type
:
"date"
,
required
:
true
,
message
:
"必输项
"
}
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期
"
}
],
"rowcntr"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -64,94 +64,4 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"trnmod.trndoc.advnam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
],
"trnmod.trndoc.amdapl"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
],
"trnmod.trndoc.advdoc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"trnmod.trndoc.filrecv"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"trnmod.trndoc.doctrestm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"trnmod.trndoc.condocstm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"trnmod.trndoc.rcvatt.seainf"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"mtabut.coninf.oitinf.oit.inftxt"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
"mtabut.coninf.oitset.oit.inftxt"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
"mtabut.coninf.conexedat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"mtabut.coninf.usr.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
8
,
message
:
"长度不能超过8"
}
],
"setmod.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"setmod.docamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"setmod.zmqacc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"cldgrp.rec.acno"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"cldgrp.blk.setins"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
65
,
message
:
"长度不能超过65"
}
],
}
\ No newline at end of file
src/model/Cltdav/index.js
View file @
0b9627c4
import
Api
from
"~/service/Api"
import
Pts
from
"../Common/Pts"
import
Pub
from
"../Public"
export
default
class
Cltdav
{
constructor
()
{
this
.
data
=
{
liaall
:
new
Pub
().
data
.
Liaall
,
cldgrp
:{
rec
:{
ownref
:
""
,
// Batch No. .cldgrp.rec.ownref
...
...
@@ -15,15 +14,10 @@ export default class Cltdav{
count
:
""
,
// ITEM COUNT .cldgrp.rec.count
colref
:
""
,
// COLL BANK REF .cldgrp.rec.colref
nam
:
""
,
// Name of CC contract .cldgrp.rec.nam
creact
:
""
,
// Credit to Account .cldgrp.rec.creact
acno
:
""
,
// A/C NO. .cldgrp.rec.acno
},
col
:{
pts
:
new
Pts
().
data
,
},
blk
:{
setins
:
""
,
// Settlement Instructions .cldgrp.blk.setins
},
},
rowcntr
:
""
,
// Total Row Count .rowcntr
cur
:
""
,
// currency .cur
...
...
@@ -41,71 +35,6 @@ export default class Cltdav{
},
},
colmet
:
""
,
// Collection Method .colmet
trnmod
:{
trndoc
:{
advlabel
:
""
,
// ADVLABEL .trnmod.trndoc.advlabel
amdnam
:
""
,
// AMDNAM .trnmod.trndoc.amdnam
advdoc
:
""
,
// 国内证通知书 .trnmod.trndoc.advdoc
advnam
:
""
,
// 国内证落款 .trnmod.trndoc.advnam
amdapl
:
""
,
// 修改申请人名称 .trnmod.trndoc.amdapl
doclbl
:
""
,
// Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm
:
""
,
// Document tree .trnmod.trndoc.doctrestm
shwinc
:
""
,
// Show Incoming Messages .trnmod.trndoc.shwinc
shwout
:
""
,
// Show Outgoing Messages .trnmod.trndoc.shwout
condocstm
:
""
,
// Connected Documents .trnmod.trndoc.condocstm
rcvatt
:{
seainf
:
""
,
// .trnmod.trndoc.rcvatt.seainf
},
filrecv
:
""
,
// File Receiver .trnmod.trndoc.filrecv
},
},
mtabut
:{
coninf
:{
oitinf
:{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit
:{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset
:{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit
:{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitset.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat
:
""
,
// 执行日期 .mtabut.coninf.conexedat
usr
:{
extkey
:
""
,
// User ID .mtabut.coninf.usr.extkey
},
},
},
setmod
:{
docamttyplab
:
""
,
// settled amount description as label .setmod.docamttyplab
retmsg
:
""
,
// Label showing Retry overflow condition .setmod.retmsg
ref
:
""
,
// our reference .setmod.ref
doccur
:
""
,
// document currency .setmod.doccur
docamt
:
""
,
// document amount .setmod.docamt
dspflg
:
""
,
// Type of settlement .setmod.dspflg
xreflg
:
""
,
// Recalculate Rates .setmod.xreflg
setglg
:{
labdspflg
:
""
,
// Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab
:
""
,
// 主�'�号LABEL .setmod.zmqacclab
zmqacc
:
""
,
// 自�'�区主�'�号 .setmod.zmqacc
setfog
:{
setfol
:[]
},
setfeg
:{
setfel
:[]
},
glemod
:{
gleshwstm
:
{}
},
},
modflg
:
""
,
// MODIFY .modflg
pageId
:
""
// ctx的key
}
}
...
...
src/views/Business/BusRouter.js
View file @
0b9627c4
...
...
@@ -87,6 +87,9 @@ import Ccttra from "./Ccttra"
import
Cctdcr
from
"./Cctdcr"
//import Cltdav from "./Cltdav"
import
Cctset
from
"./Cctset"
//import Clttra from "./Clttra"
/**
* 带有name的才会被添加进顶部的标签页里
*/
...
...
@@ -171,6 +174,7 @@ const BusRouter = [
{
path
:
'cltdav'
,
component
:
Cltdav
,
name
:
'Cltdav'
,
meta
:
{
title
:
'打包托收开立'
}
},
{
path
:
'cltset'
,
component
:
Cltset
,
name
:
'Cltset'
,
meta
:
{
title
:
'打包托收解包'
}
},
{
path
:
'clttra'
,
component
:
Clttra
,
name
:
'Clttra'
,
meta
:
{
title
:
'打包托收催收'
}
},
<<<<<<<
Updated
upstream
{
path
:
'bdtcan'
,
component
:
Bdtcan
,
name
:
'Bdtcan'
,
meta
:
{
title
:
'买方信用证单据注销'
}
},
{
path
:
'ditdla'
,
component
:
Ditdla
,
name
:
'Ditdla'
,
meta
:
{
title
:
'买方信用证减额接受'
}
},
...
...
@@ -180,6 +184,10 @@ const BusRouter = [
{
path
:
'bttdck'
,
component
:
Bttdck
,
name
:
'Bttdck'
,
meta
:
{
title
:
'转让信用证单据第一受益人换单'
}
},
{
path
:
'ccttra'
,
component
:
Ccttra
,
name
:
'Ccttra'
,
meta
:
{
title
:
'光票托收催收'
}
},
{
path
:
'cctdcr'
,
component
:
Cctdcr
,
name
:
'Cctdcr'
,
meta
:
{
title
:
'光票托收退票'
}
},
=======
//{ path: 'cctdav', component: Cctdav, name: 'Cctdav', meta: { title: '光票托收开立' } },
{
path
:
'cctset'
,
component
:
Cctset
,
name
:
'Cctset'
,
meta
:
{
title
:
'光票托收收汇'
}
},
>>>>>>>
Stashed
changes
]
export
default
BusRouter
\ No newline at end of file
src/views/Business/Cltdav/Sel.vue
View file @
0b9627c4
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"8"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Batch No."
prop=
"cldgrp.rec.ownref"
>
<c-input
v-model=
"model.cldgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入Reference"
disabled
></c-input>
<c-input
v-model=
"model.cldgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入Batch No."
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary;width:10%"
@
click=
"onSeainf"
>
i
</c-button>
<c-button
size=
"small"
type=
"primary"
@
click=
"onCltpButgetref"
>
获取
</c-button>
<c-button
size=
"small"
type=
"primary"
@
click=
"onGet"
>
Get Swt
Get Ref
</c-button>
</c-col>
<c-col>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Name of CC contract"
prop=
"cldgrp.rec.nam"
>
<c-input
v-model=
"model.cldgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入Name of CC contract"
></c-input>
</el-form-item>
</c-col>
<c-col>
</c-col>
<c-col
:span=
"6"
>
<el-form-item
label=
"Date of creation"
prop=
"cldgrp.rec.credat"
>
<c-date-picker
type=
"date"
v-model=
"model.cldgrp.rec.credat"
style=
"width:100%"
placeholder=
"请选择Date of creation"
></c-date-picker>
<c-col
:span=
"12"
>
<el-form-item
label=
"Payemnt Disposition"
prop=
"cldgrp.rec.colflg"
>
<c-input
v-model=
"model.cldgrp.rec.colflg"
maxlength=
"1"
placeholder=
"请输入Payemnt Disposition"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"6"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Value Date"
prop=
"cldgrp.rec.valdat"
>
<c-date-picker
type=
"date"
v-model=
"model.cldgrp.rec.valdat"
style=
"width:100%"
placeholder=
"请选择Value Date"
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.cldgrp.rec.valdat"
style=
"width:100%"
placeholder=
"请选择Value Date"
></c-date-picker>
</el-form-item>
</c-col>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"currency"
prop=
"cur"
>
<c-select
v-model=
"model.cur"
style=
"width:100%"
placeholder=
"请选择currency"
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</c-select>
<el-form-item
label=
"Date of creation"
prop=
"cldgrp.rec.credat"
>
<c-date-picker
type=
"date"
v-model=
"model.cldgrp.rec.credat"
style=
"width:100%"
placeholder=
"请选择Date of creation"
></c-date-picker>
</el-form-item>
</c-col>
-->
<c-col
:span=
"12"
>
<c-col
:span=
"10"
>
<el-form-item
label=
"Amount"
prop=
"model.cur"
>
<c-select
v-model=
"model.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
:code=
"codes.cur"
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"6"
>
<el-form-item
label=
""
label-width=
"15px"
prop=
"model.amt"
>
<c-input
v-model=
"model.amt"
placeholder=
"请输入Amount"
></c-input>
<el-form-item
label=
"Total Row Count"
prop=
"rowcntr"
>
<c-input
v-model=
"model.rowcntr"
placeholder=
"请输入Total Row Count"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Total Row Count"
prop=
"rowcntr"
>
<c-input
v-model=
"model.rowcntr"
placeholder=
"请输入Total Row Count"
disabled
></c-input>
<el-form-item
label=
"currency"
prop=
"cur"
>
<c-select
v-model=
"model.cur"
style=
"width:100%"
placeholder=
"请选择currency"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Register Ref."
prop=
"cldgrp.rec.regref"
>
<c-input
v-model=
"model.cldgrp.rec.regref"
maxlength=
"16"
placeholder=
"请输入Register Ref."
></c-input>
</el-form-item>
</c-col>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"Amount
"
prop=
"amount"
>
<el-form-item
label=
"AMOUNT
"
prop=
"amount"
>
<c-input
v-model=
"model.amount"
placeholder=
"请输入AMOUNT"
></c-input>
</el-form-item>
</c-col>
-->
<c-col
:span=
"12"
>
<el-form-item
label=
"Item Count
"
prop=
"cldgrp.rec.count"
>
<el-form-item
label=
"ITEM COUNT
"
prop=
"cldgrp.rec.count"
>
<c-input
v-model=
"model.cldgrp.rec.count"
placeholder=
"请输入ITEM COUNT"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -106,95 +82,75 @@
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onGet"
>
Get Swt
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Collection Method"
prop=
"colmet"
>
<c-select
v-model=
"model.colmet"
style=
"width:100%"
placeholder=
"请选择Collection Method"
></c-select>
<c-select
v-model=
"model.colmet"
style=
"width:100%"
placeholder=
"请选择Collection Method"
>
</c-select>
</el-form-item>
</c-col>
<c-col>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Coll Bank Ref"
prop=
"cldgrp.rec.colref
"
>
<c-input
v-model=
"model.cldgrp.rec.colref"
maxlength=
"16"
placeholder=
"请输入COLL BANK REF
"
></c-input>
<el-form-item
label=
"Drag Drop Sender"
prop=
"cltp.colp.ptsget.sdamod.dadsnd
"
>
<c-input
v-model=
"model.cltp.colp.ptsget.sdamod.dadsnd"
placeholder=
"请输入Drag Drop Sender
"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Payemnt Disposition"
prop=
"cldgrp.rec.colflg"
>
<c-select
v-model=
"model.cldgrp.rec.colflg"
maxlength=
"1"
placeholder=
"请输入Payemnt Disposition"
:code=
"codes.colflg"
></c-select>
<el-option
v-for=
"item in codes.colflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
<el-form-item
label=
"External Key of Address"
prop=
"cldgrp.col.pts.extkey"
>
<c-input
v-model=
"model.cldgrp.col.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"Extkey"
prop=
"cldgrp.col.pts.extkey"
>
<c-input
v-model=
"model.cldgrp.col.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
>
</c-input>
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"cltp.colp.ptsget.sdamod.seainf"
>
<c-input
v-model=
"model.cltp.colp.ptsget.sdamod.seainf"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
""
label-width=
"15px"
>
<c-button
size=
"small"
type=
"primary;width:10%"
@
click=
"onSeainf('cldgrp.col.pts.extkey')"
>
i
</c-button>
<c-button
size=
"small"
type=
"primary"
@
click=
"onAplpDet"
>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onColpDet"
>
Details
</c-button>
</el-form-item>
</c-col>
<c-col>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Address Block"
prop=
"cldgrp.col.pts.adrblk"
>
<c-input
type=
"textarea"
:rows=
"4"
v-model=
"model.cldgrp.col.pts.adrblk"
maxlength=
"35"
disabled
show-word-limit
placeholder=
"请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"名称"
prop=
"cldgrp.col.pts.namelc"
>
<c-input
type=
"textarea"
v-model=
"model.cldgrp.col.pts.namelc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入名称"
></c-input>
<el-form-item
label=
"Name of Party"
prop=
"cldgrp.col.pts.nam"
>
<c-input
v-model=
"model.cldgrp.col.pts.nam"
maxlength=
"40"
placeholder=
"请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"地址"
prop=
"cldgrp.col.pts.adrelc"
>
<c-input
type=
"textarea"
v-model=
"model.cldgrp.col.pts.adrelc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址"
></c-input>
<el-form-item
label=
"COLL BANK REF"
prop=
"cldgrp.rec.colref"
>
<c-input
v-model=
"model.cldgrp.rec.colref"
maxlength=
"16"
placeholder=
"请输入COLL BANK REF"
></c-input>
</el-form-item>
</c-col>
-->
<c-col>
</c-col>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Cltdav/Event"
import
Api
from
"~/service/Api"
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Cltdav/Event"
export
default
{
export
default
{
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
props
:[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
()
{
data
()
{
return
{
}
},
methods
:
{
...
Event
},
created
:
function
()
{
methods
:{...
Event
},
created
:
function
()
{
}
}
}
</
script
>
<
style
>
...
...
src/views/Business/Cltdav/index.vue
View file @
0b9627c4
<
template
>
<c-page
title=
"打包托收开立"
>
<div
class=
"eContainer"
>
<!--
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
-->
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
<el-button
size=
"small"
>
保存模板
</el-button>
<el-button
size=
"small"
>
使用模板
</el-button>
<el-button
size=
"small"
>
制裁信息
</el-button>
<el-button
size=
"small"
>
拆分报文
</el-button>
<el-button
size=
"small"
>
提示
</el-button>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"left"
size=
"small"
:validate-on-rule-change=
"false"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000002 -->
<el-tab-pane
label=
"内容"
name=
"sel"
>
<m-sel
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000057 -->
<el-tab-pane
label=
"关联账号"
name=
"account"
>
<m-account
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"费用及账务"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"表外信息"
name=
"engp"
>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"分录信息"
name=
"glepan"
>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"保证金"
name=
"ccvpan"
>
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane
label=
"面函及报文"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane
label=
"交易附件"
name=
"doctre"
>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
<el-tab-pane
label=
"PD000002"
name=
"sel"
>
<m-sel
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils/index"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Cltdav
from
"~/model/Cltdav"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CommonFuncs
from
"~/mixin/CommonFuncs"
;
import
Check
from
"~/model/Cltdav/Check"
;
import
Default
from
"~/model/Cltdav/Default"
;
import
Pattern
from
"~/model/Cltdav/Pattern"
;
import
Sel
from
"./Sel"
;
import
Account
from
"./Account"
;
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Cltdav
from
"~/model/Cltdav"
import
CommonProcess
from
"~/mixin/CommonProcess"
import
Check
from
"~/model/Cltdav/Check"
import
Default
from
"~/model/Cltdav/Default"
import
Pattern
from
"~/model/Cltdav/Pattern"
import
Sel
from
"./Sel"
import
Setpan
from
"~/views/Public/Setpan"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Engp
from
"~/views/Public/Engp"
;
import
Glepan
from
"~/views/Public/Glepan"
;
import
Ccvpan
from
"~/views/Public/Ccvpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Doctre
from
"./Doctre"
;
export
default
{
export
default
{
name
:
"Cltdav"
,
components
:
{
"m-sel"
:
Sel
,
"m-account"
:
Account
,
"m-setpan"
:
Setpan
,
"m-engp"
:
Engp
,
"m-glepan"
:
Glepan
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-coninfp"
:
Coninfp
,
"m-ccvpan"
:
Ccvpan
,
components
:{
"m-sel"
:
Sel
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
CommonProcess
],
// 里面包含了Default、Check等的公共处理
data
()
{
data
()
{
return
{
tabVal
:
""
,
trnName
:
"cltdav"
,
...
...
@@ -110,25 +42,28 @@
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{...
CodeTable
},
codes
:
{
},
}
},
methods
:
{
tabClick
()
{
methods
:
{
tabClick
()
{
}
},
created
:
async
function
()
{
created
:
async
function
()
{
console
.
log
(
"进入cltdav交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
</
script
>
<
style
>
...
...
src/views/Layout/SideMenu.vue
View file @
0b9627c4
...
...
@@ -105,11 +105,22 @@ export default {
{
inifrm
:
"lttopn"
,
ininam
:
"转让证开立"
,
pntmiu
:
"8"
},
{
inifrm
:
"lttame"
,
ininam
:
"转让证修改"
,
pntmiu
:
"8"
},
{
inifrm
:
"lttcan"
,
ininam
:
"转让证注销"
,
pntmiu
:
"8"
},
<<<<<<<
Updated
upstream
{
inifrm
:
"lttdav"
,
ininam
:
"转让信用证单据第一受益人换单"
,
pntmiu
:
"8"
},
{
inifrm
:
"bttdck"
,
ininam
:
"转让信用证通知到单"
,
pntmiu
:
"8"
},
{
inifrm
:
"9"
,
ininam
:
"光票托收"
,
pntmiu
:
""
},
{
inifrm
:
"ccttra"
,
ininam
:
"光票托收催收"
,
pntmiu
:
"9"
},
{
inifrm
:
"cctdcr"
,
ininam
:
"光票托收退票"
,
pntmiu
:
"9"
},
=======
{
inifrm
:
"9"
,
ininam
:
"打包托收"
,
pntmiu
:
""
},
{
inifrm
:
"cltdav"
,
ininam
:
"打包托收开立"
,
pntmiu
:
"9"
},
{
inifrm
:
"clttra"
,
ininam
:
"打包托收催收"
,
pntmiu
:
"9"
},
{
inifrm
:
"cltset"
,
ininam
:
"打包托收解包"
,
pntmiu
:
"9"
},
{
inifrm
:
"10"
,
ininam
:
"光票托收"
,
pntmiu
:
""
},
//{ inifrm: "cltdav", ininam: "光票托收开立", pntmiu: "10" },
//{ inifrm: "clttra", ininam: "光票托收", pntmiu: "10" },
{
inifrm
:
"cctset"
,
ininam
:
"光票托收收汇"
,
pntmiu
:
"10"
},
>>>>>>>
Stashed
changes
],
menus
:
[],
};
...
...
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