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
zhouqian
vue-gjjs
Commits
01c98698
Commit
01c98698
authored
Sep 23, 2022
by
panziyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gitcan修改
parent
29f1c4b4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
1 deletions
+22
-1
Check.js
src/model/Getcan/Check.js
+1
-0
Pattern.js
src/model/Getcan/Pattern.js
+3
-0
Pattern.js
src/model/Gitcan/Pattern.js
+3
-0
Canp.vue
src/views/Business/Gitcan/Canp.vue
+15
-1
No files found.
src/model/Getcan/Check.js
View file @
01c98698
...
...
@@ -22,6 +22,7 @@ let checkObj = {
"gidgrp.acb.adrelc"
:
null
,
"gidgrp.rec.redamt"
:
null
,
"mtabut.clsflg"
:
null
,
"gidgrp.rec.purcan"
:
null
,
}
for
(
const
key
in
checkObj
)
{
...
...
src/model/Getcan/Pattern.js
View file @
01c98698
...
...
@@ -11,6 +11,9 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"gidgrp.rec.purcan"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
],
"gidgrp.rec.nam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
...
...
src/model/Gitcan/Pattern.js
View file @
01c98698
...
...
@@ -15,6 +15,9 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"gidgrp.rec.purcan"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
],
"gidgrp.cbs.max.cur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/views/Business/Gitcan/Canp.vue
View file @
01c98698
...
...
@@ -211,7 +211,7 @@
style=
"width: 100%"
placeholder=
"请选择Reason of Cancelation"
:code=
"codes.purcan"
@
change=
"
change
"
@
change=
"
purcanBlur
"
>
</c-select>
</el-form-item>
...
...
@@ -504,6 +504,20 @@ export default {
}
},
async
purcanBlur
(
val
){
if
(
this
.
model
.
gidgrp
.
rec
.
purcan
==
""
){
this
.
$confirm
(
'Please enter a value for this mandatory field'
,
'提示'
,{
confirmButtonText
:
'Yes'
,
cancelButtonText
:
'No'
,
type
:
'warning'
,
showClose
:
true
}).
then
(()
=>
{
//yes的执行在这里写
}).
catch
(()
=>
{
//No的功能在这里写
});
}
},
},
created
:
function
()
{
trntyp
:
[];
...
...
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