Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
489040d1
Commit
489040d1
authored
Sep 07, 2022
by
季圣华
Browse files
改造单据中的序列号输入框,改为可以从弹出框中输入(增加默认输入格式提示)
parent
2237252e
Changes
5
Show whitespace changes
Inline
Side-by-side
jshERP-web/src/components/jeecg/minipop/JInputPop.vue
View file @
489040d1
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
<a-icon
type=
"close"
@
click=
"visible=false"
/>
<a-icon
type=
"close"
@
click=
"visible=false"
/>
</span>
</span>
</div>
</div>
<a-input
:value=
"inputContent"
@
change=
"handleInputChange"
>
<a-input
:value=
"inputContent"
@
change=
"handleInputChange"
:placeholder=
"placeholder"
>
<a-icon
slot=
"suffix"
type=
"fullscreen"
@
click.stop=
"pop"
/>
<a-icon
slot=
"suffix"
type=
"fullscreen"
@
click.stop=
"pop"
/>
</a-input>
</a-input>
<div
slot=
"content"
>
<div
slot=
"content"
>
<textarea
:value=
"inputContent"
@
input=
"handleInputChange"
:style=
"
{ height: height + 'px', width: width + 'px' }">
</textarea>
<textarea
:value=
"inputContent"
@
input=
"handleInputChange"
:placeholder=
"placeholder"
:style=
"
{ height: height + 'px', width: width + 'px' }">
</textarea>
</div>
</div>
</a-popover>
</a-popover>
</
template
>
</
template
>
...
@@ -48,8 +48,11 @@
...
@@ -48,8 +48,11 @@
type
:
String
,
type
:
String
,
default
:
''
,
default
:
''
,
required
:
false
required
:
false
}
},
placeholder
:{
type
:
String
,
required
:
false
},
},
},
data
(){
data
(){
return
{
return
{
...
...
jshERP-web/src/views/bill/modules/OtherInModal.vue
View file @
489040d1
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
单位
'
,
key
:
'
unit
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
单位
'
,
key
:
'
unit
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
序列号
'
,
key
:
'
snList
'
,
width
:
'
12%
'
,
type
:
FormTypes
.
input
,
placeholder
:
'
多个序列号
请
用逗号隔开
'
,
{
title
:
'
序列号
'
,
key
:
'
snList
'
,
width
:
'
12%
'
,
type
:
FormTypes
.
input
,
placeholder
:
'
多个序列号用逗号隔开
'
,
validateRules
:
[{
pattern
:
/^
\S{1,100}
$/
,
message
:
'
请小于100位字符
'
}]
validateRules
:
[{
pattern
:
/^
\S{1,100}
$/
,
message
:
'
请小于100位字符
'
}]
},
},
{
title
:
'
批号
'
,
key
:
'
batchNumber
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
input
},
{
title
:
'
批号
'
,
key
:
'
batchNumber
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
input
},
...
...
jshERP-web/src/views/bill/modules/PurchaseInModal.vue
View file @
489040d1
...
@@ -269,7 +269,7 @@
...
@@ -269,7 +269,7 @@
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
单位
'
,
key
:
'
unit
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
单位
'
,
key
:
'
unit
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
序列号
'
,
key
:
'
snList
'
,
width
:
'
12%
'
,
type
:
FormTypes
.
input
,
placeholder
:
'
多个序列号
请
用逗号隔开
'
,
{
title
:
'
序列号
'
,
key
:
'
snList
'
,
width
:
'
12%
'
,
type
:
FormTypes
.
input
,
placeholder
:
'
多个序列号用逗号隔开
'
,
validateRules
:
[{
pattern
:
/^
\S{1,100}
$/
,
message
:
'
请小于100位字符
'
}]
validateRules
:
[{
pattern
:
/^
\S{1,100}
$/
,
message
:
'
请小于100位字符
'
}]
},
},
{
title
:
'
批号
'
,
key
:
'
batchNumber
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
input
},
{
title
:
'
批号
'
,
key
:
'
batchNumber
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
input
},
...
...
jshERP-web/src/views/bill/modules/RetailBackModal.vue
View file @
489040d1
...
@@ -231,7 +231,7 @@
...
@@ -231,7 +231,7 @@
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
单位
'
,
key
:
'
unit
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
单位
'
,
key
:
'
unit
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
序列号
'
,
key
:
'
snList
'
,
width
:
'
12%
'
,
type
:
FormTypes
.
input
,
placeholder
:
'
多个序列号
请
用逗号隔开
'
,
{
title
:
'
序列号
'
,
key
:
'
snList
'
,
width
:
'
12%
'
,
type
:
FormTypes
.
input
,
placeholder
:
'
多个序列号用逗号隔开
'
,
validateRules
:
[{
pattern
:
/^
\S{1,100}
$/
,
message
:
'
请小于100位字符
'
}]
validateRules
:
[{
pattern
:
/^
\S{1,100}
$/
,
message
:
'
请小于100位字符
'
}]
},
},
{
title
:
'
批号
'
,
key
:
'
batchNumber
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
input
},
{
title
:
'
批号
'
,
key
:
'
batchNumber
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
input
},
...
...
jshERP-web/src/views/bill/modules/SaleBackModal.vue
View file @
489040d1
...
@@ -247,7 +247,7 @@
...
@@ -247,7 +247,7 @@
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
单位
'
,
key
:
'
unit
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
单位
'
,
key
:
'
unit
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
序列号
'
,
key
:
'
snList
'
,
width
:
'
12%
'
,
type
:
FormTypes
.
input
,
placeholder
:
'
多个序列号
请
用逗号隔开
'
,
{
title
:
'
序列号
'
,
key
:
'
snList
'
,
width
:
'
12%
'
,
type
:
FormTypes
.
input
,
placeholder
:
'
多个序列号用逗号隔开
'
,
validateRules
:
[{
pattern
:
/^
\S{1,100}
$/
,
message
:
'
请小于100位字符
'
}]
validateRules
:
[{
pattern
:
/^
\S{1,100}
$/
,
message
:
'
请小于100位字符
'
}]
},
},
{
title
:
'
批号
'
,
key
:
'
batchNumber
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
input
},
{
title
:
'
批号
'
,
key
:
'
batchNumber
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
input
},
...
...
Write
Preview
Supports
Markdown
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