Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 594f7ffe
authored
Sep 24, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
施工单详情页面开发
1 parent
38ed417f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
1201 additions
and
9 deletions
components/ArtificerSelectPopup/artificerSelectPopup.wxml
pages/tabRepairOrder/pages/index/index.scss
tabRepairOrder/api.js
tabRepairOrder/components/FilmRollNoPopup/FilmRollNoPopup.js
tabRepairOrder/components/FilmRollNoPopup/FilmRollNoPopup.json
tabRepairOrder/components/FilmRollNoPopup/FilmRollNoPopup.wxml
tabRepairOrder/components/FilmRollNoPopup/FilmRollNoPopup.wxss
tabRepairOrder/components/outboundPopup/index.js
tabRepairOrder/components/outboundPopup/index.json
tabRepairOrder/components/outboundPopup/index.sass
tabRepairOrder/components/outboundPopup/index.wxml
tabRepairOrder/components/servicePopup/index.js
tabRepairOrder/components/timeSelect/index.js
tabRepairOrder/components/timeSelect/index.json
tabRepairOrder/components/timeSelect/index.sass
tabRepairOrder/components/timeSelect/index.wxml
tabRepairOrder/pages/confirmWorkOrder/confirmWorkOrder.scss
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.js
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.json
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.sass
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.scss
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.wxml
components/ArtificerSelectPopup/artificerSelectPopup.wxml
View file @
594f7ff
...
@@ -6,8 +6,9 @@
...
@@ -6,8 +6,9 @@
<search-input bindsearch="search" value="{{searchValue}}" />
<search-input bindsearch="search" value="{{searchValue}}" />
<view class="box-title">
<view class="box-title">
<view>技师</view>
<view>技师</view>
<
view class="tips">使用<text bind:tap="goMiniprogram">生意助手小程序</text>登录创建技师</view
>
<
!-- <view class="tips">使用<text bind:tap="goMiniprogram">生意助手小程序</text>登录创建技师</view> --
>
</view>
</view>
<block wx:if="{{artificerList.length}}">
<scroll-view scroll-y style="height: calc(100% - var(--fontSize194));" enhanced="{{true}}" show-scrollbar="{{false}}">
<scroll-view scroll-y style="height: calc(100% - var(--fontSize194));" enhanced="{{true}}" show-scrollbar="{{false}}">
<block wx:for="{{artificerList}}" wx:key="index">
<block wx:for="{{artificerList}}" wx:key="index">
<view class="artificerList {{item.active?'active':''}}" bindtap="changeItem" data-target="{{item}}" data-index="{{index}}">
<view class="artificerList {{item.active?'active':''}}" bindtap="changeItem" data-target="{{item}}" data-index="{{index}}">
...
@@ -23,6 +24,10 @@
...
@@ -23,6 +24,10 @@
</view>
</view>
</block>
</block>
</scroll-view>
</scroll-view>
</block>
<block wx:else>
<empty-data style="width: 100%;" />
</block>
</view>
</view>
</view>
</view>
</view>
</view>
...
...
pages/tabRepairOrder/pages/index/index.scss
deleted
100644 → 0
View file @
38ed417
/* pages/tabRepairOrder/pages/index/index.wxss */
\ No newline at end of file
\ No newline at end of file
tabRepairOrder/api.js
View file @
594f7ff
...
@@ -9,8 +9,28 @@ module.exports = {
...
@@ -9,8 +9,28 @@ module.exports = {
getCanRelateGoodsList
(
data
)
{
getCanRelateGoodsList
(
data
)
{
return
api
.
post
(
'dj.api.smartcarlife.construction.list.subOrder'
,
data
)
return
api
.
post
(
'dj.api.smartcarlife.construction.list.subOrder'
,
data
)
},
},
/**获取服务项目列表数据 */
getServiceItemList
(
data
)
{
return
api
.
post
(
'dj.api.carboutique.construction.item.page'
,
data
)
},
/**提交电子施工单 */
/**提交电子施工单 */
confirmConstruction
(
data
)
{
confirmConstruction
(
data
)
{
return
api
.
post
(
'dj.api.smartcarlife.construction.addOrUpdate'
,
data
)
return
api
.
post
(
'dj.api.smartcarlife.construction.addOrUpdate'
,
data
)
},
/**根据商品获取膜卷号数据 */
getfilmRollNoByGoods
(
data
)
{
return
api
.
post
(
'dj.api.smarcarlife.stock.filmroll.list'
,
data
)
},
/**物料出库 */
outboundAPI
(
data
)
{
return
api
.
post
(
'dj.api.smartcarlife.construction.outbound'
,
data
)
},
/**确认完成施工 */
completeConstructionOrder
(
data
)
{
return
api
.
post
(
'dj.api.smartcarlife.construction.complete'
,
data
)
},
/**审核施工单 */
approvalRepairOrder
(
data
)
{
return
api
.
post
(
'dj.api.smartcarlife.construction.approval'
,
data
)
}
}
}
}
\ No newline at end of file
\ No newline at end of file
tabRepairOrder/components/FilmRollNoPopup/FilmRollNoPopup.js
0 → 100644
View file @
594f7ff
// tabWorkOrder/components/filmRollNoPopup/filmRollNoPopup.js
const
IMG_URL
=
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/'
Component
({
/**
* 组件的属性列表
*/
properties
:
{
show
:
{
type
:
Boolean
,
observer
:
function
(
n
)
{
if
(
n
)
{
let
{
copyfilmRollNoList
,
filmSelectedItem
}
=
this
.
data
console
.
log
(
filmSelectedItem
,
'==='
)
this
.
setData
({
filmRollNoList
:
wx
.
$util
.
deepClone
(
copyfilmRollNoList
),
selectedNumber
:
filmSelectedItem
,
searchValue
:
''
})
}
}
},
title
:
String
,
filmSelectedItem
:
String
,
copyfilmRollNoList
:
Array
},
/**
* 组件的初始数据
*/
data
:
{
orderObj
:
{},
IMG_URL
,
filmRollNoList
:
[],
searchValue
:
''
},
/**
* 组件的方法列表
*/
methods
:
{
search
(
e
)
{
let
{
copyfilmRollNoList
}
=
wx
.
$util
.
deepClone
(
this
.
data
)
let
{
value
}
=
e
.
detail
if
(
!
value
)
{
this
.
setData
({
filmRollNoList
:
copyfilmRollNoList
})
}
else
{
let
arr
=
[]
copyfilmRollNoList
.
map
(
i
=>
{
if
(
i
.
indexOf
(
value
)
!=
-
1
)
{
arr
.
push
(
i
)
}
})
this
.
setData
({
filmRollNoList
:
arr
})
}
},
changeItem
(
e
)
{
let
{
target
}
=
e
.
currentTarget
.
dataset
let
{
filmRollNoList
}
=
this
.
data
let
{
copyfilmRollNoList
}
=
wx
.
$util
.
deepClone
(
this
.
data
)
this
.
setData
({
filmRollNoList
,
copyfilmRollNoList
,
selectedNumber
:
target
})
},
cancel
()
{
this
.
triggerEvent
(
'cancel'
)
},
// 打开生意助手小程序
goMiniprogram
()
{
wx
.
navigateToMiniProgram
({
appId
:
'wx2c28337db96364d2'
})
},
async
confirm
()
{
let
{
selectedNumber
}
=
this
.
data
if
(
!
selectedNumber
)
{
wx
.
$util
.
showToast
(
'请选择膜卷号'
)
}
this
.
triggerEvent
(
'confirm'
,
selectedNumber
)
}
}
})
tabRepairOrder/components/FilmRollNoPopup/FilmRollNoPopup.json
0 → 100644
View file @
594f7ff
{
"component"
:
true
,
"usingComponents"
:
{}
}
\ No newline at end of file
\ No newline at end of file
tabRepairOrder/components/FilmRollNoPopup/FilmRollNoPopup.wxml
0 → 100644
View file @
594f7ff
<!--tabWorkOrder/components/filmRollNoPopup/filmRollNoPopup.wxml-->
<popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" title="{{title}}" height="45%">
<view class="film-roll-number-select-popup-box" >
<view class="box">
<scroll-view wx:if="{{filmRollNoList.length}}" scroll-y style="height: 100%;" enhanced="{{true}}" show-scrollbar="{{false}}">
<block wx:for="{{filmRollNoList}}" wx:key="index">
<view class="film-roll-numberList {{item == selectedNumber?'active':''}}" bindtap="changeItem" data-target="{{item}}" data-index="{{index}}">
<view class="checked_img">
<image wx:if="{{item == selectedNumber}}" src="{{IMG_URL}}checked.png"></image>
</view>
<view class="text_box"><view class="text-hide">{{item}}</view></view>
</view>
</block>
</scroll-view>
</view>
</view>
</popup>
tabRepairOrder/components/FilmRollNoPopup/FilmRollNoPopup.wxss
0 → 100644
View file @
594f7ff
/* tabWorkOrder/components/filmRollNoPopup/filmRollNoPopup.wxss */
.film-roll-number-select-popup-box{
height: 100%;
width: calc(100% + var(--fontSize64));
transform: translateX(calc(-1 * var(--fontSize32)));
}
.sub-title {
height: var(--fontSize100);
font-size: var(--fontSize32);
color: #333333;
position: sticky;
left: 0;
top: 0;
background-color: #fff;
z-index: 2;
border-bottom: var(--fontSize2) solid #F9F9F9;
}
.text-hide {
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}
.text-center{
display: flex;
align-items: center;
justify-content: center;
}
.box{
height: 100%;
padding: 0 var(--fontSize32);
}
.box-title{
color: #333333;
font-size: var(--fontSize32);
height: var(--fontSize88);
line-height: var(--fontSize88);
display: flex;
align-items: center;
justify-content: space-between;
}
.box-title .tips{
color: #333333;
font-size: var(--fontSize24);
}
.box-title .tips text{
color: #347BFF;
}
.film-roll-numberList {
width: calc(100% - var(--fontSize50));
height: var(--fontSize98);
display: flex;
align-items: center;
font-size: var(--fontSize28);
color: #292D33;
padding: 0 var(--fontSize25);
transition: all .5s;
}
.checked_img{
width: var(--fontSize32);
height: var(--fontSize32);
flex-shrink: 0;
margin-right: var(--fontSize20);
}
.film-roll-numberList .text_box{
flex: 1;
border-bottom: var(--fontSize2) solid #F9F9F9;
height: 100%;
line-height: var(--fontSize98);
}
.film-roll-numberList.active {
/* color: #347BFF; */
/* font-weight: 700; */
position: relative;
}
tabRepairOrder/components/outboundPopup/index.js
0 → 100644
View file @
594f7ff
// tabRepairOrder/components/outboundPopup/index.js
const
IMG_URL
=
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/'
import
{
createQrcodeImage
}
from
'~/api/api'
import
api
from
'../../api'
Component
({
/**
* 组件的属性列表
*/
properties
:
{
show
:
{
type
:
Boolean
,
observer
:
function
(
n
)
{
if
(
n
)
{
this
.
getDetailInfo
()
}
}
},
title
:
String
,
detailInfo
:
{
type
:
Object
,
observer
:
function
(
n
)
{
if
(
n
)
{
this
.
setData
({
infoData
:
wx
.
$util
.
deepClone
(
n
)
})
}
}
}
},
/**
* 组件的初始数据
*/
data
:
{
IMG_URL
,
infoData
:
{},
filmRollNoList
:
[]
},
/**
* 组件的方法列表
*/
methods
:
{
async
getDetailInfo
()
{
let
userInfo
=
wx
.
$util
.
getUserInfo
()
let
oParams
=
{}
oParams
.
appId
=
'wx570d9331f9ace0bd'
oParams
.
qrcodeType
=
'QR_WXA_UNLIMIT'
oParams
.
path
=
'pages/loading/loading'
oParams
.
scene
=
`merchantId=
${
userInfo
.
shopMerchantId
}
&yqMerchantId=
${
userInfo
.
merchantId
}
`
oParams
.
channelType
=
1
const
data
=
await
createQrcodeImage
(
oParams
)
},
// 选择膜卷号
handleRollNumber
(
e
)
{
let
{
target
,
index
}
=
e
.
currentTarget
.
dataset
console
.
log
(
target
)
// 获取膜卷号数据
api
.
getfilmRollNoByGoods
({
// upgradeGoodsId: e.upgradeGoodsId,
// yqMerchantId: data?.sellerMerchantId,
// merchantId: data?.merchantId
upgradeGoodsId
:
100942
,
yqMerchantId
:
44209880
,
merchantId
:
44211227
}).
then
(
res
=>
{
let
{
code
,
data
,
message
}
=
res
if
(
code
==
0
)
{
this
.
setData
({
filmRollNoList
:
data
||
[],
filmRollNoVisible
:
true
,
filmSelectedItem
:
target
.
rollNumber
,
selectRollIndex
:
index
})
}
else
{
wx
.
$util
.
showToast
(
message
)
}
})
},
// 膜卷号确认
changefilmRollNo
(
e
)
{
let
{
selectRollIndex
}
=
this
.
data
this
.
setData
({
[
`infoData.subOrderList[
${
selectRollIndex
}
].rollNumber`
]:
e
.
detail
})
this
.
handelCancelRollPopup
()
},
// 膜卷号取消
handelCancelRollPopup
()
{
this
.
setData
({
filmRollNoVisible
:
false
})
},
// 实际用料输入框
handleInput
(
e
)
{
const
{
index
}
=
e
.
currentTarget
.
dataset
let
value
=
e
.
detail
.
value
value
=
value
.
replace
(
/
[^\d
.
]
/g
,
''
)
// 处理多个小数点的情况,只保留第一个
const
dotIndex
=
value
.
indexOf
(
'.'
)
if
(
dotIndex
!==
-
1
)
{
value
=
value
.
substring
(
0
,
dotIndex
+
1
)
+
value
.
substring
(
dotIndex
+
1
).
replace
(
/
\.
/g
,
''
)
}
// 限制小数点后最多两位
if
(
dotIndex
!==
-
1
)
{
const
decimalPart
=
value
.
substring
(
dotIndex
+
1
)
if
(
decimalPart
.
length
>
2
)
{
value
=
value
.
substring
(
0
,
dotIndex
+
3
)
}
}
// 转换为数字进行最大值验证
const
numValue
=
parseFloat
(
value
||
0
)
if
(
!
isNaN
(
numValue
)
&&
numValue
>
99999.99
)
{
value
=
'99999.99'
}
this
.
setData
({
[
`infoData.subOrderList[
${
index
}
].materialStandard`
]:
value
});
},
// 产品出库时间
handleOutboundTime
()
{
this
.
setData
({
timeVisible
:
true
})
},
// 产品出库时间确认
onTimeConfirm
(
e
)
{
console
.
log
(
e
)
this
.
setData
({
'infoData.outBoundTime'
:
e
.
detail
})
this
.
onClosePicker
()
},
// 产品出库时间弹窗取消
onClosePicker
()
{
this
.
setData
({
timeVisible
:
false
})
},
// 关闭物料出库弹窗
cancel
()
{
this
.
triggerEvent
(
'cancel'
)
},
confirm
()
{
let
{
infoData
}
=
this
.
data
this
.
triggerEvent
(
'confirm'
,
infoData
)
}
}
})
\ No newline at end of file
\ No newline at end of file
tabRepairOrder/components/outboundPopup/index.json
0 → 100644
View file @
594f7ff
{
"component"
:
true
,
"usingComponents"
:
{
"film-roll-no-popup"
:
"../FilmRollNoPopup/FilmRollNoPopup"
,
"time-select"
:
"../timeSelect/index"
}
}
\ No newline at end of file
\ No newline at end of file
tabRepairOrder/components/outboundPopup/index.sass
0 → 100644
View file @
594f7ff
/* tabRepairOrder/components/outboundPopup/index.wxss */
.text-hide
{
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
.outbound-popup-box
{
height
:
calc
(
100%
-
var
(
--
fontSize120
))
;
.sub-title
{
height
:
var
(
--
fontSize112
)
;
line-height
:
var
(
--
fontSize112
)
;
border-bottom
:
var
(
--
fontSize1
)
solid
#EBEDF0
;
margin-bottom
:
var
(
--
fontSize20
)
;
.text-center
{
text-align
:
center
;
font-weight
:
500
;
color
:
#222222
;
}
}
.outbound-box
{
height
:
calc
(
100%
-
var
(
--
fontSize114
))
;
.scroll-box
{
height
:
100%
;
}
.qrcode-box
{
margin
:
0
var
(
--
fontSize32
)
;
background
:
#F4F5F7
;
border-radius
:
var
(
--
fontSize11
)
;
padding
:
var
(
--
fontSize24
)
;
display
:
flex
;
flex-flow
:
column
;
align-items
:
center
;
image
{
width
:
var
(
--
fontSize256
)
;
height
:
var
(
--
fontSize256
)
;
}
.tips
{
margin-top
:
var
(
--
fontSize16
)
;
font-size
:
var
(
--
fontSize24
)
;
color
:
#757980
;
}
}
.box
{
padding
:
var
(
--
fontSize40
)
var
(
--
fontSize32
)
var
(
--
fontSize2
)
var
(
--
fontSize40
)
;
position
:
relative
;
margin
:
var
(
--
fontSize20
)
0
0
;
.title
{
font-size
:
var
(
--
fontSize28
)
;
color
:
#292D33
;
margin-bottom
:
var
(
--
fontSize20
)
;
position
:
relative
;
font-weight
:
500
;
&
:
:
after
{
position
:
absolute
;
content
:
''
;
width
:
var
(
--
fontSize8
)
;
height
:
var
(
--
fontSize44
)
;
background
:
#347BFF
;
left
:
calc
(
-1
*
var
(
--
fontSize40
))
;
top
:
50%
;
transform
:
translateY
(
-50%
)
;
}
.text-name
{
max-width
:
calc
(
100%
-
var
(
--
fontSize100
))
;
}
}
.box-item
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
height
:
var
(
--
fontSize104
)
;
font-size
:
var
(
--
fontSize28
)
;
.label
{
color
:
#292D33
;
flex-shrink
:
0
;
width
:
var
(
--
fontSize180
)
;
.required
{
color
:
#f00
;
margin-left
:
var
(
--
fontSize8
)
;
}
}
.value-box
{
width
:
calc
(
100%
-
var
(
--
fontSize190
))
;
display
:
flex
;
align-items
:
center
;
justify-content
:
flex-end
;
}
.value
{
text-align
:
right
;
width
:
calc
(
100%
-
var
(
--
fontSize32
))
;
.placeholder
{
color
:
#BEC1C7
;
}
}
.pickerArrow
{
width
:
var
(
--
fontSize32
)
;
height
:
var
(
--
fontSize32
)
;
}
}
.input-box
{
.label
{
width
:
var
(
--
fontSize330
)
;
}
.value
{
width
:
var
(
--
fontSize240
)
;
.input
{
width
:
100%
;
height
:
var
(
--
fontSize68
)
;
min-height
:
var
(
--
fontSize68
)
;
border
:
var
(
--
fontSize2
)
solid
#DEE0E3
;
overflow
:
hidden
;
border-radius
:
var
(
--
fontSize8
)
;
text-align
:
right
;
box-sizing
:
border-box
;
padding
:
0
var
(
--
fontSize20
)
;
display
:
flex
;
align-items
:
center
;
justify-content
:
flex-end
;
-webkit-appearance
:
none
;
appearance
:
none
;
&
:
:
placeholder
{
position
:
relative
;
top
:
0
;
transform
:
none
;
}
}
.disabled
{
background
:
#DEE0E3
;
}
}
}
.time-box
{
padding-bottom
:
var
(
--
fontSize48
)
;
}
}
}
}
.popup-footer
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
padding
:
var
(
--
fontSize20
)
var
(
--
fontSize32
)
;
.btn
{
height
:
var
(
--
fontSize80
)
;
box-sizing
:
border-box
;
border-radius
:
var
(
--
fontSize12
)
;
font-size
:
var
(
--
fontSize32
)
;
text-align
:
center
;
line-height
:
var
(
--
fontSize80
)
;
}
.cancel
{
width
:
var
(
--
fontSize186
)
;
height
:
var
(
--
fontSize76
)
;
color
:
#292D33
;
border
:
var
(
--
fontSize2
)
solid
#DEE0E3
;
}
.confirm
{
width
:
calc
(
100%
-
var
(
--
fontSize206
))
;
background
:
#347BFF
;
color
:
#fff
;
}
}
.popup-footer.isFullSucreen
{
padding-bottom
:
var
(
--
fontSize68
)
!
important
;
}
\ No newline at end of file
\ No newline at end of file
tabRepairOrder/components/outboundPopup/index.wxml
0 → 100644
View file @
594f7ff
<!--tabRepairOrder/components/outboundPopup/index.wxml-->
<wxs src="../../index.wxs" module="filter" />
<van-popup show="{{show}}" position="bottom" custom-style="height: 90%;" round closeable close-on-click-overlay="{{false}}" bind:close="cancel">
<view class="outbound-popup-box" >
<view class="sub-title">
<view class="text-center">{{title}}</view>
</view>
<view class="outbound-box">
<scroll-view scroll-y class="scroll-box" enhanced="{{true}}" show-scrollbar="{{false}}">
<view class="qrcode-box">
<image src="" mode=""/>
<view class="tips">请仓库管理员扫描此二维码确认产品实际用料</view>
</view>
<block wx:for="{{infoData.subOrderList}}" wx:key="index">
<view class="box">
<view class="title infoTitle">
<view class="text-name text-hide">{{filter.replaceItemText(item.upgradeGoodsAlias) ||filter.replaceItemText(item.upgradeGoodsName) || item.packageName||''}}</view>
</view>
<view class="box-item">
<view class="label">产品膜卷号</view>
<view class="value-box" bindtap="handleRollNumber" data-target="{{item}}" data-index="{{index}}">
<view class="value text-hide">
<block wx:if="{{item.rollNumber}}">{{item.rollNumber}}</block>
<block wx:else><view class='placeholder'>请选择</view></block>
</view>
<image class="pickerArrow" src="/components/images/arrow-x.png" />
</view>
</view>
<view class="box-item input-box">
<view class="label">产品实际用料(米/件)<text class='required'>*</text></view>
<view class="value">
<input class="input {{'disabled'}}" bindinput="handleInput" value="{{item.materialStandard}}" data-index="{{index}}" type="digit" placeholder-style="color: #BEC1C7;" placeholder="输入数字"/>
</view>
</view>
</view>
</block>
<view class="box">
<view class="title infoTitle">
出库时间
</view>
<view class="box-item time-box">
<view class="label" >产品出库时间</view>
<view class="value-box" bindtap="handleOutboundTime">
<view class="value text-hide">
<block wx:if="{{infoData.outBoundTime}}">{{infoData.outBoundTime}}</block>
<block wx:else><view class='placeholder'>请选择</view></block>
</view>
<image class="pickerArrow" src="/components/images/arrow-x.png" />
</view>
</view>
</view>
</scroll-view>
</view>
</view>
<view class="popup-footer {{ isFullSucreen?'isFullSucreen':'' }}">
<view class="cancel btn text-center" bind:tap="cancel">取消</view>
<view class="confirm btn text-center" bind:tap="confirm">确认核销出库</view>
</view>
</van-popup>
<film-roll-no-popup show="{{filmRollNoVisible}}" title="产品膜卷号" copyfilmRollNoList="{{filmRollNoList}}" filmSelectedItem="{{filmSelectedItem}}" bindconfirm="changefilmRollNo" bindcancel="handelCancelRollPopup"/>
<time-select show="{{timeVisible}}" title="产品出库时间" defaultTime="{{infoData.outBoundTime}}" bind:confirm="onTimeConfirm" bindcancel="onClosePicker"/>
\ No newline at end of file
\ No newline at end of file
tabRepairOrder/components/servicePopup/index.js
View file @
594f7ff
// tabRepairOrder/components/servicePopup/index.js
// tabRepairOrder/components/servicePopup/index.js
const
IMG_URL
=
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/'
const
IMG_URL
=
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/'
import
api
from
'../../api'
Component
({
Component
({
/**
/**
...
@@ -22,6 +23,7 @@ Component({
...
@@ -22,6 +23,7 @@ Component({
}))
}))
})
})
this
.
setData
({
servicesList
})
this
.
setData
({
servicesList
})
this
.
getList
()
}
}
}
}
},
},
...
@@ -40,6 +42,12 @@ Component({
...
@@ -40,6 +42,12 @@ Component({
* 组件的方法列表
* 组件的方法列表
*/
*/
methods
:
{
methods
:
{
// 获取服务项目数据
getList
()
{
api
.
getServiceItemList
({}).
then
(
res
=>
{
console
.
log
(
res
)
})
},
// 服务项目选择
// 服务项目选择
handleChecked
(
e
)
{
handleChecked
(
e
)
{
let
{
target
}
=
e
.
currentTarget
.
dataset
let
{
target
}
=
e
.
currentTarget
.
dataset
...
...
tabRepairOrder/components/timeSelect/index.js
0 → 100644
View file @
594f7ff
This diff is collapsed.
Click to expand it.
tabRepairOrder/components/timeSelect/index.json
0 → 100644
View file @
594f7ff
{
"component"
:
true
,
"usingComponents"
:
{}
}
\ No newline at end of file
\ No newline at end of file
tabRepairOrder/components/timeSelect/index.sass
0 → 100644
View file @
594f7ff
/* tabRepairOrder/components/timeSelect/index.wxss */
.fixed-content
{
height
:
100%
;
.fixed-body
{
display
:
flex
;
height
:
100%
;
.picker
{
width
:
20%
;
height
:
100%
;
.view
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-size
:
var
(
--
fontSize30
)
;
color
:
#292D33
;
}
}
.picker_max
{
width
:
40%
!
important
;
}
}
}
\ No newline at end of file
\ No newline at end of file
tabRepairOrder/components/timeSelect/index.wxml
0 → 100644
View file @
594f7ff
<!--tabRepairOrder/components/timeSelect/index.wxml-->
<popup show="{{show}}" title="{{title}}" bindconfirm="confirm" height="50%" bindcancel="cancel">
<view class="fixed-content">
<view class="fixed-body">
<picker-view class="picker picker_max" value="{{dateValues}}" indicator-class="indicator" bindchange="changeDate">
<picker-view-column>
<block wx:for="{{days}}" wx:key="index">
<view class="view">{{item}}</view>
</block>
</picker-view-column>
</picker-view>
<picker-view class="picker" value="{{hourValues}}" indicator-class="indicator" bindchange="changeHour">
<picker-view-column>
<block wx:for="{{hours}}" wx:key="index">
<view class="view">{{item}}</view>
</block>
</picker-view-column>
</picker-view>
<picker-view wx:if="{{!loading}}" class="picker" value="{{minuteValues}}" indicator-class="indicator" bindchange="changeMinutes">
<picker-view-column>
<block wx:for="{{minutes}}" wx:key="index">
<view class="view">{{item}}</view>
</block>
</picker-view-column>
</picker-view>
<picker-view wx:if="{{!loading}}" class="picker" value="{{secondValues}}" indicator-class="indicator" bindchange="changeMinutes">
<picker-view-column>
<block wx:for="{{seconds}}" wx:key="index">
<view class="view">{{item}}</view>
</block>
</picker-view-column>
</picker-view>
</view>
</view>
</popup>
\ No newline at end of file
\ No newline at end of file
tabRepairOrder/pages/confirmWorkOrder/confirmWorkOrder.scss
deleted
100644 → 0
View file @
38ed417
/* tabRepairOrder/pages/confirmWorkOrder/confirmWorkOrder.wxss */
\ No newline at end of file
\ No newline at end of file
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.js
View file @
594f7ff
This diff is collapsed.
Click to expand it.
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.json
View file @
594f7ff
{
{
"usingComponents"
:
{},
"usingComponents"
:
{
"time-select"
:
"../../components/timeSelect/index"
,
"outbound-popup"
:
"../../components/outboundPopup/index"
},
"navigationBarTitleText"
:
"施工单详情"
"navigationBarTitleText"
:
"施工单详情"
}
}
\ No newline at end of file
\ No newline at end of file
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.sass
View file @
594f7ff
/* tabRepairOrder/pages/repairOrderDetail/index.wxss */
/* tabRepairOrder/pages/repairOrderDetail/index.wxss */
page
{
background
:
#F7F8FA
;
}
.isFullSucreen
{
padding-bottom
:
var
(
--
fontSize228
)
!
important
;
}
.main
{
.status-box
{
background
:
#347BFF
;
font-size
:
var
(
--
fontSize28
)
;
color
:
#FFFFFF
;
padding
:
var
(
--
fontSize48
)
var
(
--
fontSize40
)
var
(
--
fontSize48
)
var
(
--
fontSize60
)
;
box-sizing
:
border-box
;
.user-info
{
display
:
flex
;
align-items
:
flex-end
;
.hide-text
{
display
:
-
webkit-box
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
word-break
:
break-all
;
}
.car
{
font-size
:
var
(
--
fontSize40
)
;
font-weight
:
600
;
margin-right
:
var
(
--
fontSize8
)
;
max-width
:
var
(
--
fontSize400
)
;
image
{
width
:
var
(
--
fontSize40
)
;
height
:
var
(
--
fontSize40
)
;
margin-right
:
var
(
--
fontSize20
)
;
margin-top
:
var
(
--
fontSize8
)
;
}
}
.staff-name
{
position
:
relative
;
background
:
none
;
max-width
:
var
(
--
fontSize242
)
;
&
:
:
before
{
content
:
"("
;
position
:
absolute
;
left
:
0
;
top
:
0
;
}
&
:
:
after
{
content
:
")"
;
position
:
absolute
;
right
:
0
;
bottom
:
0
;
}
.name
{
padding-right
:
0
.8em
;
text-indent
:
1
.2em
;
display
:
-
webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
2
;
/*
限制显示两行
*/
overflow
:
hidden
;
text-overflow
:
ellipsis
;
word-break
:
break-all
;
}
}
margin-bottom
:
var
(
--
fontSize32
)
;
}
.content
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
.tips
{
font-size
:
var
(
--
fontSize24
)
;
margin-right
:
var
(
--
fontSize50
)
;
}
.btn
{
flex-shrink
:
0
;
padding
:
var
(
--
fontSize8
)
var
(
--
fontSize28
)
;
border
:
var
(
--
fontSize2
)
solid
#FFFFFF
;
border-radius
:
var
(
--
fontSize30
)
;
}
}
}
.box
{
background
:
#FFFFFF
;
box-shadow
:
0
var
(
--
fontSize4
)
var
(
--
fontSize20
)
0
rgba
(
0
,
0
,
0
,
0
.10
)
;
border-radius
:
var
(
--
fontSize16
)
;
padding
:
var
(
--
fontSize40
)
var
(
--
fontSize40
)
var
(
--
fontSize2
)
;
position
:
relative
;
margin
:
var
(
--
fontSize20
)
var
(
--
fontSize20
)
0
;
.title
{
font-size
:
var
(
--
fontSize32
)
;
color
:
#292D33
;
margin-bottom
:
var
(
--
fontSize20
)
;
position
:
relative
;
font-weight
:
600
;
&
:
:
after
{
position
:
absolute
;
content
:
''
;
width
:
var
(
--
fontSize8
)
;
height
:
var
(
--
fontSize44
)
;
background
:
#347BFF
;
left
:
calc
(
-1
*
var
(
--
fontSize40
))
;
top
:
50%
;
transform
:
translateY
(
-50%
)
;
}
}
.flex
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
.example
{
font-weight
:
400
;
color
:
#347BFF
;
font-size
:
var
(
--
fontSize26
)
;
}
}
.cell
{
font-size
:
var
(
--
fontSize28
)
;
color
:
#999EA8
;
display
:
flex
;
align-items
:
flex-start
;
margin-bottom
:
var
(
--
fontSize32
)
;
.label
{
flex-shrink
:
0
;
width
:
var
(
--
fontSize208
)
;
}
.value
{
color
:
#292D33
;
display
:
flex
;
flex-flow
:
wrap
;
align-items
:
center
;
}
.placeholder
{
color
:
#BEC1C7
;
}
.copy
,
.edit
{
color
:
#347BFF
;
margin-left
:
auto
;
.image
{
width
:
var
(
--
fontSize32
)
;
height
:
var
(
--
fontSize32
)
;
vertical-align
:
middle
;
}
}
}
.image-box
{
display
:
flex
;
flex-wrap
:
wrap
;
margin-bottom
:
var
(
--
fontSize32
)
;
.tire-block
{
width
:
var
(
--
fontSize196
)
;
height
:
var
(
--
fontSize196
)
;
box-sizing
:
border-box
;
background-color
:
#F4F5F7
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
text-align
:
center
;
border-radius
:
var
(
--
fontSize8
)
;
overflow
:
hidden
;
&
:not
(
:nth-child
(
3n
))
{
margin-right
:
var
(
--
fontSize20
)
;
}
&
:nth-child
(
n
+
4
)
{
margin-top
:
var
(
--
fontSize20
)
;
}
.tire-img-box
{
position
:
relative
;
width
:
100%
;
height
:
100%
;
.tire-img
{
width
:
100%
;
height
:
100%
;
}
.icon-delete
{
position
:
absolute
;
top
:
var
(
--
fontSize12
)
;
right
:
var
(
--
fontSize12
)
;
width
:
var
(
--
fontSize40
)
;
height
:
var
(
--
fontSize40
)
;
}
}
.icon-plus
{
width
:
var
(
--
fontSize80
)
;
height
:
var
(
--
fontSize80
)
;
}
.plus-text
{
color
:
#999EA8
;
font-size
:
var
(
--
fontSize28
)
;
}
}
}
.service
{
padding-bottom
:
var
(
--
fontSize16
)
;
.category
{
padding-bottom
:
var
(
--
fontSize8
)
;
font-size
:
var
(
--
fontSize28
)
;
color
:
#292D33
;
}
.service-item
{
background
:
#F7F8FA
;
border-radius
:
var
(
--
fontSize12
)
;
padding
:
var
(
--
fontSize24
)
;
font-size
:
var
(
--
fontSize26
)
;
margin
:
var
(
--
fontSize16
)
calc
(
-1
*
var
(
--
fontSize8
))
;
.name
{
color
:
#EA6612
;
margin-bottom
:
var
(
--
fontSize12
)
;
display
:
-
webkit-box
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
word-break
:
break-all
;
}
.bott
{
display
:
flex
;
font-size
:
var
(
--
fontSize24
)
;
color
:
#5A5E66
;
.split
{
margin
:
0
var
(
--
fontSize6
)
;
}
}
}
.edit-item
{
display
:
flex
;
align-items
:
center
;
image
{
width
:
var
(
--
fontSize32
)
;
height
:
var
(
--
fontSize32
)
;
margin-right
:
var
(
--
fontSize20
)
;
flex-shrink
:
0
;
}
}
}
.empty-box
{
width
:
100%
;
font-size
:
var
(
--
fontSize24
)
;
color
:
#BEC1C7
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
image
{
width
:
var
(
--
fontSize86
)
;
height
:
var
(
--
fontSize86
)
;
margin-right
:
var
(
--
fontSize16
)
;
}
}
.goods
{
margin
:
0
calc
(
-1
*
var
(
--
fontSize8
))
;
font-size
:
var
(
--
fontSize28
)
;
color
:
#292D33
;
padding-bottom
:
var
(
--
fontSize32
)
;
.goods-item
{
padding
:
var
(
--
fontSize24
)
;
background
:
#F7F8FA
;
border-radius
:
var
(
--
fontSize12
)
;
margin-bottom
:
var
(
--
fontSize16
)
;
position
:
relative
;
.goods-name
{
width
:
calc
(
100%
-
var
(
--
fontSize52
))
;
padding-left
:
var
(
--
fontSize28
)
;
}
&
:
:
after
{
position
:
absolute
;
width
:
var
(
--
fontSize12
)
;
height
:
var
(
--
fontSize12
)
;
top
:
var
(
--
fontSize44
)
;
left
:
var
(
--
fontSize24
)
;
transform
:
translateY
(
-50%
)
;
content
:
''
;
background
:
#347BFF
;
border-radius
:
100%
;
}
&
:last-child
{
margin-bottom
:
0
;
}
}
.bott
{
margin-top
:
var
(
--
fontSize12
)
;
padding-left
:
var
(
--
fontSize28
)
;
font-size
:
var
(
--
fontSize24
)
;
color
:
#999EA8
;
.split
{
margin
:
0
var
(
--
fontSize6
)
;
}
}
}
}
.isFullSucreen-btn
{
padding-bottom
:
34px
!
important
;
}
.btns
{
position
:
fixed
;
left
:
0
;
width
:
100%
;
bottom
:
0
;
min-height
:
var
(
--
fontSize100
)
;
background
:
#FFFFFF
;
box-sizing
:
border-box
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
font-size
:
var
(
--
fontSize32
)
;
font-weight
:
500
;
z-index
:
99
;
flex-direction
:
column
;
.tips_box
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
box-sizing
:
border-box
;
width
:
100%
;
height
:
var
(
--
fontSize52
)
;
padding
:
0
var
(
--
fontSize20
)
0
var
(
--
fontSize32
)
;
font-size
:
var
(
--
fontSize24
)
;
color
:
#FF9D0A
;
background
:
#FEF5E7
;
.tipsIcon
{
flex-shrink
:
0
;
width
:
var
(
--
fontSize28
)
;
height
:
var
(
--
fontSize28
)
;
margin-right
:
var
(
--
fontSize8
)
;
}
.contentText
{
margin-right
:
auto
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
}
.close-image
{
width
:
var
(
--
fontSize32
)
;
height
:
var
(
--
fontSize32
)
;
}
}
.btns-con
{
box-sizing
:
border-box
;
display
:
flex
;
padding
:
var
(
--
fontSize10
)
0
;
width
:
calc
(
100%
-
var
(
--
fontSize80
))
;
.confirm
{
border-radius
:
var
(
--
fontSize12
)
;
height
:
var
(
--
fontSize80
)
;
box-sizing
:
border-box
;
width
:
100%
;
color
:
#fff
;
background-color
:
#347BFF
;
}
}
}
}
\ No newline at end of file
\ No newline at end of file
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.scss
deleted
100644 → 0
View file @
38ed417
/* tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.wxss */
\ No newline at end of file
\ No newline at end of file
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.wxml
View file @
594f7ff
<!--tabRepairOrder/pages/repairOrderDetail/index.wxml-->
<!--tabRepairOrder/pages/repairOrderDetail/index.wxml-->
<wxs src="../../index.wxs" module="filter" />
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<block>
<block>
<view class="main
{{isFullSucreen?'isFullSucreen':''}}
">
<view class="main
" style="padding-bottom: {{'var(--fontSize290)'}};
">
<view class="status-box">
<view class="status-box">
<view class="user-info">
<view class="user-info">
<text class="car">{{detailInfo.customer.carTypeName}}</text>
<view class="car hide-text"><image wx:if="{{detailInfo.constructionStatus == 1}}" src="{{IMG_URL}}repair-order/complete.png" mode=""/>{{detailInfo.customer.carTypeName || '无车型客户'}}</view>
<text class="name">({{detailInfo.customer.customerName}})</text>
<view class="staff-name">
<text class="name">{{detailInfo.customer.customerName}}</text>
</view>
</view>
</view>
<block wx:if="{{detailInfo.constructionStatus == 0}}">
<view class="content">
<view class="content">
<view class="tips">仓库管理员核销物料出库单后可确认完成施工。</view>
<view class="tips">仓库管理员核销物料出库单后可确认完成施工。</view>
<view class="btn text-center" bindtap="outbound">物料出库</view>
<view class="btn text-center" wx:if="{{detailInfo.outboundStatus != 1}}" bindtap="handleOutbound">物料出库</view>
</view>
</block>
<block wx:else>
<view class="content">
<view class="tips">
<view>完成施工,如客户返工请点击</view>
<view wx:if="{{detailInfo.approvalStatus}}">{{detailInfo.approvalName}}已审核{{detailInfo.approvalStatus == 1 ? '通过' : '不通过'}}</view>
</view>
<view class="btn text-center" bindtap="handleRedo">客户返工</view>
</view>
</block>
</view>
<view class="box">
<view class="title infoTitle">
<view class="flex">施工单信息</view>
</view>
<block wx:for="{{ detailInfo.constructionStatus == 1 ? constructionOrderObj : orderObj }}" wx:key="index">
<view class="cell">
<view class="label">{{item.label}}</view>
<block wx:if="{{ item.key == 'status' }}">
<view class="value" style="color:{{ status[detailInfo.constructionStatus].color || '' }};">{{status[detailInfo.constructionStatus].text}}</view>
</block>
<block wx:else>
<view class="value">
<block>{{detailInfo[item.key] || '-'}}<text>{{item.unit}}</text></block>
</view>
</block>
<block wx:if="{{ item.copy }}">
<view class="copy" bindtap="setCopyData" data-content="{{ detailInfo[item.key] }}">
<!-- 复制 -->
<image src="{{ IMG_URL }}equity/copy.png" class="image" binderror="" bindload=""></image>
</view>
</block>
</view>
</block>
</view>
<view class="box" wx:if="{{detailInfo.constructionStatus == 0}}">
<view class="title infoTitle">
<view class="flex">施工时间</view>
</view>
<block wx:for="{{timeObj}}" wx:key="index">
<view class="cell">
<view class="label">{{item.label}}</view>
<block wx:if="{{item.key == 'constructionDuration' && (detailInfo[item.key] === null || detailInfo[item.key] === undefined)}}">
<view class="value placeholder">{{item.placeholder}}</view>
</block>
<block wx:else>
<view class="value">{{detailInfo[item.key] || '-'}}<text wx:if="{{item.unit}}">{{item.unit}}</text></view>
</block>
<view wx:if="{{item.edit}}" class="edit" bindtap="editTime" data-key="{{item.key}}">
<image src="{{ IMG_URL }}miniProgram/edit_icon.png" class="image"></image>
</view>
</view>
</block>
<view class=""></view>
</view>
<view class="box">
<view class="title infoTitle">
<view class="flex">上传施工图
<view wx:if="{{detailInfo.constructionStatus == 0}}" bindtap="handleShowExample" class="example">示例</view>
</view>
</view>
<view class="image-box">
<block wx:if="{{detailInfo.pictureList.length}}">
<view class="tire-block" wx:for="{{ detailInfo.pictureList }}" wx:key="index">
<view class="tire-img-box" catchtap="handlePreviewImg" data-item="{{ item }}" data-imgindex="{{ imgIndex }}">
<image class="icon-delete" catchtap="handleDelete" wx:if="{{detailInfo.constructionStatus == 0}}" data-index="{{ index }}" data-imgindex="{{ imgIndex }}" src="{{ IMG_URL }}zy_paf_del_icon.png" />
<image class="tire-img" src="{{ item }}" />
</view>
</view>
</block>
<block wx:elif="{{detailInfo.constructionStatus == 1}}">
<view class="empty-box">
<image src="{{IMG_URL}}repair-order/repair-order-empty.png" mode=""/>
暂无数据
</view>
</block>
<view class="tire-block" bindtap="handleUpload" wx:if="{{ (!detailInfo.pictureList || detailInfo.pictureList.length < 9) && detailInfo.constructionStatus == 0}}">
<view>
<image class="icon-plus" src="{{ IMG_URL }}miniProgram/camera_icon.png" />
<view class="plus-text">({{detailInfo.pictureList.length}}/9)</view>
</view>
</view>
</view>
</view>
<view class="box">
<view class="title infoTitle">
<view class="flex">服务项目列表</view>
</view>
<view class="service">
<block wx:if="{{detailInfo.serviceItemsList.length}}">
<block wx:for="{{detailInfo['serviceItemsList']}}" wx:key="index">
<view class="category text-hide">{{item.title}}</view>
<block wx:for="{{item.detailList}}" wx:key="sindex" wx:for-item="i" wx:for-index="sindex">
<view class="service-item">
<view class="name">{{i.serviceItemsName}}</view>
<view class="bott">
<view class="material">用料标准{{i.materialStandard}}米/件</view>
<text class="split">|</text>
<view class="cost">施工标准{{i.serviceCost}}min</view>
</view>
</view>
</block>
</block>
</block>
<block wx:else>
<view class="empty-box">
<image src="{{IMG_URL}}repair-order/repair-order-empty.png" mode=""/>
暂无数据
</view>
</block>
</view>
</view>
<view class="box">
<view class="title infoTitle">
<view class="flex">商品信息</view>
</view>
<block wx:for="{{goodsObj}}" wx:key="index">
<view class="cell">
<view class="label">{{item.label}}</view>
<block wx:if="{{ item.key == 'status' }}">
<view class="value" style="color:{{ outboundStatus[detailInfo.outboundStatus].color || '' }};">{{outboundStatus[detailInfo.outboundStatus].text}}</view>
</block>
<block wx:if="{{item.objKey}}">
<view class="value text-hide">
<block>{{detailInfo[item.objKey][item.key] || ''}}</block>
</view>
</block>
<block wx:else>
<view class="value text-hide">
<block>{{detailInfo[item.key] || ''}}</block>
</view>
</block>
</view>
</block>
<view class="goods">
<view class="goods-item" wx:for="{{detailInfo.subOrderList}}" wx:key="index">
<view class="goods-name text-hide">
{{filter.replaceItemText(item.upgradeGoodsAlias) ||filter.replaceItemText(item.upgradeGoodsName) || item.packageName||''}}
</view>
<view class="bott text-hide" wx:if="{{item.rollNumber && (item.materialsUsed !== null || item.materialsUsed !== undefined)}}">
<text class="material">用料{{item.materialsUsed}}米/件</text>
<text class="split">|</text>
<text class="cost">膜卷号{{item.rollNumber}}</text>
</view>
</view>
</view>
</view>
<view class="btns {{ isFullSucreen?'isFullSucreen-btn':'' }}">
<!-- 未施工 技师可操作 -->
<block wx:if="{{detailInfo.constructionStatus == 0}}">
<view class="tips_box" wx:if="{{!hideOutTips}}">
<image class="tipsIcon" src="{{IMG_URL}}miniProgram/tipsIcon.png" />
<view class="contentText">
请仓库管理员核销物料出库单
</view>
<image class="close-image" bindtap="closeTips" data-key="hideOutTips" src="{{IMG_URL}}repair-order/close-icon.png" />
</view>
<view class="tips_box" wx:if="{{!hideTips}}">
<image class="tipsIcon" src="{{IMG_URL}}miniProgram/tipsIcon.png" />
<view class="contentText">
在页面中上传施工图片,点击完成施工按钮结束施工单
</view>
<image class="close-image" bindtap="closeTips" data-key="hideTips" src="{{IMG_URL}}repair-order/close-icon.png" />
</view>
<view class="btns-con">
<view class="confirm text-center" bindtap="submit">确认完成施工</view>
</view>
</block>
<!-- 已施工 区域运营/驻店销售可操作 -->
<block wx:if="{{detailInfo.constructionStatus == 1}}">
<view class="btns-con">
<view class="confirm text-center" bindtap="checkOrder">审核施工单</view>
</view>
</view>
</block>
</view>
</view>
</view>
</view>
</block>
</block>
<time-select show="{{startTimeVisible}}" title="开始施工时间" defaultTime="{{detailInfo.startTime}}" isStartTime="{{true}}" endTime="{{detailInfo.endTime}}" bind:confirm="onStartTimeConfirm" bindcancel="onClosePicker"/>
<time-select show="{{endTimeVisible}}" title="结束施工时间" defaultTime="{{detailInfo.endTime}}" isStartTime="{{false}}" startTime="{{detailInfo.startTime}}" bind:confirm="onEndTimeConfirm" bindcancel="onClosePicker" />
<outbound-popup show="{{outboundVisible}}" title="物料出库" detailInfo="{{detailInfo}}" bindcancel="handleOutboundCancel" bindconfirm="handleOutboundConfirm"></outbound-popup>
\ No newline at end of file
\ No newline at end of file
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