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
8488fd80
Commit
8488fd80
authored
Nov 11, 2022
by
jianglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改DBAADD
parent
d9c1eb64
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
113 additions
and
128 deletions
+113
-128
Basp.vue
src/views/Business/Dbaadd/Basp.vue
+0
-0
Dclp.vue
src/views/Business/Dbaadd/Dclp.vue
+0
-0
Selection.vue
src/views/Business/Dbaadd/Selection.vue
+52
-82
Vrfp.vue
src/views/Business/Dbaadd/Vrfp.vue
+0
-0
index.vue
src/views/Business/Dbaadd/index.vue
+61
-46
No files found.
src/views/Business/Dbaadd/Basp.vue
View file @
8488fd80
This diff is collapsed.
Click to expand it.
src/views/Business/Dbaadd/Dclp.vue
View file @
8488fd80
This diff is collapsed.
Click to expand it.
src/views/Business/Dbaadd/Selection.vue
View file @
8488fd80
<
template
>
<div
class=
"eibs-tab"
>
<!-- S0000015 : 收付汇日期 -->
<c-col
:span=
"
12
"
>
<el-form-item
:label=
"$t('bopbut.S0000015')
"
prop=
"ctlmod.dbl.reldat"
>
<c-date-picker
type=
"date"
v-model=
"model.ctlmod.dbl.reldat"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('bopbut.S0000015')
"
></c-date-picker>
<c-col
:span=
"12"
>
<c-col
:span=
"
24
"
>
<el-form-item
label=
"收付汇日期
"
prop=
"ctlmod.dbl.reldat"
>
<c-date-picker
disabled
type=
"date"
v-model=
"model.ctlmod.dbl.reldat"
style=
"width:100%"
placeholder=
"收付汇日期
"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<span
v-text=
"model.bopbut.acttyplab"
data-path=
".bopbut.acttyplab"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"款项标志"
prop=
"bopbut.acttyp"
>
<c-select
v-model=
"model.bopbut.acttyp"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+'款项标志'"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"
12
"
>
<el-form-item
label=
"
贸易类型"
prop=
"ctlmod.wrkdbl.trd
typ"
>
<c-select
v-model=
"model.ctlmod.wrkdbl.trdtyp"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+'贸易类型'
"
>
<c-col
:span=
"
24
"
>
<el-form-item
label=
"
款项来源"
prop=
"bopbut.act
typ"
>
<c-select
disabled
v-model=
"model.bopbut.acttyp"
style=
"width:100%"
placeholder=
"款项来源
"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onBopbutSav"
>
{{
$t
(
'butp.C0000006'
)
}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onBopbutMod"
>
{{
$t
(
'butp.C0000009'
)
}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onBopbutChk"
>
{{
$t
(
'butp.C0000007'
)
}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
icon=
"el-icon-delete"
@
click=
"onBopbutDel"
>
{{
$t
(
'butp.C0000010'
)
}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<span
v-text=
"model.bopbut.boplabel"
data-path=
".bopbut.boplabel"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.bopbut.vrfflg"
>
{{
$t
(
'bopbut.C0000011'
)
}}
</c-checkbox>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.bopbut.basflg"
>
{{
$t
(
'bopbut.C0000009'
)
}}
</c-checkbox>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.bopbut.dclflg"
>
{{
$t
(
'bopbut.C0000010'
)
}}
</c-checkbox>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.bopbut.ackflg"
>
{{
$t
(
'bopbut.C0000014'
)
}}
</c-checkbox>
</c-col>
<c-col
:span=
"12"
>
<c-form-item
label=
"修改/删除原因"
prop=
"bopbut.actiondesc"
>
<c-input
type=
"textarea"
v-model=
"model.bopbut.actiondesc"
maxlength=
"32"
show-word-limit
:placeholder=
"$t('other.please_enter')+'修改/删除原因'"
></c-input>
</c-form-item>
<c-col
:span=
"24"
>
<el-form-item
label=
"请选择接口数据"
prop=
""
>
<c-fullbox>
<c-col
:span=
"8"
>
<template>
<c-checkbox
disabled
@
change=
"open"
v-model=
"model.bopbut.basflg"
style=
"float: left; text-align: center"
>
基础信息
</c-checkbox
>
</
template
>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onBopbutAdd"
>
{{
$t
(
'bopbut.C0000019'
)
}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onButpErr"
>
{{
$t
(
'butp.C0000013'
)
}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onBopbutExt"
>
{{
$t
(
'butp.CG000004'
)
}}
</c-button>
<c-col
:span=
"8"
>
<
template
>
<c-checkbox
disabled
@
change=
"open"
v-model=
"model.bopbut.dclflg"
style=
"float: left; text-align: center"
>
申报信息
</c-checkbox
>
</
template
>
</c-col>
<c-col
:span=
"8"
>
<
template
>
<c-checkbox
disabled
@
change=
"open"
v-model=
"model.bopbut.vrfflg"
style=
"float: left; text-align: center"
>
管理信息
</c-checkbox
>
</
template
>
</c-col>
</c-fullbox>
</el-form-item>
</c-col>
</c-col
>
<c-col
:span=
"12"
>
</c-col
>
</div>
</template>
<
script
>
...
...
src/views/Business/Dbaadd/Vrfp.vue
View file @
8488fd80
This diff is collapsed.
Click to expand it.
src/views/Business/Dbaadd/index.vue
View file @
8488fd80
<
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"
>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane
:label=
"$t('bopbut.PD000000')"
name=
"selection"
>
<m-selection
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--dbap PD000000 涉外收入申报单-基础信息 -->
<el-tab-pane
:label=
"$t('dbap.PD000000')"
name=
"basp"
>
<m-basp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--dbap PD000001 涉外收入申报单-申报信息 -->
<el-tab-pane
:label=
"$t('dbap.PD000001')"
name=
"dclp"
>
<m-dclp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--dbap PD000002 核销专用联(境外收入)-核销信息 -->
<el-tab-pane
:label=
"$t('dbap.PD000002')"
name=
"vrfp"
>
<m-vrfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<div
class=
"eContainer"
>
<c-page
title=
"进口信用证开立"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane
label=
"接口数据"
name=
"selection"
>
<c-content>
<m-selection
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--dbap PD000000 涉外收入申报单-基础信息 -->
<el-tab-pane
label=
"基础信息"
name=
"basp"
>
<c-content>
<m-basp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--dbap PD000001 涉外收入申报单-申报信息 -->
<el-tab-pane
label=
"申报信息"
name=
"dclp"
>
<c-content>
<m-dclp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--dbap PD000002 核销专用联(境外收入)-核销信息 -->
<el-tab-pane
label=
"核销信息"
name=
"vrfp"
>
<c-content>
<m-vrfp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
...
...
@@ -35,24 +51,23 @@ import Basp from "./Basp"
import
Dclp
from
"./Dclp"
import
Vrfp
from
"./Vrfp"
export
default
{
name
:
"Dbaadd"
,
components
:{
"m-selection"
:
Selection
,
"m-basp"
:
Basp
,
"m-dclp"
:
Dclp
,
"m-vrfp"
:
Vrfp
,
components
:
{
"m-selection"
:
Selection
,
"m-basp"
:
Basp
,
"m-dclp"
:
Dclp
,
"m-vrfp"
:
Vrfp
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
""
,
tabVal
:
"
selection
"
,
trnName
:
"dbaadd"
,
trnType
:
""
,
model
:
new
Dbaadd
().
data
,
...
...
@@ -60,34 +75,34 @@ export default {
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
},
codes
:
{
...
CodeTable
},
}
},
methods
:{
myTabClick
(
tab
){
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
)
/**
* do it yourself
**/
* do it yourself
**/
}
},
created
:
async
function
()
{
created
:
async
function
()
{
console
.
log
(
"进入dbaadd交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
</
script
>
<
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