Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhouqian
vue-gjjs
Commits
ad5f00b1
Commit
ad5f00b1
authored
Aug 18, 2022
by
wangren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bctset bug修改
parent
b5bf6cf7
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
574 additions
and
219 deletions
+574
-219
Default.js
src/model/Bctset/Default.js
+7
-0
index.js
src/model/Bctset/index.js
+45
-0
Basp.vue
src/views/Business/Bctset/Basp.vue
+2
-1
Basp1.vue
src/views/Business/Bctset/Basp1.vue
+270
-0
Bctsus.vue
src/views/Business/Bctset/Bctsus.vue
+37
-5
Detp.vue
src/views/Business/Bctset/Detp.vue
+106
-129
Wg.vue
src/views/Business/Bctset/Wg.vue
+4
-1
index.vue
src/views/Business/Bctset/index.vue
+103
-83
No files found.
src/model/Bctset/Default.js
View file @
ad5f00b1
...
...
@@ -6,6 +6,13 @@ import Api from "~/service/Api";
import
Utils
from
"~/utils/index"
export
default
{
"bopmod.dbfgrp.bas.ownextkey"
:
Utils
.
defaultFunction
,
"bopmod.dbfgrp.bas.buscode"
:
Utils
.
defaultFunction
,
"bopmod.dbfgrp.bas.custype"
:
Utils
.
defaultFunction
,
"bopmod.dbfgrp.bas.custcod"
:
Utils
.
defaultFunction
,
"bopmod.dbfgrp.bas.methods"
:
Utils
.
defaultFunction
,
"bopmod.dbfgrp.bas.tmpref"
:
Utils
.
defaultFunction
,
"bopmod.dbfgrp.bas.rptno"
:
Utils
.
defaultFunction
,
"bctp.prechkdat"
:
Utils
.
defaultFunction
,
"bcdgrp.co2.pts.extkey"
:
Utils
.
defaultFunction
,
"setmod.setglg.sespay.setgrp.tri.pts.extkey"
:
Utils
.
defaultFunction
,
...
...
src/model/Bctset/index.js
View file @
ad5f00b1
...
...
@@ -152,6 +152,51 @@ export default class Bctset{
tmprefnew
:
""
,
// TMPREFLABEL .bopmod.dbcp.baspp.tmprefnew
},
},
dbfp
:{
baspp
:{
cusnam
:
""
,
// .bopmod.dbcp.baspp.cusnam
cornam
:
""
,
// .bopmod.dbcp.baspp.cornam
corpnam
:
""
,
// .bopmod.dbcp.baspp.corpnam
roptnam
:
""
,
// RoptNam .bopmod.dbcp.baspp.roptnam
exratelab
:
""
,
// �'�汇/结汇汇率 .bopmod.dbcp.baspp.exratelab
lcyamtlab
:
""
,
// �'�汇/结汇金额 .bopmod.dbcp.baspp.lcyamtlab
acp
:
""
,
// 确认 .bopmod.dbcp.baspp.acp
tmprefnew
:
""
,
// TMPREFLABEL .bopmod.dbcp.baspp.tmprefnew
},
},
dbfgrp
:{
bas
:{
tmpref
:
""
,
// �'时申报流�'号 .bopmod.dbfgrp.bas.tmpref
ownextkey
:
""
,
// 地区机构号 .bopmod.dbfgrp.bas.ownextkey
actiontype
:
""
,
// 操作类型 .bopmod.dbfgrp.bas.actiontype
rptno
:
""
,
// 申报号码 .bopmod.dbfgrp.bas.rptno
idcode
:
""
,
// 身份证件号码 .bopmod.dbfgrp.bas.idcode
lcyacc
:
""
,
// 人民币帐号/银行卡号 .bopmod.dbfgrp.bas.lcyacc
fcyamt
:
""
,
// 现汇金额 .bopmod.dbfgrp.bas.fcyamt
fcyacc
:
""
,
// 外汇帐号/银行卡号 .bopmod.dbfgrp.bas.fcyacc
othamt
:
""
,
// 其它金额 .bopmod.dbfgrp.bas.othamt
othacc
:
""
,
// 其它帐号/银行卡号 .bopmod.dbfgrp.bas.othacc
methods
:
""
,
// 结算方式 .bopmod.dbfgrp.bas.methods
buscode
:
""
,
// 银行业务编号 .bopmod.dbfgrp.bas.buscode
custype
:
""
,
// 类型 .bopmod.dbfgrp.bas.custype
actiondesc
:
""
,
// 操作类型 .bopmod.dbfgrp.bas.actiondesc
exrate
:
""
,
// �'�汇汇率 .bopmod.dbfgrp.bas.exrate
lcyamt
:
""
,
// �'�汇金额 .bopmod.dbfgrp.bas.lcyamt
custnm
:
""
,
// 收款人名称 .bopmod.dbfgrp.bas.custnm
oppuser
:
""
,
// 付款人名称 .bopmod.dbfgrp.bas.oppuser
custcod
:
""
,
// 组织机构 .bopmod.dbfgrp.bas.custcod
txccy
:
""
,
// 付款币种及金额 .bopmod.dbfgrp.bas.txccy
txamt
:
""
,
// 付款币种及金额 .bopmod.dbfgrp.bas.txamt
actuccy
:
""
,
// 实际付款币种及金额 .bopmod.dbfgrp.bas.actuccy
actuamt
:
""
,
// 实际付款币种及金额 .bopmod.dbfgrp.bas.actuamt
outchargeccy
:
""
,
// 扣费币种及金额 .bopmod.dbfgrp.bas.outchargeccy
outchargeamt
:
""
,
// 扣费币种及金额 .bopmod.dbfgrp.bas.outchargeamt
issdate
:
""
,
// 开证日期 .bopmod.dbfgrp.bas.issdate
tenor
:
""
,
// 期限 .bopmod.dbfgrp.bas.tenor
lcbgno
:
""
,
// 信用证/保函编号 .bopmod.dbfgrp.bas.lcbgno
},
},
dbcgrp
:{
bas
:{
tmpref
:
""
,
// �'时申报流�'号 .bopmod.dbcgrp.bas.tmpref
...
...
src/views/Business/Bctset/Basp.vue
View file @
ad5f00b1
...
...
@@ -146,6 +146,7 @@
</c-col>
<c-col
:span=
"24"
>
<c-checkbox
disabled
style=
" margin: 0px 0 10px 150px;"
v-model=
"model.bopmod.dbcp.baspp.acp"
>
确认
</c-checkbox>
</c-col>
...
...
@@ -153,7 +154,7 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"购汇汇率"
prop=
"bopmod.dbcgrp.bas.exrate"
>
<c-input
dis
ba
led
dis
ab
led
v-model=
"model.bopmod.dbcgrp.bas.exrate"
placeholder=
"请输入购汇汇率"
></c-input>
</el-form-item>
</c-col>
...
...
src/views/Business/Bctset/Basp1.vue
0 → 100644
View file @
ad5f00b1
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<c-form-item
label=
"申报号码"
prop=
"bopmod.dbfgrp.bas.rptno"
>
<c-input
disabled
v-model=
"model.bopmod.dbfgrp.bas.rptno"
maxlength=
"22"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"操作类型"
prop=
"bopmod.dbfgrp.bas.actiontype"
>
<c-select
disabled
v-model=
"model.bopmod.dbfgrp.bas.actiontype"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"地区机构号"
prop=
"bopmod.dbfgrp.bas.ownextkey"
>
<c-select
disabled
v-model=
"model.bopmod.dbfgrp.bas.ownextkey"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"银行业务编号"
prop=
"bopmod.dbfgrp.bas.buscode"
>
<c-input
disabled
v-model=
"model.bopmod.dbfgrp.bas.buscode"
maxlength=
"22"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"付款人类型"
prop=
"bopmod.dbfgrp.bas.custype"
>
<c-select
disabled
v-model=
"model.bopmod.dbfgrp.bas.custype"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"付款人名称"
prop=
"bopmod.dbfgrp.bas.custnm"
>
<c-input
type=
"textarea"
v-model=
"model.bopmod.dbfgrp.bas.custnm"
maxlength=
"63"
show-word-limit
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"收款人名称 "
prop=
"bopmod.dbfgrp.bas.oppuser"
>
<c-input
type=
"textarea"
v-model=
"model.bopmod.dbfgrp.bas.oppuser"
maxlength=
"63"
show-word-limit
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"身份证件号码"
prop=
"bopmod.dbfgrp.bas.idcode"
>
<c-input
disabled
v-model=
"model.bopmod.dbfgrp.bas.idcode"
maxlength=
"32"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"购汇金额"
prop=
"bopmod.dbfgrp.bas.lcyamt"
>
<c-input
v-model=
"model.bopmod.dbfgrp.bas.lcyamt"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"现汇金额"
prop=
"bopmod.dbfgrp.bas.fcyamt"
>
<c-input
v-model=
"model.bopmod.dbfgrp.bas.fcyamt"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"其它金额"
prop=
"bopmod.dbfgrp.bas.othamt"
>
<c-input
v-model=
"model.bopmod.dbfgrp.bas.othamt"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"付款币种及金额"
prop=
"bopmod.dbfgrp.bas.txccy"
>
<c-select
v-model=
"model.bopmod.dbfgrp.bas.txccy"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-form-item
label-width=
"10px"
prop=
"bopmod.dbfgrp.bas.txamt"
>
<c-input
v-model=
"model.bopmod.dbfgrp.bas.txamt"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"实际付款币种及金额"
prop=
"bopmod.dbfgrp.bas.actuccy"
>
<c-select
disabled
v-model=
"model.bopmod.dbfgrp.bas.actuccy"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-form-item
label-width=
"10px"
prop=
"bopmod.dbfgrp.bas.actuamt"
>
<c-input
disabled
v-model=
"model.bopmod.dbfgrp.bas.actuamt"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<c-form-item
label=
"修改/删除原因"
prop=
"bopmod.dbfgrp.bas.actiondesc"
>
<c-input
disabled
:rows=
"6"
type=
"textarea"
v-model=
"model.bopmod.dbfgrp.bas.actiondesc"
maxlength=
"32"
show-word-limit
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"结算方式"
prop=
"bopmod.dbfgrp.bas.methods"
>
<c-select
disabled
v-model=
"model.bopmod.dbfgrp.bas.methods"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"组织机构代码"
prop=
"bopmod.dbfgrp.bas.custcod"
>
<c-input
disabled
v-model=
"model.bopmod.dbfgrp.bas.custcod"
maxlength=
"18"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-checkbox
disabled
style=
"margin-left:150px"
v-model=
"model.bopmod.dbfp.baspp.acp"
>
确认
</c-checkbox>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"购汇汇率"
prop=
"bopmod.dbfgrp.bas.exrate"
>
<c-input
disabled
v-model=
"model.bopmod.dbfgrp.bas.exrate"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"人民币帐号银行卡号"
prop=
"bopmod.dbfgrp.bas.lcyacc"
>
<c-input
disabled
v-model=
"model.bopmod.dbfgrp.bas.lcyacc"
maxlength=
"32"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"外汇帐号/银行卡号"
prop=
"bopmod.dbfgrp.bas.fcyacc"
>
<c-input
disabled
v-model=
"model.bopmod.dbfgrp.bas.fcyacc"
maxlength=
"32"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"其它帐号银行卡号"
prop=
"bopmod.dbfgrp.bas.othacc"
>
<c-input
disabled
v-model=
"model.bopmod.dbfgrp.bas.othacc"
maxlength=
"32"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"扣费币种及金额"
prop=
"bopmod.dbfgrp.bas.outchargeccy"
>
<c-select
disabled
v-model=
"model.bopmod.dbfgrp.bas.outchargeccy"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-form-item
prop=
"bopmod.dbfgrp.bas.outchargeamt"
>
<c-input
disabled
v-model=
"model.bopmod.dbfgrp.bas.outchargeamt"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"开证日期"
prop=
"bopmod.dbfgrp.bas.issdate"
>
<c-date-picker
disabled
type=
"date"
v-model=
"model.bopmod.dbfgrp.bas.issdate"
style=
"width:100%"
></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000070 : 信用证/保函编号 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"信用证/保函编号"
prop=
"bopmod.dbfgrp.bas.lcbgno"
>
<c-input
disabled
v-model=
"model.bopmod.dbfgrp.bas.lcbgno"
maxlength=
"20"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"期限"
prop=
"bopmod.dbfgrp.bas.tenor"
>
<c-input
disabled
v-model=
"model.bopmod.dbfgrp.bas.tenor"
></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- S0000009 : 名称 -->
<!-- S0000010 : 名称 -->
<!-- S0000007 : 身份证件号码 -->
<!-- S0000015 : 人民币帐号/银行卡号 -->
<!-- S0000016 : 现汇金额 -->
<!-- S0000017 : 外汇帐号/银行卡号 -->
<!-- S0000018 : 其它金额 -->
<!-- S0000019 : 其它帐号/银行卡号 -->
<!--
<c-col
:span=
"12"
>
<c-form-item
prop=
"bopmod.dbfgrp.bas.othacc"
>
<c-input
v-model=
"model.bopmod.dbfgrp.bas.othacc"
maxlength=
"32"
></c-input>
</c-form-item>
</c-col>
-->
<!-- S0000044 : 付款币种及金额 -->
<!-- S0000050 : 扣费币种及金额 -->
<!-- S0000048 : 实际付款币种及金额 -->
<!-- S0000053 : 开证日期 -->
<!-- S0000054 : 期限 -->
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Bctset/Event"
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
(){
return
{
}
},
methods
:{...
Event
},
created
:
function
(){
}
}
</
script
>
<
style
>
</
style
>
src/views/Business/Bctset/Bctsus.vue
View file @
ad5f00b1
...
...
@@ -132,10 +132,12 @@
</c-col>
-->
<c-col
:span=
"22"
:offset=
"1"
>
<c-istream-table
ref=
"table"
:list=
"model.liaall.tenstm.rows || []"
:columns=
"trnData.columns"
:showSelection=
"true"
v-on:multipleSelect=
"multipleSelect"
prop=
"liaall.tenstm"
>
</c-istream-table>
</c-col>
...
...
@@ -274,6 +276,7 @@
v-model=
"model.setmod.doccur"
style=
"width: 100%"
placeholder=
"请选择document currency"
@
change=
""
>
</c-select>
</el-form-item>
...
...
@@ -376,21 +379,50 @@ export default {
'3 3 "Cdt" 80'
,
'4 4 "Cur" 50'
,
'5 5 "Amt" 120 2 8 1 4'
,
'6 6 "Mat.Dat." 120 4 7 1'
,
// '6 6 "Mat.Dat." 120 4 7 1',
{
index
:
6
,
position
:
6
,
width
:
250
,
render
:
(
item
,
scope
)
=>
{
return
scope
.
row
[
item
.
prop
]
===
"null"
?
""
:
scope
.
row
[
item
.
prop
];
},
label
:
"Mat.Dat."
,
},
],
data
:
[],
},
};
},
mounted
()
{
this
.
$nextTick
(()
=>
{});
},
methods
:
{
...
Event
,
async
multipleSelect
(
selection
)
{
console
.
log
(
selection
);
if
(
selection
)
{
let
selIds
=
selection
.
map
((
x
)
=>
x
+
1
);
let
params
=
{
selDst
:
"decstm"
,
selIds
};
const
rtnmsg
=
await
this
.
executeRule
(
"decstm"
,
params
);
if
(
selection
.
length
>
1
)
{
this
.
$notify
({
title
:
"error"
,
message
:
"You cannot select more than one tenor"
,
type
:
"error"
,
});
}
else
{
let
chkIds
;
if
(
selection
.
length
===
0
)
{
chkIds
=
[]
// this.model.liaall.tensetstm.rows = []
// this.model.liaall.tenstm.rows = []
}
else
{
chkIds
=
[
selection
[
0
]
+
1
]
}
//
console
.
log
(
this
.
model
.
liaall
.
tensetstm
);
let
params
=
{
chkDst
:
"liaall.tenstm"
,
chkIds
};
const
rtnmsg
=
await
this
.
executeRule
(
"liaall.tenstm"
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
}
else
{
...
...
src/views/Business/Bctset/Detp.vue
View file @
ad5f00b1
<
template
>
<c-row
>
<div
>
<!-- ====================左边======================= -->
<c-col
:span=
"14
"
>
<c-col
:span=
"11
"
>
<c-col
:span=
"24"
>
<c-col
:span=
"4"
>
<el-form-item
label=
"Delivery of Documents "
>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
" Instructions"
>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"Delivery of Documents Instructions "
>
<c-fullbox>
<c-input
disabled
type=
"textarea"
v-model=
"model.bcdgrp.blk.colins"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Collection Instructions"
>
placeholder=
"请输入Collection Instructions"
>
</c-input>
</c-col>
<c-col
:span=
"4"
>
<template
slot=
"footer"
>
<c-button
disabled
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onColinsButtxmsel"
>
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onColinsButtxmsel"
>
</c-button>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Draft Instructions"
>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"Draft Instructions"
>
<c-fullbox>
<c-input
disabled
type=
"textarea"
v-model=
"model.bcdgrp.blk.dftins"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Draft Instructions"
></c-input>
</c-col>
<c-col
:span=
"4"
>
type=
"textarea"
v-model=
"model.bcdgrp.blk.dftins"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Draft Instructions"
></c-input>
<
template
slot=
"footer"
>
<c-button
disabled
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onDftinsButtxmsel"
>
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onDftinsButtxmsel"
>
</c-button>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Protest Instructions"
>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"20"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Protest Instructions"
>
<c-select
disabled
v-model=
"model.bcdgrp.rec.proins"
style=
"width:100%"
placeholder=
"请选择Protest Instructions"
>
v-model=
"model.bcdgrp.rec.proins"
style=
"width: 100%"
placeholder=
"请选择Protest Instructions"
>
</c-select>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Other Instructions"
>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"Other Instructions"
>
<c-fullbox>
<c-input
disabled
type=
"textarea"
v-model=
"model.bcdgrp.blk.othins"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Other Instructions"
></c-input>
</c-col>
<c-col
:span=
"4"
>
type=
"textarea"
v-model=
"model.bcdgrp.blk.othins"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Other Instructions"
></c-input>
<
template
slot=
"footer"
>
<c-button
disabled
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onOthins1Buttxmsel"
>
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onOthins1Buttxmsel"
>
</c-button>
</c-col>
</c-col>
<c-col
:span=
"14"
>
<c-col
:span=
"4"
>
<el-form-item
label=
"Good's Code"
>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<el-form-item
label=
"(for Statistics)"
>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"20"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Good's Code (for Statistics)"
>
<c-select
disabled
v-model=
"model.bcdgrp.rec.stagod"
style=
"width:100%"
placeholder=
"请选择Good's Code (for Statistics"
>
v-model=
"model.bcdgrp.rec.stagod"
style=
"width: 100%"
placeholder=
"请选择Good's Code (for Statistics"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col
:span=
"10"
>
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Charges Condition"
>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-select
disabled
v-model=
"model.bcdgrp.rec.chato"
style=
"width:100%"
placeholder=
"请选择Our Charges to"
>
v-model=
"model.bcdgrp.rec.chato"
style=
"width: 100%"
placeholder=
"请选择Our Charges to"
>
</c-select>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Charges Text"
>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Charges Text"
>
<c-input
disabled
type=
"textarea"
v-model=
"model.bcdgrp.blk.chgtxt"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Charges Text"
></c-input>
type=
"textarea"
v-model=
"model.bcdgrp.blk.chgtxt"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Charges Text"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-checkbox
style=
"margin-left: 150px"
disabled
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>
v-model=
"model.bcdgrp.rec.focflg"
>
Free of Payment
</c-checkbox
>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Waive Collecting Bank Charges"
>
<c-select
disabled
v-model=
"model.bcdgrp.rec.waicolcod"
style=
"width:100%"
placeholder=
"请选择Waive Collecting Bank Charges"
>
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=
"5"
>
<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"
>
<el-form-item
label=
"Waive Remitting Bank Charges"
>
<c-select
disabled
v-model=
"model.bcdgrp.rec.wairmtcod"
style=
"width:100%"
placeholder=
"请选择Waive Remitting Bank Charges"
>
v-model=
"model.bcdgrp.rec.wairmtcod"
style=
"width: 100%"
placeholder=
"请选择Waive Remitting Bank Charges"
>
</c-select>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Defer Payment until"
>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Defer Payment until"
>
<c-select
disabled
v-model=
"model.bcdgrp.rec.othins"
style=
"width:100%"
placeholder=
"请选择Defer Payment until"
>
v-model=
"model.bcdgrp.rec.othins"
style=
"width: 100%"
placeholder=
"请选择Defer Payment until"
>
</c-select>
</el-form-item>
</c-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/Bctset/Event"
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Bctset/Event"
;
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
(){
return
{
}
data
()
{
return
{};
},
methods
:{...
Event
},
created
:
function
(){
}
}
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
<
style
></
style
>
src/views/Business/Bctset/Wg.vue
View file @
ad5f00b1
...
...
@@ -36,7 +36,7 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"地区机构号"
prop=
"bopmod.ownextkey"
>
<c-select
:code=
"codes.ownextkey"
:code=
"codes.ownextkey
1
"
:disabled=
"this.flag3"
v-model=
"model.bopmod.ownextkey"
style=
"width:100%"
placeholder=
"请选择地区机构号"
>
</c-select>
...
...
@@ -88,16 +88,19 @@ export default {
this
.
flag1
=
true
this
.
flag2
=
true
this
.
flag3
=
true
this
.
model
.
bopmod
.
ownextkey
=
''
}
if
(
val
==
"2"
){
this
.
flag1
=
false
this
.
flag2
=
true
this
.
flag3
=
false
this
.
model
.
bopmod
.
ownextkey
=
'08350012'
}
if
(
val
==
"1"
){
this
.
flag1
=
false
this
.
flag2
=
false
this
.
flag3
=
false
this
.
model
.
bopmod
.
ownextkey
=
'08350012'
}
},
}
...
...
src/views/Business/Bctset/index.vue
View file @
ad5f00b1
<
template
>
<c-page
title=
"进口代收付款"
>
<c-page
title=
"进口代收付款"
>
<div
class=
"eContainer"
>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
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"
>
<!--PD000005 -->
<el-tab-pane
label=
"Settle BC at Maturity"
name=
"bctsus"
>
<m-bctsus
:model=
"model"
:codes=
"codes"
/>
<m-bctsus
ref=
"bctsus"
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000018 -->
<el-tab-pane
label=
"Instructions"
name=
"detp"
>
<m-detp
:model=
"model"
:codes=
"codes"
/>
<m-detp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000260 -->
<el-tab-pane
label=
"Parties"
name=
"ptyp"
>
<c-content>
<m-ptyp
:model=
"model"
:codes=
"codes"
/>
<m-ptyp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"Liability"
name=
"engp"
>
<m-engp
:model=
"model"
:codes=
"codes"
/>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"Settlement"
name=
"setpan"
>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"Bookings"
name=
"glepan"
>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"Completion"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000529 -->
<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
label=
"Attachments"
name=
"doctre"
>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"外管信息"
name=
"wg"
>
<m-wg
:model=
"model"
:codes=
"codes"
/>
<m-wg
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
v-if=
"(this.model.bopmod.basflg == 'X' && this.model.bopmod.szflg == '1')"
label=
"对外付款/承兑通知书-基础信息"
name=
"basp"
>
<m-basp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
v-if=
"model.bopmod.basflg"
label=
"对外付款/承兑通知书-基础信息"
name=
"basp"
>
<m-basp
:model=
"model"
:codes=
"codes"
/>
<el-tab-pane
v-if=
"(this.model.bopmod.basflg == 'X' && this.model.bopmod.szflg == '2')"
label=
"境内付款/承兑通知书-基础信息"
name=
"basp1"
>
<m-basp1
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"跨境人名币申报"
name=
"cnyp"
>
<m-cnyp
:model=
"model"
:codes=
"codes"
/>
<m-cnyp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"资本项目"
name=
"cfactlp"
>
<m-cfactlp
:model=
"model"
:codes=
"codes"
/>
<m-cfactlp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"Payment 400 RMI "
name=
"det400"
>
<m-det400
:model=
"model"
:codes=
"codes"
/>
<m-det400
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"Payment 202 RMI "
name=
"det202cv"
>
<m-det202cv
:model=
"model"
:codes=
"codes"
/>
<m-det202cv
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Bctset
from
"~/model/Bctset"
import
commonProcess
from
"~/mixin/commonProcess"
import
commonFuncs
from
"~/mixin/commonFuncs"
import
Check
from
"~/model/Bctset/Check"
import
Default
from
"~/model/Bctset/Default"
import
Pattern
from
"~/model/Bctset/Pattern"
import
Bctsus
from
"./Bctsus"
import
Detp
from
"./Detp"
import
Shpdet
from
"./Shpdet"
import
Ptyp
from
"./Ptyp"
import
Wg
from
"./Wg"
import
Basp
from
"./Basp"
import
Cnyp
from
"./Cnyp"
import
Cfactlp
from
"./Cfactlp"
import
Det400
from
"./Det400"
import
Det202cv
from
"./Det202cv"
import
Engp
from
"~/views/Public/Engp"
import
Setpan
from
"~/views/Public/Setpan"
import
Coninfp
from
"~/views/Public/Coninfp"
import
Docpan
from
"~/views/Public/Docpan"
import
Doctre
from
"~/views/Public/Doctre"
import
Limitbody
from
"~/views/Public/Limitbody"
import
Glepan
from
"~/views/Public/Glepan"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Bctset
from
"~/model/Bctset"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Bctset/Check"
;
import
Default
from
"~/model/Bctset/Default"
;
import
Pattern
from
"~/model/Bctset/Pattern"
;
import
Bctsus
from
"./Bctsus"
;
import
Detp
from
"./Detp"
;
import
Shpdet
from
"./Shpdet"
;
import
Ptyp
from
"./Ptyp"
;
import
Wg
from
"./Wg"
;
import
Basp
from
"./Basp"
;
import
Basp1
from
"./Basp1"
;
import
Cnyp
from
"./Cnyp"
;
import
Cfactlp
from
"./Cfactlp"
;
import
Det400
from
"./Det400"
;
import
Det202cv
from
"./Det202cv"
;
import
Engp
from
"~/views/Public/Engp"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Doctre
from
"~/views/Public/Doctre"
;
import
Limitbody
from
"~/views/Public/Limitbody"
;
import
Glepan
from
"~/views/Public/Glepan"
;
export
default
{
name
:
"Bctset"
,
components
:{
"m-bctsus"
:
Bctsus
,
"m-detp"
:
Detp
,
"m-setpan"
:
Setpan
,
"m-shpdet"
:
Shpdet
,
"m-ptyp"
:
Ptyp
,
"m-basp"
:
Basp
,
"m-engp"
:
Engp
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
components
:
{
"m-bctsus"
:
Bctsus
,
"m-detp"
:
Detp
,
"m-setpan"
:
Setpan
,
"m-shpdet"
:
Shpdet
,
"m-ptyp"
:
Ptyp
,
"m-basp"
:
Basp
,
"m-basp1"
:
Basp1
,
"m-engp"
:
Engp
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-wg"
:
Wg
,
"m-cnyp"
:
Cnyp
,
"m-cfactlp"
:
Cfactlp
,
"m-det400"
:
Det400
,
"m-det202cv"
:
Det202cv
,
"m-limitbody"
:
Limitbody
,
"m-glepan"
:
Glepan
,
"m-limitbody"
:
Limitbody
,
"m-glepan"
:
Glepan
,
},
provide
()
{
return
{
root
:
this
}
root
:
this
,
};
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"bctsus"
,
trnName
:
"bctset"
,
...
...
@@ -150,27 +172,25 @@ export default {
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{...
CodeTable
codes
:
{
...
CodeTable
},
};
},
}
},
methods
:{
},
created
:
async
function
(){
methods
:
{},
created
:
async
function
()
{
console
.
log
(
"进入bctset交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
// console.log(this.$refs.bctsus);
this
.
$refs
.
bctsus
.
$refs
.
table
.
$refs
.
table
.
toggleAllSelection
();
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
},
};
</
script
>
<
style
>
</
style
>
<
style
></
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