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
8a8157db
Commit
8a8157db
authored
Mar 30, 2022
by
jianglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改BDTCAN
parent
ec2dd6ec
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
238 additions
and
163 deletions
+238
-163
Check.js
src/model/Bdtcan/Check.js
+0
-4
Event.js
src/model/Bdtcan/Event.js
+169
-143
index.js
src/model/Bdtcan/index.js
+22
-1
Canp.vue
src/views/Business/Bdtcan/Canp.vue
+3
-1
index.vue
src/views/Business/Bdtcan/index.vue
+44
-14
No files found.
src/model/Bdtcan/Check.js
View file @
8a8157db
...
...
@@ -8,17 +8,13 @@ let checkObj = {
"liaall.limmod.limpts.oth.pts.extkey"
:
null
,
"liaall.limmod.ownref"
:
null
,
"liaall.limmod.ecifno"
:
null
,
"bdtp0.didget.sdamod.dadsnd"
:
null
,
"liaall.limmod.othp.ptsget.sdamod.dadsnd"
:
null
,
"liaall.limmod.limpts.oth.pts.nam"
:
null
,
"setmod.dspflg"
:
null
,
"liaall.limmod.limpts.wrk.pts.nam"
:
null
,
"liaall.limmod.limpts.wrk.pts.extkey"
:
null
,
"mtabut.coninf.conexedat"
:
null
,
"liaall.limmod.limpts.nonrevflg1"
:
null
,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd"
:
null
,
"setmod.docamt"
:
null
,
"bdtp0.recget.sdamod.dadsnd"
:
null
,
}
for
(
const
key
in
checkObj
)
{
...
...
src/model/Bdtcan/Event.js
View file @
8a8157db
...
...
@@ -2,148 +2,173 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils"
export
default
{
async
onLiaallButmisamt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmisamt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmissig
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmissig"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetmodDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButshw
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butshw"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButadd
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butadd"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButnew
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butnew"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButattto
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butattto"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButdel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butdel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButatt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butatt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onWrkpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"wrkp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onOthpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"othp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimptsGet1
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limpts.get1"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimptsGet2
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limpts.get2"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimmodTrycal
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limmod.trycal"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSeainf
()
{
}
async
onLiaallButmisamt
(){
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmisamt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmissig
(){
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmissig"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetmodDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButshw
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butshw"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButadd
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butadd"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButnew
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butnew"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButattto
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butattto"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButdel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butdel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButatt
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butatt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onWrkpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"wrkp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onOthpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"othp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimptsGet1
(){
let
rtnmsg
=
await
this
.
executeRule
(
"limpts.get1"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimptsGet2
(){
let
rtnmsg
=
await
this
.
executeRule
(
"limpts.get2"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimmodTrycal
(){
let
rtnmsg
=
await
this
.
executeRule
(
"limmod.trycal"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/model/Bdtcan/index.js
View file @
8a8157db
...
...
@@ -172,7 +172,28 @@ export default class Bdtcan {
// },
liaall
:
new
Pub
().
data
.
Liaall
,
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
mtabut
:{
coninf
:{
oitinf
:{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit
:{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset
:{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit
:{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitset.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat
:
""
,
// 执行日期 .mtabut.coninf.conexedat
usr
:{
extkey
:
""
,
// User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod
:
new
Pub
().
data
.
Trnmod
,
pageId
:
""
// ctx的key
}
...
...
src/views/Business/Bdtcan/Canp.vue
View file @
8a8157db
...
...
@@ -306,7 +306,9 @@ export default {
data
()
{
return
{};
},
methods
:
{
...
Event
},
methods
:
{
...
Event
,
changed
(
e
)
{},
},
created
:
function
()
{},
};
</
script
>
...
...
src/views/Business/Bdtcan/index.vue
View file @
8a8157db
<
template
>
<c-page
title=
"买方信用证单据注销"
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<!--
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
-->
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
<!--
<el-button
size=
"small"
>
保存模板
</el-button>
-->
<!--
<el-button
size=
"small"
>
使用模板
</el-button>
-->
<el-button
size=
"small"
>
制裁信息
</el-button>
<!--
<el-button
size=
"small"
>
拆分报文
</el-button>
-->
<el-button
size=
"small"
>
智能提示
</el-button>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000016 -->
<el-tab-pane
label=
"Cancelation"
name=
"canp"
>
<el-tab-pane
label=
"取消"
name=
"canp"
>
<c-content>
<m-canp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
...
...
@@ -22,7 +39,9 @@
<!--PD000000 -->
<el-tab-pane
label=
"账务"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
...
...
@@ -51,7 +70,16 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
></c-grid-ety-prompt-dialog>
</div>
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
...
...
@@ -59,6 +87,7 @@ import Utils from "~/utils/index";
import
CodeTable
from
"~/config/CodeTable"
;
import
Bdtcan
from
"~/model/Bdtcan"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Bdtcan/Check"
;
import
Default
from
"~/model/Bdtcan/Default"
;
import
Pattern
from
"~/model/Bdtcan/Pattern"
;
...
...
@@ -71,7 +100,7 @@ import Glepan from "~/views/Public/Glepan";
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Doctre
from
"./Doctre"
;
import
Limitbody
from
"
.
/Limitbody"
;
import
Limitbody
from
"
~/views/Public
/Limitbody"
;
export
default
{
name
:
"Bdtcan"
,
...
...
@@ -90,7 +119,8 @@ export default {
root
:
this
,
};
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
computed
:
{},
data
()
{
return
{
tabVal
:
"canp"
,
...
...
@@ -100,7 +130,7 @@ export default {
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{},
codes
:
{
...
CodeTable
},
};
},
methods
:
{
...
...
@@ -108,7 +138,7 @@ export default {
},
created
:
async
function
()
{
console
.
log
(
"进入bdtcan交易"
);
let
rtnmsg
=
await
this
.
init
(
this
.
$route
.
query
);
let
rtnmsg
=
await
this
.
init
();
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//更新数据
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
...
...
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