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
b08d0132
Commit
b08d0132
authored
Dec 23, 2021
by
ccx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ccx
parent
f2e83258
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
366 additions
and
91 deletions
+366
-91
Check.js
src/model/Bctdav/Check.js
+1
-0
Default.js
src/model/Bctdav/Default.js
+1
-0
Event.js
src/model/Bctdav/Event.js
+25
-0
Pattern.js
src/model/Bctdav/Pattern.js
+31
-0
index.js
src/model/Bctdav/index.js
+50
-17
Detp.vue
src/views/Business/Bctdav/Detp.vue
+135
-46
Engp.vue
src/views/Business/Bctdav/Engp.vue
+76
-0
Ove.vue
src/views/Business/Bctdav/Ove.vue
+3
-4
index.vue
src/views/Business/Bctdav/index.vue
+44
-24
No files found.
src/model/Bctdav/Check.js
View file @
b08d0132
...
@@ -5,6 +5,7 @@ import Utils from "~/utils"
...
@@ -5,6 +5,7 @@ import Utils from "~/utils"
*/
*/
let
checkObj
=
{
let
checkObj
=
{
"bctp.drrp.ptsget.sdamod.dadsnd"
:
null
,
"bctp.drrp.ptsget.sdamod.dadsnd"
:
null
,
"liaall.misamt"
:
null
,
"bctp.usr.extkey"
:
null
,
"bctp.usr.extkey"
:
null
,
"bcdgrp.blk.dftins"
:
null
,
"bcdgrp.blk.dftins"
:
null
,
"bcdgrp.dre.adrelc"
:
null
,
"bcdgrp.dre.adrelc"
:
null
,
...
...
src/model/Bctdav/Default.js
View file @
b08d0132
...
@@ -37,6 +37,7 @@ export default {
...
@@ -37,6 +37,7 @@ export default {
"bcdgrp.cbs.max.cur"
:
Utils
.
defaultFunction
,
"bcdgrp.cbs.max.cur"
:
Utils
.
defaultFunction
,
"bcdgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"bcdgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"bcdgrp.blk.bcgdet"
:
Utils
.
defaultFunction
,
"bcdgrp.blk.bcgdet"
:
Utils
.
defaultFunction
,
"liaall.misamt"
:
Utils
.
defaultFunction
,
"bcdgrp.drr.pts.adrblk"
:
Utils
.
defaultFunction
,
"bcdgrp.drr.pts.adrblk"
:
Utils
.
defaultFunction
,
"bctp.acttyp"
:
Utils
.
defaultFunction
,
"bctp.acttyp"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitinf.oit.inftxt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitinf.oit.inftxt"
:
Utils
.
defaultFunction
,
...
...
src/model/Bctdav/Event.js
View file @
b08d0132
...
@@ -170,5 +170,29 @@ export default {
...
@@ -170,5 +170,29 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
},
async
onLiaallButmisamt
(){
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmisamt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmissig
(){
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmissig"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
}
\ No newline at end of file
src/model/Bctdav/Pattern.js
View file @
b08d0132
...
@@ -274,4 +274,34 @@ export default {
...
@@ -274,4 +274,34 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
8
,
message
:
"长度不能超过8"
}
{
max
:
8
,
message
:
"长度不能超过8"
}
],
],
"liaall.outamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"liaall.outpct"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
6
,
message
:
"长度不能超过6"
}
],
"liaall.concur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"liaall.misamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"liaall.exttotoldamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"liaall.exttotamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
}
}
\ No newline at end of file
src/model/Bctdav/index.js
View file @
b08d0132
...
@@ -116,35 +116,49 @@ export default class Bctdav{
...
@@ -116,35 +116,49 @@ export default class Bctdav{
szflg
:
""
,
// 申报类型 .outlen.szflg
szflg
:
""
,
// 申报类型 .outlen.szflg
},
},
setmod
:{
setmod
:{
doccur
:
""
,
// document currency .setmod.doccur
docamt
:
""
,
// document amount .setmod.docamt
docamttyplab
:
""
,
// settled amount description as label .setmod.docamttyplab
docamttyplab
:
""
,
// settled amount description as label .setmod.docamttyplab
retmsg
:
""
,
// Label showing Retry overflow condition .setmod.retmsg
retmsg
:
""
,
// Label showing Retry overflow condition .setmod.retmsg
ref
:
""
,
// our reference .setmod.ref
ref
:
""
,
// our reference .setmod.ref
doccur
:
""
,
// document currency .setmod.doccur
docamt
:
""
,
// document amount .setmod.docamt
dspflg
:
""
,
// Type of settlement .setmod.dspflg
dspflg
:
""
,
// Type of settlement .setmod.dspflg
xreflg
:
""
,
// Recalculate Rates .setmod.xreflg
xreflg
:
""
,
// Recalculate Rates .setmod.xreflg
setglg
:{
setglg
:{
labdspflg
:
""
,
// Label for Type of Settlement .setmod.setglg.labdspflg
labdspflg
:
""
,
// Label for Type of Settlement .setmod.setglg.labdspflg
setgll
:[]
},
},
zmqacclab
:
""
,
// 主�'�号LABEL .setmod.zmqacclab
zmqacclab
:
""
,
// 主�'�号LABEL .setmod.zmqacclab
zmqacc
:
""
,
// 自�'�区主�'�号 .setmod.zmqacc
zmqacc
:
""
,
// 自�'�区主�'�号 .setmod.zmqacc
setfog
:{
setfol
:[]
},
},
trnmod
:{
setfeg
:{
trndoc
:{
setfel
:[]
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
glemod
:{
gleshwstm
:
{}
}
},
liaall
:{
misamt
:
""
,
// Amount not yet assigned .liaall.misamt
concur
:
""
,
// External Booking Amount .liaall.concur
outpct
:
""
,
// Sight Amount Percentage .liaall.outpct
outamt
:
""
,
// Sight Amount .liaall.outamt
exttotoldamt
:
""
,
// Old Amount booked externally .liaall.exttotoldamt
exttotamt
:
""
,
// Total booking amount external assinged .liaall.exttotamt
liaallg
:[],
liaccv
:{
newamt
:
""
,
// 合同金额 .liaall.liaccv.newamt
concur
:
""
,
// 应付保证金金额 .liaall.liaccv.concur
totcovamt
:
""
,
// 金额总和 .liaall.liaccv.totcovamt
newresamt
:
""
,
// Reserved Amount .liaall.liaccv.newresamt
addinf
:
""
,
// Additional Information .liaall.liaccv.addinf
cshpct
:
""
,
// 保证金应收比例 .liaall.liaccv.cshpct
relcshpct
:
""
,
// 保证金实收比例 .liaall.liaccv.relcshpct
gleflg
:
""
,
// Create gle flag .liaall.liaccv.gleflg
chgcurflg
:
""
,
// Change currency flag .liaall.liaccv.chgcurflg
pctresamt
:
""
,
// reserve amount based percent .liaall.liaccv.pctresamt
liaccvg
:[],
},
},
},
},
mtabut
:{
mtabut
:{
...
@@ -169,6 +183,25 @@ export default class Bctdav{
...
@@ -169,6 +183,25 @@ export default class Bctdav{
},
},
},
},
},
},
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
doceot
:[],
},
},
pageId
:
""
// ctx的key
pageId
:
""
// ctx的key
}
}
}
}
...
...
src/views/Business/Bctdav/Detp.vue
View file @
b08d0132
<
template
>
<
template
>
<div
class=
"eibs-tab"
>
<c-row>
<!-- ====================左边======================= -->
<c-col
:span=
"14"
>
<c-col
:span=
"24"
>
<c-col
:span=
"4"
>
<el-form-item
label=
"Delivery of Documents "
>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Collection Instructions"
prop=
"bcdgrp.blk.colins"
>
<el-form-item
label=
" Instructions"
>
<c-input
type=
"textarea"
v-model=
"model.bcdgrp.blk.colins"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Collection Instructions"
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<c-col
:span=
"20"
>
<c-input
type=
"textarea"
v-model=
"model.bcdgrp.blk.colins"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Collection Instructions"
>
</c-input>
</c-col>
<c-col
:span=
"4"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onColinsButtxmsel"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onColinsButtxmsel"
>
...
...
</c-button>
</c-button>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Our Charges to"
prop=
"bcdgrp.rec.chato"
>
<c-select
v-model=
"model.bcdgrp.rec.chato"
style=
"width:100%"
placeholder=
"请选择Our Charges to"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Charges Text"
prop=
"bcdgrp.blk.chgtxt"
>
<el-form-item
label=
"Draft Instructions"
>
<c-input
type=
"textarea"
v-model=
"model.bcdgrp.blk.chgtxt"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Charges Text"
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12
"
>
<c-col
:span=
"24
"
>
<el-form-item
label=
"Draft Instructions"
prop=
"bcdgrp.blk.dftins
"
>
<c-col
:span=
"20
"
>
<c-input
type=
"textarea"
v-model=
"model.bcdgrp.blk.dftins"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Draft Instructions"
></c-input>
<c-input
type=
"textarea"
v-model=
"model.bcdgrp.blk.dftins"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Draft Instructions"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"4"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onDftinsButtxmsel"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onDftinsButtxmsel"
>
...
...
</c-button>
</c-button>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.bcdgrp.rec.focflg"
>
Free of Payment
</c-checkbox>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Waive Collecting Bank Charges"
prop=
"bcdgrp.rec.waicolcod"
>
<el-form-item
label=
"Protest Instructions"
prop=
"bcdgrp.rec.proins"
>
<c-select
v-model=
"model.bcdgrp.rec.waicolcod"
style=
"width:100%"
placeholder=
"请选择Waive Collecting Bank Charges"
>
</c-select>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"20"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Protest Instructions"
prop=
"bcdgrp.rec.proins"
>
<c-select
v-model=
"model.bcdgrp.rec.proins"
style=
"width:100%"
placeholder=
"请选择Protest Instructions"
>
<c-select
v-model=
"model.bcdgrp.rec.proins"
style=
"width:100%"
placeholder=
"请选择Protest Instructions"
>
</c-select>
</c-select>
<el-option
</el-form-item>
v-for=
"item in codes.proins"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Other Instructions"
>
<el-form-item
label=
"Waive Remitting Bank Charges"
prop=
"bcdgrp.rec.wairmtcod"
>
<c-select
v-model=
"model.bcdgrp.rec.wairmtcod"
style=
"width:100%"
placeholder=
"请选择Waive Remitting Bank Charges"
>
</c-select>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12
"
>
<c-col
:span=
"24
"
>
<
el-form-item
label=
"Other Instructions"
prop=
"bcdgrp.blk.othins
"
>
<
c-col
:span=
"20
"
>
<c-input
type=
"textarea"
v-model=
"model.bcdgrp.blk.othins"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Other Instructions"
></c-input>
<c-input
type=
"textarea"
v-model=
"model.bcdgrp.blk.othins"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Other Instructions"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"
12
"
>
<c-col
:span=
"
4
"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onOthins1Buttxmsel"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onOthins1Buttxmsel"
>
...
...
</c-button>
</c-button>
</c-col>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"14"
>
<el-form-item
label=
"Defer Payment until"
prop=
"bcdgrp.rec.othins"
>
<c-col
:span=
"4"
>
<c-select
v-model=
"model.bcdgrp.rec.othins"
style=
"width:100%"
placeholder=
"请选择Defer Payment until"
>
<el-form-item
label=
"Good's Code"
>
</el-form-item>
</c-col>
<c-col
:span=
"10"
>
<el-form-item
label=
"(for Statistics)"
>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"20"
>
<c-select
v-model=
"model.bcdgrp.rec.stagod"
style=
"width:100%"
placeholder=
"请选择Good's Code (for Statistics"
>
</c-select>
</c-select>
<el-option
v-for=
"item in codes.godcod"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col
:span=
"10"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Charges Condition"
>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Good's Code (for Statistics)"
prop=
"bcdgrp.rec.stagod"
>
<c-select
v-model=
"model.bcdgrp.rec.chato"
style=
"width:100%"
placeholder=
"请选择Our Charges to"
>
<c-select
v-model=
"model.bcdgrp.rec.stagod"
style=
"width:100%"
placeholder=
"请选择Good's Code (for Statistics)"
>
</c-select><el-option
v-for=
"item in codes.chadet"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Charges Text"
>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-input
type=
"textarea"
v-model=
"model.bcdgrp.blk.chgtxt"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Charges Text"
></c-input>
</c-col>
<c-col
:span=
"24"
>
<c-checkbox
v-model=
"model.bcdgrp.rec.focflg"
>
Free of Payment
</c-checkbox>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"5"
>
<el-form-item
label=
"Waive Collecting"
>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<el-form-item
label=
"Bank Charges"
>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-select
v-model=
"model.bcdgrp.rec.waicolcod"
style=
"width:100%"
placeholder=
"请选择Waive Collecting Bank Charges"
>
</c-select>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"4"
>
<el-form-item
label=
"Waive Remitting"
>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<el-form-item
label=
"Bank Charges"
>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-select
v-model=
"model.bcdgrp.rec.wairmtcod"
style=
"width:100%"
placeholder=
"请选择Waive Remitting Bank Charges"
>
</c-select>
</c-select>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Defer Payment until"
>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</div>
<c-col
:span=
"24"
>
<c-select
v-model=
"model.bcdgrp.rec.othins"
style=
"width:100%"
placeholder=
"请选择Defer Payment until"
>
</c-select>
</c-col>
</c-col>
</c-row>
</
template
>
</
template
>
<
script
>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/B
c
tdav/Event"
import
Event
from
"~/model/B
o
tdav/Event"
export
default
{
export
default
{
inject
:
[
'root'
],
inject
:
[
'root'
],
...
...
src/views/Business/Bctdav/Engp.vue
0 → 100644
View file @
b08d0132
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Sight Amount"
prop=
"liaall.outamt"
>
<c-input
v-model=
"model.liaall.outamt"
placeholder=
"请输入Sight Amount"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Sight Amount Percentage"
prop=
"liaall.outpct"
>
<c-input
v-model=
"model.liaall.outpct"
placeholder=
"请输入Sight Amount Percentage"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"External Booking Amount"
prop=
"liaall.concur"
>
<c-input
v-model=
"model.liaall.concur"
maxlength=
"3"
placeholder=
"请输入External Booking Amount"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Amount not yet assigned"
prop=
"liaall.misamt"
>
<c-input
v-model=
"model.liaall.misamt"
placeholder=
"请输入Amount not yet assigned"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onLiaallButmisamt"
>
Add to Current Line
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onLiaallButmissig"
>
Add to Sight Amount
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Old Amount booked externally"
prop=
"liaall.exttotoldamt"
>
<c-input
v-model=
"model.liaall.exttotoldamt"
placeholder=
"请输入Old Amount booked externally"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Total booking amount external assinged"
prop=
"liaall.exttotamt"
>
<c-input
v-model=
"model.liaall.exttotamt"
placeholder=
"请输入Total booking amount external assinged"
></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/Bctdav/Event"
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
(){
return
{
}
},
methods
:{...
Event
},
created
:
function
(){
}
}
</
script
>
<
style
>
</
style
>
src/views/Business/Bctdav/Ove.vue
View file @
b08d0132
...
@@ -147,20 +147,19 @@
...
@@ -147,20 +147,19 @@
></c-input-currency>
></c-input-currency>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"1
2
"
>
<c-col
:span=
"1
4
"
>
<el-form-item
label=
"Docs received on"
prop=
"bcdgrp.rec.rcvdat"
>
<el-form-item
label=
"Docs received on"
prop=
"bcdgrp.rec.rcvdat"
>
<c-date-picker
<c-date-picker
type=
"date"
type=
"date"
v-model=
"model.bcdgrp.rec.rcvdat"
v-model=
"model.bcdgrp.rec.rcvdat"
style=
"width:
10
0%"
style=
"width:
9
0%"
placeholder=
"请选择Docs received on"
placeholder=
"请选择Docs received on"
></c-date-picker>
></c-date-picker>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"1
2
"
>
<c-col
:span=
"1
4
"
>
<el-form-item
<el-form-item
label=
"Date of Remittance Lt."
label=
"Date of Remittance Lt."
label-width=
"160px"
prop=
"bcdgrp.rec.predat"
prop=
"bcdgrp.rec.predat"
>
>
<c-date-picker
<c-date-picker
...
...
src/views/Business/Bctdav/index.vue
View file @
b08d0132
<
template
>
<
template
>
<c-page
title=
"进口代收"
>
<div
class=
"eContainer"
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<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"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--
PD000017
-->
<!--
Overview
-->
<el-tab-pane
label=
"
PD000017
"
name=
"ove"
>
<el-tab-pane
label=
"
Overview
"
name=
"ove"
>
<m-ove
:model=
"model"
:codes=
"codes"
/>
<m-ove
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
<!--
PD000018
-->
<!--
Instructions
-->
<el-tab-pane
label=
"
PD000018
"
name=
"detp"
>
<el-tab-pane
label=
"
Instructions
"
name=
"detp"
>
<m-detp
:model=
"model"
:codes=
"codes"
/>
<m-detp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
<
!--PD000000 --
>
<
el-tab-pane
label=
"Settlement"
name=
"setpan"
>
<
el-tab-pane
label=
"PD000000"
name=
"setpan"
>
<
c-content
>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
<!--
PD000529
-->
<!--
Messages
-->
<el-tab-pane
label=
"
PD000529
"
name=
"docpan"
>
<el-tab-pane
label=
"
Messages
"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
<!--
PD000546
-->
<!--
Attachments
-->
<el-tab-pane
label=
"
PD000546
"
name=
"doctre"
>
<el-tab-pane
label=
"
Attachments
"
name=
"doctre"
>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
<!--
PD000000
-->
<!--
Completion
-->
<el-tab-pane
label=
"
PD000000
"
name=
"coninfp"
>
<el-tab-pane
label=
"
Completion
"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
</c-tabs>
</c-tabs>
</el-form>
</el-form>
</div>
</div>
</c-page>
</
template
>
</
template
>
<
script
>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
...
@@ -46,10 +63,11 @@ import Default from "~/model/Bctdav/Default"
...
@@ -46,10 +63,11 @@ import Default from "~/model/Bctdav/Default"
import
Pattern
from
"~/model/Bctdav/Pattern"
import
Pattern
from
"~/model/Bctdav/Pattern"
import
Ove
from
"./Ove"
import
Ove
from
"./Ove"
import
Detp
from
"./Detp"
import
Detp
from
"./Detp"
import
Setpan
from
"./Setpan"
import
Engp
from
"~/views/Public/Engp"
import
Docpan
from
"./Docpan"
import
Setpan
from
"~/views/Public/Setpan"
import
Coninfp
from
"~/views/Public/Coninfp"
import
Docpan
from
"~/views/Public/Docpan"
import
Doctre
from
"./Doctre"
import
Doctre
from
"./Doctre"
import
Coninfp
from
"./Coninfp"
export
default
{
export
default
{
...
@@ -58,6 +76,7 @@ export default {
...
@@ -58,6 +76,7 @@ export default {
"m-ove"
:
Ove
,
"m-ove"
:
Ove
,
"m-detp"
:
Detp
,
"m-detp"
:
Detp
,
"m-setpan"
:
Setpan
,
"m-setpan"
:
Setpan
,
"m-engp"
:
Engp
,
"m-docpan"
:
Docpan
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-doctre"
:
Doctre
,
"m-coninfp"
:
Coninfp
,
"m-coninfp"
:
Coninfp
,
...
@@ -70,7 +89,7 @@ export default {
...
@@ -70,7 +89,7 @@ export default {
mixins
:
[
CommonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
CommonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
data
(){
return
{
return
{
tabVal
:
""
,
tabVal
:
"
ove
"
,
trnName
:
"bctdav"
,
trnName
:
"bctdav"
,
model
:
new
Bctdav
().
data
,
model
:
new
Bctdav
().
data
,
checkRules
:
Check
,
checkRules
:
Check
,
...
@@ -82,18 +101,19 @@ export default {
...
@@ -82,18 +101,19 @@ export default {
}
}
},
},
methods
:{
methods
:{
tabClick
(){
}
},
},
created
:
async
function
(){
created
:
async
function
(){
console
.
log
(
"进入bct
dav
交易"
);
console
.
log
(
"进入bct
acc
交易"
);
let
rtnmsg
=
await
this
.
init
(
{}
)
let
rtnmsg
=
await
this
.
init
(
this
.
$route
.
query
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//更新数据
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
}
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
...
...
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