Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘文虎
account-book
Commits
073cc8df
Commit
073cc8df
authored
Sep 21, 2022
by
刘文虎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
包名
parent
25be66d1
Pipeline
#3518
canceled with stages
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
+9
-11
create-price.vue
pages/bill/quoted-price/create/create-price.vue
+5
-5
custom.vue
pages/bill/quoted-price/custom/custom.vue
+4
-6
No files found.
pages/bill/quoted-price/create/create-price.vue
View file @
073cc8df
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<u-input
<u-input
type=
"digit"
type=
"digit"
v-model=
"form.offerMinPrice"
v-model=
"form.offerMinPrice"
placeholder=
"
输入价格
"
placeholder=
"
最低价
"
:clearable=
"false"
:clearable=
"false"
input-align=
"right"
input-align=
"right"
maxlength=
"11"
maxlength=
"11"
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
<u-input
<u-input
type=
"digit"
type=
"digit"
v-model=
"form.offerMaxPrice"
v-model=
"form.offerMaxPrice"
placeholder=
"
输入价格
"
placeholder=
"
最高价
"
:clearable=
"false"
:clearable=
"false"
input-align=
"right"
input-align=
"right"
maxlength=
"11"
maxlength=
"11"
...
@@ -137,11 +137,11 @@ export default {
...
@@ -137,11 +137,11 @@ export default {
// this.$u.test.mobile()就是返回true或者false的
// this.$u.test.mobile()就是返回true或者false的
if
(
this
.
form
.
offerType
===
'scope'
)
{
if
(
this
.
form
.
offerType
===
'scope'
)
{
if
(
!
value
)
{
if
(
!
value
)
{
callback
(
new
Error
(
'请输入
完整价格
'
));
callback
(
new
Error
(
'请输入
最低价
'
));
}
else
if
(
!
this
.
form
.
offerMaxPrice
)
{
}
else
if
(
!
this
.
form
.
offerMaxPrice
)
{
callback
(
new
Error
(
'请输入
完整价格
'
));
callback
(
new
Error
(
'请输入
最高价
'
));
}
else
if
(
parseFloat
(
this
.
form
.
offerMaxPrice
)
<
parseFloat
(
value
))
{
}
else
if
(
parseFloat
(
this
.
form
.
offerMaxPrice
)
<
parseFloat
(
value
))
{
callback
(
new
Error
(
'最高价
格不能低于最低价格
'
));
callback
(
new
Error
(
'最高价
不能低于最低价
'
));
}
else
{
}
else
{
callback
();
callback
();
}
}
...
...
pages/bill/quoted-price/custom/custom.vue
View file @
073cc8df
...
@@ -45,10 +45,8 @@
...
@@ -45,10 +45,8 @@
<view
class=
"collapse-body-bottom"
>
<view
class=
"collapse-body-bottom"
>
<text
class=
"collapse-body-bottom-price"
>
<text
class=
"collapse-body-bottom-price"
>
<text>
¥
</text>
<text>
¥
</text>
<text
v-if=
"item2.offerType === 'scope'"
>
<text
v-if=
"item2.offerType === 'scope'"
>
{{
item2
.
num
==
0
?
0
:
item2
.
customPrice
||
0
}}
</text>
{{
item2
.
customPrice
||
0
}}
<text
v-else
>
{{
item2
.
offerMinPrice
}}
</text>
</text>
<text
v-else
>
{{
item2
.
offerMinPrice
}}
</text>
</text>
</text>
<view
class=
"collapse-body-bottom-add"
>
<view
class=
"collapse-body-bottom-add"
>
<zb-tooltip
placement=
"top-end"
ref=
"tooltip1"
color=
"#7f7f7f"
:visible=
"!quotedPriceTooltip"
>
<zb-tooltip
placement=
"top-end"
ref=
"tooltip1"
color=
"#7f7f7f"
:visible=
"!quotedPriceTooltip"
>
...
@@ -194,14 +192,14 @@ export default {
...
@@ -194,14 +192,14 @@ export default {
if
(
code
===
-
10
)
{
if
(
code
===
-
10
)
{
this
.
$store
.
dispatch
(
'Save_custom_id'
,
0
);
this
.
$store
.
dispatch
(
'Save_custom_id'
,
0
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
toPage
()
this
.
toPage
()
;
},
1000
);
},
1000
);
}
}
//TODO handle the exception
//TODO handle the exception
}
}
},
},
toPage
()
{
toPage
()
{
let
path
=
'pages/bill/quoted-price/quoted-price'
let
path
=
'pages/bill/quoted-price/quoted-price'
;
var
pages
=
getCurrentPages
();
var
pages
=
getCurrentPages
();
var
index
=
0
;
var
index
=
0
;
for
(
var
item
of
pages
)
{
for
(
var
item
of
pages
)
{
...
...
Write
Preview
Markdown
is supported
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