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
b31f2ccf
Commit
b31f2ccf
authored
Dec 07, 2022
by
nanrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DBB功能测试缺陷修改。
parent
8e954f93
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
83 additions
and
91 deletions
+83
-91
index.js
src/config/CodeTable/index.js
+4
-1
Selection.vue
src/views/Business/Dbbame/Selection.vue
+1
-1
Basp.vue
src/views/Business/Dbbdel/Basp.vue
+9
-7
Selection.vue
src/views/Business/Dbbdel/Selection.vue
+2
-2
index.vue
src/views/Business/Dbbdel/index.vue
+57
-72
Basp.vue
src/views/Business/Dbbinf/Basp.vue
+9
-7
Selection.vue
src/views/Business/Dbbinf/Selection.vue
+1
-1
No files found.
src/config/CodeTable/index.js
View file @
b31f2ccf
...
...
@@ -4898,7 +4898,10 @@ const CodeTable = {
bopacttyp
:[
{
label
:
"境外"
,
value
:
"(JW)"
},
{
label
:
"境内非居民"
,
value
:
"(JN)"
},
],
bopacttyp1
:[
{
label
:
"境外"
,
value
:
"JW"
},
{
label
:
"境内非居民"
,
value
:
"JN"
},
],
payattr
:
[
{
label
:
"保税区"
,
value
:
"X"
},
...
...
src/views/Business/Dbbame/Selection.vue
View file @
b31f2ccf
...
...
@@ -28,7 +28,7 @@
v-model=
"model.bopbut.acttyp"
style=
"width: 100%"
placeholder=
"请输入款项去向"
:code=
"codes.bopacttyp"
:code=
"codes.bopacttyp
1
"
>
</c-select>
</el-form-item>
...
...
src/views/Business/Dbbdel/Basp.vue
View file @
b31f2ccf
...
...
@@ -3,13 +3,15 @@
<!----------左边------------>
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"申报号码"
prop=
"recgrp.bas.rptno"
>
<c-input
v-model=
"model.recgrp.bas.rptno"
maxlength=
"22"
placeholder=
"请输入申报号码"
disabled
></c-input>
<el-form-item
label=
"申报号码"
prop=
"recgrp.bas.rptno"
style=
"width: 100%"
>
<c-fullbox>
<c-input
v-model=
"model.recgrp.bas.rptno"
maxlength=
"22"
placeholder=
"请输入申报号码"
disabled
></c-input>
<template
slot=
"footer"
>
<c-button
size=
"small"
style=
"margin-left: 10px; padding: 0 12px"
type=
"primary"
@
click=
""
:disabled=
"model.recgrp.bas.rptno !== ''"
>
获取
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
...
...
src/views/Business/Dbbdel/Selection.vue
View file @
b31f2ccf
...
...
@@ -14,7 +14,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"请选择接口数据"
prop=
"bopbut.basflg"
class=
"checkbox-left"
>
<el-form-item
label=
"请选择
需要删除的
接口数据"
prop=
"bopbut.basflg"
class=
"checkbox-left"
>
<c-checkbox
v-model=
"model.bopbut.basflg"
>
基础数据
</c-checkbox>
</el-form-item>
</c-col>
...
...
@@ -29,7 +29,7 @@
style=
"width: 100%"
placeholder=
"请输入款项去向"
disabled
:code=
"codes.bopacttyp"
:code=
"codes.bopacttyp
1
"
>
</c-select>
</el-form-item>
...
...
src/views/Business/Dbbdel/index.vue
View file @
b31f2ccf
<
template
>
<div
class=
"eContainer"
>
<c-page
title=
"境外汇款申请书(删除)"
>
<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"
>
<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=
"接口数据"
name=
"selection"
>
<c-content>
...
...
@@ -29,22 +17,19 @@
<m-basp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--dbbp PD000001 境外汇款申请书-申报信息 -->
<!--
<el-tab-pane
:label=
"$t('dbbp.PD000001')"
name=
"dclp"
>
<!--dbbp PD000001 境外汇款申请书-申报信息 -->
<!--
<el-tab-pane
:label=
"$t('dbbp.PD000001')"
name=
"dclp"
>
<m-dclp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--dbbp PD000002 境外汇款申请书-核销专用信息 -->
<!--
<el-tab-pane
:label=
"$t('dbbp.PD000002')"
name=
"vrfp"
>
<!--dbbp PD000002 境外汇款申请书-核销专用信息 -->
<!--
<el-tab-pane
:label=
"$t('dbbp.PD000002')"
name=
"vrfp"
>
<m-vrfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<c-function-btn
:handleSubmit=
"handleSubmit.bind(this, 'bopbut.sav')"
:handleCheck=
"handleCheck.bind(this, 'bopbut.chk')"
>
</c-function-btn>
</c-page>
</div>
...
...
@@ -65,53 +50,53 @@ import Dclp from "./Dclp"
import
Vrfp
from
"./Vrfp"
export
default
{
name
:
"Dbbdel"
,
components
:
{
"m-selection"
:
Selection
,
"m-basp"
:
Basp
,
"m-dclp"
:
Dclp
,
"m-vrfp"
:
Vrfp
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"selection"
,
trnName
:
"dbbdel"
,
trnType
:
""
,
model
:
new
Dbbdel
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{...
CodeTable
}
};
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
)
/**
* do it yourself
**/
}
},
created
:
async
function
()
{
console
.
log
(
"进入dbbdel交易"
);
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
name
:
"Dbbdel"
,
components
:
{
"m-selection"
:
Selection
,
"m-basp"
:
Basp
,
"m-dclp"
:
Dclp
,
"m-vrfp"
:
Vrfp
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"selection"
,
trnName
:
"dbbdel"
,
trnType
:
""
,
model
:
new
Dbbdel
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
}
};
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
)
/**
* do it yourself
**/
}
},
created
:
async
function
()
{
console
.
log
(
"进入dbbdel交易"
);
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
};
</
script
>
<
style
>
...
...
src/views/Business/Dbbinf/Basp.vue
View file @
b31f2ccf
...
...
@@ -3,13 +3,15 @@
<!----------左边------------>
<c-col
:span=
"12"
style=
"padding-right: 20px"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"申报号码"
prop=
"recgrp.bas.rptno"
>
<c-input
v-model=
"model.recgrp.bas.rptno"
maxlength=
"22"
placeholder=
"请输入申报号码"
disabled
></c-input>
<el-form-item
label=
"申报号码"
prop=
"recgrp.bas.rptno"
style=
"width: 100%"
>
<c-fullbox>
<c-input
v-model=
"model.recgrp.bas.rptno"
maxlength=
"22"
placeholder=
"请输入申报号码"
disabled
></c-input>
<template
slot=
"footer"
>
<c-button
size=
"small"
style=
"margin-left: 10px; padding: 0 12px"
type=
"primary"
@
click=
""
:disabled=
"model.recgrp.bas.rptno !== ''"
>
获取
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
...
...
src/views/Business/Dbbinf/Selection.vue
View file @
b31f2ccf
...
...
@@ -32,7 +32,7 @@
style=
"width: 100%"
placeholder=
"请输入款项去向"
disabled
:code=
"codes.bopacttyp"
:code=
"codes.bopacttyp
1
"
>
</c-select>
</el-form-item>
...
...
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