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
6db14eef
Commit
6db14eef
authored
Aug 24, 2022
by
wangna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Getamc修改(#604)
parent
38417b33
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
7 deletions
+30
-7
index.js
src/model/Getamc/index.js
+2
-1
Conp.vue
src/views/Business/Getamc/Conp.vue
+1
-0
Preperp.vue
src/views/Business/Getamc/Preperp.vue
+10
-5
index.vue
src/views/Business/Getamc/index.vue
+17
-1
No files found.
src/model/Getamc/index.js
View file @
6db14eef
...
@@ -234,7 +234,8 @@ export default class Getamc{
...
@@ -234,7 +234,8 @@ export default class Getamc{
},
},
},
},
reqdat
:
""
,
// Confir. Requested on .reqdat
reqdat
:
""
,
// Confir. Requested on .reqdat
pageId
:
""
,
// ctx的key
pageId
:
""
,
// ctx的key
roldsc
:
""
,
liaall
:
new
Pub
().
data
.
Liaall
,
liaall
:
new
Pub
().
data
.
Liaall
,
setmod
:
new
Pub
().
data
.
Setmod
,
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
...
...
src/views/Business/Getamc/Conp.vue
View file @
6db14eef
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
size=
"small"
size=
"small"
type=
"primary"
type=
"primary"
@
click=
"onSeainf"
@
click=
"onSeainf"
disabled
>
>
<span
style=
"font-family: '宋体'; font-weight: bold"
>
i
</span>
<span
style=
"font-family: '宋体'; font-weight: bold"
>
i
</span>
</c-button>
</c-button>
...
...
src/views/Business/Getamc/Preperp.vue
View file @
6db14eef
...
@@ -46,15 +46,20 @@
...
@@ -46,15 +46,20 @@
v-model=
"model.gidgrp.rec.sndto"
v-model=
"model.gidgrp.rec.sndto"
style=
"width: 100%"
style=
"width: 100%"
placeholder=
"请选择Undertaking Send to"
placeholder=
"请选择Undertaking Send to"
disabled
:disabled=
"
model.gidgrp.rec.hndtyp == 'OC' ||
model.gidgrp.rec.hndtyp == 'FR' ||
model.gidgrp.rec.hndtyp == 'FG'
"
:code=
"sndto"
>
>
<el-option
<
!-- <
el-option
v-for="item in codes.rolall"
v-for="item in codes.rolall"
:key="item.value"
:key="item.value"
:label="item.label"
:label="item.label"
:value="item.value"
:value="item.value"
>
>
</el-option>
</el-option>
-->
</c-select>
</c-select>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
...
@@ -182,7 +187,7 @@
...
@@ -182,7 +187,7 @@
<c-col
:span=
"20"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"Presentation Instr."
prop=
"gidgrp.blk.preper"
>
<el-form-item
label=
"Presentation Instr."
prop=
"gidgrp.blk.preper"
>
<c-input
<c-input
:disabled=
"model.gitp.prepermodflg
==
''"
:disabled=
"model.gitp.prepermodflg
==
''"
type=
"textarea"
type=
"textarea"
:rows=
"5"
:rows=
"5"
v-model=
"model.gidgrp.blk.preper"
v-model=
"model.gidgrp.blk.preper"
...
@@ -330,7 +335,7 @@ import Event from "~/model/Getamc/Event";
...
@@ -330,7 +335,7 @@ import Event from "~/model/Getamc/Event";
export
default
{
export
default
{
inject
:
[
"root"
],
inject
:
[
"root"
],
props
:
[
"model"
],
props
:
[
"model"
,
"sndto"
],
mixins
:
[
commonProcess
],
mixins
:
[
commonProcess
],
data
()
{
data
()
{
return
{
return
{
...
...
src/views/Business/Getamc/index.vue
View file @
6db14eef
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
name=
"preperp"
name=
"preperp"
>
>
<c-content>
<c-content>
<m-preperp
:model=
"model"
:codes=
"codes"
/>
<m-preperp
:model=
"model"
:codes=
"codes"
:sndto=
"sndto"
/>
</c-content>
</c-content>
</el-tab-pane>
</el-tab-pane>
...
@@ -161,6 +161,7 @@ export default {
...
@@ -161,6 +161,7 @@ export default {
},
},
bookings
:
false
,
bookings
:
false
,
attachments
:
false
,
attachments
:
false
,
sndto
:
[],
};
};
},
},
methods
:
{
methods
:
{
...
@@ -173,12 +174,27 @@ export default {
...
@@ -173,12 +174,27 @@ export default {
* do it yourself
* do it yourself
**/
**/
},
},
buildSndto
(
data
){
var
result
=
[];
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
){
var
temp
=
data
[
i
].
split
(
'
\
t'
);
let
newList
=
{
value
:
temp
[
0
],
label
:
temp
[
1
],
}
result
.
push
(
newList
);
}
this
.
sndto
=
result
;
console
.
log
(
this
.
sndto
)
},
},
},
created
:
async
function
()
{
created
:
async
function
()
{
console
.
log
(
"进入getamc交易"
);
console
.
log
(
"进入getamc交易"
);
let
rtnmsg
=
await
this
.
init
({});
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
this
.
updateModel
(
rtnmsg
.
data
);
console
.
log
(
rtnmsg
.
codeSet
[
'gidgrp.rec.sndto'
])
this
.
buildSndto
(
rtnmsg
.
codeSet
[
'gidgrp.rec.sndto'
]
||
[]);
//TODO 处理数据逻辑
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
)
{
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
this
.
restoreDisplay
();
...
...
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