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
ede2673f
Commit
ede2673f
authored
Sep 01, 2023
by
liaoxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bctdav 获取编号修改
parent
ee2ee624
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
78 additions
and
32 deletions
+78
-32
buildCommons.js
src/business/bctdav/event/buildCommons.js
+1
-1
index.js
src/business/bctdav/event/index.js
+15
-14
index.js
src/business/bctdav/model/index.js
+11
-0
Ovwp1.vue
src/business/bctdav/views/Ovwp1.vue
+51
-17
No files found.
src/business/bctdav/event/buildCommons.js
View file @
ede2673f
...
...
@@ -38,7 +38,7 @@ export default {
ownref
:
model
.
bcdgrp
.
rec
.
ownref
,
opndat
:
model
.
bcdgrp
.
rec
.
opndat
,
expdat
:
model
.
bcdgrp
.
rec
.
expdat
,
branchInr
:
model
.
bcdgrp
.
rec
.
branch
I
nr
,
branchInr
:
model
.
bcdgrp
.
rec
.
branch
i
nr
,
nam
:
model
.
bcdgrp
.
rec
.
nam
,
oridre
:
model
.
bcdgrp
.
rec
.
oridre
,
},
...
...
src/business/bctdav/event/index.js
View file @
ede2673f
...
...
@@ -104,20 +104,21 @@ export default {
queryFormData
(
key
)
{
console
.
log
(
key
);
},
// // 业务信息=》基本信息=》编号-----获取编号
// async queryOwnref() {
// let params = {
// ptainr: this.model.gidgrp.apl.pts.ptainr,
// businessType: 'LG',保函用的是LG
// tbl: 'LG',
// };
// const loading = this.loading();
// let res = await Api.post('/service/gitopn/getOwnRef', params);
// if (res.respCode == SUCCESS) {
// loading.close();
// this.model.gidgrp.rec.ownref = res.data;
// }
// },
// 业务信息=》基本信息=》编号-----获取编号
async
queryOwnref
()
{
let
params
=
{
ptainr
:
this
.
model
.
bcdgrp
.
drr
.
pts
.
ptainr
,
businessType
:
'IC'
,
tbl
:
'IC'
,
};
const
loading
=
this
.
loading
();
debugger
;
let
res
=
await
Api
.
post
(
'/service/bctdav/getOwnRef'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
loading
.
close
();
this
.
model
.
bcdgrp
.
rec
.
ownref
=
res
.
data
;
}
},
// 获取弹框表格数据
async
queryGridEtyPromptDialogData
(
type
,
ptytyp
)
{
...
...
src/business/bctdav/model/index.js
View file @
ede2673f
...
...
@@ -46,6 +46,8 @@ export default class Bctdav{
othins
:
""
,
// Defer Payment until .bcdgrp.rec.othins
stagod
:
""
,
// Good's Code (for Statistics) .bcdgrp.rec.stagod
proins
:
""
,
// Protest Instructions .bcdgrp.rec.proins
inr
:
""
,
branchinr
:
''
,
},
cbs
:{
max
:{
...
...
@@ -68,12 +70,21 @@ export default class Bctdav{
},
dre
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .bcdgrp.dre.namelc
adrelc
:
""
,
// 地址 .bcdgrp.dre.adrelc
dbfadrblkcn
:
""
,
// Chinese address .bcdgrp.dre.dbfadrblkcn
},
rmi
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .bcdgrp.rmi.namelc
adrelc
:
""
,
// 地址 .bcdgrp.rmi.adrelc
dbfadrblkcn
:
""
,
// Chinese address .bcdgrp.rmi.dbfadrblkcn
},
drr
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .bcdgrp.drr.namelc
adrelc
:
""
,
// 地址 .bcdgrp.drr.adrelc
dbfadrblkcn
:
""
,
// Chinese address .bcdgrp.drr.dbfadrblkcn
},
},
bctp
:{
...
...
src/business/bctdav/views/Ovwp1.vue
View file @
ede2673f
...
...
@@ -29,7 +29,7 @@
size=
"small"
type=
"primary"
:disabled=
"this.model.bcdgrp.dre.pts.extkey !== '' && model.bcdgrp.rec.ownref == ''? false:true"
@
click=
"
onBctmodButget
ref"
@
click=
"
queryOwn
ref"
>
获取编号
</c-button>
...
...
@@ -235,7 +235,7 @@
<!-- ========================右边======================= -->
<c-col
:span=
"12"
style=
"padding-left: 20px;"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"简略信息"
prop=
"bcdgrp.rec.nam"
>
<el-form-item
label=
"简略信息"
prop=
"bcdgrp.rec.nam"
v-model=
"totalnam"
>
<c-input
align=
"middle"
disabled
...
...
@@ -245,7 +245,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<
!-- <
c-col :span="24">
<el-form-item label="付款人参考号" prop="bcdgrp.dre.pts.ref">
<c-input
v-model="model.bcdgrp.dre.pts.ref"
...
...
@@ -263,9 +263,7 @@
v-model="model.bcdgrp.dre.pts.extkey"
maxlength="150"
placeholder="请输入付款人名称"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('bcdgrp.dre.pts.extkey')
"
@keyup.enter.native="queryGridEtyPromptDialogData('DRE', 'C')"
></c-input>
<template slot="footer">
<c-button
...
...
@@ -286,9 +284,19 @@
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
-->
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"{
title: '付款人',
grp: 'bcdgrp',
rol: 'dre',
}"
:isAdrblk=
"true"
:disabled=
"this.flag1"
@
keyup
.
enter
.
native=
"queryGridEtyPromptDialogData('DRE', 'C')"
>
</c-ptap>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="地址信息" prop="bcdgrp.dre.pts.adrblk">
<c-input
type="textarea"
...
...
@@ -300,8 +308,8 @@
placeholder="请输入地址信息"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
</c-col>
-->
<
!-- <
c-col :span="24">
<el-form-item label="托收行参考号" prop="bcdgrp.rmi.pts.ref">
<c-input
v-model="model.bcdgrp.rmi.pts.ref"
...
...
@@ -319,9 +327,7 @@
v-model="model.bcdgrp.rmi.pts.extkey"
maxlength="120"
placeholder="请输入托收行名称"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('bcdgrp.rmi.pts.extkey')
"
@keyup.enter.native="queryGridEtyPromptDialogData('RMI', 'C')"
>
</c-input>
<template slot="footer">
...
...
@@ -351,9 +357,19 @@
placeholder="请输入地址信息"
></c-input>
</el-form-item>
</c-col>
</c-col>
-->
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"{
title: '托收行',
grp: 'bcdgrp',
rol: 'rmi',
}"
:isAdrblk=
"true"
:disabled=
"this.flag1"
@
keyup
.
enter
.
native=
"queryGridEtyPromptDialogData('RMI', 'C')"
>
</c-ptap>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="收款人参考号" prop="bcdgrp.drr.pts.ref">
<c-input
v-model="model.bcdgrp.drr.pts.ref"
...
...
@@ -371,9 +387,7 @@
v-model="model.bcdgrp.drr.pts.extkey"
maxlength="50"
placeholder="请输入收款人名称"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('bcdgrp.drr.pts.extkey')
"
@keyup.enter.native="queryGridEtyPromptDialogData('DRR', 'C')">
></c-input>
<template slot="footer">
<c-button
...
...
@@ -402,6 +416,16 @@
placeholder="请输入地址信息"
></c-input>
</el-form-item>
</c-col> -->
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"{
title: '收款人',
grp: 'bcdgrp',
rol: 'drr',
}"
:isAdrblk=
"true"
:disabled=
"this.flag1"
@
keyup
.
enter
.
native=
"queryGridEtyPromptDialogData('DRR', 'C')"
>
</c-ptap>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -507,7 +531,17 @@ export default {
},
};
},
methods
:
{
...
Event
},
methods
:
{
...
event
},
computed
:
{
totalnam
(){
const
cur
=
this
.
model
.
bcdgrp
.
cbs
.
max
.
cur
+
' '
const
amt
=
this
.
model
.
bcdgrp
.
cbs
.
max
.
amt
+
' '
const
preNam
=
this
.
model
.
bcdgrp
.
drr
.
pts
.
nam
+
''
this
.
model
.
bcdgrp
.
rec
.
nam
=
(
cur
+
amt
+
preNam
).
substring
(
0
,
40
)
return
this
.
model
.
bcdgrp
.
rec
.
nam
}
},
created
:
function
()
{},
};
</
script
>
...
...
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