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
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
80 additions
and
68 deletions
+80
-68
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
+62
-62
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,74 +2,74 @@ import Api from "~/service/Api"
import
Pts
from
"../Common/Pts"
import
Pub
from
"../Public"
export
default
class
Bdteus
{
constructor
()
{
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
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
cbs
:
{
max
:
{
cur
:
""
,
// 单据金额 .bddgrp.cbs.max.cur
amt
:
""
,
// 单据金额 .bddgrp.cbs.max.amt
},
opn1
:
{
cur
:
""
,
// 单据余额 .bddgrp.cbs.opn1.cur
amt
:
""
,
// Balance .bddgrp.cbs.opn1.amt
opn1
:
{
cur
:
""
,
// 单据余额 .bddgrp.cbs.opn1.cur
amt
:
""
,
// Balance .bddgrp.cbs.opn1.amt
},
},
apl
:
{
pts
:
new
Pts
().
data
,
apl
:
{
pts
:
new
Pts
().
data
,
},
ben
:
{
pts
:
new
Pts
().
data
,
ben
:
{
pts
:
new
Pts
().
data
,
},
prb
:
{
pts
:
new
Pts
().
data
,
prb
:
{
pts
:
new
Pts
().
data
,
},
},
didgrp
:
{
rec
:
{
ownref
:
""
,
// 信用证参考号 .didgrp.rec.ownref
expdat
:
""
,
// Date of Expiry .didgrp.rec.expdat
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
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
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
recget
:
{
sdamod
:
{
dadsnd
:
""
,
// Drag Drop Sender .bdtp.recget.sdamod.dadsnd
seainf
:
""
,
// .bdtp.recget.sdamod.seainf
},
},
matp
:
{
mattxtlab
:
""
,
// Label for MATTXT .bdtp.matp.mattxtlab
matp
:
{
mattxtlab
:
""
,
// Label for MATTXT .bdtp.matp.mattxtlab
},
},
liaall
:
new
Pub
().
data
.
Liaall
,
...
...
@@ -159,25 +159,25 @@ export default class Bdteus{
// },
// },
// },
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
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
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
conexedat
:
""
,
// 执行日期 .mtabut.coninf.conexedat
usr
:
{
extkey
:
""
,
// User ID .mtabut.coninf.usr.extkey
},
},
},
...
...
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