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
d3bd6b06
Commit
d3bd6b06
authored
Aug 04, 2022
by
huangxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brtdcr页面布局和事件关联,brtacp优化
parent
4d29d148
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
568 additions
and
113 deletions
+568
-113
Pattern.js
src/model/Brtacp/Pattern.js
+6
-6
Check.js
src/model/Brtdcr/Check.js
+4
-0
Default.js
src/model/Brtdcr/Default.js
+6
-0
Event.js
src/model/Brtdcr/Event.js
+13
-0
Pattern.js
src/model/Brtdcr/Pattern.js
+62
-8
index.js
src/model/Brtdcr/index.js
+29
-3
Acpp.vue
src/views/Business/Brtacp/Acpp.vue
+5
-5
Mt750p.vue
src/views/Business/Brtacp/Mt750p.vue
+10
-7
Brtdcrd.vue
src/views/Business/Brtdcr/Brtdcrd.vue
+88
-73
Mt750p.vue
src/views/Business/Brtdcr/Mt750p.vue
+270
-0
Utlp.vue
src/views/Business/Brtdcr/Utlp.vue
+0
-0
index.vue
src/views/Business/Brtdcr/index.vue
+55
-8
Accp.vue
src/views/Business/Ditdla/Accp.vue
+7
-0
LitTemp.vue
src/views/Public/LitTemp.vue
+13
-3
No files found.
src/model/Brtacp/Pattern.js
View file @
d3bd6b06
...
...
@@ -147,12 +147,12 @@ export default {
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"brdgrp.blk.chaded"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35
"
}
//
{type: "string", required: false, message: "必输项"},
{
max
:
210
,
message
:
"长度不能超过210
"
}
],
"brdgrp.blk.chaadd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35
"
}
//
{type: "string", required: false, message: "必输项"},
{
max
:
210
,
message
:
"长度不能超过210
"
}
],
"brdgrp.rec.totcur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -188,8 +188,8 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"brdgrp.blk.docdis"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过5
0"
}
//
{type: "string", required: false, message: "必输项"},
{
max
:
3500
,
message
:
"长度不能超过350
0"
}
],
"setmod.ref"
:[
...
...
src/model/Brtdcr/Check.js
View file @
d3bd6b06
...
...
@@ -7,9 +7,11 @@ let checkObj = {
"liaall.misamt"
:
null
,
"liaall.limmod.limpts.oth.pts.extkey"
:
null
,
"liaall.limmod.ownref"
:
null
,
"brdgrp.acb.namelc"
:
null
,
"liaall.limmod.ecifno"
:
null
,
"brdgrp.prb.adrelc"
:
null
,
"brdgrp.blk.docdis"
:
null
,
"brdgrp.acb.adrelc"
:
null
,
"brtp.oth.pts.extkey"
:
null
,
"brdgrp.prb.pts.adrblk"
:
null
,
"brdgrp.prb.namelc"
:
null
,
...
...
@@ -17,10 +19,12 @@ let checkObj = {
"brdgrp.blk.disdoc"
:
null
,
"setmod.dspflg"
:
null
,
"brtp.oth.pts.adrblk"
:
null
,
"brdgrp.acb.pts.extkey"
:
null
,
"brdgrp.rec.orddat"
:
null
,
"brdgrp.prb.pts.nam"
:
null
,
"brdgrp.ben.pts.nam"
:
null
,
"liaall.limmod.limpts.wrk.pts.nam"
:
null
,
"brdgrp.acb.pts.adrblk"
:
null
,
"brdgrp.rec.advdocflg"
:
null
,
"advdisflg"
:
null
,
"brdgrp.prb.pts.extkey"
:
null
,
...
...
src/model/Brtdcr/Default.js
View file @
d3bd6b06
...
...
@@ -22,6 +22,7 @@ export default {
"trnmod.trndoc.shwinc"
:
Utils
.
defaultFunction
,
"trnmod.trndoc.shwout"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.wrk.pts.extkey"
:
Utils
.
defaultFunction
,
"brdgrp.acb.pts.adrblk"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.nonrevflg2"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.nonrevflg1"
:
Utils
.
defaultFunction
,
"brtp.oth.pts.extkey"
:
Utils
.
defaultFunction
,
...
...
@@ -29,9 +30,14 @@ export default {
"brtp.oth.namelc"
:
Utils
.
defaultFunction
,
"brtp.oth.dbfadrblkcn"
:
Utils
.
defaultFunction
,
"brdgrp.rec.advdocflg"
:
Utils
.
defaultFunction
,
"brdgrp.acb.pts.extkey"
:
Utils
.
defaultFunction
,
"brdgrp.acb.adrelc"
:
Utils
.
defaultFunction
,
"brdgrp.acb.namelc"
:
Utils
.
defaultFunction
,
"brdgrp.acb.dbfadrblkcn"
:
Utils
.
defaultFunction
,
"brtp.oth.pts.adrblk"
:
Utils
.
defaultFunction
,
"brdgrp.ben.pts.nam"
:
Utils
.
defaultFunction
,
"brdgrp.rec.docprbrol"
:
Utils
.
defaultFunction
,
"brdgrp.cbs.max2.amt"
:
Utils
.
defaultFunction
,
"brdgrp.cbs.max.amt"
:
Utils
.
defaultFunction
,
"brdgrp.apl.pts.nam"
:
Utils
.
defaultFunction
,
"brdgrp.cbs.max.cur"
:
Utils
.
defaultFunction
,
...
...
src/model/Brtdcr/Event.js
View file @
d3bd6b06
...
...
@@ -218,5 +218,17 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onAcbpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"acbp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/model/Brtdcr/Pattern.js
View file @
d3bd6b06
...
...
@@ -124,8 +124,8 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"brdgrp.prb.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35
"
}
//
{type: "string", required: true, message: "必输项"},
{
max
:
140
,
message
:
"长度不能超过140
"
}
],
"brdgrp.prb.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -157,16 +157,16 @@ export default {
],
"brdgrp.blk.disdoc"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35
"
}
//
{type: "string", required: true, message: "必输项"},
{
max
:
200
,
message
:
"长度不能超过200
"
}
],
"brtp.oth.namelc"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"brtp.oth.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35
"
}
//
{type: "string", required: true, message: "必输项"},
{
max
:
140
,
message
:
"长度不能超过140
"
}
],
"brtp.oth.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -181,8 +181,8 @@ export default {
"brdgrp.blk.docdis"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过5
0"
}
//
{type: "string", required: true, message: "必输项"},
{
max
:
3500
,
message
:
"长度不能超过350
0"
}
],
...
...
@@ -364,4 +364,57 @@ export default {
{
max
:
14
,
message
:
"长度不能超过14"
}
],
"brdgrp.cbs.max2.amt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"brdgrp.blk.chaded"
:[
//{type: "string", required: true, message: "必输项"},
{
max
:
210
,
message
:
"长度不能超过210"
}
],
"brdgrp.blk.chaadd"
:[
//{type: "string", required: true, message: "必输项"},
{
max
:
210
,
message
:
"长度不能超过210"
}
],
"brdgrp.rec.totcur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"brdgrp.rec.totamt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"brtp.acbp.ptsget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"brdgrp.acb.pts.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"brtp.acbp.ptsget.sdamod.seainf"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"brdgrp.acb.namelc"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"brdgrp.acb.pts.adrblk"
:[
//{type: "string", required: true, message: "必输项"},
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"brdgrp.acb.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"brdgrp.acb.adrelc"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
}
\ No newline at end of file
src/model/Brtdcr/index.js
View file @
d3bd6b06
...
...
@@ -20,16 +20,24 @@ export default class Brtdcr{
payrol
:
""
,
// Payer .brdgrp.rec.payrol
orddat
:
""
,
// Order Date .brdgrp.rec.orddat
advdocflg
:
""
,
// Return of Documents .brdgrp.rec.advdocflg
totcur
:
""
,
// Amount to be Paid .brdgrp.rec.totcur
totamt
:
""
,
// Total Amount to be Paid .brdgrp.rec.totamt
},
cbs
:{
max
:{
cur
:
""
,
// 单据金额 .brdgrp.cbs.max.cur
amt
:
""
,
//
单据金额
.brdgrp.cbs.max.amt
amt
:
""
,
//
Balance
.brdgrp.cbs.max.amt
},
opn1
:{
cur
:
""
,
// 单据余额 .brdgrp.cbs.opn1.cur
amt
:
""
,
// Balance .brdgrp.cbs.opn1.amt
},
opn2
:{
cur
:
""
,
// 附加金额 .brdgrp.cbs.opn2.cur
},
max2
:{
amt
:
""
,
// 附加金额 .brdgrp.cbs.max2.amt
},
},
apl
:{
pts
:
new
Pts
().
data
,
...
...
@@ -44,10 +52,19 @@ export default class Brtdcr{
dbfadrblkcn
:
""
,
// Chinese address .brdgrp.prb.dbfadrblkcn
},
blk
:{
docpre
:
""
,
disdoc
:
""
,
// Disposal of Documents .brdgrp.blk.disdoc
disdocflg
:
""
,
// Defaulted content of Disposal of Documents .brdgrp.blk.disdocflg
docdis
:
""
,
//
Discrepancies
.brdgrp.blk.docdis
docdis
:
""
,
//
不符点
.brdgrp.blk.docdis
docdisflg
:
""
,
// discrepancies modified .brdgrp.blk.docdisflg
chaded
:
""
,
// Charges Deducted .brdgrp.blk.chaded
chaadd
:
""
,
// Charges Added .brdgrp.blk.chaadd
},
acb
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .brdgrp.acb.namelc
adrelc
:
""
,
// 地址 .brdgrp.acb.adrelc
dbfadrblkcn
:
""
,
// Chinese address .brdgrp.acb.dbfadrblkcn
},
},
lidgrp
:{
...
...
@@ -101,8 +118,17 @@ export default class Brtdcr{
},
},
docgrdm
:{
docgrd
:
""
,
docdsclab
:
""
,
// Label of document description .brtp.docgrdm.docdsclab
},
acbp
:{
ptsget
:{
sdamod
:{
seainf
:
""
,
// .brtp.acbp.ptsget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .brtp.acbp.ptsget.sdamod.dadsnd
},
},
},
},
advrefflg
:
""
,
// Advice of Refusal MT734 .advrefflg
refdocflg
:
""
,
// Refund Document Amount .refdocflg
...
...
@@ -110,7 +136,7 @@ export default class Brtdcr{
rejpenins
:
""
,
// Rejection pending instructions .rejpenins
rejtype
:
""
,
// 退单方式 .rejtype
swtdat
:
""
,
// SWIFT message dated .swtdat
setmod
:
new
Pub
().
data
.
Setmod
,
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
...
...
src/views/Business/Brtacp/Acpp.vue
View file @
d3bd6b06
...
...
@@ -105,11 +105,11 @@
placeholder=
"请选择Currency"
>
<el-option
v-for=
"item in cur
"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
v-for=
"item in codes.curtxt1
"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
...
...
src/views/Business/Brtacp/Mt750p.vue
View file @
d3bd6b06
...
...
@@ -6,10 +6,10 @@
<c-col
:span=
"13"
>
<el-form-item
label=
"Document Amount"
prop=
"brdgrp.cbs.
opn2
.cur"
prop=
"brdgrp.cbs.
max
.cur"
>
<c-select
v-model=
"model.brdgrp.cbs.
opn2
.cur"
v-model=
"model.brdgrp.cbs.
max
.cur"
style=
"width: 100%"
placeholder=
"请选择附加金额"
disabled
...
...
@@ -41,9 +41,9 @@
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"Drawn Add.Amount"
prop=
"brdgrp.cbs.
opn
2.cur"
>
<el-form-item
label=
"Drawn Add.Amount"
prop=
"brdgrp.cbs.
max
2.cur"
>
<c-select
v-model=
"model.brdgrp.cbs.
opn
2.cur"
v-model=
"model.brdgrp.cbs.
max
2.cur"
style=
"width: 100%"
placeholder=
"请选择附加金额"
disabled
...
...
@@ -135,7 +135,8 @@
<c-input
type=
"textarea"
v-model=
"model.brdgrp.blk.chaded"
maxlength=
"35"
maxlength=
"210"
:rows=
"4"
show-word-limit
placeholder=
"请输入Charges Deducted"
disabled
...
...
@@ -148,7 +149,8 @@
<c-input
type=
"textarea"
v-model=
"model.brdgrp.blk.chaadd"
maxlength=
"35"
maxlength=
"210"
:rows=
"4"
show-word-limit
placeholder=
"请输入Charges Added"
disabled
...
...
@@ -161,7 +163,8 @@
<c-input
type=
"textarea"
v-model=
"model.brdgrp.blk.docdis"
maxlength=
"50"
maxlength=
"3500"
:rows=
"8"
show-word-limit
placeholder=
"请输入不符点"
disabled
...
...
src/views/Business/Brtdcr/Brtdcrd.vue
View file @
d3bd6b06
<
template
>
<div
class=
"eibs-tab"
>
<c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Discrepancies"
prop=
"brdgrp.blk.docdis"
>
<c-fullbox>
<c-input
type=
"textarea"
v-model=
"model.brdgrp.blk.docdis"
maxlength=
"50"
maxlength=
"3500"
:rows=
"8"
show-word-limit
placeholder=
"请输入Discrepancies"
></c-input>
<template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onDocdisButtxmsel"
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"showGridPromptDialog('brtp.docdis.buttxmsel', null, null,
{TXT: 'brdgrp.blk.docdis'}, {TXT: false},'doxpDialog')"
>
...
</c-button>
...
...
@@ -25,13 +25,25 @@
<c-col
:span=
"12"
>
<el-form-item>
<c-checkbox
v-model=
"model.brdgrp.blk.docdisflg"
<c-checkbox
disabled
v-model=
"model.brdgrp.blk.docdisflg"
>
discrepancies modified
</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-docpre
:model=
"model"
:argadr=
"{
path: 'brdgrp.blk.docpre',
grp: 'brtp',
code: 'docpre',
}"
></c-docpre>
</c-col>
<c-col
:span=
"24"
style=
"height: 24px; margin-top: -10px"
>
<
!-- <
c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.brtp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float:right" @click="addTableValue" type="primary">新增单据</c-button>
</el-form-item>
...
...
@@ -50,7 +62,6 @@
<el-table-column label="2nd" prop="cmail2" width="auto"></el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!--
{{
scope
.
row
.
docnam
}}
-->
<c-select
style="width: 100%"
placeholder="请选择"
...
...
@@ -74,7 +85,7 @@
</template>
</el-table-column>
</c-table>
</c-col>
</c-col>
-->
</div>
</template>
<
script
>
...
...
@@ -82,80 +93,84 @@ import Api from "~/service/Api";
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Brtdcr/Event"
;
import
Docpre
from
"~/views/Public/Docpre"
;
export
default
{
components
:
{
"c-docpre"
:
Docpre
,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
TableValue
:[
{
id
:
0
,
cmail1
:
""
,
cmail2
:
""
,
docnam
:
"10"
},
{
id
:
1
,
cmail1
:
""
,
cmail2
:
""
,
docnam
:
"20"
},
{
id
:
2
,
cmail1
:
""
,
cmail2
:
""
,
docnam
:
"17"
},
],
newValue
:{
id
:
0
,
cmail1
:
""
,
cmail2
:
""
,
docnam
:
""
},
codeTable
:[
{
label
:
"Airway Bills"
,
value
:
"1"
},
{
label
:
"Beneficiary's Declaration"
,
value
:
"2"
},
{
label
:
"Bill of Lading Copies"
,
value
:
"3"
},
{
label
:
"Bill of Lading Originals"
,
value
:
"4"
},
{
label
:
"Certificate"
,
value
:
"5"
},
{
label
:
"Certificate of Analysis"
,
value
:
"6"
},
{
label
:
"Certificate of Origin"
,
value
:
"7"
},
{
label
:
"Certificate of Quality"
,
value
:
"8"
},
{
label
:
"Certificate of Quantity"
,
value
:
"9"
},
{
label
:
"Commercial Invoice"
,
value
:
"10"
},
{
label
:
"Courier Receipt"
,
value
:
"11"
},
{
label
:
"Draft"
,
value
:
"12"
},
{
label
:
"Export Licence"
,
value
:
"13"
},
{
label
:
"Fax Report"
,
value
:
"14"
},
{
label
:
"Inspection Cert"
,
value
:
"15"
},
{
label
:
"Insurance Policy"
,
value
:
"16"
},
{
label
:
"Packing List"
,
value
:
"17"
},
{
label
:
"Shipment Advice"
,
value
:
"18"
},
{
label
:
"Weight List"
,
value
:
"19"
},
{
label
:
"Original Bills of Lading"
,
value
:
"20"
},
]
//
TableValue:[
//
{
//
id:0,
//
cmail1:"",
//
cmail2:"",
//
docnam:"10"
//
},
//
{
//
id:1,
//
cmail1:"",
//
cmail2:"",
//
docnam:"20"
//
},
//
{
//
id:2,
//
cmail1:"",
//
cmail2:"",
//
docnam:"17"
//
},
//
],
//
newValue:{
//
id:0,
//
cmail1:"",
//
cmail2:"",
//
docnam:""
//
},
//
codeTable:[
//
{ label: "Airway Bills", value: "1" },
//
{ label: "Beneficiary's Declaration", value: "2" },
//
{ label: "Bill of Lading Copies", value: "3" },
//
{ label: "Bill of Lading Originals", value: "4" },
//
{ label: "Certificate", value: "5" },
//
{ label: "Certificate of Analysis", value: "6" },
//
{ label: "Certificate of Origin", value: "7" },
//
{ label: "Certificate of Quality", value: "8" },
//
{ label: "Certificate of Quantity", value: "9" },
//
{ label: "Commercial Invoice", value: "10" },
//
{ label: "Courier Receipt", value: "11" },
//
{ label: "Draft", value: "12" },
//
{ label: "Export Licence", value: "13" },
//
{ label: "Fax Report", value: "14" },
//
{ label: "Inspection Cert", value: "15" },
//
{ label: "Insurance Policy", value: "16" },
//
{ label: "Packing List", value: "17" },
//
{ label: "Shipment Advice", value: "18" },
//
{ label: "Weight List", value: "19" },
//
{ label: "Original Bills of Lading", value: "20" },
//
]
};
},
methods
:
{
...
Event
,
addTableValue
(){
var
index
=
this
.
TableValue
.
length
;
var
newTableValue
=
this
.
newValue
;
if
(
index
>
0
){
newTableValue
.
id
=
this
.
TableValue
[
index
-
1
].
id
+
1
;
}
this
.
TableValue
.
push
(
newTableValue
);
},
deleteTable
(
row
){
for
(
let
i
=
0
;
i
<
this
.
TableValue
.
length
;
i
++
){
if
(
this
.
TableValue
[
i
].
id
==
row
.
id
){
this
.
TableValue
.
splice
(
i
,
1
)
break
;
}
}
}
//
addTableValue(){
//
var index = this.TableValue.length;
//
var newTableValue = this.newValue;
//
if(index > 0){
//
newTableValue.id = this.TableValue[index - 1].id + 1;
//
}
//
this.TableValue.push(newTableValue);
//
},
//
deleteTable(row){
//
for(let i = 0; i
<
this
.
TableValue
.
length
;
i
++
){
//
if(this.TableValue[i].id == row.id){
//
this.TableValue.splice(i, 1)
//
break;
//
}
//
}
//
}
},
created
:
function
()
{},
};
...
...
src/views/Business/Brtdcr/Mt750p.vue
0 → 100644
View file @
d3bd6b06
<
template
>
<div
class=
"eibs-tab"
>
<!-- ---------------Left--------------- -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"Document Amount"
prop=
"brdgrp.cbs.max.cur"
>
<c-select
v-model=
"model.brdgrp.cbs.max.cur"
style=
"width: 100%"
placeholder=
"请选择单据金额"
disabled
>
<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=
"11"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"brdgrp.cbs.max.amt"
>
<c-input
v-model=
"model.brdgrp.cbs.max.amt"
placeholder=
"请输入单据金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"Drawn Add.Amount"
prop=
"brdgrp.cbs.max2.cur"
>
<c-select
v-model=
"model.brdgrp.cbs.max2.cur"
style=
"width: 100%"
placeholder=
"请选择附加金额"
disabled
>
<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=
"11"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"brdgrp.cbs.max2.amt"
>
<c-input
v-model=
"model.brdgrp.cbs.max2.amt"
placeholder=
"请输入附加金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"Amount to be Paid"
prop=
"brdgrp.rec.totcur"
>
<c-select
v-model=
"model.brdgrp.rec.totcur"
style=
"width: 100%"
placeholder=
"请选择Amount to be Paid"
disabled
>
<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=
"11"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"brdgrp.rec.totamt"
>
<c-input
v-model=
"model.brdgrp.rec.totamt"
placeholder=
"请输入Total Amount to be Paid"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-ptap1
:model=
"model"
:argadr=
"
{
title: 'Account with Bank',
grp: 'brdgrp',
rol: 'acb',
}"
:disabled="true"
:disabled1="true"
>
</c-ptap1>
</c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Charges Deducted"
prop=
"brdgrp.blk.chaded"
>
<c-input
type=
"textarea"
v-model=
"model.brdgrp.blk.chaded"
maxlength=
"210"
:rows=
"4"
show-word-limit
placeholder=
"请输入Charges Deducted"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Charges Added"
prop=
"brdgrp.blk.chaadd"
>
<c-input
type=
"textarea"
v-model=
"model.brdgrp.blk.chaadd"
maxlength=
"210"
:rows=
"4"
show-word-limit
placeholder=
"请输入Charges Added"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Discrepancies"
prop=
"brdgrp.blk.docdis"
>
<c-input
type=
"textarea"
v-model=
"model.brdgrp.blk.docdis"
maxlength=
"3500"
:rows=
"8"
show-word-limit
placeholder=
"请输入不符点"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"brdgrp.blk.docdisflg"
>
<c-checkbox
v-model=
"model.brdgrp.blk.docdisflg"
disabled
>
discrepancies modified
</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"Drag Drop Sender"
prop=
"brtp.acbp.ptsget.sdamod.dadsnd"
>
<c-input
v-model=
"model.brtp.acbp.ptsget.sdamod.dadsnd"
placeholder=
"请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"brtp.acbp.ptsget.sdamod.seainf"
>
<c-input
v-model=
"model.brtp.acbp.ptsget.sdamod.seainf"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onAcbpDet"
>
Details
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Address Block"
prop=
"brdgrp.acb.pts.adrblk"
>
<c-input
type=
"textarea"
v-model=
"model.brdgrp.acb.pts.adrblk"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Chinese address"
prop=
"brdgrp.acb.dbfadrblkcn"
>
<c-input
type=
"textarea"
v-model=
"model.brdgrp.acb.dbfadrblkcn"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"地址"
prop=
"brdgrp.acb.adrelc"
>
<c-input
type=
"textarea"
v-model=
"model.brdgrp.acb.adrelc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
-->
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Brtacp/Event"
;
import
Ptap1
from
"~/views/Public/Ptap1"
;
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
components
:
{
"c-ptap1"
:
Ptap1
,
},
data
()
{
return
{};
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
src/views/Business/Brtdcr/Utlp.vue
View file @
d3bd6b06
This diff is collapsed.
Click to expand it.
src/views/Business/Brtdcr/index.vue
View file @
d3bd6b06
<
template
>
<div
class=
"eContainer"
>
<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=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--PD000037 -->
<el-tab-pane
label=
"Details"
name=
"utlp"
>
<c-content>
<m-utlp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000059 -->
<el-tab-pane
label=
"Discrepancies"
name=
"brtdcrd"
>
<el-tab-pane
label=
"Discrepancies/Refusal Details"
name=
"brtdcrd"
>
<c-content>
<m-brtdcrd
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Advice of Discrepancy"
name=
"mt750p"
>
<c-content>
<m-mt750p
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"表外"
name=
"engp"
>
<el-tab-pane
label=
"Liability"
name=
"engp"
>
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"账务"
name=
"setpan"
>
<el-tab-pane
label=
"Settlement"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"
附言
"
name=
"coninfp"
>
<el-tab-pane
label=
"
Completion
"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane
label=
"
报文及面函
"
name=
"docpan"
>
<el-tab-pane
label=
"
Messages
"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane
label=
"
附件
"
name=
"doctre"
>
<el-tab-pane
label=
"
Attachments
"
name=
"doctre"
>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"
授信额度
"
name=
"limitbody"
>
<el-tab-pane
label=
"
统一授信
"
name=
"limitbody"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref=
"doxpDialog"
:isPty=
"false"
:promptData=
"promptData"
@
select-ety=
"selectMsg"
>
</c-grid-ety-prompt-dialog>
</div>
</
template
>
<
script
>
...
...
@@ -56,6 +99,7 @@ import Default from "~/model/Brtdcr/Default"
import
Pattern
from
"~/model/Brtdcr/Pattern"
import
Utlp
from
"./Utlp"
import
Brtdcrd
from
"./Brtdcrd"
import
Mt750p
from
"./Mt750p"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
...
...
@@ -69,11 +113,13 @@ import Coninfp from "~/views/Public/Coninfp";
import
Docpan
from
"~/views/Public/Docpan"
;
import
Limitbody
from
"~/views/Public/Limitbody"
;
import
Doctre
from
"~/views/Public/Doctre"
import
commonFuncs
from
"~/mixin/commonFuncs"
export
default
{
name
:
"Brtdcr"
,
components
:{
"m-mt750p"
:
Mt750p
,
"m-utlp"
:
Utlp
,
"m-brtdcrd"
:
Brtdcrd
,
"m-engp"
:
Engp
,
...
...
@@ -88,7 +134,7 @@ export default {
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
"utlp"
,
...
...
@@ -99,6 +145,7 @@ export default {
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
},
}
},
...
...
src/views/Business/Ditdla/Accp.vue
View file @
d3bd6b06
...
...
@@ -288,6 +288,13 @@
style=
"width: 100%"
placeholder=
"请选择Amount Amend 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>
...
...
src/views/Public/LitTemp.vue
View file @
d3bd6b06
...
...
@@ -11,6 +11,7 @@
disabled
v-model=
"model[argadr.trans].cbs.max.cur"
style=
"width: 100%"
:code=
"curtxt1"
>
</c-select>
</el-form-item>
...
...
@@ -36,11 +37,13 @@
label=
"Open Amount"
:prop=
"`$
{argadr.trans}.cbs.opn1.cur`"
>
<c-
inpu
t
<c-
selec
t
disabled
v-model=
"model[argadr.trans].cbs.opn1.cur"
maxlength=
"3"
></c-input>
style=
"width: 100%"
:code=
"curtxt1"
>
</c-select>
</c-form-item>
</c-col>
...
...
@@ -292,6 +295,13 @@ export default {
{
label
:
"SEK"
,
value
:
"SEK"
},
{
label
:
"NZD"
,
value
:
"NZD"
},
],
curtxt1
:
[
{
label
:
`CNY-人民币`
,
value
:
`CNY`
},
{
label
:
`KRW-韩元`
,
value
:
`KRW`
},
{
label
:
`NZD-新西兰元`
,
value
:
`NZD`
},
{
label
:
`USD-美元`
,
value
:
`USD`
},
],
};
},
watch
:
{},
...
...
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