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
zhouqian
vue-gjjs
Commits
7b4975e3
Commit
7b4975e3
authored
Aug 22, 2022
by
Wuyuqiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bftset、betset、betrcl表格优化
parent
7ed0616d
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
28 additions
and
22 deletions
+28
-22
index.js
src/config/CodeTable/index.js
+0
-4
Pattern.js
src/model/Betrcl/Pattern.js
+1
-1
Pattern.js
src/model/Bftcan/Pattern.js
+1
-1
Rclp.vue
src/views/Business/Betrcl/Rclp.vue
+5
-5
Setp.vue
src/views/Business/Betset/Setp.vue
+5
-5
Canp.vue
src/views/Business/Bftcan/Canp.vue
+2
-1
Setp.vue
src/views/Business/Bftset/Setp.vue
+14
-5
No files found.
src/config/CodeTable/index.js
View file @
7b4975e3
...
...
@@ -4995,10 +4995,6 @@ const CodeTable = {
{
label
:
"Reverse Booking (Document Set)"
,
value
:
"N"
},
{
label
:
"Reverse Booking (Doc. Set, L/C)"
,
value
:
"B"
},
],
rebkpflg1
:
[
{
label
:
"Reverse Booking (Document Set)"
,
value
:
"N"
},
{
label
:
"Reverse Booking (Doc. Set, L/C)"
,
value
:
"B"
},
],
refper
:
[
{
label
:
"Same Week"
,
value
:
"W="
},
{
label
:
"Same Half-Year"
,
value
:
"H="
},
...
...
src/model/Betrcl/Pattern.js
View file @
7b4975e3
...
...
@@ -18,7 +18,7 @@ export default {
"ledgrp.cbs.opn1.amt"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
pattern
:
/
(
^
-
?\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^-
?
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"betp.recget.sdamod.dadsnd"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/model/Bftcan/Pattern.js
View file @
7b4975e3
...
...
@@ -18,7 +18,7 @@ export default {
"dedgrp.cbs.opn1.amt"
:
[
{
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
pattern
:
/
(
^
-
?\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^-
?
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"bftp0.recget.sdamod.dadsnd"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/views/Business/Betrcl/Rclp.vue
View file @
7b4975e3
...
...
@@ -713,17 +713,17 @@ export default {
type
:
"error"
,
});
}
else
{
let
sel
Ids
;
let
chk
Ids
;
if
(
selection
.
length
===
0
)
{
sel
Ids
=
[]
this
.
model
.
liaall
.
tensetstm
.
rows
=
[]
chk
Ids
=
[]
//
this.model.liaall.tensetstm.rows = []
// this.model.liaall.tenstm.rows = []
}
else
{
sel
Ids
=
[
selection
[
0
]
+
1
]
chk
Ids
=
[
selection
[
0
]
+
1
]
}
//
console
.
log
(
this
.
model
.
liaall
.
tensetstm
);
let
params
=
{
selDst
:
"liaall.tenstm"
,
sel
Ids
};
let
params
=
{
chkDst
:
"liaall.tenstm"
,
chk
Ids
};
const
rtnmsg
=
await
this
.
executeRule
(
"liaall.tenstm"
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
...
...
src/views/Business/Betset/Setp.vue
View file @
7b4975e3
...
...
@@ -761,17 +761,17 @@ export default {
type
:
"error"
,
});
}
else
{
let
sel
Ids
;
let
chk
Ids
;
if
(
selection
.
length
===
0
)
{
sel
Ids
=
[]
this
.
model
.
liaall
.
tensetstm
.
rows
=
[]
chk
Ids
=
[]
//
this.model.liaall.tensetstm.rows = []
// this.model.liaall.tenstm.rows = []
}
else
{
sel
Ids
=
[
selection
[
0
]
+
1
]
chk
Ids
=
[
selection
[
0
]
+
1
]
}
//
console
.
log
(
this
.
model
.
liaall
.
tensetstm
);
let
params
=
{
selDst
:
"liaall.tenstm"
,
sel
Ids
};
let
params
=
{
chkDst
:
"liaall.tenstm"
,
chk
Ids
};
const
rtnmsg
=
await
this
.
executeRule
(
"liaall.tenstm"
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
...
...
src/views/Business/Bftcan/Canp.vue
View file @
7b4975e3
...
...
@@ -361,9 +361,10 @@
v-model=
"model.rebkpflg"
style=
"width: 100%"
placeholder=
"请选择Booking Procedure"
@
change=
"executeDefault('rebkpflg')"
>
<el-option
v-for=
"item in codes.rebkpflg
1
"
v-for=
"item in codes.rebkpflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
...
...
src/views/Business/Bftset/Setp.vue
View file @
7b4975e3
...
...
@@ -332,6 +332,9 @@
<c-input
v-model=
"model.setmod.docamt"
placeholder=
"请输入付款金额"
@
change=
"eventFunction(
'setmod.docamt'
)"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -354,6 +357,9 @@
v-model=
"model.setmod.setamt"
placeholder=
"请输入扣费后付款金额"
disabled
@
change=
"eventFunction(
'setmod.setamt'
)"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -376,6 +382,9 @@
v-model=
"model.aamset.utlamt"
placeholder=
"请输入单据金额"
disabled
@
change=
"eventFunction(
'aamset.utlamt'
)"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -908,17 +917,17 @@ export default {
type
:
"error"
,
});
}
else
{
let
sel
Ids
;
let
chk
Ids
;
if
(
selection
.
length
===
0
)
{
sel
Ids
=
[]
this
.
model
.
liaall
.
tensetstm
.
rows
=
[]
chk
Ids
=
[]
//
this.model.liaall.tensetstm.rows = []
// this.model.liaall.tenstm.rows = []
}
else
{
sel
Ids
=
[
selection
[
0
]
+
1
]
chk
Ids
=
[
selection
[
0
]
+
1
]
}
//
console
.
log
(
this
.
model
.
liaall
.
tensetstm
);
let
params
=
{
selDst
:
"liaall.tenstm"
,
sel
Ids
};
let
params
=
{
chkDst
:
"liaall.tenstm"
,
chk
Ids
};
const
rtnmsg
=
await
this
.
executeRule
(
"liaall.tenstm"
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
...
...
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