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
6ecf0888
Commit
6ecf0888
authored
Dec 14, 2021
by
zhengxiaokui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zxk
parent
038e9d48
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
12 deletions
+37
-12
commonProcess.js
src/mixin/commonProcess.js
+4
-4
Event.js
src/model/Letopn/Event.js
+1
-1
Dogp.vue
src/views/Business/Letopn/Dogp.vue
+9
-5
index.vue
src/views/Business/Letopn/index.vue
+23
-2
No files found.
src/mixin/commonProcess.js
View file @
6ecf0888
...
...
@@ -151,7 +151,7 @@ export default {
* @param {string} rule 执行的 rule path
* @param {any} value 更改的值
*/
defaultFunction
(
rule
,
value
)
{
defaultFunction
(
rule
,
value
)
{
Utils
.
defaultFunction
.
call
(
this
,
rule
,
value
)
},
/**
...
...
@@ -165,7 +165,7 @@ export default {
* 弹出机构选择框
* @param {String} rulePath 路径
*/
showGridPromptDialog
(
rulePath
)
{
showGridPromptDialog
(
rulePath
,
columns
)
{
this
.
executeRule
(
rulePath
).
then
((
res
)
=>
{
if
(
res
.
respCode
=
SUCCESS
)
{
if
(
res
.
data
.
params
)
{
...
...
@@ -174,7 +174,7 @@ export default {
this
.
root
.
$refs
.
etyDialog
.
show
=
true
this
.
root
.
promptData
=
{
title
:
res
.
data
.
title
,
columnStr
:
res
.
data
.
columns
,
columnStr
:
columns
?
columns
:
res
.
data
.
columns
,
data
:
res
.
data
.
vals
.
rows
,
rulePath
:
rulePath
,
}
...
...
@@ -219,7 +219,7 @@ export default {
gotoView
(
name
,
params
,
query
)
{
params
=
params
||
{}
query
=
query
||
{}
this
.
$router
.
push
({
name
,
params
,
query
})
this
.
$router
.
push
({
name
,
params
,
query
})
},
gotoUrl
(
url
)
{
this
.
$router
.
push
(
url
)
...
...
src/model/Letopn/Event.js
View file @
6ecf0888
...
...
@@ -151,7 +151,7 @@ export default {
}
},
async
onLcrgodButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"lcrgod.buttxmsel"
)
let
rtnmsg
=
await
this
.
executeRule
(
"l
etp.l
crgod.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
src/views/Business/Letopn/Dogp.vue
View file @
6ecf0888
<
template
>
<
div
class=
"eibs-tab"
>
<
c-row
>
<!-- Description of Goods -->
<c-col
:span=
"19"
>
<el-form-item
label=
"货物说明"
prop=
"ledgrp.blk.lcrgod"
>
...
...
@@ -14,15 +14,17 @@
</el-form-item>
</c-col>
<c-col
:span=
"2"
class=
"letopn_dogp_button"
>
<!-- @click="onLcrgodButtxmsel" -->
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"
onLcrgodButtxmsel
"
@
click=
"
showGridPromptDialog('letp.lcrgod.buttxmsel',columns)
"
>
...
</c-button>
</c-col>
<br
/>
<c-col
:span=
"12"
>
<el-form-item
label=
"货物类型"
prop=
"ledgrp.rec.stagod"
>
...
...
@@ -34,7 +36,7 @@
</c-select>
</el-form-item>
</c-col>
</
div
>
</
c-row
>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
...
...
@@ -47,7 +49,9 @@ export default {
props
:
[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
()
{
return
{};
return
{
columns
:
"1 2
\"
EXTKEY
\"
410 50
\
r
\
n2 1
\"
NAM
\"
410 50
\
r
\
n3 3
\"
TXT
\"
410 50
\
r
\
nUIL
\
r
\
nVER
\
r
\
nETGEXTKEY
\
r
\
nP COLORED TRUE
\
r
\
nP VERTLINES TRUE
\
r
\
nP HORZLINES TRUE
\
r
\
nP MULTISELECT FALSE
\
r
\
nP COLUMNSIZING TRUE"
};
},
methods
:
{
...
Event
},
created
:
function
()
{},
...
...
@@ -55,6 +59,6 @@ export default {
</
script
>
<
style
>
.letopn_dogp_button
{
margin
:
20px
0
0
-1
0px
;
margin
:
20px
0
0
0px
;
}
</
style
>
src/views/Business/Letopn/index.vue
View file @
6ecf0888
<
template
>
<c-page
title=
"出口信用证通知"
>
<div
class=
"eContainer"
>
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
<!--
<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>
<el-button
size=
"small"
>
拆分报文
</el-button>
<el-button
size=
"small"
>
智能提示
</el-button>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
...
...
@@ -113,6 +128,12 @@
</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
>
...
...
@@ -150,7 +171,7 @@ import Engp from "~/views/Public/Engp";
import
Glepan
from
"~/views/Public/Glepan"
;
export
default
{
name
:
'Letopn'
,
name
:
"Letopn"
,
components
:
{
"m-ovwp"
:
Ovwp
,
"m-detp"
:
Detp
,
...
...
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