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
edbb5aa6
Commit
edbb5aa6
authored
Apr 12, 2022
by
吴佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022.04.12 wujia sptrou
parent
c8284a13
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
330 additions
and
13 deletions
+330
-13
index.js
src/config/CodeTable/index.js
+1
-1
index.js
src/model/Sptrou/index.js
+4
-1
Sptnegp.vue
src/views/Business/Sptrou/Sptnegp.vue
+276
-5
index.vue
src/views/Business/Sptrou/index.vue
+47
-6
SideMenu.vue
src/views/Layout/SideMenu.vue
+2
-0
No files found.
src/config/CodeTable/index.js
View file @
edbb5aa6
...
...
@@ -4106,7 +4106,7 @@ const CodeTable = {
{
label
:
"N"
,
value
:
"N"
},
],
ownextkey
:
[
{
label
:
"08350012北京分行"
,
value
:
"0
8350012
"
},
{
label
:
"08350012北京分行"
,
value
:
"0
0000047
"
},
],
ownexttyp
:
[
{
label
:
"手工录入"
,
value
:
"OE"
},
...
...
src/model/Sptrou/index.js
View file @
edbb5aa6
...
...
@@ -21,7 +21,10 @@ export default class Sptrou{
conget
:{
refnum
:
""
,
// Reference No. .recpan.conget.refnum
selref
:
""
,
// Refecence of selected contract .recpan.conget.selref
selnam
:
""
,
// name of selected contract .recpan.conget.selnam
refnum
:
""
,
// Reference No. .recpan.conget.refnum
pntref
:
""
,
pntnam
:
""
,
// name of selected contract .recpan.conget.selnam
sector
:
""
,
sdamod
:{
seainf
:
""
,
// .recpan.conget.sdamod.seainf
dadsnd
:
""
,
// Drag Drop Sender .recpan.conget.sdamod.dadsnd
...
...
src/views/Business/Sptrou/Sptnegp.vue
View file @
edbb5aa6
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"16"
>
<!-- ========================左边======================= -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
style=
"margin-top: 0"
>
<el-form-item
label=
"File Path"
prop=
"recpan.filpth"
>
<c-input
v-model=
"model.recpan.filpth"
maxlength=
"80"
placeholder=
"请输入File Path"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"File Name"
prop=
"recpan.filnam"
>
<c-select
v-model=
"model.recpan.filnam"
style=
"width: 100%"
placeholder=
"请选择File Name"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Type"
prop=
"spt.sta"
>
<c-select
v-model=
"model.spt.sta"
style=
"width: 100%"
placeholder=
"请选择Type"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Refecence No."
prop=
"recpan.conget.selref"
>
<c-input
v-model=
"model.recpan.conget.selref"
maxlength=
"40"
placeholder=
"请输入Refecence of selected contract"
@
keyup
.
enter
.
native=
"
updateSelref
"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"recpan.conget.selnam"
>
<c-input
v-model=
"model.recpan.conget.selnam"
maxlength=
"40"
placeholder=
"请输入name of selected contract"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Parent Contract"
prop=
"recpan.dpcget.selref"
>
<c-input
v-model=
"model.recpan.dpcget.selref"
maxlength=
"40"
placeholder=
"请输入Refecence of parent contract"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"recpan.dpcget.selnam"
>
<c-input
v-model=
"model.recpan.dpcget.selnam"
maxlength=
"40"
placeholder=
"请输入name of parent contract"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Work User"
prop=
"spt.wrkusr"
>
<c-select
v-model=
"model.spt.wrkusr"
style=
"width: 100%"
placeholder=
"请选择Work User"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Entered by"
prop=
"spt.usr"
>
<c-input
v-model=
"model.spt.usr"
maxlength=
"8"
placeholder=
"请输入Entered by"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"at"
prop=
"spt.dattim"
label-width=
"30px"
>
<c-input
v-model=
"model.spt.dattim"
placeholder=
"请输入Time of Creation"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
style=
"margin-top: 0"
>
<el-form-item
label=
"Message Reference"
prop=
"spt.objnam"
>
<c-input
v-model=
"model.spt.objnam"
maxlength=
"40"
placeholder=
"请输入Message Reference"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Name"
prop=
"spt.txt"
>
<c-input
v-model=
"model.spt.txt"
maxlength=
"40"
placeholder=
"请输入Name"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Transaction"
prop=
"recpan.atp.cod"
>
<c-input
v-model=
"model.recpan.atp.cod"
maxlength=
"6"
placeholder=
"请输入Transaction"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('recpan.atp.cod')
"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"recpan.atpget.sdamod.seainf"
label-width=
"10px"
>
<c-input
v-model=
"model.recpan.atpget.sdamod.seainf"
placeholder=
"请输入"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"虚拟机构"
prop=
"spt.wrkgrp"
>
<c-select
v-model=
"model.spt.wrkgrp"
style=
"width: 100%"
placeholder=
"请选择WORK GROUP"
:code=
"codes.ownextkey"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Info Text"
prop=
"spt.inftxt"
>
<c-input
type=
"textarea"
v-model=
"model.spt.inftxt"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Info Text"
:rows=
"4"
></c-input>
</el-form-item>
</c-col>
<!--
<c-col
:span=
"24"
>
<el-form-item
label=
"虚拟机构"
prop=
"spt.wrkgrp"
label-width=
"100px"
>
<c-select
v-model=
"model.spt.wrkgrp"
style=
"width: 100%"
placeholder=
"请选择WORK GROUP"
>
</c-select>
</el-form-item>
</c-col>
-->
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"spt.infdsp"
>
<c-select
v-model=
"model.spt.infdsp"
style=
"width: 100%"
placeholder=
"请选择Info Text"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"in Inr"
prop=
"spt.cretrn"
>
<c-input
v-model=
"model.spt.cretrn"
maxlength=
"6"
placeholder=
"请输入Creating Transaction ID"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!--
<c-col
:span=
"16"
>
<el-form-item
label=
"File Path"
prop=
"recpan.filpth"
>
<c-input
v-model=
"model.recpan.filpth"
...
...
@@ -128,7 +371,7 @@
<c-button
type=
"primary"
icon=
"el-icon-search"
></c-button>
</c-col>
<c-col
:span=
"8"
>
<!-- WORK GROUP -->
<el-form-item
label=
"虚拟机构"
prop=
"spt.wrkgrp"
label-width=
"100px"
>
<c-select
v-model=
"model.spt.wrkgrp"
...
...
@@ -195,7 +438,7 @@
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
-->
<!--
<c-col
:span=
"12"
>
<el-form-item
...
...
@@ -332,9 +575,37 @@ export default {
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{};
return
{
};
},
methods
:
{
...
Event
,
async
updateSelref
(){
let
rtnmsg
=
await
this
.
executeRule
(
"recpan.conget.selref"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
updateCretrn
(){
let
rtnmsg
=
await
this
.
executeRule
(
"recpan.atp.cod"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
...
...
src/views/Business/Sptrou/index.vue
View file @
edbb5aa6
<
template
>
<div
class=
"eContainer"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSave"
>
save
</el-button>
<!--
<el-button
size=
"small"
@
click=
"handletak"
>
tak
</el-button>
-->
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"200px"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000052 -->
<el-tab-pane
label=
"Items Overview"
name=
"sptroup"
>
<el-tab-pane
label=
"Items Overview"
name=
"sptroup"
v-if=
"false"
>
<m-sptroup
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
...
...
@@ -18,6 +23,14 @@
<m-prtcfg
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:isPty=
"false"
:promptData=
"promptData"
@
select-ety=
"selectMsg"
>
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</
template
>
...
...
@@ -29,7 +42,7 @@ import commonProcess from "~/mixin/commonProcess"
import
Check
from
"~/model/Sptrou/Check"
import
Default
from
"~/model/Sptrou/Default"
import
Pattern
from
"~/model/Sptrou/Pattern"
import
Sptroup
from
"./Sptroup"
//
import Sptroup from "./Sptroup"
import
Sptnegp
from
"./Sptnegp"
import
Prtcfg
from
"./Prtcfg"
...
...
@@ -37,7 +50,7 @@ import Prtcfg from "./Prtcfg"
export
default
{
name
:
'Sptrou'
,
components
:{
"m-sptroup"
:
Sptroup
,
//
"m-sptroup" : Sptroup,
"m-sptnegp"
:
Sptnegp
,
"m-prtcfg"
:
Prtcfg
,
},
...
...
@@ -49,20 +62,47 @@ export default {
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
"spt
rou
p"
,
tabVal
:
"spt
neg
p"
,
trnName
:
"sptrou"
,
model
:
new
Sptrou
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
},
codes
:
{
...
CodeTable
},
}
},
methods
:{
tabClick
(){
},
async
handleSave
(){
let
rtnmsg
=
await
this
.
executeRule
(
"sav"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
$notify
({
title
:
"成功"
,
message
:
"保存成功"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"TagsView/delView"
,
this
.
$route
)
this
.
$router
.
history
.
push
(
"/taskList"
,
()
=>
{
this
.
$store
.
commit
(
"setTaskListTabVal"
,
'trnrel'
)
//修改待复核界面刷新状态为需要刷新
this
.
$store
.
commit
(
"setLoadingFreshReview"
,
true
)
});
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
handletak
(){
},
},
created
:
async
function
(){
console
.
log
(
"进入sptrou交易"
);
...
...
@@ -70,6 +110,7 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
)
}
else
...
...
src/views/Layout/SideMenu.vue
View file @
edbb5aa6
...
...
@@ -42,6 +42,7 @@ export default {
{
inifrm
:
"infcpd"
,
ininam
:
"汇款查询"
,
pntmiu
:
"1"
},
{
inifrm
:
"cptopn"
,
ininam
:
"汇出汇款"
,
pntmiu
:
"1"
},
{
inifrm
:
"cptadv"
,
ininam
:
"汇入汇款"
,
pntmiu
:
"1"
},
{
inifrm
:
"2"
,
ininam
:
"买方信用证"
,
pntmiu
:
""
},
// { inifrm: "ditopn", ininam: "信用证开立", pntmiu: "2" },
// { inifrm: "ditame", ininam: "信用证修改", pntmiu: "2" },
...
...
@@ -131,6 +132,7 @@ export default {
{
inifrm
:
"14"
,
ininam
:
"服务管理"
,
pntmiu
:
""
},
{
inifrm
:
"switsk"
,
ininam
:
"Switsk"
,
pntmiu
:
"14"
},
{
inifrm
:
"mgrtsk"
,
ininam
:
"Mgrtsk"
,
pntmiu
:
"14"
},
{
inifrm
:
"sptrel"
,
ininam
:
"sptrel"
,
pntmiu
:
"14"
},
],
menus
:
[],
menusHeight
:
0
...
...
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