Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
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
王衍超
rbc-demo
Commits
3116a1df
Commit
3116a1df
authored
May 23, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(@gms/gms-plugin-billexpand): 红冲标识组件
parent
50eeb4fa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
66 additions
and
0 deletions
+66
-0
credit-memo-label.vue
...s/gms-plugin-billexpand/src/control/credit-memo-label.vue
+52
-0
emcon.js
develop/@gms/gms-plugin-billexpand/src/emcon.js
+12
-0
mcon.js
develop/@gms/gms-plugin-billexpand/src/mcon.js
+2
-0
No files found.
develop/@gms/gms-plugin-billexpand/src/control/credit-memo-label.vue
0 → 100644
View file @
3116a1df
<
template
>
<div
class=
"credit-memo-wrapper"
v-if=
"HCDBillcode"
>
<div
class=
"credit-memo-label"
v-if=
"hcje == ydje"
>
全部红冲
</div>
<div
class=
"credit-memo-label"
v-else
>
部分红冲
</div>
</div>
</
template
>
<
script
>
export
default
{
props
:
{
define
:
{
type
:
Object
,
required
:
true
,
},
context
:
{
type
:
Object
,
default
:
()
=>
({})
}
},
data
()
{
return
{
HCDBillcode
:
null
,
hcje
:
null
,
ydje
:
null
,
}
},
mounted
()
{
this
.
HCDBillcode
=
this
.
context
.
bill
.
getMasterData
().
getValue
(
'HCD_BILLCODE'
)
this
.
hcje
=
this
.
context
.
bill
.
getMasterData
().
getValue
(
'HCJE'
)
this
.
ydje
=
this
.
context
.
bill
.
getMasterData
().
getValue
(
'YDJE'
)
}
}
</
script
>
<
style
lang=
"less"
scoped
>
.credit-memo-wrapper
{
position
:
relative
;
.credit-memo-label
{
user-select
:
none
;
position
:
absolute
;
height
:
50px
;
width
:
100px
;
border-radius
:
5px
;
border
:
1px
solid
red
;
color
:
red
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
}
</
style
>
\ No newline at end of file
develop/@gms/gms-plugin-billexpand/src/emcon.js
View file @
3116a1df
export
default
{
billControl
:
[
{
"title"
:
"红冲标识"
,
"description"
:
""
,
"discard"
:
false
,
"dynamicComponent"
:
'billForm'
,
"extends"
:
{
"config"
:
[
],
},
"value"
:
"CreditMemoLabel"
,
"path"
:
"报销/通用"
},
{
"title"
:
"变更轨迹"
,
"description"
:
""
,
"discard"
:
false
,
...
...
develop/@gms/gms-plugin-billexpand/src/mcon.js
View file @
3116a1df
...
...
@@ -93,6 +93,7 @@ import InputModalControl from './control/InputModalControl.vue'
import
Achievements
from
'./control/vxe-achievements/achievements.vue'
import
VxeSubjectControl
from
'./control/vxeTableExpand/VxeSubjectControl.js'
import
ModificationTrack
from
'./control/modification-track/modification-track.vue'
import
CreditMemoLabel
from
'./control/credit-memo-label.vue'
//formula
import
GeneralImportFile
from
'./formula/GeneralImportFile.js'
;
...
...
@@ -285,6 +286,7 @@ export default {
Achievements
,
VxeSubjectControl
,
ModificationTrack
,
CreditMemoLabel
,
},
formula
:
{
SubTableSetBaseData
,
...
...
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