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
8488fd80
Commit
8488fd80
authored
Nov 11, 2022
by
jianglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改DBAADD
parent
d9c1eb64
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
146 additions
and
144 deletions
+146
-144
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
+44
-74
Vrfp.vue
src/views/Business/Dbaadd/Vrfp.vue
+57
-40
index.vue
src/views/Business/Dbaadd/index.vue
+45
-30
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
: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=
"onBopbutMod"
>
{{
$t
(
'butp.C0000009'
)
}}
</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=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onBopbutChk"
>
{{
$t
(
'butp.C0000007'
)
}}
</c-button>
<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-col
:span=
"12"
>
<c-button
size=
"small"
icon=
"el-icon-delete"
@
click=
"onBopbutDel"
>
{{
$t
(
'butp.C0000010'
)
}}
</c-button>
</c-fullbox>
</el-form-item>
</c-col>
</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>
<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>
</c-col
>
</div>
</template>
<
script
>
...
...
src/views/Business/Dbaadd/Vrfp.vue
View file @
8488fd80
<
template
>
<div
class=
"eibs-tab"
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"12"
>
<c-row>
<c-col
:span=
"24"
>
<!-- -----左边----- -->
<c-col
:span=
"12"
style=
"padding-right:20px"
>
<c-col
:span=
"24"
>
<c-form-item
:label=
"$t('vrfpp.S0000001')"
prop=
"recgrp.vrf.tmpref"
>
<c-input
v-model=
"model.recgrp.vrf.tmpref"
maxlength=
"16"
:placeholder=
"$t('other.please_enter')+$t('vrfpp.S0000001')"
></c-input>
</c-form-item>
</c-col>
<!-- S0000001 : 临时申报编号 -->
<!-- S0000018 : RoptNam -->
<c-col
:span=
"12"
>
<span
v-text=
"model.recp.vrfpp.roptnam"
data-path=
".recp.vrfpp.roptnam"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('vrfpp.S0000018')"
prop=
"recgrp.vrf.rptno"
>
<c-input
v-model=
"model.recgrp.vrf.rptno"
maxlength=
"22"
:placeholder=
"$t('other.please_enter')+$t('vrfpp.S0000018')"
></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 操作类型 -->
<c-col
:span=
"12
"
>
<c-col
:span=
"24
"
>
<c-form-item
:label=
"$t('vrfpp.S0000003')"
prop=
"recgrp.vrf.actiontype"
>
<c-input
v-model=
"model.recgrp.vrf.actiontype"
maxlength=
"1"
:placeholder=
"$t('other.please_enter')+$t('vrfpp.S0000003')"
></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 修改/删除原因 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('vrfpp.S0000004')"
prop=
"recgrp.vrf.actiondesc"
>
<c-input
type=
"textarea"
v-model=
"model.recgrp.vrf.actiondesc"
maxlength=
"32"
show-word-limit
:placeholder=
"$t('other.please_enter')+$t('vrfpp.S0000004')"
></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 地区机构号 -->
<c-col
:span=
"12
"
>
<c-col
:span=
"24
"
>
<c-form-item
:label=
"$t('vrfpp.S0000002')"
prop=
"recgrp.vrf.ownextkey"
>
<c-input
v-model=
"model.recgrp.vrf.ownextkey"
maxlength=
"8"
:placeholder=
"$t('other.please_enter')+$t('vrfpp.S0000002')"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.recp.vrfpp.acp"
>
{{
$t
(
'vrfpp.C0000017'
)
}}
</c-checkbox>
</c-col>
<!-- S0000052 : 收汇类型 -->
<c-col
:span=
"12
"
>
<c-col
:span=
"24
"
>
<el-form-item
:label=
"$t('dbap.S0000052')"
prop=
"recgrp.vrf.payattr"
>
<c-select
v-model=
"model.recgrp.vrf.payattr"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('dbap.S0000052')"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12
"
>
<c-col
:span=
"24
"
>
<c-form-item
:label=
"$t('dbap.S0000050')"
prop=
"recgrp.vrf.osamt"
>
<c-input
v-model=
"model.recgrp.vrf.osamt"
:placeholder=
"$t('other.please_enter')+$t('dbap.S0000050')"
></c-input>
</c-form-item>
</c-col>
<!-- S0000050 : 余款金额 -->
<!-- S0000049 : 已出具出口收汇核销专用联 -->
<c-col
:span=
"12
"
>
<c-col
:span=
"24
"
>
<el-form-item
:label=
"$t('dbap.S0000049')"
prop=
"recgrp.vrf.chkprtd"
>
<c-select
v-model=
"model.recgrp.vrf.chkprtd"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('dbap.S0000049')"
>
</c-select>
...
...
@@ -68,34 +49,67 @@
</c-col>
<!-- S0000053 : 收汇总金额中用于出口核销的金额 -->
<c-col
:span=
"12
"
>
<c-col
:span=
"24
"
>
<c-form-item
:label=
"$t('dbap.S0000053')"
prop=
"recgrp.vrf.chkamt"
>
<c-input
v-model=
"model.recgrp.vrf.chkamt"
:placeholder=
"$t('other.please_enter')+$t('dbap.S0000053')"
></c-input>
</c-form-item>
</c-col>
<!-- S0000015 : 申报日期 -->
<c-col
:span=
"12"
>
</c-col>
<!-- -----右边----- -->
<c-col
:span=
"12"
style=
"padding-left:20px"
>
<c-col
:span=
"24"
>
<c-form-item
label=
"申报编号"
prop=
"recgrp.vrf.rptno"
>
<c-input
v-model=
"model.recgrp.vrf.rptno"
maxlength=
"22"
:placeholder=
"$t('other.please_enter')+'申报编号'"
></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 修改/删除原因 -->
<c-col
:span=
"24"
>
<c-form-item
:label=
"$t('vrfpp.S0000004')"
prop=
"recgrp.vrf.actiondesc"
>
<c-input
type=
"textarea"
v-model=
"model.recgrp.vrf.actiondesc"
maxlength=
"32"
show-word-limit
:placeholder=
"$t('other.please_enter')+$t('vrfpp.S0000004')"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label-width=
"120px"
>
<c-checkbox
style=
"float:left;"
v-model=
"model.recp.vrfpp.acp"
>
{{
$t
(
'vrfpp.C0000017'
)
}}
</c-checkbox>
</c-form-item>
</c-col>
<!--出口收汇核销单号码 -->
<c-col
:span=
"24"
>
<el-form-item
:label=
"$t('vrfpp.S0000015')"
prop=
"recgrp.vrf.rptdate"
>
<c-date-picker
type=
"date"
v-model=
"model.recgrp.vrf.rptdate"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('vrfpp.S0000015')"
></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000013 : 填报人 -->
<c-col
:span=
"12
"
>
<c-col
:span=
"24
"
>
<c-form-item
:label=
"$t('vrfpp.S0000013')"
prop=
"recgrp.vrf.crtuser"
>
<c-input
v-model=
"model.recgrp.vrf.crtuser"
maxlength=
"20"
:placeholder=
"$t('other.please_enter')+$t('vrfpp.S0000013')"
></c-input>
</c-form-item>
</c-col>
<!-- S0000014 : 填报人电话 -->
<c-col
:span=
"12
"
>
<c-col
:span=
"24
"
>
<c-form-item
:label=
"$t('vrfpp.S0000014')"
prop=
"recgrp.vrf.inptelc"
>
<c-input
v-model=
"model.recgrp.vrf.inptelc"
maxlength=
"20"
:placeholder=
"$t('other.please_enter')+$t('vrfpp.S0000014')"
></c-input>
</c-form-item>
</c-col>
</div>
</c-col>
</c-col>
</c-row>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
commonProcess
from
"~/mixin/commonProcess"
;
...
...
@@ -104,19 +118,22 @@ import Event from "~/model/Dbaadd/Event"
export
default
{
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
(){
data
()
{
return
{
}
},
methods
:{...
Event
},
created
:
function
(){
methods
:
{
...
Event
},
created
:
function
()
{
}
}
</
script
>
<
style
>
</
style
>
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"
>
<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=
"$t('bopbut.PD000000')"
name=
"selection"
>
<m-selection
:model=
"model"
:codes=
"codes"
/>
<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=
"$t('dbap.PD000000')"
name=
"basp"
>
<m-basp
:model=
"model"
:codes=
"codes"
/>
<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=
"$t('dbap.PD000001')"
name=
"dclp"
>
<m-dclp
:model=
"model"
:codes=
"codes"
/>
<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=
"$t('dbap.PD000002')"
name=
"vrfp"
>
<m-vrfp
:model=
"model"
:codes=
"codes"
/>
<el-tab-pane
label=
"核销信息"
name=
"vrfp"
>
<c-content>
<m-vrfp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
...
...
@@ -35,14 +51,13 @@ 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
{
...
...
@@ -50,9 +65,9 @@ export default {
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
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
**/
}
},
created
:
async
function
()
{
created
:
async
function
()
{
console
.
log
(
"进入dbaadd交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
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