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 d3fb5422
authored
May 06, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat 功能联调
1 parent
da9c4e94
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
26 deletions
src/common/constants.js
src/views/salesManagement/availableInStores/tigaListingAndSalesContract/components/StepTwo/components/TrafficProviderInformation.vue
src/common/constants.js
View file @
d3fb542
...
@@ -419,7 +419,7 @@ export function limitPrice(
...
@@ -419,7 +419,7 @@ export function limitPrice(
pointDigit
,
pointDigit
,
minValue
,
minValue
,
maxValue
,
maxValue
,
regRule
,
regRule
)
{
)
{
let
reg
=
{
let
reg
=
{
priceReg
:
/^
\d[\d\.]
*$/
,
// eslint-disable-line
priceReg
:
/^
\d[\d\.]
*$/
,
// eslint-disable-line
...
@@ -427,8 +427,8 @@ export function limitPrice(
...
@@ -427,8 +427,8 @@ export function limitPrice(
};
};
regRule
=
regRule
||
"priceReg"
;
regRule
=
regRule
||
"priceReg"
;
if
(
if
(
newValue
newValue
&&
&&
((
minValue
&&
newValue
<
minValue
)
||
(
maxValue
&&
newValue
>
maxValue
))
((
minValue
&&
newValue
<
minValue
)
||
(
maxValue
&&
newValue
>
maxValue
))
)
{
)
{
return
oldValue
||
""
;
return
oldValue
||
""
;
}
}
...
@@ -437,18 +437,18 @@ export function limitPrice(
...
@@ -437,18 +437,18 @@ export function limitPrice(
newValue
=
newValue
+
""
;
newValue
=
newValue
+
""
;
let
interger
=
newValue
.
split
(
"."
)[
0
];
let
interger
=
newValue
.
split
(
"."
)[
0
];
let
point
=
newValue
.
split
(
"."
)[
1
];
let
point
=
newValue
.
split
(
"."
)[
1
];
let
intergerNum
let
intergerNum
=
=
interger
.
length
>
intergerDigit
interger
.
length
>
intergerDigit
?
oldValue
.
split
(
"."
)[
0
]
?
oldValue
.
split
(
"."
)[
0
]
:
interger
;
:
interger
;
let
pointNum
let
pointNum
=
=
point
.
length
>
pointDigit
?
point
.
slice
(
0
,
pointDigit
)
:
point
;
point
.
length
>
pointDigit
?
point
.
slice
(
0
,
pointDigit
)
:
point
;
newValue
=
pointDigit
newValue
=
pointDigit
?
intergerNum
+
"."
+
pointNum
?
intergerNum
+
"."
+
pointNum
:
newValue
.
split
(
"."
)[
0
];
:
newValue
.
split
(
"."
)[
0
];
}
else
{
}
else
{
newValue
newValue
=
=
newValue
.
length
>
intergerDigit
newValue
.
length
>
intergerDigit
?
oldValue
.
slice
(
0
,
intergerDigit
)
?
oldValue
.
slice
(
0
,
intergerDigit
)
:
newValue
;
:
newValue
;
}
}
...
@@ -481,12 +481,10 @@ export const appointDays = 35;
...
@@ -481,12 +481,10 @@ export const appointDays = 35;
export
const
afterTodayOptions
=
{
export
const
afterTodayOptions
=
{
disabledDate
(
date
)
{
disabledDate
(
date
)
{
if
(
if
(
date
<
new
Date
(
new
Date
().
toLocaleDateString
())
date
<
new
Date
(
new
Date
().
toLocaleDateString
())
||
||
date
date
>
>
new
Date
(
new
Date
(
new
Date
().
setDate
(
new
Date
().
setDate
(
new
Date
().
getDate
()
+
(
appointDays
-
1
))
new
Date
().
getDate
()
+
(
appointDays
-
1
),
),
)
)
)
{
)
{
return
true
;
return
true
;
...
@@ -1111,9 +1109,9 @@ export const businessOptShowText = {
...
@@ -1111,9 +1109,9 @@ export const businessOptShowText = {
};
};
// 预警管理 所属业务 显示文字
// 预警管理 所属业务 显示文字
export
const
orderBusinessType
=
{
export
const
orderBusinessType
=
{
"0"
:
"轻改"
,
0
:
"轻改"
,
"1"
:
"权益"
,
1
:
"权益"
,
"2"
:
"延保"
,
2
:
"延保"
,
"-1"
:
"其他"
,
"-1"
:
"其他"
,
};
};
...
@@ -1683,14 +1681,14 @@ export const evaluationSourceOpt = [
...
@@ -1683,14 +1681,14 @@ export const evaluationSourceOpt = [
{
confId
:
4
,
confValue
:
"车况生成"
},
{
confId
:
4
,
confValue
:
"车况生成"
},
];
];
export
const
evaluationStatusOptMap
=
{
export
const
evaluationStatusOptMap
=
{
"10"
:
"#FDB757"
,
10
:
"#FDB757"
,
"20"
:
"#2CCA74"
,
20
:
"#2CCA74"
,
"30"
:
"#2CCA74"
,
30
:
"#2CCA74"
,
"31"
:
"#2CCA74"
,
31
:
"#2CCA74"
,
"32"
:
"#2CCA74"
,
32
:
"#2CCA74"
,
"40"
:
"#2CCA74"
,
40
:
"#2CCA74"
,
"50"
:
"#2CCA74"
,
50
:
"#2CCA74"
,
"100"
:
"#8C8C8C"
,
100
:
"#8C8C8C"
,
"-1"
:
"#EB4E4E"
,
"-1"
:
"#EB4E4E"
,
};
};
// 合同类型
// 合同类型
...
@@ -1968,6 +1966,10 @@ export const djOrderTypeList = [
...
@@ -1968,6 +1966,10 @@ export const djOrderTypeList = [
confId
:
"1"
,
confId
:
"1"
,
confLabel
:
"正常订单"
,
confLabel
:
"正常订单"
,
},
},
{
confId
:
"6"
,
confLabel
:
"内部结算"
,
},
];
];
export
const
goodsAuditStatusList
=
[
export
const
goodsAuditStatusList
=
[
...
...
src/views/salesManagement/availableInStores/tigaListingAndSalesContract/components/StepTwo/components/TrafficProviderInformation.vue
View file @
d3fb542
This diff is collapsed.
Click to expand it.
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