Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
JT-WXXCX-SF
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
郑帆
JT-WXXCX-SF
Commits
4aeecab8
提交
4aeecab8
authored
12月 22, 2021
作者:
正反
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改
上级
801336d9
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
32 行增加
和
19 行删除
+32
-19
orderDetails.vue
pages/orderDetails/orderDetails.vue
+32
-19
没有找到文件。
pages/orderDetails/orderDetails.vue
浏览文件 @
4aeecab8
...
...
@@ -51,14 +51,14 @@
<u-icon
:label=
"'商品备注:'+item.FTOOLS"
></u-icon>
</view>
<view
class=
"item"
v-if=
"picUrl[index].length>1&&picUrl[index]!=undefined"
>
<u-image
mode=
"heightFix"
width=
"250"
height=
"250"
:src=
"picUrl[index]"
></u-image>
<u-image
mode=
"heightFix"
width=
"250"
height=
"250"
:src=
"picUrl[index]"
></u-image>
</view>
</view>
</view>
</u-card>
<!-- 备注 -->
<u-card
v-if=
"orderDetails.Maindata[0].FCustomerNote.length>1"
>
<view
slot=
"head"
class=
"head"
>
<view
slot=
"head"
class=
"head"
>
<view
class=
"title"
>
备注
</view>
<view
class=
"sub-title"
></view>
</view>
...
...
@@ -106,17 +106,21 @@
</view>
</u-card>
<!-- 订单报价 -->
<u-card
v-if=
"orderDetails.Maindata[0].caption == '待报价'"
>
<view
slot=
"head"
class=
"head"
>
<view
class=
"title"
>
订单报价
</view>
<view
class=
"sub-title"
>
报价后不可修改价格
</view>
<u-card
v-if=
"orderDetails.Maindata[0].caption == '待报价'&& orderDetails.Maindata[0].HasQuoted == 1"
>
<view
slot=
"head"
class=
"head"
>
<view
class=
"title"
>
我的报价
</view>
</view>
<view
slot=
"body"
v-if=
"orderDetails.Maindata[0].HasQuoted == 0 && orderDetails.Maindata[0].caption == '待报价'"
>
<
!--
<
view
slot=
"body"
v-if=
"orderDetails.Maindata[0].HasQuoted == 0 && orderDetails.Maindata[0].caption == '待报价'"
>
<u-empty
src=
"/static/images/detail/pay.png"
text=
"等待师傅报价"
></u-empty>
</view>
<view
slot=
"body"
v-else
>
<view
class=
"sub-title"
>
师傅报价:
{{
orderDetails
.
Maindata
[
0
].
FSFQUOTEDPRICEAMOUNTSF
}}
</view>
</view>
-->
<view
slot=
"body"
>
<view
v-for=
"(item,index) in orderDetails.SPdata"
:key=
"index"
>
{{
item
.
CPMC
}}
x
{{
item
.
FGOODSQTY
}}
</view>
<view
class=
"toright"
>
<text>
共
{{
num
}}
套 合计:
</text>
<text
class=
"SFcount"
>
{{
orderDetails
.
Maindata
[
0
].
FSFQUOTEDPRICEAMOUNTSF
}}
</text>
</view>
</view>
</u-card>
<!-- 我的报价 -->
...
...
@@ -245,7 +249,8 @@
</view>
<u-form
label-width=
"150"
label-align=
"center"
ref=
"Iform"
:model=
"form"
>
<u-form-item
label=
"上传图片"
prop=
"ufile"
:required=
"true"
>
<u-upload
:header=
"header"
ref=
"uUpload"
:action=
"action"
max-count=
"9"
v-model=
"form.ufile"
@
on-success=
"uploadSuccess1"
>
<u-upload
:header=
"header"
ref=
"uUpload"
:action=
"action"
max-count=
"9"
v-model=
"form.ufile"
@
on-success=
"uploadSuccess1"
>
</u-upload>
</u-form-item>
</u-form>
...
...
@@ -391,7 +396,7 @@
ufile
:
[{
required
:
true
,
validator
:
(
rule
,
value
,
callback
)
=>
{
return
this
.
form
.
ufile
>
0
return
this
.
form
.
ufile
>
0
},
message
:
'请上传完工照片'
,
trigger
:
[
'change'
,
'blur'
],
...
...
@@ -572,7 +577,7 @@
if
(
that
.
orderDetails
.
Maindata
[
0
].
caption
==
'待预约'
)
{
this
.
yyShow
=
true
}
console
.
log
(
that
.
orderDetails
.
Maindata
[
0
].
FCustomerNote
.
length
)
that
.
orderDetails
.
Maindata
[
0
].
FSFQUOTEDPRICEAMOUNTSF
=
that
.
orderDetails
.
Maindata
[
0
].
FSFQUOTEDPRICEAMOUNTSF
.
toFixed
(
2
)
}
else
{
toast
(
res
.
data
.
message
)
console
.
log
(
"查询订单详情信息失败:"
,
res
)
...
...
@@ -698,7 +703,7 @@
let
that
=
this
let
files
=
[]
files
=
that
.
$refs
.
uUpload
.
lists
.
filter
(
val
=>
{
files
=
that
.
$refs
.
uUpload
.
lists
.
filter
(
val
=>
{
return
val
.
progress
==
100
})
let
params
=
{
...
...
@@ -739,10 +744,10 @@
},
//图片上传成功,计数加一
uploadSuccess1
(
data
,
index
,
lists
){
if
(
data
.
code
==
100
)
{
}
else
{
uploadSuccess1
(
data
,
index
,
lists
)
{
if
(
data
.
code
==
100
)
{
}
else
{
this
.
form
.
ufile
=
lists
.
length
console
.
log
(
this
.
form
.
ufile
)
}
...
...
@@ -1039,4 +1044,12 @@
.sub-title
{
color
:
#ff9900
;
}
.SFcount
{
color
:
red
;
}
.toright
{
text-align
:
end
;
margin-top
:
5
rpx
;
margin-bottom
:
10
prx
;
}
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论