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
6068c389
Commit
6068c389
authored
Jul 15, 2022
by
wangyanjiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码格式化&优化bdtdcr页面布局及事件
parent
77eb2061
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
196 additions
and
183 deletions
+196
-183
Pattern.js
src/model/Bdtdcr/Pattern.js
+4
-0
index.js
src/model/Bdtdcr/index.js
+3
-3
index.js
src/model/Bdteus/index.js
+178
-177
Brtdcrd.vue
src/views/Business/Bdtdcr/Brtdcrd.vue
+2
-2
Utlp.vue
src/views/Business/Bdtdcr/Utlp.vue
+2
-1
index.vue
src/views/Business/Bdtdcr/index.vue
+7
-0
No files found.
src/model/Bdtdcr/Pattern.js
View file @
6068c389
...
...
@@ -221,6 +221,10 @@ export default {
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"setmod.glemod.gleshwstm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
...
...
src/model/Bdtdcr/index.js
View file @
6068c389
...
...
@@ -12,7 +12,7 @@ export default class Bdtdcr {
brtbenl4blk
:
""
,
bddgrp
:
{
rec
:
{
advdocflg
:
""
,
advdocflg
:
""
,
docflg
:
""
,
// 单据类型 .bddgrp.rec.docflg
rcvdat
:
""
,
// 到单日期 .bddgrp.rec.rcvdat
predat
:
""
,
// 到单日期 .bddgrp.rec.predat
...
...
@@ -169,8 +169,8 @@ export default class Bdtdcr {
},
docgrdm
:
{
docdsclab
:
""
,
// Label of document description .bdtp.docgrdm.docdsclab
docgrdp
:
""
,
docgrd
:
""
,
docgrdp
:
""
,
docgrd
:
""
,
},
},
rejtype
:
""
,
// 退单方式 .rejtype
...
...
src/model/Bdteus/index.js
View file @
6068c389
...
...
@@ -2,187 +2,187 @@ import Api from "~/service/Api"
import
Pts
from
"../Common/Pts"
import
Pub
from
"../Public"
export
default
class
Bdteus
{
constructor
()
{
this
.
data
=
{
export
default
class
Bdteus
{
constructor
()
{
this
.
data
=
{
// //XMLPanel brtapll1的内置block
// private String brtapll1blk= NULLSTR;
// //XMLPanel brtprbl1的内置block
// private String brtprbl1blk= NULLSTR;
brtprbl1blk
:
""
,
//XMLPanel brtprbl1的内置block
brtapll1blk
:
""
,
//XMLPanel brtapll1的内置block
strinf
:
""
,
// 说明 .strinf
bddgrp
:{
rec
:{
ownref
:
""
,
// 单据参考号 .bddgrp.rec.ownref
nam
:
""
,
// Name of Bill Contract .bddgrp.rec.nam
rcvdat
:
""
,
// 到单日期 .bddgrp.rec.rcvdat
docflg
:
""
,
// 单据类型 .bddgrp.rec.docflg
docsta
:
""
,
// 单据状态 .bddgrp.rec.docsta
matdat
:
""
,
// Maturity Date .bddgrp.rec.matdat
tenmaxday
:
""
,
// 单据到期日 .bddgrp.rec.tenmaxday
stadat
:
""
,
// Start Date .bddgrp.rec.stadat
},
cbs
:{
max
:{
cur
:
""
,
// 单据金额 .bddgrp.cbs.max.cur
amt
:
""
,
// 单据金额 .bddgrp.cbs.max.amt
},
opn1
:{
cur
:
""
,
// 单据余额 .bddgrp.cbs.opn1.cur
amt
:
""
,
// Balance .bddgrp.cbs.opn1.amt
},
},
apl
:{
pts
:
new
Pts
().
data
,
},
ben
:{
pts
:
new
Pts
().
data
,
},
prb
:{
pts
:
new
Pts
().
data
,
},
brtprbl1blk
:
""
,
//XMLPanel brtprbl1的内置block
brtapll1blk
:
""
,
//XMLPanel brtapll1的内置block
strinf
:
""
,
// 说明 .strinf
bddgrp
:
{
rec
:
{
ownref
:
""
,
// 单据参考号 .bddgrp.rec.ownref
nam
:
""
,
// Name of Bill Contract .bddgrp.rec.nam
rcvdat
:
""
,
// 到单日期 .bddgrp.rec.rcvdat
docflg
:
""
,
// 单据类型 .bddgrp.rec.docflg
docsta
:
""
,
// 单据状态 .bddgrp.rec.docsta
matdat
:
""
,
// Maturity Date .bddgrp.rec.matdat
tenmaxday
:
""
,
// 单据到期日 .bddgrp.rec.tenmaxday
stadat
:
""
,
// Start Date .bddgrp.rec.stadat
},
cbs
:
{
max
:
{
cur
:
""
,
// 单据金额 .bddgrp.cbs.max.cur
amt
:
""
,
// 单据金额 .bddgrp.cbs.max.amt
},
opn1
:
{
cur
:
""
,
// 单据余额 .bddgrp.cbs.opn1.cur
amt
:
""
,
// Balance .bddgrp.cbs.opn1.amt
},
},
apl
:
{
pts
:
new
Pts
().
data
,
},
ben
:
{
pts
:
new
Pts
().
data
,
},
prb
:
{
pts
:
new
Pts
().
data
,
},
},
didgrp
:
{
rec
:
{
ownref
:
""
,
// 信用证参考号 .didgrp.rec.ownref
expdat
:
""
,
// Date of Expiry .didgrp.rec.expdat
},
cbs
:
{
opn1
:
{
cur
:
""
,
// Currency .didgrp.cbs.opn1.cur
amt
:
""
,
// Balance .didgrp.cbs.opn1.amt
},
},
},
bdtp
:
{
didget
:
{
sdamod
:
{
seainf
:
""
,
// .bdtp.didget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .bdtp.didget.sdamod.dadsnd
},
},
recget
:
{
sdamod
:
{
dadsnd
:
""
,
// Drag Drop Sender .bdtp.recget.sdamod.dadsnd
seainf
:
""
,
// .bdtp.recget.sdamod.seainf
},
},
matp
:
{
mattxtlab
:
""
,
// Label for MATTXT .bdtp.matp.mattxtlab
},
},
liaall
:
new
Pub
().
data
.
Liaall
,
// liaall:{
// misamt:"", // Amount not yet assigned .liaall.misamt
// concur:"", // External Booking Amount .liaall.concur
// outpct:"", // Sight Amount Percentage .liaall.outpct
// outamt:"", // Sight Amount .liaall.outamt
// exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
// exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
// limmod:{
// limpts:{
// wrklab:"", // Label .liaall.limmod.limpts.wrklab
// othlab:"", // Label .liaall.limmod.limpts.othlab
// othlabss:"", // Label .liaall.limmod.limpts.othlabss
// wrk:{
// pts:new Pts().data,
// },
// oth:{
// pts:new Pts().data,
// },
// lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
// nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
// pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
// nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
// pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
// },
// wrkp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
// },
// },
// },
// othp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
// },
// },
// },
// ownref:"", // 国结业务编号 .liaall.limmod.ownref
// comamt:"", // 业务余额 .liaall.limmod.comamt
// ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
// ecifno:"", // ECIFNO .liaall.limmod.ecifno
// },
// },
// 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
// glemod:{
// gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
// },
// },
setmod
:
new
Pub
().
data
.
Setmod
,
// mtabut:{
// 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
// },
// },
// },
mtabut
:
{
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
},
didgrp
:{
rec
:{
ownref
:
""
,
// 信用证参考号 .didgrp.rec.ownref
expdat
:
""
,
// Date of Expiry .didgrp.rec.expdat
},
cbs
:{
opn1
:{
cur
:
""
,
// Currency .didgrp.cbs.opn1.cur
amt
:
""
,
// Balance .didgrp.cbs.opn1.amt
},
},
},
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
},
bdtp
:{
didget
:{
sdamod
:{
seainf
:
""
,
// .bdtp.didget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .bdtp.didget.sdamod.dadsnd
},
},
recget
:{
sdamod
:{
dadsnd
:
""
,
// Drag Drop Sender .bdtp.recget.sdamod.dadsnd
seainf
:
""
,
// .bdtp.recget.sdamod.seainf
},
},
matp
:{
mattxtlab
:
""
,
// Label for MATTXT .bdtp.matp.mattxtlab
},
},
liaall
:
new
Pub
().
data
.
Liaall
,
// liaall:{
// misamt:"", // Amount not yet assigned .liaall.misamt
// concur:"", // External Booking Amount .liaall.concur
// outpct:"", // Sight Amount Percentage .liaall.outpct
// outamt:"", // Sight Amount .liaall.outamt
// exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
// exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
// limmod:{
// limpts:{
// wrklab:"", // Label .liaall.limmod.limpts.wrklab
// othlab:"", // Label .liaall.limmod.limpts.othlab
// othlabss:"", // Label .liaall.limmod.limpts.othlabss
// wrk:{
// pts:new Pts().data,
// },
// oth:{
// pts:new Pts().data,
// },
// lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
// nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
// pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
// nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
// pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
// },
// wrkp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
// },
// },
// },
// othp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
// },
// },
// },
// ownref:"", // 国结业务编号 .liaall.limmod.ownref
// comamt:"", // 业务余额 .liaall.limmod.comamt
// ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
// ecifno:"", // ECIFNO .liaall.limmod.ecifno
// },
// },
// 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
// glemod:{
// gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
// },
// },
setmod
:
new
Pub
().
data
.
Setmod
,
// mtabut:{
// 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
// },
// },
// },
mtabut
:{
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
},
},
},
trnmod
:
new
Pub
().
data
.
Trnmod
,
pageId
:
""
// ctx的key
}
}
},
conexedat
:
""
,
// 执行日期 .mtabut.coninf.conexedat
usr
:
{
extkey
:
""
,
// User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod
:
new
Pub
().
data
.
Trnmod
,
pageId
:
""
// ctx的key
}
}
}
\ No newline at end of file
src/views/Business/Bdtdcr/Brtdcrd.vue
View file @
6068c389
...
...
@@ -10,8 +10,8 @@
</el-form-item>
</c-col>
</c-row>
<el-form-item
label=
"快递单号"
>
<c-input
type=
"textarea"
:disabled=
"false"
:rows=
"2"
v-model=
"model.expmno"
maxlength=
"120"
show-word-limit
<el-form-item
label=
"快递单号"
v-if=
"model.bddgrp.rec.advdocflg=='X'"
>
<c-input
type=
"textarea"
:rows=
"2"
v-model=
"model.expmno"
maxlength=
"120"
show-word-limit
placeholder=
"请输入单号"
></c-input>
</el-form-item>
<!--
<c-row>
...
...
src/views/Business/Bdtdcr/Utlp.vue
View file @
6068c389
...
...
@@ -511,7 +511,7 @@
<c-col
:span=
"12"
>
<c-col>
<el-form-item
label=
"通知日期"
prop=
"bddgrp.rec.orddat"
>
<el-form-item
label=
"通知日期"
prop=
"bddgrp.rec.orddat"
>
<c-date-picker
type=
"date"
v-model=
"model.bddgrp.rec.orddat"
...
...
@@ -611,6 +611,7 @@
v-model=
"model.rejtype"
style=
"width: 100%"
placeholder=
"请选择退单方式"
:disabled=
"model.bddgrp.rec.advdocflg!='X'"
>
<el-option
v-for=
"item in codes.rejtype"
...
...
src/views/Business/Bdtdcr/index.vue
View file @
6068c389
...
...
@@ -38,6 +38,11 @@
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"分录"
name=
"glepan"
>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
...
...
@@ -72,6 +77,7 @@ import Default from "~/model/Bdtdcr/Default";
import
Check
from
"~/model/Bdtdcr/Check"
;
import
Utlp
from
"./Utlp"
;
import
Brtdcrd
from
"./Brtdcrd"
;
import
Glepan
from
"~/views/Public/Glepan"
;
import
Engp
from
"~/views/Public/Engp"
;
//import Setpan from "./Setpan";
import
Setpan
from
"~/views/Public/Setpan"
;
...
...
@@ -86,6 +92,7 @@ export default {
"m-brtdcrd"
:
Brtdcrd
,
"m-engp"
:
Engp
,
"m-setpan"
:
Setpan
,
"m-glepan"
:
Glepan
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-limitbody"
:
Limitbody
,
...
...
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