Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 671afa6c
authored
Aug 15, 2024
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
详情-发起退款弹窗,样式,银行卡号
1 parent
8ecd7eef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
10 deletions
src/components/glsx-combi-form/index.vue
src/views/orderManage/components/newSignRefundDialog.vue
src/components/glsx-combi-form/index.vue
View file @
671afa6
...
...
@@ -11,7 +11,7 @@
<el-form-item
v-if=
"!item.isHide"
:key=
"index"
:id=
"item.name"
:label-width=
"isEdit ?
'154px'
: labelWidth"
:label-width=
"isEdit ?
(labelWidth || '154px')
: labelWidth"
:class=
"[
{ 'no-label': !item.label, isBlock: isBlock }, { 'textBox': item.type == 'textBox' }]"
:style="{ 'margin-bottom': isEdit ? '24px' : '', 'margin-right': isEdit ? '0px' : '30px', ...item.style }"
:label="item.label"
...
...
@@ -523,6 +523,9 @@ export default {
if
(
item
.
inputType
&&
(
value
.
length
>
item
.
maxlength
))
{
this
.
formObj
[
item
.
name
]
=
value
.
slice
(
0
,
item
.
maxlength
)
}
if
(
item
.
hasOwnProperty
(
'inputFn'
))
{
item
.
inputFn
(
value
)
}
}
}
}
...
...
src/views/orderManage/components/newSignRefundDialog.vue
View file @
671afa6
...
...
@@ -22,7 +22,8 @@
class=
"edit-form-container"
ref=
"editFormRef"
label-width=
"150px"
default-width=
"400px"
default-width=
"370px"
isEdit=
true
:form-ref=
"editChildRef"
:form-obj=
"infoForm"
:form-data=
"editFormData"
...
...
@@ -45,7 +46,7 @@
<el-input
placeholder=
"请输入付款金额"
v-model=
"infoForm.payAmount"
style=
"width:
40
0px"
style=
"width:
37
0px"
clearable
@
input=
"handleUpgradeNum"
>
...
...
@@ -145,7 +146,7 @@ export default {
},
dialogConfig
:
{
title
:
"发起退款"
,
width
:
"
86
0px"
width
:
"
108
0px"
},
editChildRef
:
"editChildRef"
,
formRules
:
{
...
...
@@ -194,7 +195,8 @@ export default {
name
:
"title"
,
type
:
"input"
,
isClear
:
true
,
maxlength
:
100
maxlength
:
100
,
width
:
"890px"
},
{
label
:
"支付主体"
,
...
...
@@ -226,7 +228,8 @@ export default {
maxlength
:
200
,
inputType
:
"textarea"
,
showLimit
:
true
,
rows
:
4
rows
:
4
,
width
:
"890px"
},
{
label
:
"收款人"
,
...
...
@@ -246,9 +249,15 @@ export default {
label
:
"银行账号"
,
name
:
"bankAccountNo"
,
type
:
"input"
,
inputType
:
"number"
,
//
inputType: "number",
isClear
:
true
,
maxlength
:
30
maxlength
:
30
,
inputFn
:
(
event
)
=>
{
if
(
!
(
/^
\d
|
\s
+$/
.
test
(
event
.
slice
(
event
.
length
-
1
))))
{
this
.
infoForm
.
bankAccountNo
=
event
.
slice
(
0
,
event
.
length
-
1
)
}
this
.
infoForm
.
bankAccountNo
=
this
.
infoForm
.
bankAccountNo
.
replace
(
/
\s
/g
,
''
).
replace
(
/
(
.
{4})
/g
,
"$1 "
)
}
},
{
label
:
"备注"
,
...
...
@@ -257,7 +266,8 @@ export default {
maxlength
:
200
,
inputType
:
"textarea"
,
showLimit
:
true
,
rows
:
4
rows
:
4
,
width
:
"890px"
},
{
label
:
"附件"
,
...
...
@@ -556,11 +566,12 @@ export default {
.title
{
height
:
50px
;
line-height
:
50px
;
padding
:
0
20px
;
//
padding
:
0
20px
;
border-bottom
:
1px
solid
#e5e5e5
;
font-size
:
16px
;
font-weight
:
600
;
color
:
#333333
;
margin
:
0
!important
;
}
.edit-sub-block
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment