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
5a4287dc
Commit
5a4287dc
authored
Oct 15, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init初始化
parent
effd3d01
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
303 additions
and
310 deletions
+303
-310
Event.js
src/model/Ditopn/Event.js
+269
-286
Pattern.js
src/model/Ditopn/Pattern.js
+7
-7
index.js
src/model/Ditopn/index.js
+1
-0
Ovwp.vue
src/views/Business/Ditopn/Ovwp.vue
+13
-11
index.vue
src/views/Business/Ditopn/index.vue
+13
-6
No files found.
src/model/Ditopn/Event.js
View file @
5a4287dc
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
export
default
{
export
default
{
onLitp1Butgetref
(){
onLitp1Butgetref
()
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/litp1_butgetref"
,{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/litp1_butgetref"
,
{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onLitp1Hth
()
{
onLitp1Hth
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/litp1_hth"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/litp1_hth"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onAplpDet
()
{
onAplpDet
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/aplp_det"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/aplp_det"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onAdvpDet
()
{
onAdvpDet
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/advp_det"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/advp_det"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onBenpDet
()
{
onBenpDet
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/benp_det"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/benp_det"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onRevclauseButtxmsel
()
{
onRevclauseButtxmsel
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/revclause_buttxmsel"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/revclause_buttxmsel"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onLcrgodButtxmsel
()
{
onLcrgodButtxmsel
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/lcrgod_buttxmsel"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/lcrgod_buttxmsel"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onLcrdocButtxmsel
()
{
onLcrdocButtxmsel
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/lcrdoc_buttxmsel"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/lcrdoc_buttxmsel"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onAdlcndButtxmsel
()
{
onAdlcndButtxmsel
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/adlcnd_buttxmsel"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/adlcnd_buttxmsel"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onInsbnkButtxmsel
()
{
onInsbnkButtxmsel
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/insbnk_buttxmsel"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/insbnk_buttxmsel"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onRmbpDet
()
{
onRmbpDet
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/rmbp_det"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/rmbp_det"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onPreperButtxmsel
()
{
onPreperButtxmsel
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/preper_buttxmsel"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/preper_buttxmsel"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onAgepDet
()
{
onAgepDet
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/agep_det"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/agep_det"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onYfbpDet
()
{
onYfbpDet
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/yfbp_det"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/yfbp_det"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onSetmodDet
()
{
onSetmodDet
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/setmod_det"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/setmod_det"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onLiaallButmisamt
()
{
onLiaallButmisamt
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/liaall_butmisamt"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/liaall_butmisamt"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onLiaallButmissig
()
{
onLiaallButmissig
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/liaall_butmissig"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/liaall_butmissig"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onLiaccvAdd
()
{
onLiaccvAdd
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/liaccv_add"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/liaccv_add"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
onLiaccvDel
()
{
onLiaccvDel
(){
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
root
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/liaccv_del"
,
{
data
:
this
.
model
})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/liaccv_del"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
if
(
rtnmsg
.
retcod
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
async
BlurBennam
(
e
)
{
let
rtnmsg
=
await
Api
.
post
(
"ditopn/executeDefault/litp1.remark"
,
Utils
.
getRequestDataFn
.
call
(
this
))
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
this
.
model
.
litp1
.
remark
=
rtnmsg
.
data
.
litp1_remark
}
},
async
BlurAplname
(
e
)
{
let
rtnmsg
=
await
Api
.
post
(
"ditopn/executeDefault/litp1.remark"
,
Utils
.
getRequestDataFn
.
call
(
this
))
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
this
.
model
.
litp1
.
remark
=
rtnmsg
.
data
.
litp1_remark
}
},
async
BlurSignam
(
e
)
{
let
rtnmsg
=
await
Api
.
post
(
"ditopn/executeDefault/litp1.remark"
,
Utils
.
getRequestDataFn
.
call
(
this
))
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
this
.
model
.
litp1
.
remark
=
rtnmsg
.
data
.
litp1_remark
}
},
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
}
}
\ No newline at end of file
src/model/Ditopn/Pattern.js
View file @
5a4287dc
...
@@ -55,7 +55,7 @@ export default {
...
@@ -55,7 +55,7 @@ export default {
"lidgrp.cbs.nom1.amt"
:[
"lidgrp.cbs.nom1.amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
],
...
@@ -101,10 +101,10 @@ export default {
...
@@ -101,10 +101,10 @@ export default {
],
],
"lidgrp.rec.opndat"
:[
"lidgrp.rec.opndat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
],
"lidgrp.rec.expdat"
:[
"lidgrp.rec.expdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
],
"lidgrp.adv.pts.adrblk"
:[
"lidgrp.adv.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
@@ -115,7 +115,7 @@ export default {
...
@@ -115,7 +115,7 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
{
max
:
35
,
message
:
"长度不能超过35"
}
],
],
"lidgrp.rec.shpdat"
:[
"lidgrp.rec.shpdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
],
...
@@ -178,7 +178,7 @@ export default {
...
@@ -178,7 +178,7 @@ export default {
{
max
:
2
,
message
:
"长度不能超过2"
}
{
max
:
2
,
message
:
"长度不能超过2"
}
],
],
"lidgrp.rec.revdat"
:[
"lidgrp.rec.revdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
],
...
@@ -252,7 +252,7 @@ export default {
...
@@ -252,7 +252,7 @@ export default {
],
],
"lidgrp.rec.autdat"
:[
"lidgrp.rec.autdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
],
"lidgrp.blk.preper"
:[
"lidgrp.blk.preper"
:[
...
@@ -430,7 +430,7 @@ export default {
...
@@ -430,7 +430,7 @@ export default {
],
],
"mtabut.coninf.conexedat"
:[
"mtabut.coninf.conexedat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
],
"liaall.liaccv.concur"
:[
"liaall.liaccv.concur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/model/Ditopn/index.js
View file @
5a4287dc
...
@@ -9,6 +9,7 @@ export default class Ditopn{
...
@@ -9,6 +9,7 @@ export default class Ditopn{
ownref
:
""
,
// 参考号 .lidgrp.rec.ownref
ownref
:
""
,
// 参考号 .lidgrp.rec.ownref
lcrtyp
:
""
,
// 信用证类型 .lidgrp.rec.lcrtyp
lcrtyp
:
""
,
// 信用证类型 .lidgrp.rec.lcrtyp
opndat
:
""
,
// 开证日期 .lidgrp.rec.opndat
opndat
:
""
,
// 开证日期 .lidgrp.rec.opndat
expdat
:
""
,
// 有效日期
shpdat
:
""
,
// 最迟装运日期/最迟服务提供日 .lidgrp.rec.shpdat
shpdat
:
""
,
// 最迟装运日期/最迟服务提供日 .lidgrp.rec.shpdat
expdat
:
""
,
// Date of Expiry .lidgrp.rec.expdat
expdat
:
""
,
// Date of Expiry .lidgrp.rec.expdat
expplc
:
""
,
// 有效地点 .lidgrp.rec.expplc
expplc
:
""
,
// 有效地点 .lidgrp.rec.expplc
...
...
src/views/Business/Ditopn/Ovwp.vue
View file @
5a4287dc
...
@@ -199,6 +199,7 @@
...
@@ -199,6 +199,7 @@
<c-date-picker
<c-date-picker
type=
"date"
type=
"date"
v-model=
"model.lidgrp.rec.opndat"
v-model=
"model.lidgrp.rec.opndat"
value-format=
"yyyy-MM-dd"
style=
"width: 100%"
style=
"width: 100%"
placeholder=
"请选择Date L/C Opened/Issued"
placeholder=
"请选择Date L/C Opened/Issued"
></c-date-picker>
></c-date-picker>
...
@@ -443,16 +444,18 @@
...
@@ -443,16 +444,18 @@
</c-button>
</c-button>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<el-form-item
label=
""
>
<c-col>
<c-input
<el-form-item
label=
""
>
type=
"textarea"
<c-input
v-model=
"model.lidgrp.ben.pts.adrblk"
type=
"textarea"
maxlength=
"35"
v-model=
"model.lidgrp.ben.pts.adrblk"
:rows=
"5"
maxlength=
"35"
show-word-limit
:rows=
"5"
placeholder=
"请输入Address Block"
show-word-limit
></c-input>
placeholder=
"请输入Address Block"
</el-form-item>
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"受益人帐号"
prop=
"lidgrp.ben.pts.extact"
>
<el-form-item
label=
"受益人帐号"
prop=
"lidgrp.ben.pts.extact"
>
<c-input
<c-input
...
@@ -462,7 +465,6 @@
...
@@ -462,7 +465,6 @@
></c-input>
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"受益人开户行"
prop=
"lidgrp.ben.pts.issbchinf"
>
<el-form-item
label=
"受益人开户行"
prop=
"lidgrp.ben.pts.issbchinf"
>
<c-input
<c-input
...
...
src/views/Business/Ditopn/index.vue
View file @
5a4287dc
<
template
>
<
template
>
<div
class=
"eContainer"
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"200px"
size=
"small"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"200px"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"activeName"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<c-tabs
v-model=
"activeName"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000001 -->
<!--PD000001 -->
...
@@ -97,15 +97,20 @@
...
@@ -97,15 +97,20 @@
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</el-tab-pane>
-->
</c-tabs>
</c-tabs>
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
</el-form>
</el-form>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
></c-grid-ety-prompt-dialog>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
import
Utils
from
"~/utils/index"
import
CodeTable
from
"~/config/CodeTable"
import
CodeTable
from
"~/config/CodeTable"
import
Ditopn
from
"~/model/Ditopn"
import
Ditopn
from
"~/model/Ditopn"
import
CommonProcess
from
"~/mixin/CommonProcess"
import
CommonProcess
from
"~/mixin/CommonProcess"
import
Pattern
from
"~/model/Ditopn/Pattern"
import
Pattern
from
"~/model/Ditopn/Pattern"
import
Default
from
"~/model/Ditopn/Default"
;
import
Check
from
"~/model/Ditopn/Check"
;
import
Ovwp
from
"./Ovwp"
import
Ovwp
from
"./Ovwp"
import
Revp
from
"./Revp"
import
Revp
from
"./Revp"
import
Tk
from
"./Tk"
import
Tk
from
"./Tk"
...
@@ -152,10 +157,12 @@ export default {
...
@@ -152,10 +157,12 @@ export default {
data
(){
data
(){
return
{
return
{
activeName
:
"ovwp"
,
activeName
:
"ovwp"
,
trnName
:
"ditopn"
,
model
:
new
Ditopn
().
data
,
model
:
new
Ditopn
().
data
,
// defaultRule:Default,
checkRules
:
Check
,
// rules:this.mergeRules(Pattern,Check),
defaultRules
:
Default
,
rules
:
Pattern
,
pattern
:
Pattern
,
rules
:
null
,
codes
:{
codes
:{
},
},
}
}
...
@@ -167,10 +174,10 @@ export default {
...
@@ -167,10 +174,10 @@ export default {
created
:
async
function
(){
created
:
async
function
(){
console
.
log
(
"进入ditopn交易"
);
console
.
log
(
"进入ditopn交易"
);
let
rtnmsg
=
await
Api
.
post
(
"ditopn/init"
,{
params
:{}})
let
rtnmsg
=
await
Api
.
post
(
"ditopn/init"
,{
params
:{}})
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
)
}
}
else
else
{
{
...
...
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