Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
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 e2c00c07
authored
Jan 14, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
59aac959
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
src/views/beforeSale/batchImport.vue
src/views/beforeSale/batchImport.vue
View file @
e2c00c0
...
@@ -290,9 +290,7 @@ export default {
...
@@ -290,9 +290,7 @@ export default {
taskCountInput
(
e
)
{
taskCountInput
(
e
)
{
e
=
e
?
String
(
e
)
:
''
e
=
e
?
String
(
e
)
:
''
let
value
=
e
let
value
=
e
const
intDigitReg
=
`(^\\d{5})\\d+(\\.\\d+)?`
value
=
e
.
replace
(
/
[^\d]
/g
,
''
)
value
=
e
.
replace
(
/^0
\d
/g
,
'0'
).
replace
(
/
[^\d
.
]
/g
,
''
).
replace
(
/^
\.
/g
,
''
).
replace
(
new
RegExp
(
intDigitReg
,
'g'
),
'$1'
).
replace
(
'.'
,
'$#$'
)
.
replace
(
/
\.
/g
,
''
).
replace
(
'$#$'
,
'.'
).
replace
(
new
RegExp
(
`^(-)*(\\d+)\\.(\\d{0}).*$`
),
this
.
intDigit
==
-
1
?
'$1$2'
:
'$1$2.$3'
)
if
(
+
e
<=
0
)
{
if
(
+
e
<=
0
)
{
value
=
''
value
=
''
}
else
if
(
+
e
>=
10000
)
{
}
else
if
(
+
e
>=
10000
)
{
...
@@ -302,7 +300,7 @@ export default {
...
@@ -302,7 +300,7 @@ export default {
},
},
// 下载导入模板
// 下载导入模板
downloadTemplate
()
{
downloadTemplate
()
{
let
res
=
'https://qcimg01.glsx.com.cn/rpc-scrm-equity/upload/pdf/
批量新增
导入模板.xlsx'
let
res
=
'https://qcimg01.glsx.com.cn/rpc-scrm-equity/upload/pdf/
线下订单
导入模板.xlsx'
let
tempaa
=
util
.
getExplorer
()
let
tempaa
=
util
.
getExplorer
()
if
(
tempaa
==
'QQ'
)
{
if
(
tempaa
==
'QQ'
)
{
window
.
open
(
res
)
window
.
open
(
res
)
...
...
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