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
63efebc7
Commit
63efebc7
authored
Aug 24, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
botdcr
parent
6481695a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
96 additions
and
137 deletions
+96
-137
index.js
src/business/botdcr/model/index.js
+7
-57
Addbcb.vue
src/business/botdcr/views/Addbcb.vue
+4
-18
Botdcrp1.vue
src/business/botdcr/views/Botdcrp1.vue
+22
-35
index.vue
src/business/botdcr/views/index.vue
+63
-27
No files found.
src/business/botdcr/model/index.js
View file @
63efebc7
import
Pub
from
"@/components/business/commonModel"
;
import
Pts
from
'~/components/business/commonModel/Pts'
;
export
default
class
Botdcr
{
constructor
()
{
this
.
data
=
{
...
...
@@ -5,7 +8,6 @@ export default class Botdcr {
botdrrl1blk
:
""
,
botdrrl2blk
:
""
,
botcoll1blk
:
""
,
liaall
:
new
Pub
().
data
.
Liaall
,
bodgrp
:
{
rec
:
{
matpertyp
:
""
,
// Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
...
...
@@ -99,64 +101,12 @@ export default class Botdcr {
},
},
rejtypsel
:
""
,
// .rejtypsel
// mtabut: {
// clsflg: "", // Close Flag .mtabut.clsflg
// coninf: {
// oitinf: {
// labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
// oit: {
// inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
// inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
// },
// },
// oitset: {
// labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
// oit: {
// inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
// inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
// },
// },
// conexedat: "", // 执行日期 .mtabut.coninf.conexedat
// usr: {
// extkey: "", // User ID .mtabut.coninf.usr.extkey
// },
// },
// },
// setmod:{
// docamttyplab:"", // settled amount description as label .setmod.docamttyplab
// retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
// ref:"", // our reference .setmod.ref
// doccur:"", // document currency .setmod.doccur
// docamt:"", // document amount .setmod.docamt
// dspflg:"", // Type of settlement .setmod.dspflg
// xreflg:"", // Recalculate Rates .setmod.xreflg
// setglg:{
// labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
// },
// zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
// },
// trnmod:{
// trndoc:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
// amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
// advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
// advnam:"", // 国内证落款 .trnmod.trndoc.advnam
// amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
// doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
// shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
// shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
// condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
// rcvatt:{
// seainf:"", // .trnmod.trndoc.rcvatt.seainf
// },
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv
// },
// },
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
pageId
:
""
// ctx的key
liaall
:
new
Pub
().
data
.
Liaall
,
liaccv
:
new
Pub
().
data
.
Liaccv
,
docpan
:
new
Pub
().
data
.
Docpan
,
}
}
...
...
src/business/botdcr/views/Addbcb.vue
View file @
63efebc7
<
template
>
<div
class=
"eibs"
>
<div
class=
"eibs
-tab
"
>
<el-collapse
v-model=
"activeNames"
>
<!--el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item-->
<el-collapse-item
title=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</el-collapse>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
Utils
from
"~/utils"
;
import
event
from
"../event"
//import Addbcb1 from "~/views/Public/Addbcb1";
import
Coninfp
from
"~/views/Public/Coninfp"
;
export
default
{
components
:
{
"m-coninfp"
:
Coninfp
,
//"m-addbcb1": Addbcb1,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
event
],
data
()
{
return
{
activeNames
:
[
"coninfp"
],
};
},
methods
:
{},
created
:
function
()
{},
created
:
function
()
{
},
};
</
script
>
...
...
src/business/botdcr/views/Botdcrp1.vue
View file @
63efebc7
...
...
@@ -5,7 +5,8 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"托收业务编号"
prop=
"bodgrp.rec.ownref"
style=
"width: 100%"
>
<c-fullbox>
<c-input
v-model=
"model.bodgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入托收业务编号"
style=
"width: 100%"
<c-input
v-model=
"model.bodgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入托收业务编号"
style=
"width: 100%"
disabled
></c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin:0 0 0 10px;padding: 0 12px;"
size=
"small"
type=
"primary"
icon=
"el-icon-search"
>
...
...
@@ -14,17 +15,6 @@
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="22">-->
<!-- <el-form-item label="托收业务编号" prop="bodgrp.rec.ownref" style="width: 100%">-->
<!-- <c-input v-model="model.bodgrp.rec.ownref" maxlength="16" placeholder="请输入托收业务编号" style="width: 95%"-->
<!-- disabled></c-input>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<!-- <c-col :span="2">-->
<!-- <c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary" icon="el-icon-search">-->
<!-- </c-button>-->
<!-- </c-col>-->
<c-col
:span=
"12"
>
<el-form-item
label=
"托收金额"
prop=
"bodgrp.cbs.max.cur"
>
<c-select
disabled
v-model=
"model.bodgrp.cbs.max.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
>
...
...
@@ -139,7 +129,8 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"拒绝付款或承兑的原因"
prop=
"bodgrp.blk.resrej"
>
<c-fullbox>
<c-input
type=
"textarea"
:autosize=
"{ minRows: 5, maxRows: 20 }"
v-model=
"model.bodgrp.blk.resrej"
maxlength=
"700"
show-word-limit
<c-input
type=
"textarea"
:autosize=
"{ minRows: 5, maxRows: 20 }"
v-model=
"model.bodgrp.blk.resrej"
maxlength=
"700"
show-word-limit
placeholder=
"请输入拒绝付款或承兑的原因"
>
</c-input>
<
template
slot=
"footer"
>
...
...
@@ -166,7 +157,8 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"收款人参考号"
prop=
"bodgrp.drr.pts.nam"
>
<c-input
v-model=
"model.bodgrp.drr.pts.nam"
maxlength=
"40"
placeholder=
"请输入收款人参考号"
disabled
></c-input>
<c-input
v-model=
"model.bodgrp.drr.pts.nam"
maxlength=
"40"
placeholder=
"请输入收款人参考号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -178,7 +170,8 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"代收行参考号"
prop=
"bodgrp.col.pts.nam"
>
<c-input
v-model=
"model.bodgrp.col.pts.nam"
maxlength=
"40"
placeholder=
"请输入代收行参考号"
disabled
></c-input>
<c-input
v-model=
"model.bodgrp.col.pts.nam"
maxlength=
"40"
placeholder=
"请输入代收行参考号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -188,7 +181,8 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"付款人参考号"
prop=
"bodgrp.dre.pts.nam"
>
<c-input
v-model=
"model.bodgrp.dre.pts.nam"
maxlength=
"40"
placeholder=
"请输入付款人参考号"
disabled
></c-input>
<c-input
v-model=
"model.bodgrp.dre.pts.nam"
maxlength=
"40"
placeholder=
"请输入付款人参考号"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -205,15 +199,11 @@
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
import
event
from
"../event"
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Utils
from
"~/utils"
;
import
Ptap
from
"~/views/Public/Ptap"
;
import
Docpre
from
"~/views/Public/Docpre"
;
import
event
from
"../event"
import
Ptap
from
"~/views/Public/Ptap"
;
import
Docpre
from
"~/views/Public/Docpre"
;
export
default
{
export
default
{
components
:
{
"c-ptap"
:
Ptap
,
"c-docpre"
:
Docpre
,
...
...
@@ -224,8 +214,8 @@
data
()
{
return
{
matpertyp
:
[
{
label
:
"天"
,
value
:
"D"
},
{
label
:
"月"
,
value
:
"M"
},
{
label
:
"天"
,
value
:
"D"
},
{
label
:
"月"
,
value
:
"M"
},
],
}
},
...
...
@@ -239,19 +229,15 @@
},
}
},
methods
:
{
...
Event
,
},
methods
:
{},
created
:
function
()
{
console
.
log
(
this
.
root
);
}
}
created
:
function
()
{}
}
</
script
>
<
style
>
.messageLabel
>>>
.el-form-item__label
{
.messageLabel
>>>
.el-form-item__label
{
text-align
:
left
;
font-weight
:
bold
;
font-size
:
12px
;
}
}
</
style
>
\ No newline at end of file
src/business/botdcr/views/index.vue
View file @
63efebc7
...
...
@@ -8,7 +8,7 @@
<el-tab-pane
label=
"业务信息"
name=
"ovwp"
>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
...
...
@@ -18,15 +18,15 @@
<el-collapse
v-model=
"activeNames"
>
<el-collapse-item
title=
"表外记账"
name=
"engp"
>
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<el-collapse-item
title=
"结算"
name=
"setmod"
>
<!-- 结算 -->
<m-setmod
:model=
"model"
:codes=
"codes"
/>
<m-setmod
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<el-collapse-item
title=
"会计分录"
name=
"glepan"
>
<!-- 会计分录 -->
<m-glepan
:model=
"model"
:codes=
"codes"
/>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</el-collapse>
</div>
...
...
@@ -35,26 +35,30 @@
<el-tab-pane
label=
"备查/附言"
name=
"addbcb"
>
<c-content>
<m-addbcb
:model=
"model"
:codes=
"codes"
/>
<m-addbcb
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"报文/面函"
name=
"docpan"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"附件信息"
name=
"doctre"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref=
"doxpDialog"
:isPty=
"false"
:promptData=
"promptData"
@
select-ety=
"selectMsg"
>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
@
select-ety=
"selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
...
...
@@ -65,15 +69,9 @@
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Botdcr
from
"~/model/Botdcr"
import
commonProcess
from
"~/mixin/commonProcess"
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Botdcr/Check"
import
Default
from
"~/model/Botdcr/Default"
import
Pattern
from
"~/model/Botdcr/Pattern"
import
Botdcr
from
"../model"
import
formRules
from
'../model/check'
import
Botdcrp1
from
"./Botdcrp1"
import
Inst
from
"./Inst"
...
...
@@ -81,13 +79,14 @@ import Ptyp from "./Ptyp"
import
Addbcb
from
"./Addbcb"
;
import
Ovwp
from
"./Ovwp"
import
Engp
from
"~/views/Public/Engp"
import
Setmod
from
"~/components/business/setmod/views"
import
Coninfp
from
"~/views/Public/Coninfp"
import
Docpan
from
"~/views/Public/Docpan"
import
Glepan
from
"~/views/Public/Glepan"
import
Doctre
from
"~/views/Public/Doctre"
import
operationFunc
from
"@/mixin/operationFunc"
;
import
event
from
"../event"
;
export
default
{
...
...
@@ -110,27 +109,64 @@ export default {
root
:
this
}
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
operationFunc
,
event
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"ovwp"
,
trnName
:
"botdcr"
,
model
:
new
Botdcr
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
rules
:
formRules
,
codes
:
{
...
CodeTable
},
activeNames
:
[
"engp"
],
promptData
:
{
title
:
'Select a Party'
,
columns
:
[
{
prop
:
'ptyInr'
,
label
:
'Party Number'
},
{
prop
:
'inr'
,
label
:
'Address Number'
},
{
prop
:
'branch'
,
label
:
'Branch Code'
},
{
prop
:
'bchName'
,
label
:
'Branch Name'
},
{
prop
:
'adrName'
,
label
:
'Address Name'
},
{
prop
:
'adr1'
,
label
:
'Address1'
},
{
prop
:
'locCty'
,
label
:
'City'
},
{
prop
:
'locZip'
,
label
:
'Zip'
},
{
prop
:
'bicCode'
,
label
:
'BIC'
}
],
data
:
[]
},
methods
:
{
// tabClick() {
// }
}
},
created
:
async
function
()
{}
methods
:
{},
created
:
async
function
()
{
}
}
</
script
>
<
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