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
e350539f
Commit
e350539f
authored
Oct 19, 2022
by
huangxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brtdck事件关联
parent
473001fa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
71 additions
and
15 deletions
+71
-15
Pattern.js
src/model/Brtdck/Pattern.js
+2
-2
Brtdckp.vue
src/views/Business/Brtdck/Brtdckp.vue
+69
-13
No files found.
src/model/Brtdck/Pattern.js
View file @
e350539f
...
@@ -130,7 +130,7 @@ export default {
...
@@ -130,7 +130,7 @@ export default {
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
],
"brdgrp.prb.pts.adrblk"
:[
"brdgrp.prb.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
//
{type: "string", required: true, message: "必输项"},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
],
"brdgrp.prb.dbfadrblkcn"
:[
"brdgrp.prb.dbfadrblkcn"
:[
...
@@ -190,7 +190,7 @@ export default {
...
@@ -190,7 +190,7 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
{
max
:
35
,
message
:
"长度不能超过35"
}
],
],
"brtp.oth.pts.adrblk"
:[
"brtp.oth.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
//
{type: "string", required: true, message: "必输项"},
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
],
"brtp.oth.dbfadrblkcn"
:[
"brtp.oth.dbfadrblkcn"
:[
...
...
src/views/Business/Brtdck/Brtdckp.vue
View file @
e350539f
...
@@ -502,23 +502,26 @@
...
@@ -502,23 +502,26 @@
v-model=
"model.brdgrp.rec.docprbrol"
v-model=
"model.brdgrp.rec.docprbrol"
style=
"width: 100%"
style=
"width: 100%"
placeholder=
"请选择 Presented by"
placeholder=
"请选择 Presented by"
:code=
"codes.docprbrol"
@
change=
"selectOrCheckboxRule('brdgrp.rec.docprbrol')"
:code=
"codes.docprbrol1"
>
>
</c-select>
</c-select>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<c-ptap
1
<c-ptap
:model=
"model"
:model=
"model"
:argadr=
"{
:argadr=
"{
title: '',
title: '',
grp: 'brdgrp',
grp: 'brdgrp',
rol: 'prb',
rol: 'prb',
}"
}"
:disabled=
"true"
:disabled=
"this.flag2"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onPrbpDet"
:disabledExtkey=
"this.flag"
:isAdrblk=
"true"
:noRef=
"true"
>
>
</c-ptap
1
>
</c-ptap>
</c-col>
</c-col>
<!-- SF000087 : Payer -->
<!-- SF000087 : Payer -->
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
...
@@ -527,24 +530,26 @@
...
@@ -527,24 +530,26 @@
v-model=
"model.brdgrp.rec.payrol"
v-model=
"model.brdgrp.rec.payrol"
style=
"width: 100%"
style=
"width: 100%"
placeholder=
"请输入付款人"
placeholder=
"请输入付款人"
@
change=
"selectOrCheckboxRule('brdgrp.rec.payrol')"
:code=
"codes.payrol1"
:code=
"codes.payrol1"
>
>
</c-select>
</c-select>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<c-ptap
1
<c-ptap
:model=
"model"
:model=
"model"
:argadr=
"{
:argadr=
"{
title: '',
title: '',
grp: 'brtp',
grp: 'brtp',
rol: 'oth',
rol: 'oth',
}"
}"
:disabled=
"true"
:disabled=
"this.flag3"
disabled1
:disabledExtkey=
"this.flag4"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onOthpDet"
:isAdrblk=
"true"
:noRef=
"true"
>
>
</c-ptap
1
>
</c-ptap>
<!-- <c-ptap
<!-- <c-ptap
:model="model"
:model="model"
:argadr="{
:argadr="{
...
@@ -573,20 +578,71 @@ import commonProcess from "~/mixin/commonProcess";
...
@@ -573,20 +578,71 @@ import commonProcess from "~/mixin/commonProcess";
import
CodeTable
from
"~/config/CodeTable"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Brtdck/Event"
;
import
Event
from
"~/model/Brtdck/Event"
;
import
Ptap1
from
"~/views/Public/Ptap1"
;
import
Ptap1
from
"~/views/Public/Ptap1"
;
//
import Ptap from "~/views/Public/Ptap";
import
Ptap
from
"~/views/Public/Ptap"
;
import
Ptsmsg
from
"~/views/Public/Ptsmsg"
;
import
Ptsmsg
from
"~/views/Public/Ptsmsg"
;
export
default
{
export
default
{
components
:
{
components
:
{
"c-ptap1"
:
Ptap1
,
"c-ptap1"
:
Ptap1
,
//
"c-ptap": Ptap,
"c-ptap"
:
Ptap
,
"c-ptsmsg"
:
Ptsmsg
,
"c-ptsmsg"
:
Ptsmsg
,
},
},
inject
:
[
"root"
],
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
mixins
:
[
commonProcess
],
data
()
{
data
()
{
return
{};
return
{
flag
:
true
,
flag2
:
true
,
flag3
:
true
,
flag4
:
true
,
};
},
watch
:{
"model.brdgrp.rec.docprbrol"
:
function
(){
if
(
this
.
model
.
brdgrp
.
rec
.
docprbrol
==
'ADV'
){
this
.
flag
=
true
;
}
else
if
(
this
.
model
.
brdgrp
.
rec
.
docprbrol
==
'BEN'
){
this
.
flag
=
true
;
}
else
if
(
this
.
model
.
brdgrp
.
rec
.
docprbrol
==
'PRB'
){
this
.
flag
=
false
;
}
},
"model.brdgrp.prb.pts.extkey"
:{
immediate
:
true
,
handler
(
val
,
oldVal
){
if
(
this
.
model
.
brdgrp
.
prb
.
pts
.
extkey
!=
''
){
this
.
flag2
=
true
;
}
else
{
this
.
flag2
=
false
;
}
}
},
"model.brdgrp.rec.payrol"
:
function
(){
if
(
this
.
model
.
brdgrp
.
rec
.
payrol
==
'APL'
){
this
.
flag4
=
true
;
}
else
if
(
this
.
model
.
brdgrp
.
rec
.
payrol
==
'OTH'
){
this
.
flag4
=
false
;
}
},
"model.brtp.oth.pts.extkey"
:{
immediate
:
true
,
handler
(
val
,
oldVal
){
if
(
this
.
model
.
brtp
.
oth
.
pts
.
extkey
!=
''
){
this
.
flag3
=
true
;
}
else
{
this
.
flag3
=
false
;
}
}
},
},
},
methods
:
{
...
Event
,
onSeainf
(){}},
methods
:
{
...
Event
,
onSeainf
(){}},
created
:
function
()
{},
created
:
function
()
{},
...
...
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