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
153f3dea
Commit
153f3dea
authored
Aug 15, 2022
by
jianglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改LITCAN
parent
024a2824
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
Pattern.js
src/model/Litcan/Pattern.js
+3
-3
index.vue
src/views/Business/Litcan/index.vue
+12
-12
No files found.
src/model/Litcan/Pattern.js
View file @
153f3dea
...
...
@@ -60,10 +60,10 @@ export default {
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"lidgrp.rec.opndat"
:[
{
type
:
"
string
"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
type
:
"
date
"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"lidgrp.rec.shpdat"
:[
{
type
:
"
string
"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
type
:
"
date
"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"lidgrp.adv.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -71,7 +71,7 @@ export default {
],
"lidgrp.rec.expdat"
:[
{
type
:
"
string
"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
type
:
"
date
"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"lidgrp.rec.expplc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/views/Business/Litcan/index.vue
View file @
153f3dea
...
...
@@ -29,7 +29,7 @@
</el-tab-pane>
<el-tab-pane
label=
"Booking"
name=
"glepan"
>
<m-glepan
:model=
"model"
:code=
"codes"
/>
<m-glepan
:model=
"model"
:code
s
=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"Completion"
name=
"coninfp"
>
...
...
@@ -58,10 +58,12 @@
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
Utils
from
"~/utils/index"
;
import
CodeTable
from
"~/config/CodeTable"
import
Litcan
from
"~/model/Litcan"
import
commonProcess
from
"~/mixin/commonProcess"
import
commonFuncs
from
"~/mixin/commonFuncs"
import
Check
from
"~/model/Litcan/Check"
import
Default
from
"~/model/Litcan/Default"
import
Pattern
from
"~/model/Litcan/Pattern"
...
...
@@ -96,6 +98,7 @@ export default {
}
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
computed
:
{},
data
(){
return
{
tabVal
:
"canp"
,
...
...
@@ -120,19 +123,16 @@ export default {
created
:
async
function
(){
console
.
log
(
"进入litcan交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
}
else
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
}
,
}
;
</
script
>
<
style
>
</
style
>
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