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
442d3c2f
Commit
442d3c2f
authored
Jul 06, 2021
by
1377875331@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面补充
parent
4b6fd0ea
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
10 deletions
+34
-10
index.js
src/config/CodeTable/index.js
+6
-6
Default.js
src/model/Sptsel/Default.js
+11
-2
Docpan.vue
src/views/Business/Ditopn/Docpan.vue
+12
-0
Menu.vue
src/views/Business/Sptsel/Menu.vue
+5
-2
No files found.
src/config/CodeTable/index.js
View file @
442d3c2f
...
@@ -2953,14 +2953,14 @@ const CodeTable = {
...
@@ -2953,14 +2953,14 @@ const CodeTable = {
{
label
:
"是"
,
value
:
"1"
},
{
label
:
"是"
,
value
:
"1"
},
],
],
flt
:[
flt
:[
{
label
:
"Selected User Group"
,
value
:
"<SELG>"
},
//
{label:"Selected User Group",value:"<SELG>" },
{
label
:
"Selected Main Group"
,
value
:
"<SEGS>"
},
//
{label:"Selected Main Group",value:"<SEGS>" },
{
label
:
"Default Set"
,
value
:
""
},
//
{label:"Default Set",value:"" },
{
label
:
"All Users"
,
value
:
"<ALL>"
},
{
label
:
"All Users"
,
value
:
"<ALL>"
},
{
label
:
"Own Entries"
,
value
:
"<OWNU>"
},
//
{label:"Own Entries",value:"<OWNU>" },
{
label
:
"Selected User"
,
value
:
"<SELU>"
},
{
label
:
"Selected User"
,
value
:
"<SELU>"
},
{
label
:
"Selected Branch"
,
value
:
"<SEBH>"
},
//
{label:"Selected Branch",value:"<SEBH>" },
{
label
:
"Own User Group"
,
value
:
"<OWNG>"
},
//
{label:"Own User Group",value:"<OWNG>" },
],
],
flttyp
:[
flttyp
:[
{
label
:
"浮动点"
,
value
:
"1"
},
{
label
:
"浮动点"
,
value
:
"1"
},
...
...
src/model/Sptsel/Default.js
View file @
442d3c2f
...
@@ -22,8 +22,8 @@ export default {
...
@@ -22,8 +22,8 @@ export default {
"chkcor"
:
defaultCheckbox
,
"chkcor"
:
defaultCheckbox
,
"chkaut"
:
defaultCheckbox
,
"chkaut"
:
defaultCheckbox
,
"chkdel"
:
defaultCheckbox
,
"chkdel"
:
defaultCheckbox
,
"chktco"
:
defaultCheckbox
,
"chktco"
:
updateTable
,
"chkcan"
:
defaultCheckbox
,
// "chkcan": updateTable
,
}
}
function
defaultSptstm
()
{
function
defaultSptstm
()
{
...
@@ -68,3 +68,12 @@ function defaultCheckbox(rule, value, callback) {
...
@@ -68,3 +68,12 @@ function defaultCheckbox(rule, value, callback) {
})
})
}
}
function
updateTable
(
rule
,
value
,
callback
){
const
that
=
this
;
if
(
that
.
model
[
rule
.
field
]
===
true
&&
that
.
$refs
.
Menu
.
stmData
.
columns
[
3
]
===
"7 6
\"
Creation
\"
101 20 DateTime 1"
)
{
that
.
$refs
.
Menu
.
stmData
.
columns
.
splice
(
3
,
0
,
"18 5
\"
MT
\"
100"
);
}
if
(
that
.
model
[
rule
.
field
]
===
false
&&
that
.
$refs
.
Menu
.
stmData
.
columns
[
3
]
===
"18 5
\"
MT
\"
100"
)
{
that
.
$refs
.
Menu
.
stmData
.
columns
.
splice
(
3
,
1
);
}
}
src/views/Business/Ditopn/Docpan.vue
View file @
442d3c2f
...
@@ -34,6 +34,18 @@
...
@@ -34,6 +34,18 @@
</c-select>
</c-select>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"Or."
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"model.trnmod.trndoc.doceot[scope.row.index].apfcpy1"
:readonly=
true
style=
"width:100%"
placeholder=
"请选择"
>
</c-input>
</
template
>
</el-table-column>
<el-table-column
label=
"CC"
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"model.trnmod.trndoc.doceot[scope.row.index].apfcpy2"
style=
"width:100%"
placeholder=
"请选择"
>
</c-input>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
...
...
src/views/Business/Sptsel/Menu.vue
View file @
442d3c2f
...
@@ -98,6 +98,9 @@
...
@@ -98,6 +98,9 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"Selection of Users"
prop=
"usfmod.flt"
>
<el-form-item
label=
"Selection of Users"
prop=
"usfmod.flt"
>
<c-select
v-model=
"model.usfmod.flt"
style=
"width:60%"
placeholder=
"请选择User"
>
<c-select
v-model=
"model.usfmod.flt"
style=
"width:60%"
placeholder=
"请选择User"
>
<el-option
v-for=
"item in codes.flt"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</c-select>
<c-button
size=
"small"
type=
"primary"
style=
"width:30%"
@
click=
"onUsfmodShwflt"
>
<c-button
size=
"small"
type=
"primary"
style=
"width:30%"
@
click=
"onUsfmodShwflt"
>
Show Set
Show Set
...
@@ -183,7 +186,7 @@
...
@@ -183,7 +186,7 @@
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"退回原因"
prop=
"yptinf"
>
<el-form-item
label=
"退回原因"
prop=
"yptinf"
>
<c-input
v-model=
"model.yptinf"
maxlength=
"60"
placeholder=
"请输入退回原因"
></c-input>
<c-input
v-model=
"model.yptinf"
maxlength=
"60"
placeholder=
"请输入退回原因"
:readonly=
true
></c-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -231,7 +234,7 @@ export default {
...
@@ -231,7 +234,7 @@ export default {
"4 1
\"
TRN
\"
50 "
,
"4 1
\"
TRN
\"
50 "
,
"5 2
\"
Reference
\"
150"
,
"5 2
\"
Reference
\"
150"
,
"6 3
\"
Name
\"
110"
,
"6 3
\"
Name
\"
110"
,
"18 5
\"
MT
\"
100"
,
//
"18 5 \"MT\" 100",
"7 6
\"
Creation
\"
101 20 DateTime 1"
,
"7 6
\"
Creation
\"
101 20 DateTime 1"
,
"20 7
\"
Cur
\"
30"
,
"20 7
\"
Cur
\"
30"
,
"21 8
\"
Amt
\"
69 2 8 1 16"
,
"21 8
\"
Amt
\"
69 2 8 1 16"
,
...
...
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