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
08947264
Commit
08947264
authored
Jul 12, 2021
by
1377875331@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
内容页面事件补充
parent
02adcdaa
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
40 additions
and
9 deletions
+40
-9
index.js
src/config/CodeTable/index.js
+5
-0
Pattern.js
src/model/Ditopn/Pattern.js
+2
-1
index.js
src/model/Ditopn/index.js
+2
-1
Detp.vue
src/views/Business/Ditopn/Detp.vue
+10
-4
Docpan.vue
src/views/Business/Ditopn/Docpan.vue
+9
-0
Ovwp.vue
src/views/Business/Ditopn/Ovwp.vue
+10
-3
index.vue
src/views/Business/Ditopn/index.vue
+2
-0
No files found.
src/config/CodeTable/index.js
View file @
08947264
...
...
@@ -5707,6 +5707,11 @@ const CodeTable = {
litameadv
:[
{
label
:
"无特殊规定"
,
value
:
"1"
},
{
label
:
"有特殊规定,条件为:"
,
value
:
"2"
},
],
swttlx
:[
{
label
:
"需要加押的SWIFT报文(MT999)"
,
value
:
"M"
},
{
label
:
"需要加押的TELEX报文"
,
value
:
"T"
},
// {label:"正常",value:"N"}
]
}
...
...
src/model/Ditopn/Pattern.js
View file @
08947264
...
...
@@ -18,7 +18,8 @@ export default {
],
"didgrp.apl.pts.ref"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
{
max
:
16
,
message
:
"长度不能超过16"
},
{
pattern
:
/
(
^
\d
+$
)
/
,
message
:
"只能输入数字"
,
trigger
:
'blur'
}
],
"ditp.usr.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/model/Ditopn/index.js
View file @
08947264
...
...
@@ -65,7 +65,8 @@ export default class Ditopn{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .didgrp.apl.namelc
adrelc
:
""
,
// 地址 .didgrp.apl.adrelc
dbfadrblkcn
:
""
,
// Chinese address .didgrp.apl.dbfadrblkcn
dbfadrblkcn
:
""
,
// Chinese address .didgrp.apl.dbfadrblkcn
rolsetflg
:
""
,
// 备查表相关字段
},
ben
:{
pts
:
new
Pts
().
data
,
...
...
src/views/Business/Ditopn/Detp.vue
View file @
08947264
...
...
@@ -53,7 +53,7 @@
<el-col
:span=
"12"
>
<el-form-item
label=
"交单期限"
prop=
"didgrp.blk.preper"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.blk.preper"
:readonly=
"t
rue
"
style=
"width:70%;margin-right:20px;"
maxlength=
"105"
show-word-limit
placeholder=
"请输入"
></c-input>
<c-input
type=
"textarea"
v-model=
"model.didgrp.blk.preper"
:readonly=
"t
his.flag
"
style=
"width:70%;margin-right:20px;"
maxlength=
"105"
show-word-limit
placeholder=
"请输入"
></c-input>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onPreperButtxmsel"
>
...
</c-button>
...
...
@@ -71,7 +71,7 @@
<el-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"didgrp.blk.preperflg"
>
<c-checkbox
v-model=
"model.didgrp.blk.preperflg"
>
修改交单期限文本
</c-checkbox>
<c-checkbox
v-model=
"model.didgrp.blk.preperflg"
:click=
"preperflgExtkeyEvent()"
>
修改交单期限文本
</c-checkbox>
</el-form-item>
</el-col>
...
...
@@ -149,10 +149,16 @@ export default {
props
:[
"model"
,
"codes"
],
data
(){
return
{
flag
:
false
,
}
},
methods
:{...
Event
},
methods
:{...
Event
,
preperflgExtkeyEvent
(){
this
.
flag
=
!
this
.
model
.
didgrp
.
blk
.
preperflg
console
.
log
(
this
.
flag
)
},
},
created
:
function
(){
}
...
...
src/views/Business/Ditopn/Docpan.vue
View file @
08947264
...
...
@@ -46,6 +46,15 @@
</c-input>
</
template
>
</el-table-column>
<el-table-column
label=
""
>
<
template
slot-scope=
"scope"
>
<c-select
v-model=
"model.trnmod.trndoc.doceot[scope.row.index].staflg"
style=
"width:100%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.swttlx"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
...
...
src/views/Business/Ditopn/Ovwp.vue
View file @
08947264
...
...
@@ -197,8 +197,13 @@
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"贸易类型"
prop=
"didgrp.rec.mytype"
>
<c-select
v-model=
"model.didgrp.rec.mytype"
style=
"width:100%"
placeholder=
"请选择贸易类型"
>
<el-form-item
label=
"贸易类型"
prop=
"didgrp.rec.mytype"
>
<c-select
v-if=
"model.didgrp.rec.elcflg == 'N'"
v-model=
"model.didgrp.rec.mytype"
style=
"width:100%"
placeholder=
"请选择贸易类型"
>
<el-option
v-for=
"item in codes.mylx"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
<c-select
v-else
v-model=
"model.didgrp.rec.mytype"
style=
"width:100%"
placeholder=
"请选择贸易类型"
>
<el-option
v-for=
"item in codes.mytype"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
...
...
@@ -329,7 +334,7 @@
<el-col
:span=
"12"
>
<el-form-item
label=
"开证类型"
prop=
"didgrp.rec.dkflg"
>
<c-select
v-model=
"model.didgrp.rec.dkflg"
style=
"width:100%"
placeholder=
"请选择开证类型"
>
<c-select
v-model=
"model.didgrp.rec.dkflg"
style=
"width:100%"
disabled
placeholder=
"请选择开证类型"
>
<el-option
v-for=
"item in codes.dkflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
...
...
@@ -397,6 +402,7 @@ export default {
return
{
declareParams
:{
"fileName"
:
"ditopn.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/ditopn/getElcsRef"
},
flag
:
true
,
trade
:
""
,
}
},
methods
:{
...
...
@@ -408,6 +414,7 @@ export default {
this
.
model
.
didgrp
.
apl
.
namelc
=
data
.
didgrp_apl_namelc
;
this
.
model
.
didgrp
.
apl
.
adrelc
=
data
.
didgrp_apl_adrelc
;
this
.
model
.
didgrp
.
apl
.
pts
.
extkey
=
data
.
didgrp_apl_pts_extkey
;
this
.
model
.
didgrp
.
apl
.
rolsetflg
=
data
.
didgrp_apl_rolsetflg
;
this
.
flag
=
false
;
})
},
...
...
src/views/Business/Ditopn/index.vue
View file @
08947264
...
...
@@ -152,6 +152,7 @@ export default {
rules
:
null
,
codes
:{
cur
:
CodeTable
.
cur
,
mylx
:
CodeTable
.
mylx
,
mytype
:
CodeTable
.
mytype
,
elcflg
:
CodeTable
.
elcflg
,
dkflg
:
CodeTable
.
dkflg
,
...
...
@@ -173,6 +174,7 @@ export default {
avbby0
:
CodeTable
.
avbby0
,
uiltxt
:
CodeTable
.
uiltxt
,
docsnf
:
CodeTable
.
docsnf
,
swttlx
:
CodeTable
.
swttlx
,
},
}
},
...
...
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