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
11f59d91
Commit
11f59d91
authored
Oct 19, 2023
by
lixinyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
litopn详情修改
parent
36100273
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
+15
-7
check.js
src/business/litopn/model/check.js
+5
-5
Detp.vue
src/business/litopn/views/Detp.vue
+10
-2
No files found.
src/business/litopn/model/check.js
View file @
11f59d91
...
...
@@ -463,7 +463,7 @@ export default {
'lidgrp.rec.stagod'
:
[{
required
:
true
,
message
:
'必输项'
}],
'lidgrp.rec.tenmaxday'
:
[
{
type
:
'number'
,
required
:
true
,
message
:
'请输入数字'
},
{
type
:
'number'
,
message
:
'请输入数字'
},
{
type
:
'number'
,
max
:
999
,
message
:
'不能超过999'
},
{
pattern
:
/
(
^-
?[
1-9
][
0-9
]{0,2}
$
)
|0/
,
message
:
'-999至999之间'
},
// ^-?[1-9]\d*$ //匹配整数
...
...
@@ -526,10 +526,10 @@ export default {
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
{
max
:
35
,
message
:
'长度不能超过35'
},
],
'lidgrp.ini.pts.adrblk'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
35
,
message
:
'长度不能超过35'
},
],
//
'lidgrp.ini.pts.adrblk': [
//
{ type: 'string', required: false, message: '必输项' },
//
{ max: 35, message: '长度不能超过35' },
//
],
'lidgrp.ini.dbfadrblkcn'
:
[
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
{
max
:
35
,
message
:
'长度不能超过35'
},
...
...
src/business/litopn/views/Detp.vue
View file @
11f59d91
...
...
@@ -154,7 +154,7 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"名称地址"
prop=
"lidgrp.drw.pts.adrblk"
>
<el-form-item
label=
"名称地址"
prop=
"lidgrp.drw.pts.adrblk"
:required=
"flag7"
>
<c-input
type=
"textarea"
:disabled=
"this.flag2"
...
...
@@ -309,6 +309,7 @@
<el-form-item
label=
"远期汇票最大期限(天)"
prop=
"lidgrp.rec.tenmaxday"
:required=
"flag8"
>
<c-input
:disabled=
"!!(this.model.lidgrp.rec.avbby == 'P')"
...
...
@@ -338,7 +339,8 @@ export default {
flag4
:
true
,
flag5
:
false
,
flag6
:
false
,
flag7
:
false
,
flag8
:
true
,
};
},
methods
:
{
...
...
@@ -385,18 +387,22 @@ export default {
this
.
flag1
=
false
;
this
.
flag2
=
true
;
this
.
flag3
=
true
;
this
.
flag7
=
false
;
this
.
model
.
lidgrp
.
blk
.
defdet
=
"days after B/L date"
}
if
(
val
==
"N"
)
{
this
.
flag1
=
false
;
this
.
flag2
=
false
;
this
.
flag3
=
true
;
this
.
flag7
=
true
;
this
.
model
.
lidgrp
.
blk
.
defdet
=
"days after B/L date"
}
if
(
val
==
"P"
)
{
this
.
flag1
=
true
;
this
.
flag2
=
false
;
this
.
flag3
=
true
;
this
.
flag7
=
false
;
this
.
flag8
=
false
;
this
.
model
.
lidgrp
.
rec
.
tenmaxday
==
0
this
.
model
.
lidgrp
.
blk
.
defdet
=
""
}
...
...
@@ -404,12 +410,14 @@ export default {
this
.
flag1
=
true
;
this
.
flag2
=
true
;
this
.
flag3
=
false
;
this
.
flag7
=
false
;
this
.
model
.
lidgrp
.
blk
.
defdet
=
""
}
if
(
val
==
"A"
)
{
this
.
flag1
=
true
;
this
.
flag2
=
false
;
this
.
flag3
=
true
;
this
.
flag7
=
true
;
this
.
model
.
lidgrp
.
blk
.
defdet
=
""
}
},
...
...
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