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
4af36039
Commit
4af36039
authored
Aug 04, 2022
by
taojinrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cptati,cptato,cnysel交易修改
parent
15476d7e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
453 additions
and
314 deletions
+453
-314
index.js
src/config/CodeTable/index.js
+4
-0
BusRouter.js
src/views/Business/BusRouter.js
+3
-2
Selp.vue
src/views/Business/Cnysel/Selp.vue
+125
-73
index.vue
src/views/Business/Cnysel/index.vue
+72
-65
Docpan.vue
src/views/Business/Cptati/Docpan.vue
+12
-9
Opnp1.vue
src/views/Business/Cptati/Opnp1.vue
+0
-0
Pardet.vue
src/views/Business/Cptati/Pardet.vue
+0
-0
index.vue
src/views/Business/Cptati/index.vue
+160
-135
Opnp1.vue
src/views/Business/Cptato/Opnp1.vue
+5
-2
Pardet.vue
src/views/Business/Cptato/Pardet.vue
+14
-14
Wg.vue
src/views/Business/Cptato/Wg.vue
+54
-11
index.vue
src/views/Business/Cptato/index.vue
+4
-3
No files found.
src/config/CodeTable/index.js
View file @
4af36039
...
...
@@ -98,6 +98,10 @@ const CodeTable = {
{
label
:
"客户账"
,
value
:
"0"
},
{
label
:
"银行内部账"
,
value
:
"1"
},
],
acttyp
:[
{
label
:
"境内非居民"
,
value
:
"JN"
},
{
label
:
"境外"
,
value
:
"JW"
}
],
acksta
:
[
{
label
:
"ack"
,
value
:
"1"
},
{
label
:
"nack"
,
value
:
"2"
},
...
...
src/views/Business/BusRouter.js
View file @
4af36039
...
...
@@ -396,7 +396,7 @@ const BusRouter = [
{
path
:
'Litacp'
,
component
:
Litacp
,
name
:
'Litacp'
,
meta
:
{
title
:
'进口信用证减额修改接受'
}
},
{
path
:
'Litdla'
,
component
:
Litdla
,
name
:
'Litdla'
,
meta
:
{
title
:
'进口信用证减额修改接受'
}
},
{
path
:
'Bctsel'
,
component
:
Bctsel
,
name
:
'Bctsel'
,
meta
:
{
title
:
'进口代收'
}
},
{
path
:
'Cnysel'
,
component
:
Cnysel
,
name
:
'Cnysel'
,
meta
:
{
title
:
'
Cnysel
'
}
},
{
path
:
'Cptrel'
,
component
:
Cptrel
,
name
:
'Cptrel'
,
meta
:
{
title
:
'
Cptrel
'
}
},
{
path
:
'Cnysel'
,
component
:
Cnysel
,
name
:
'Cnysel'
,
meta
:
{
title
:
'
跨境人民币查询
'
}
},
{
path
:
'Cptrel'
,
component
:
Cptrel
,
name
:
'Cptrel'
,
meta
:
{
title
:
'
汇款复核与查询
'
}
},
]
export
default
BusRouter
\ No newline at end of file
src/views/Business/Cnysel/Selp.vue
View file @
4af36039
<
template
>
<div
class=
"eibs-tab"
>
<!-- ===================左边================= -->
<c-col
:span=
"11"
>
<el-form-item
label=
"申报类型"
prop=
"cnytyp"
>
<c-select
v-model=
"model.cnytyp"
style=
"width:100%"
placeholder=
"请选择申报类型"
>
<el-option
v-for=
"item in codes.cnytyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
<div
class=
"eibs-tab"
>
<!-- ===================左边================= -->
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"申报类型"
prop=
"cnytyp"
>
<c-select
v-model=
"model.cnytyp"
style=
"width: 100%"
placeholder=
"请选择申报类型"
>
<el-option
v-for=
"item in codes.cnytyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"业务编号"
prop=
"ownref"
>
<c-input
v-model=
"model.ownref"
maxlength=
"20"
placeholder=
"请输入业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"业务编号"
prop=
"ownref"
>
<c-input
v-model=
"model.ownref"
maxlength=
"20"
placeholder=
"请输入业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"业务所属行"
prop=
"ownextkey"
>
<c-select
v-model=
"model.ownextkey"
style=
"width:100%"
placeholder=
"请选择Initial Code"
>
<el-option
v-for=
"item in codes.ownextkey"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- =====================右边=========================== -->
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"From"
prop=
"frmdat"
>
<c-date-picker
type=
"date"
v-model=
"model.frmdat"
style=
"width:100%"
placeholder=
"请选择From"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"业务所属行"
prop=
"ownextkey"
>
<c-select
v-model=
"model.ownextkey"
style=
"width: 100%"
placeholder=
"请选择Initial Code"
>
<el-option
v-for=
"item in codes.ownextkey"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- =====================右边=========================== -->
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"From"
prop=
"frmdat"
>
<c-date-picker
type=
"date"
v-model=
"model.frmdat"
style=
"width: 100%"
placeholder=
"请选择From"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Until"
prop=
"tildat"
>
<c-date-picker
type=
"date"
v-model=
"model.tildat"
style=
"width:100%"
placeholder=
"请选择Until"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- ======================底部============================ -->
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Until"
prop=
"tildat"
>
<c-date-picker
type=
"date"
v-model=
"model.tildat"
style=
"width: 100%"
placeholder=
"请选择Until"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- ======================底部============================ -->
<c-col
:span=
"24"
>
<!--
<c-col
:span=
"24"
>
<el-form-item
label=
"Selection"
prop=
"cnystm"
>
<c-input
v-model=
"model.cnystm"
placeholder=
"请输入Selection"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
-->
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
:showButtonFlg=
"true"
>
<el-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"200px"
>
<template
slot=
"header"
>
<c-col
:span=
"11"
style=
"text-align: left"
><span>
操作
</span></c-col>
<!--
<c-col
:span=
"12"
style=
"text-align:right"
><c-button
icon=
"el-icon-s-tools"
></c-button></c-col>
-->
</
template
>
<
template
slot-scope=
"scope"
>
<a
href=
"javascript:void(0)"
@
click=
"continueEdit(scope.row)"
>
详情
</a
>
<a
href=
"javascript:void(0)"
@
click=
"continueEdit(scope.row)"
>
修改
</a
>
<a
href=
"javascript:void(0)"
@
click=
"continueEdit(scope.row)"
>
删除
</a
>
</
template
>
</el-table-column>
</c-istream-table>
</c-col>
<!--
<c-col
:span=
"12"
>
<!-- <c-col :span="12">
<el-form-item label="申报类型" prop="cnytyp">
<c-select v-model="model.cnytyp" style="width:100%" placeholder="请选择申报类型">
</c-select>
...
...
@@ -121,29 +165,37 @@
Exit
</c-button>
</c-col> -->
</div>
</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/Cnysel/Event"
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Cnysel/Event"
;
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
(){
return
{
}
},
methods
:{...
Event
},
created
:
function
(){
}
}
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
stmData
:
{
columns
:
[
'0 1 "业务编号" 110'
,
'1 2 "币种" 110'
,
'2 3 "金额" 120 2 8:1 2 5'
,
'3 4 "收款人名称" 250'
,
'4 5 "付款人名称" 250'
,
'5 6 "业务发生日期" 150 20 30 1'
,
'6 7 "复核状态" 120 1 0:0 1 RELSTA'
,
],
data
:
[],
},
};
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
src/views/Business/Cnysel/index.vue
View file @
4af36039
<
template
>
<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-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--PD000001 -->
<el-tab-pane
label=
"PD000001"
name=
"selp"
>
<m-selp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<c-page
title=
"跨境人民币查询"
>
<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-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--PD000001 -->
<el-tab-pane
label=
"接口信息选择"
name=
"selp"
>
<m-selp
: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
Cnysel
from
"~/model/Cnysel"
import
commonProcess
from
"~/mixin/commonProcess"
import
Check
from
"~/model/Cnysel/Check"
import
Default
from
"~/model/Cnysel/Default"
import
Pattern
from
"~/model/Cnysel/Pattern"
import
Selp
from
"./Selp"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Cnysel
from
"~/model/Cnysel"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
Check
from
"~/model/Cnysel/Check"
;
import
Default
from
"~/model/Cnysel/Default"
;
import
Pattern
from
"~/model/Cnysel/Pattern"
;
import
Selp
from
"./Selp"
;
export
default
{
name
:
"Cnysel"
,
components
:{
"m-selp"
:
Selp
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
""
,
trnName
:
"cnysel"
,
model
:
new
Cnysel
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
},
}
name
:
"Cnysel"
,
components
:
{
"m-selp"
:
Selp
,
},
provide
()
{
return
{
root
:
this
,
};
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"selp"
,
trnName
:
"cnysel"
,
model
:
new
Cnysel
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
},
};
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
/**
* do it yourself
**/
},
methods
:{
myTabClick
(
tab
){
this
.
tabClick
(
tab
)
/**
* do it yourself
**/
}
},
created
:
async
function
(){
console
.
log
(
"进入cnysel交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
created
:
async
function
()
{
console
.
log
(
"进入cnysel交易"
);
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
},
};
</
script
>
<
style
>
</
style
>
src/views/Business/Cptati/Docpan.vue
View file @
4af36039
...
...
@@ -3,8 +3,10 @@
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"ACT"
prop=
"lendoc.account"
>
<c-input
type=
"textarea"
v-model=
"model.lendoc.account"
maxlength=
"25"
show-word-limit
placeholder=
"请输入ACT"
></c-input>
<el-form-item
label=
"Verification Certificate Number"
prop=
"lendoc.vercerref"
>
<c-input
type=
"textarea"
v-model=
"model.lendoc.vercerref"
maxlength=
"20"
show-word-limit
placeholder=
"请输入Verification Certificate Number"
style=
"text-align: left;"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -16,19 +18,20 @@
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"
8
"
>
<c-col
:span=
"
4
"
>
<c-checkbox
v-model=
"model.lendoc.actflg"
>
Input Account
</c-checkbox>
</c-col>
<c-col
:span=
"16"
>
<el-form-item
label=
"Verification Certificate Number"
prop=
"lendoc.vercerref"
>
<c-input
type=
"textarea"
v-model=
"model.lendoc.vercerref"
maxlength=
"20"
show-word-limit
placeholder=
"请输入Verification Certificate Number"
style=
"text-align: left;"
></c-input>
<c-col
:span=
"20"
>
<el-form-item
label=
"ACT"
prop=
"lendoc.account"
>
<c-input
type=
"textarea"
v-model=
"model.lendoc.account"
maxlength=
"25"
show-word-limit
placeholder=
"请输入ACT"
></c-input>
</el-form-item>
</c-col>
</c-col>
...
...
src/views/Business/Cptati/Opnp1.vue
View file @
4af36039
This diff is collapsed.
Click to expand it.
src/views/Business/Cptati/Pardet.vue
View file @
4af36039
This diff is collapsed.
Click to expand it.
src/views/Business/Cptati/index.vue
View file @
4af36039
<
template
>
<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-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<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>
<!--Ovweview -->
<el-tab-pane
label=
"Ovweview"
name=
"opnp1"
>
<c-content>
<m-opnp1
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--Parties -->
<el-tab-pane
label=
"Parties"
name=
"pardet"
>
<c-content>
<m-pardet
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--Settlement -->
<el-tab-pane
label=
"Settlements"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--Completion -->
<el-tab-pane
label=
"Completion"
name=
"coninfp"
>
<c-content>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<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"
>
<!--Ovweview -->
<el-tab-pane
label=
"Ovweview"
name=
"opnp1"
>
<c-content>
<m-opnp1
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!-- Messages -->
<el-tab-pane
label=
"Messages"
name=
"docpan1"
>
<c-content>
<m-docpan1
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--Attachments -->
<el-tab-pane
label=
"Attachments"
name=
"doctre"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--收账通知 -->
<el-tab-pane
label=
"收账通知"
name=
"docpan"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000006 -->
<el-tab-pane
label=
"外管信息"
name=
"wg"
>
<c-content>
<m-wg
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--Parties -->
<el-tab-pane
label=
"Parties"
name=
"pardet"
>
<c-content>
<m-pardet
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000018 -->
<el-tab-pane
label=
"PD000018"
name=
"addinf"
>
<c-content>
<m-addinf
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<!--Settlement -->
<el-tab-pane
label=
"Settlements"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--Completion -->
<el-tab-pane
label=
"Completion"
name=
"coninfp"
>
<c-content>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!-- Messages -->
<el-tab-pane
label=
"Messages"
name=
"docpan1"
>
<c-content>
<m-docpan1
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--Attachments -->
<el-tab-pane
label=
"Attachments"
name=
"doctre"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--收账通知 -->
<el-tab-pane
label=
"收账通知"
name=
"docpan"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000006 -->
<el-tab-pane
label=
"外管信息"
name=
"wg"
>
<c-content>
<m-wg
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000018 -->
<!--
<el-tab-pane
label=
"PD000018"
name=
"addinf"
>
<c-content>
<m-addinf
:model=
"model"
:codes=
"codes"
/>
</c-content>
</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>
</div>
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Cptati
from
"~/model/Cptati"
import
commonProcess
from
"~/mixin/commonProcess"
import
Check
from
"~/model/Cptati/Check"
import
Default
from
"~/model/Cptati/Default"
import
Pattern
from
"~/model/Cptati/Pattern"
import
Opnp1
from
"./Opnp1"
import
Pardet
from
"./Pardet"
import
Setpan
from
"~/views/Public/Setpan"
import
Coninfp
from
"~/views/Public/Coninfp"
import
Addinf
from
"./Addinf"
import
Doctre
from
"~/views/Public/Doctre"
import
Docpan1
from
"~/views/Public/Docpan"
import
Docpan
from
"./Docpan"
import
Wg
from
"./Wg"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Cptati
from
"~/model/Cptati"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
Check
from
"~/model/Cptati/Check"
;
import
Default
from
"~/model/Cptati/Default"
;
import
Pattern
from
"~/model/Cptati/Pattern"
;
import
Opnp1
from
"./Opnp1"
;
import
Pardet
from
"./Pardet"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Addinf
from
"./Addinf"
;
import
Doctre
from
"~/views/Public/Doctre"
;
import
Docpan1
from
"~/views/Public/Docpan"
;
import
Docpan
from
"./Docpan"
;
import
Wg
from
"./Wg"
;
export
default
{
name
:
"Cptati"
,
components
:{
"m-opnp1"
:
Opnp1
,
"m-pardet"
:
Pardet
,
"m-setpan"
:
Setpan
,
"m-coninfp"
:
Coninfp
,
"m-addinf"
:
Addinf
,
"m-doctre"
:
Doctre
,
"m-docpan1"
:
Docpan1
,
"m-docpan"
:
Docpan
,
"m-wg"
:
Wg
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
""
,
trnName
:
"cptati"
,
model
:
new
Cptati
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
},
}
name
:
"Cptati"
,
components
:
{
"m-opnp1"
:
Opnp1
,
"m-pardet"
:
Pardet
,
"m-setpan"
:
Setpan
,
"m-coninfp"
:
Coninfp
,
"m-addinf"
:
Addinf
,
"m-doctre"
:
Doctre
,
"m-docpan1"
:
Docpan1
,
"m-docpan"
:
Docpan
,
"m-wg"
:
Wg
,
},
provide
()
{
return
{
root
:
this
,
};
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"opnp1"
,
trnName
:
"cptati"
,
model
:
new
Cptati
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
},
};
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
/**
* do it yourself
**/
},
methods
:{
myTabClick
(
tab
){
this
.
tabClick
(
tab
)
/**
* do it yourself
**/
}
},
created
:
async
function
(){
console
.
log
(
"进入cptati交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
created
:
async
function
()
{
console
.
log
(
"进入cptati交易"
);
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
},
};
</
script
>
<
style
>
</
style
>
src/views/Business/Cptato/Opnp1.vue
View file @
4af36039
...
...
@@ -167,8 +167,9 @@
style=
"width: 100%"
placeholder=
"请选择业务种类"
>
<!-- 使用busflg,bustyp不符 -->
<el-option
v-for=
"item in codes.bus
typ
"
v-for=
"item in codes.bus
flg
"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
...
...
@@ -506,16 +507,18 @@
</c-col>
<c-col
:span=
"24"
>
<c-row
type=
"flex"
justify=
"end"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"相关参考号"
prop=
""
v-show=
"flag1"
>
<c-input></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
style=
"text-align: right"
>
<c-col
:span=
"1
0"
offset=
"
2"
style=
"text-align: right"
>
<c-checkbox
v-model=
"model.cpdgrp.rec.tsnflg"
>
同名划转标志
</c-checkbox>
</c-col>
</c-row>
</c-col>
<c-col
:span=
"24"
>
...
...
src/views/Business/Cptato/Pardet.vue
View file @
4af36039
...
...
@@ -22,18 +22,6 @@
</el-form-item>
</c-col>
<!--
<c-col
:span=
"24"
>
<el-form-item
label=
"Drag Drop Sender"
prop=
"attp.orip.ptsget.sdamod.dadsnd"
>
<c-input
v-model=
"model.attp.orip.ptsget.sdamod.dadsnd"
placeholder=
"请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
-->
<c-col
:span=
"24"
>
<c-fullbox>
<el-form-item
...
...
@@ -44,6 +32,9 @@
v-model=
"model.cpdgrp.ori.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('attp.atd.sbkact')
"
></c-input>
</el-form-item>
<template
slot=
"footer"
>
...
...
@@ -127,6 +118,9 @@
v-model=
"model.cpdgrp.med.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('cpdgrp.med.pts.extkey')
"
></c-input>
</el-form-item>
<
template
slot=
"footer"
>
...
...
@@ -174,6 +168,9 @@
v-model=
"model.cpdgrp.rmt.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('cpdgrp.rmt.pts.extkey')
"
></c-input>
</el-form-item>
<
template
slot=
"footer"
>
...
...
@@ -184,8 +181,6 @@
icon=
"el-icon-search"
>
</c-button>
<!--
</c-col>
-->
<!--
<c-col
:span=
"12"
>
-->
<c-button
style=
"margin: 0 0"
size=
"small"
...
...
@@ -256,6 +251,9 @@
v-model=
"model.cpdgrp.pyb.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('cpdgrp.pyd.pts.extkey')
"
></c-input>
</el-form-item>
<
template
slot=
"footer"
>
...
...
@@ -325,6 +323,7 @@
show-word-limit
placeholder=
"请输入附言"
rows=
"4"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -354,6 +353,7 @@
show-word-limit
placeholder=
"请输入受益行"
rows=
"4"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
src/views/Business/Cptato/Wg.vue
View file @
4af36039
...
...
@@ -4,6 +4,12 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"申报类型"
prop=
"bopmod.szflg"
>
<c-select
v-model=
"model.bopmod.szflg"
style=
"width:100%"
placeholder=
"请选择申报类型"
>
<el-option
v-for=
"item in codes.szflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -11,7 +17,18 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"款项去向"
prop=
"bopmod.acttyp"
>
<c-select
v-model=
"model.bopmod.acttyp"
style=
"width:100%"
placeholder=
"请选择款项去向"
>
<c-select
v-model=
"model.bopmod.acttyp"
style=
"width:100%"
placeholder=
"请选择地区机构号"
>
<el-option
v-for=
"item in codes.acttyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -19,23 +36,32 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"地区机构号"
prop=
"bopmod.ownextkey"
>
<c-select
v-model=
"model.bopmod.ownextkey"
style=
"width:100%"
placeholder=
"请选择地区机构号"
>
</c-select>
<el-option
v-for=
"item in codes.ownextkey"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<c-checkbox
v-model=
"model.bopmod.basflg"
>
基础数据
</c-checkbox>
</c-col>
<c-checkbox
v-model=
"model.bopmod.basflg"
>
基础数据
</c-checkbox>
</c-col>
<c-col
:span=
"24
"
>
<c-checkbox
v-model=
"model.bopmod.dclflg"
>
申报数据
</c-checkbox>
</c-col>
<c-col
:span=
"24"
v-show=
"false
"
>
<c-checkbox
v-model=
"model.bopmod.dclflg"
>
申报数据
</c-checkbox>
</c-col>
<c-col
:span=
"24
"
>
<c-checkbox
v-model=
"model.bopmod.vrfflg"
>
核销数据
</c-checkbox>
</c-col>
<c-col
:span=
"24"
v-show=
"false
"
>
<c-checkbox
v-model=
"model.bopmod.vrfflg"
>
核销数据
</c-checkbox>
</c-col>
</c-col>
<!-- ==================原码================= -->
...
...
@@ -91,7 +117,24 @@ export default {
methods
:{...
Event
},
created
:
function
(){
}
},
// computed:{
// //可以用watch做
// flag() {
// if(this.model.bopmod.szflg == "3"){
// return false;
// }
// else{ return true;}
// },
// flag1(){
// if(this.model.bopmod.szflg == "1"){
// return true;
// }
// else{return false;}
// }
// }
}
</
script
>
<
style
>
...
...
src/views/Business/Cptato/index.vue
View file @
4af36039
...
...
@@ -34,6 +34,7 @@
<!--PD000000 -->
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!-- Messages -->
<el-tab-pane
label=
"报文及面函"
name=
"docpan"
>
<!--PD000000 -->
<m-docpan
:model=
"model"
:codes=
"codes"
/>
...
...
@@ -62,14 +63,14 @@ import CodeTable from "~/config/CodeTable";
import
Cptato
from
"~/model/Cptato"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
Pattern
from
"~/model/Cptato/Pattern"
;
import
Opnp1
from
"./Opnp1"
;
import
Wg
from
"./Wg"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Glepan
from
"~/views/Public/Glepan"
;
import
Pardet
from
"./Pardet"
;
import
Doctre
from
"~/views/Public/Doctre"
;
import
Opnp1
from
"./Opnp1"
;
import
Pardet
from
"./Pardet"
;
import
Wg
from
"./Wg"
;
export
default
{
name
:
"Cptato"
,
...
...
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