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 c4b09c6a
authored
Jan 11, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
联调修改
1 parent
28d61487
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
src/assets/beforeSale/idCard.png
src/assets/beforeSale/idCardBack.png
src/views/beforeSale/batchImport.vue
src/assets/beforeSale/idCard.png
View file @
c4b09c6
9.2 KB
|
W:
|
H:
13.1 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/beforeSale/idCardBack.png
View file @
c4b09c6
9.07 KB
|
W:
|
H:
13 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/beforeSale/batchImport.vue
View file @
c4b09c6
...
@@ -290,15 +290,19 @@ export default {
...
@@ -290,15 +290,19 @@ export default {
taskCountInput
(
e
)
{
taskCountInput
(
e
)
{
e
=
e
?
String
(
e
)
:
''
e
=
e
?
String
(
e
)
:
''
let
value
=
e
let
value
=
e
const
intDigitReg
=
`(^\\d{
6
})\\d+(\\.\\d+)?`
const
intDigitReg
=
`(^\\d{
5
})\\d+(\\.\\d+)?`
value
=
e
.
replace
(
/^0
\d
/g
,
'0'
).
replace
(
/
[^\d
.
]
/g
,
''
).
replace
(
/^
\.
/g
,
''
).
replace
(
new
RegExp
(
intDigitReg
,
'g'
),
'$1'
).
replace
(
'.'
,
'$#$'
)
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'
)
.
replace
(
/
\.
/g
,
''
).
replace
(
'$#$'
,
'.'
).
replace
(
new
RegExp
(
`^(-)*(\\d+)\\.(\\d{0}).*$`
),
this
.
intDigit
==
-
1
?
'$1$2'
:
'$1$2.$3'
)
if
(
+
200000
<=
+
e
)
value
=
200000
if
(
+
e
<=
0
)
{
value
=
''
}
else
if
(
+
e
>=
10000
)
{
value
=
10000
}
this
.
$set
(
this
.
uploadFormObj
,
'taskCount'
,
value
)
this
.
$set
(
this
.
uploadFormObj
,
'taskCount'
,
value
)
},
},
// 下载导入模板
// 下载导入模板
downloadTemplate
()
{
downloadTemplate
()
{
let
res
=
'https://
qcimg01.glsx.com.cn/upload/biz/错误数据列表1736476968763
.xlsx'
let
res
=
'https://
wx.glsx.com.cn/upload/biz/616ede9e-ae56-4c1d-861c-808c23dc8ca0
.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