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 da3dbf3b
authored
Sep 28, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.56.2' into SAAS+V5.1.0
2 parents
608fa93d
da7aa914
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
663 additions
and
543 deletions
app.json
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.js
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.sass
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.wxml
tabWorkOrder/pages/staffDaily/staffDaily.wxml
app.json
View file @
da3dbf3
{
"pages"
:
[
"pages/loading/loading"
,
"pages/sceneIndex/sceneIndex"
,
"pages/wxLogin/wxLogin"
,
"tabIndex/pages/index/index"
,
"pages/accountItems/accountItems"
,
"pages/merchantList/merchantList"
,
"pages/nothing/nothing"
,
"pages/webView/webView"
,
"pages/tabWorkOrder/pages/index/index"
,
"pages/tabMine/pages/index/index"
,
"pages/tabDateIndex/pages/tabDateIndex"
,
"pages/log/log"
,
"pages/changeScene/changeScene"
,
"pages/materails/index"
,
"pages/pointsReview/pointsReview"
,
"pages/h5AuthPhone/h5AuthPhone"
,
"pages/tabRepairOrder/pages/index/index"
],
"window"
:
{
"backgroundTextStyle"
:
"light"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTitleText"
:
"生意助手员工版"
,
"navigationBarTextStyle"
:
"black"
,
"pageOrientation"
:
"auto"
},
"tabBar"
:
{
"color"
:
"#757980"
,
"selectedColor"
:
"#347BFF"
,
"backgroundColor"
:
"#FFFFFF"
,
"position"
:
"bottom"
,
"list"
:
[
{
"pagePath"
:
"tabIndex/pages/index/index"
,
"text"
:
"首页"
,
"iconPath"
:
"images/tab-home.png"
,
"selectedIconPath"
:
"images/tab-home-active.png"
},
{
"pagePath"
:
"pages/tabDateIndex/pages/tabDateIndex"
,
"text"
:
"预约管理"
,
"iconPath"
:
"images/tab-date.png"
,
"selectedIconPath"
:
"images/tab-date-active.png"
},
{
"pagePath"
:
"pages/tabWorkOrder/pages/index/index"
,
"text"
:
"客户工单"
,
"iconPath"
:
"images/tab-order.png"
,
"selectedIconPath"
:
"images/tab-order-active.png"
},
{
"pagePath"
:
"pages/tabRepairOrder/pages/index/index"
,
"text"
:
"施工单"
,
"iconPath"
:
"images/tab-repair.png"
,
"selectedIconPath"
:
"images/tab-repair-active.png"
},
{
"pagePath"
:
"pages/tabMine/pages/index/index"
,
"text"
:
"个人中心"
,
"iconPath"
:
"images/tab-mine.png"
,
"selectedIconPath"
:
"images/tab-mine-active.png"
}
]
},
"subpackages"
:
[
{
"root"
:
"tabDate"
,
"name"
:
"tabDate"
,
"pages"
:
[
"pages/detail/detail"
,
"pages/apprManage/apprManage"
,
"pages/userPortrait/userPortrait"
]
},
{
"root"
:
"integration"
,
"name"
:
"integration"
,
"pages"
:
[
"pages/bankAccount/list/list"
,
"pages/bankAccount/detail/detail"
,
"pages/point/index/index"
,
"pages/point/record/record"
,
"pages/point/toCash/toCash"
,
"pages/point/success/success"
]
},
{
"root"
:
"tabMine"
,
"name"
:
"tabMine"
,
"pages"
:
[
"pages/technicianSetup/technicianSetup"
,
"pages/completeBuild/completeBuild"
,
"pages/collectCoupons/collectCoupons"
]
},
{
"root"
:
"tabRepairOrder"
,
"name"
:
"tabRepairOrder"
,
"pages"
:
[
"pages/confirmWorkOrder/confirmWorkOrder"
,
"pages/repairOrderDetail/repairOrderDetail"
]
},
{
"root"
:
"tabWorkOrder"
,
"name"
:
"tabWorkOrder"
,
"pages"
:
[
"pages/createOrder/createOrder"
,
"pages/additionRecordOrder/additionRecordOrder"
,
"pages/orderDetail/orderDetail"
,
"pages/constructionOrderDetail/constructionOrderDetail"
,
"pages/confirmOrder/confirmOrder"
,
"pages/updateOrderInfo/updateOrderInfo"
,
"pages/createArchives/createArchives"
,
"pages/orderSignature/orderSignature"
,
"pages/fullSignture/fullSignture"
,
"pages/ocr/ocr"
,
"pages/premiumUpgrade/premiumUpgrade"
,
"pages/defeatOrder/defeatOrder"
,
"pages/staffDaily/staffDaily"
,
"pages/upgradeStaffDaily/upgradeStaffDaily"
,
"pages/supervisorDaily/supervisorDaily"
,
"pages/residentManage/residentManage"
,
"pages/mentorshipManage/mentorshipManage"
,
"pages/tabWorkOrderRelevance/index"
,
"pages/invoiceCode/invoiceCode"
,
"pages/invoiceResult/invoiceResult"
,
"pages/technicianSearchList/pages/index/technicianSearchList"
,
"pages/refundOperationList/refundOperationList"
,
"pages/refundDetailList/refundDetailList"
,
"pages/refundApply/refundApply"
,
"pages/createAConstructionOrder/createAConstructionOrder"
]
},
{
"root"
:
"packageEquity"
,
"name"
:
"packageEquity"
,
"pages"
:
[
"pages/carQuotation/signature/signature"
,
"pages/carQuotation/index/index"
,
"pages/carQuotation/relevanceOrderSelect/index"
,
"pages/carQuotation/fullSignture/fullSignture"
,
"pages/carQuotation/schemeConfirmation/schemeConfirmation"
,
"pages/carQuotation/CarQuotationDetail/CarQuotationDetail"
,
"pages/carQuotation/CarQuotationPay/CarQuotationPay"
,
"pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation"
,
"pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple"
,
"pages/carQuotation/updateOrderInfo/updateOrderInfo"
,
"pages/ocrEquityModules/ocrEquityModules"
,
"pages/carEquity/previewList/previewList"
,
"pages/carEquity/serviceInfo/serviceInfo"
,
"pages/carEquity/carBrands/carBrands"
,
"pages/carEquity/carSeries/carSeries"
,
"pages/TabBar/equityPage"
,
"pages/carEquity/previewContract/previewContract"
,
"pages/collegeScene/collegeScene"
,
"pages/clueList/clueList"
,
"pages/clueDetail/clueDetail"
,
"pages/residentTarget/residentTarget"
,
"pages/aiInspection/aiInspection"
,
"pages/aiInspectionDetail/aiInspectionDetail"
,
"pages/aiInspectionReception/aiInspectionReception"
,
"pages/employeeInspection/employeeInspection"
,
"pages/trainingMaterials/trainingMaterials"
,
"pages/trainingMaterials/pages/playVideo/index"
,
"pages/createDeafeatOrder/createDeafeatOrder"
,
"pages/createDeafeatOrderAi/createDeafeatOrderAi"
,
"pages/aiExcercise/ai/ai"
,
"pages/aiExcercise/detail/detail"
,
"pages/aiExcercise/list/list"
,
"pages/aiExcercise/result/result"
,
"pages/beforeCreate/beforeCreate"
,
"pages/deliveryTarget/deliveryTarget"
,
"pages/carQuotation/reception/reception"
,
"pages/aiCheck/chat/chat"
,
"pages/aiCheck/result/result"
,
"pages/aiCheck/scene/scene"
,
"pages/aiCheck/start/start"
,
"pages/orderList/orderList"
,
"pages/equityQualityOrderList/equityQualityOrderList"
,
"pages/createDeafeatOrderBefore/createDeafeatOrderBefore"
,
"pages/receptionRecords/receptionRecords"
,
"pages/aiCheck/redundance/redundance"
,
"pages/aiCheck/detail/detail"
,
"pages/receptionDetail/receptionDetail"
,
"pages/aiCheck/defense/defense"
,
"pages/extract/extract/extract"
,
"pages/extract/confirm/confirm"
,
"pages/extract/success/success"
,
"pages/sceneMarket/index/index"
,
"pages/sceneMarket/clue/clue"
,
"pages/sceneMarket/clueForm/clueForm"
,
"pages/sceneMarket/materialPage/materialPage"
,
"pages/newReceptionRecords/newReceptionRecords"
]
},
{
"root"
:
"tabOperating"
,
"name"
:
"tabOperating"
,
"pages"
:
[
"pages/4sOverview/4sOverview"
,
"pages/index/index"
,
"pages/operatingShow/operatingShow"
]
},
{
"root"
:
"packageCrowdFunding"
,
"name"
:
"packageCrowdFunding"
,
"pages"
:
[
"pages/TabBar/crowdFundingPage"
,
"pages/activityPage/paidOrder/orderList"
,
"pages/activityPage/activityList/activityList"
,
"pages/activityPage/activityPay/activityPay"
,
"pages/activityPage/paymentSuccess/paymentSuccess"
,
"pages/activityPage/balanceNote/balanceNote"
,
"pages/activityPage/newOrder/newOrder"
,
"pages/activityPage/additionRecordOrder/additionRecordOrder"
]
},
{
"root"
:
"subvehicleConversion"
,
"name"
:
"subvehicleConversion"
,
"pages"
:
[
"pages/TabBar/conversionPage"
,
"pages/activityPage/activityManagement/activityManagement"
,
"pages/activityPage/visitor/visitor"
,
"pages/activityPage/order/order"
,
"pages/orderPage/supplementaryOrderList/supplementaryOrderList"
,
"pages/orderPage/supplementaryOrderPay/supplementaryOrderPay"
,
"pages/orderPage/relatedFinalPayment/relatedFinalPayment"
,
"pages/orderPage/paySuccess/paySuccess"
]
}
],
"usingComponents"
:
{
"gl-textarea"
:
"/components/GlTextarea/GlTextarea"
,
"gl-cell"
:
"/components/GlCell/GlCell"
,
"gl-cust-form"
:
"/components/GLCustForm/GLCustForm"
,
"calendar"
:
"/components/Calendar/Calendar"
,
"navigation-bar"
:
"/components/navigationBar/navigationBar"
,
"popup"
:
"/components/Popup/Popup"
,
"search-input"
:
"/components/SearchInput/SearchInput"
,
"order-popup"
:
"/components/OrderPopup/OrderPopup"
,
"date-picker"
:
"/components/DatePicker/DatePicker"
,
"remark-popup"
:
"/components/RemarkPopup/RemarkPopup"
,
"tab-bar"
:
"/components/TabBar/TabBar"
,
"order-confirm"
:
"/components/Confirm/Confirm"
,
"qr-box"
:
"components/Qrbox/Qrbox"
,
"modal"
:
"components/modal/modal"
,
"tips-bottom"
:
"components/tipsBottom/index"
,
"gl-image"
:
"components/GlImage/index"
,
"van-field"
:
"@vant/weapp/field/index"
,
"van-radio-group"
:
"@vant/weapp/radio-group/index"
,
"van-radio"
:
"@vant/weapp/radio/index"
,
"van-popup"
:
"@vant/weapp/popup/index"
,
"van-dialog"
:
"@vant/weapp/dialog/index"
,
"van-uploader"
:
"@vant/weapp/uploader/index"
,
"glsx-privacy"
:
"glsk-applet-component/GlsxPrivacy/index"
,
"empty-data"
:
"/components/EmptyData/EmptyData"
,
"van-switch"
:
"@vant/weapp/switch/index"
},
"preloadRule"
:
{
"pages/tabWorkOrder/pages/index/index"
:
{
"network"
:
"all"
,
"packages"
:
[
"tabWorkOrder"
]
},
"tabIndex/pages/index/index"
:
{
"network"
:
"all"
,
"packages"
:
[
"tabWorkOrder"
]
}
},
"resolveAlias"
:
{
"~/*"
:
"/*"
},
"sitemapLocation"
:
"sitemap.json"
,
"permission"
:
{
"scope.userLocation"
:
{
"desc"
:
"你的位置信息将用于小程序位置接口的效果展示"
}
},
"lazyCodeLoading"
:
"requiredComponents"
,
"resizable"
:
true
}
\ No newline at end of file
{
"pages"
:
[
"pages/loading/loading"
,
"pages/sceneIndex/sceneIndex"
,
"pages/wxLogin/wxLogin"
,
"tabIndex/pages/index/index"
,
"pages/accountItems/accountItems"
,
"pages/merchantList/merchantList"
,
"pages/nothing/nothing"
,
"pages/webView/webView"
,
"pages/tabWorkOrder/pages/index/index"
,
"pages/tabMine/pages/index/index"
,
"pages/tabDateIndex/pages/tabDateIndex"
,
"pages/log/log"
,
"pages/changeScene/changeScene"
,
"pages/materails/index"
,
"pages/pointsReview/pointsReview"
,
"pages/h5AuthPhone/h5AuthPhone"
,
"pages/tabRepairOrder/pages/index/index"
],
"window"
:
{
"backgroundTextStyle"
:
"light"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTitleText"
:
"生意助手员工版"
,
"navigationBarTextStyle"
:
"black"
,
"pageOrientation"
:
"auto"
},
"tabBar"
:
{
"color"
:
"#757980"
,
"selectedColor"
:
"#347BFF"
,
"backgroundColor"
:
"#FFFFFF"
,
"position"
:
"bottom"
,
"list"
:
[
{
"pagePath"
:
"tabIndex/pages/index/index"
,
"text"
:
"首页"
,
"iconPath"
:
"images/tab-home.png"
,
"selectedIconPath"
:
"images/tab-home-active.png"
},
{
"pagePath"
:
"pages/tabDateIndex/pages/tabDateIndex"
,
"text"
:
"预约管理"
,
"iconPath"
:
"images/tab-date.png"
,
"selectedIconPath"
:
"images/tab-date-active.png"
},
{
"pagePath"
:
"pages/tabWorkOrder/pages/index/index"
,
"text"
:
"客户工单"
,
"iconPath"
:
"images/tab-order.png"
,
"selectedIconPath"
:
"images/tab-order-active.png"
},
{
"pagePath"
:
"pages/tabRepairOrder/pages/index/index"
,
"text"
:
"施工单"
,
"iconPath"
:
"images/tab-repair.png"
,
"selectedIconPath"
:
"images/tab-repair-active.png"
},
{
"pagePath"
:
"pages/tabMine/pages/index/index"
,
"text"
:
"个人中心"
,
"iconPath"
:
"images/tab-mine.png"
,
"selectedIconPath"
:
"images/tab-mine-active.png"
}
]
},
"subpackages"
:
[
{
"root"
:
"tabDate"
,
"name"
:
"tabDate"
,
"pages"
:
[
"pages/detail/detail"
,
"pages/apprManage/apprManage"
,
"pages/userPortrait/userPortrait"
]
},
{
"root"
:
"integration"
,
"name"
:
"integration"
,
"pages"
:
[
"pages/bankAccount/list/list"
,
"pages/bankAccount/detail/detail"
,
"pages/point/index/index"
,
"pages/point/record/record"
,
"pages/point/toCash/toCash"
,
"pages/point/success/success"
]
},
{
"root"
:
"tabMine"
,
"name"
:
"tabMine"
,
"pages"
:
[
"pages/technicianSetup/technicianSetup"
,
"pages/completeBuild/completeBuild"
,
"pages/collectCoupons/collectCoupons"
]
},
{
"root"
:
"tabRepairOrder"
,
"name"
:
"tabRepairOrder"
,
"pages"
:
[
"pages/confirmWorkOrder/confirmWorkOrder"
,
"pages/repairOrderDetail/repairOrderDetail"
]
},
{
"root"
:
"tabWorkOrder"
,
"name"
:
"tabWorkOrder"
,
"pages"
:
[
"pages/createOrder/createOrder"
,
"pages/additionRecordOrder/additionRecordOrder"
,
"pages/orderDetail/orderDetail"
,
"pages/constructionOrderDetail/constructionOrderDetail"
,
"pages/confirmOrder/confirmOrder"
,
"pages/updateOrderInfo/updateOrderInfo"
,
"pages/createArchives/createArchives"
,
"pages/orderSignature/orderSignature"
,
"pages/fullSignture/fullSignture"
,
"pages/ocr/ocr"
,
"pages/premiumUpgrade/premiumUpgrade"
,
"pages/defeatOrder/defeatOrder"
,
"pages/staffDaily/staffDaily"
,
"pages/upgradeStaffDaily/upgradeStaffDaily"
,
"pages/supervisorDaily/supervisorDaily"
,
"pages/residentManage/residentManage"
,
"pages/mentorshipManage/mentorshipManage"
,
"pages/tabWorkOrderRelevance/index"
,
"pages/invoiceCode/invoiceCode"
,
"pages/invoiceResult/invoiceResult"
,
"pages/technicianSearchList/pages/index/technicianSearchList"
,
"pages/refundOperationList/refundOperationList"
,
"pages/refundDetailList/refundDetailList"
,
"pages/refundApply/refundApply"
,
"pages/createAConstructionOrder/createAConstructionOrder"
]
},
{
"root"
:
"packageEquity"
,
"name"
:
"packageEquity"
,
"pages"
:
[
"pages/carQuotation/signature/signature"
,
"pages/carQuotation/index/index"
,
"pages/carQuotation/relevanceOrderSelect/index"
,
"pages/carQuotation/fullSignture/fullSignture"
,
"pages/carQuotation/schemeConfirmation/schemeConfirmation"
,
"pages/carQuotation/CarQuotationDetail/CarQuotationDetail"
,
"pages/carQuotation/CarQuotationPay/CarQuotationPay"
,
"pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation"
,
"pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple"
,
"pages/carQuotation/updateOrderInfo/updateOrderInfo"
,
"pages/ocrEquityModules/ocrEquityModules"
,
"pages/carEquity/previewList/previewList"
,
"pages/carEquity/serviceInfo/serviceInfo"
,
"pages/carEquity/carBrands/carBrands"
,
"pages/carEquity/carSeries/carSeries"
,
"pages/TabBar/equityPage"
,
"pages/carEquity/previewContract/previewContract"
,
"pages/collegeScene/collegeScene"
,
"pages/clueList/clueList"
,
"pages/clueDetail/clueDetail"
,
"pages/residentTarget/residentTarget"
,
"pages/aiInspection/aiInspection"
,
"pages/aiInspectionDetail/aiInspectionDetail"
,
"pages/aiInspectionReception/aiInspectionReception"
,
"pages/employeeInspection/employeeInspection"
,
"pages/trainingMaterials/trainingMaterials"
,
"pages/trainingMaterials/pages/playVideo/index"
,
"pages/createDeafeatOrder/createDeafeatOrder"
,
"pages/createDeafeatOrderAi/createDeafeatOrderAi"
,
"pages/aiExcercise/ai/ai"
,
"pages/aiExcercise/detail/detail"
,
"pages/aiExcercise/list/list"
,
"pages/aiExcercise/result/result"
,
"pages/beforeCreate/beforeCreate"
,
"pages/deliveryTarget/deliveryTarget"
,
"pages/carQuotation/reception/reception"
,
"pages/aiCheck/chat/chat"
,
"pages/aiCheck/result/result"
,
"pages/aiCheck/scene/scene"
,
"pages/aiCheck/start/start"
,
"pages/orderList/orderList"
,
"pages/equityQualityOrderList/equityQualityOrderList"
,
"pages/createDeafeatOrderBefore/createDeafeatOrderBefore"
,
"pages/receptionRecords/receptionRecords"
,
"pages/aiCheck/redundance/redundance"
,
"pages/aiCheck/detail/detail"
,
"pages/receptionDetail/receptionDetail"
,
"pages/aiCheck/defense/defense"
,
"pages/extract/extract/extract"
,
"pages/extract/confirm/confirm"
,
"pages/extract/success/success"
,
"pages/sceneMarket/index/index"
,
"pages/sceneMarket/clue/clue"
,
"pages/sceneMarket/clueForm/clueForm"
,
"pages/sceneMarket/materialPage/materialPage"
,
"pages/newReceptionRecords/newReceptionRecords"
]
},
{
"root"
:
"tabOperating"
,
"name"
:
"tabOperating"
,
"pages"
:
[
"pages/4sOverview/4sOverview"
,
"pages/index/index"
,
"pages/operatingShow/operatingShow"
]
},
{
"root"
:
"packageCrowdFunding"
,
"name"
:
"packageCrowdFunding"
,
"pages"
:
[
"pages/TabBar/crowdFundingPage"
,
"pages/activityPage/paidOrder/orderList"
,
"pages/activityPage/activityList/activityList"
,
"pages/activityPage/activityPay/activityPay"
,
"pages/activityPage/paymentSuccess/paymentSuccess"
,
"pages/activityPage/balanceNote/balanceNote"
,
"pages/activityPage/newOrder/newOrder"
,
"pages/activityPage/additionRecordOrder/additionRecordOrder"
]
},
{
"root"
:
"subvehicleConversion"
,
"name"
:
"subvehicleConversion"
,
"pages"
:
[
"pages/TabBar/conversionPage"
,
"pages/activityPage/activityManagement/activityManagement"
,
"pages/activityPage/visitor/visitor"
,
"pages/activityPage/order/order"
,
"pages/orderPage/supplementaryOrderList/supplementaryOrderList"
,
"pages/orderPage/supplementaryOrderPay/supplementaryOrderPay"
,
"pages/orderPage/relatedFinalPayment/relatedFinalPayment"
,
"pages/orderPage/paySuccess/paySuccess"
]
}
],
"usingComponents"
:
{
"gl-textarea"
:
"/components/GlTextarea/GlTextarea"
,
"gl-cell"
:
"/components/GlCell/GlCell"
,
"gl-cust-form"
:
"/components/GLCustForm/GLCustForm"
,
"calendar"
:
"/components/Calendar/Calendar"
,
"navigation-bar"
:
"/components/navigationBar/navigationBar"
,
"popup"
:
"/components/Popup/Popup"
,
"search-input"
:
"/components/SearchInput/SearchInput"
,
"order-popup"
:
"/components/OrderPopup/OrderPopup"
,
"date-picker"
:
"/components/DatePicker/DatePicker"
,
"remark-popup"
:
"/components/RemarkPopup/RemarkPopup"
,
"tab-bar"
:
"/components/TabBar/TabBar"
,
"order-confirm"
:
"/components/Confirm/Confirm"
,
"qr-box"
:
"components/Qrbox/Qrbox"
,
"modal"
:
"components/modal/modal"
,
"tips-bottom"
:
"components/tipsBottom/index"
,
"gl-image"
:
"components/GlImage/index"
,
"van-field"
:
"@vant/weapp/field/index"
,
"van-radio-group"
:
"@vant/weapp/radio-group/index"
,
"van-radio"
:
"@vant/weapp/radio/index"
,
"van-popup"
:
"@vant/weapp/popup/index"
,
"van-dialog"
:
"@vant/weapp/dialog/index"
,
"van-uploader"
:
"@vant/weapp/uploader/index"
,
"glsx-privacy"
:
"glsk-applet-component/GlsxPrivacy/index"
,
"empty-data"
:
"/components/EmptyData/EmptyData"
,
"van-switch"
:
"@vant/weapp/switch/index"
},
"preloadRule"
:
{
"pages/tabWorkOrder/pages/index/index"
:
{
"network"
:
"all"
,
"packages"
:
[
"tabWorkOrder"
]
},
"tabIndex/pages/index/index"
:
{
"network"
:
"all"
,
"packages"
:
[
"tabWorkOrder"
]
}
},
"resolveAlias"
:
{
"~/*"
:
"/*"
},
"sitemapLocation"
:
"sitemap.json"
,
"permission"
:
{
"scope.userLocation"
:
{
"desc"
:
"你的位置信息将用于小程序位置接口的效果展示"
}
},
"lazyCodeLoading"
:
"requiredComponents"
,
"resizable"
:
true
}
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.js
View file @
da3dbf3
...
...
@@ -122,16 +122,19 @@ Page({
color
:
'#35C376'
}
},
userPermissions
:
[]
,
// 人员权限
userPermissions
:
[]
// 人员权限
},
onRoute
(
options
)
{
this
.
setData
({
queryOptions
:
options
},
()
=>
{
this
.
getDetail
()
this
.
getStaffPermissions
()
})
this
.
setData
(
{
queryOptions
:
options
},
()
=>
{
this
.
getDetail
()
this
.
getStaffPermissions
()
}
)
},
/**
...
...
@@ -139,12 +142,15 @@ Page({
*/
onLoad
(
options
)
{
if
(
options
.
id
)
{
this
.
setData
({
queryOptions
:
options
},
()
=>
{
this
.
getDetail
()
this
.
getStaffPermissions
()
})
this
.
setData
(
{
queryOptions
:
options
},
()
=>
{
this
.
getDetail
()
this
.
getStaffPermissions
()
}
)
}
if
(
options
?.
scene
)
{
this
.
setSceneData
(
options
.
scene
)
...
...
@@ -159,34 +165,37 @@ Page({
/**
* 生命周期函数--监听页面显示
*/
onShow
()
{
},
onShow
()
{},
// 人员权限
getStaffPermissions
()
{
// 假数据开始
const
res
=
{
code
:
0
,
data
:
[{
name
:
'施工确认'
,
code
:
'SHIGONGQUEREN'
},
{
name
:
'完成施工'
,
code
:
'WANCHENGSHIGONG'
},
{
name
:
'物料出库'
,
code
:
'WULIAOCHUKU'
},
{
name
:
'审核施工单'
,
code
:
'SHENHESHIGONGDAN'
}]
data
:
[
{
name
:
'施工确认'
,
code
:
'SHIGONGQUEREN'
},
{
name
:
'完成施工'
,
code
:
'WANCHENGSHIGONG'
},
{
name
:
'物料出库'
,
code
:
'WULIAOCHUKU'
},
{
name
:
'审核施工单'
,
code
:
'SHENHESHIGONGDAN'
}
]
}
this
.
setData
({
userPermissions
:
res
.
data
})
return
let
{
userInfo
}
=
this
.
data
staffPermissions
({
phone
:
userInfo
?.
phone
}).
then
(
res
=>
{
staffPermissions
({
phone
:
userInfo
?.
phone
}).
then
(
res
=>
{
let
{
code
,
data
,
message
}
=
res
if
(
code
==
0
)
{
this
.
setData
({
...
...
@@ -638,11 +647,16 @@ Page({
submitFlag
:
false
})
if
(
code
==
0
)
{
wx
.
$router
.
redirectTo
(
'repairOrderDetail'
,
{
id
:
detailInfo
.
id
,
constructionCode
:
detailInfo
.
constructionCode
,
orderCode
:
detailInfo
.
orderCode
})
wx
.
$router
.
redirectTo
(
'repairOrderDetail'
,
{
id
:
detailInfo
.
id
,
constructionCode
:
detailInfo
.
constructionCode
,
orderCode
:
detailInfo
.
orderCode
})
}
else
{
wx
.
$util
.
showToast
(
message
)
}
}).
catch
(()
=>
{
})
.
catch
(()
=>
{
this
.
setData
({
submitFlag
:
false
})
...
...
@@ -659,25 +673,27 @@ Page({
confirmText
:
'审核通过'
,
cancelText
:
'不通过'
,
success
(
res
)
{
api
.
approvalRepairOrder
({
id
:
detailInfo
.
id
,
constructionCode
:
detailInfo
.
constructionCode
,
approvalStatus
:
res
.
confirm
?
1
:
res
.
cancel
?
2
:
''
}).
then
(
result
=>
{
let
{
code
,
message
}
=
result
if
(
code
==
0
)
{
wx
.
$util
.
showToast
(
''
)
wx
.
showToast
({
title
:
'操作成功'
,
icon
:
'success'
})
setTimeout
(()
=>
{
wx
.
$router
.
back
()
},
200
)
}
else
{
wx
.
$util
.
showToast
(
message
)
}
})
api
.
approvalRepairOrder
({
id
:
detailInfo
.
id
,
constructionCode
:
detailInfo
.
constructionCode
,
approvalStatus
:
res
.
confirm
?
1
:
res
.
cancel
?
2
:
''
})
.
then
(
result
=>
{
let
{
code
,
message
}
=
result
if
(
code
==
0
)
{
wx
.
$util
.
showToast
(
''
)
wx
.
showToast
({
title
:
'操作成功'
,
icon
:
'success'
})
setTimeout
(()
=>
{
wx
.
$router
.
back
()
},
200
)
}
else
{
wx
.
$util
.
showToast
(
message
)
}
})
}
})
},
...
...
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.sass
View file @
da3dbf3
...
...
@@ -14,22 +14,26 @@ page {
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
;
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
)
;
...
...
@@ -37,44 +41,52 @@ page {
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
:
1
.2em
;
text-indent
:
1
.2em
;
display
:
-
webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
2
;
/*
限制显示两行
*/
-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
)
;
...
...
@@ -83,6 +95,7 @@ page {
}
}
}
.box
{
background
:
#FFFFFF
;
box-shadow
:
0
var
(
--
fontSize4
)
var
(
--
fontSize20
)
0
rgba
(
0
,
0
,
0
,
0
.10
)
;
...
...
@@ -90,12 +103,14 @@ page {
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
:
''
;
...
...
@@ -107,38 +122,47 @@ page {
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
{
.copy
,
.edit
{
color
:
#347BFF
;
margin-left
:
auto
;
.image
{
width
:
var
(
--
fontSize32
)
;
height
:
var
(
--
fontSize32
)
;
...
...
@@ -146,10 +170,12 @@ page {
}
}
}
.image-box
{
display
:
flex
;
flex-wrap
:
wrap
;
margin-bottom
:
var
(
--
fontSize32
)
;
.tire-block
{
width
:
var
(
--
fontSize196
)
;
height
:
var
(
--
fontSize196
)
;
...
...
@@ -161,20 +187,25 @@ page {
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
)
;
...
...
@@ -183,29 +214,35 @@ page {
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
)
;
...
...
@@ -216,19 +253,23 @@ page {
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
)
;
...
...
@@ -237,6 +278,7 @@ page {
}
}
}
.empty-box
{
width
:
100%
;
font-size
:
var
(
--
fontSize24
)
;
...
...
@@ -244,27 +286,32 @@ page {
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
)
;
...
...
@@ -276,24 +323,29 @@ page {
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
;
...
...
@@ -309,6 +361,7 @@ page {
font-weight
:
500
;
z-index
:
99
;
flex-direction
:
column
;
.tips_box
{
display
:
flex
;
align-items
:
center
;
...
...
@@ -320,28 +373,33 @@ page {
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
)
;
...
...
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.wxml
View file @
da3dbf3
...
...
@@ -2,205 +2,254 @@
<wxs src="../../index.wxs" module="filter" />
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<block>
<view class="main" style="padding-bottom: {{'var(--fontSize290)'}};">
<view class="status-box">
<view class="user-info">
<view class="car hide-text"><image wx:if="{{detailInfo.constructionStatus == 1}}" src="{{IMG_URL}}repair-order/complete.png" mode=""/>{{detailInfo.customer.carSeriesName || '无车型客户'}}</view>
<view class="staff-name">
<text class="name">{{detailInfo.customer.customerName || '-'}}</text>
</view>
</view>
<block wx:if="{{detailInfo.constructionStatus == 0}}">
<view class="content">
<view class="tips">仓库管理员核销物料出库单后可确认完成施工。</view>
<view class="btn text-center" wx:if="{{detailInfo.outboundStatus != 1}}" bindtap="handleOutbound">物料出库</view>
</view>
</block>
<block wx:elif="{{detailInfo.constructionStatus == 1}}">
<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" wx:if="{{filter.btnPermissions(userPermissions, 'WULIAOCHUKU')}}">客户返工</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-url="{{ detailInfo.pictureList }}" data-index="{{ index }}">
<image class="icon-delete" catchtap="handleDelete" wx:if="{{detailInfo.constructionStatus == 0}}" data-index="{{ index }}" 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:elif="{{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>
<block wx:if="{{item.rollNumber}}">
<text class="split">|</text>
<text class="cost">膜卷号{{item.rollNumber}}</text>
</block>
</view>
</view>
</view>
</view>
<view class="btns {{ isFullSucreen?'isFullSucreen-btn':'' }}" wx:if="{{(detailInfo.constructionStatus == 0 && filter.btnPermissions(userPermissions, 'WANCHENGSHIGONG')) || (detailInfo.constructionStatus == 1 && detailInfo.approvalStatus == 0 && filter.btnPermissions(userPermissions, 'SHENHESHIGONGDAN'))}}">
<!-- 未施工 技师可操作 -->
<block wx:if="{{detailInfo.constructionStatus == 0 && filter.btnPermissions(userPermissions, 'WANCHENGSHIGONG')}}">
<view class="tips_box" wx:if="{{!hideOutTips && detailInfo.outboundStatus == 0}}">
<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.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.png" />
</view>
<view class="btns-con">
<view class="confirm text-center" bindtap="submit">确认完成施工</view>
</view>
</block>
<!-- 已施工/未审核 区域运营/驻店销售可操作 -->
<block wx:if="{{detailInfo.constructionStatus == 1 && detailInfo.approvalStatus == 0 && filter.btnPermissions(userPermissions, 'SHENHESHIGONGDAN')}}">
<view class="btns-con">
<view class="confirm text-center" bindtap="checkOrder">审核施工单</view>
</view>
</block>
</view>
</view>
<view class="main" style="padding-bottom: {{ 'var(--fontSize290)' }};">
<view class="status-box">
<view class="user-info">
<view class="car hide-text">
<image wx:if="{{ detailInfo.constructionStatus == 1 }}" src="{{ IMG_URL }}repair-order/complete.png" mode="" />
{{detailInfo.customer.carSeriesName || '无车型客户'}}
</view>
<view class="staff-name">
<text class="name">{{detailInfo.customer.customerName || '-'}}</text>
</view>
</view>
<block wx:if="{{ detailInfo.constructionStatus == 0 }}">
<view class="content">
<view class="tips">仓库管理员核销物料出库单后可确认完成施工。</view>
<view class="btn text-center" wx:if="{{ detailInfo.outboundStatus != 1 }}" bindtap="handleOutbound">物料出库</view>
</view>
</block>
<block wx:elif="{{ detailInfo.constructionStatus == 1 }}">
<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" wx:if="{{ filter.btnPermissions(userPermissions, 'WULIAOCHUKU') }}">客户返工</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-url="{{ detailInfo.pictureList }}" data-index="{{ index }}">
<image
class="icon-delete"
catchtap="handleDelete"
wx:if="{{ detailInfo.constructionStatus == 0 }}"
data-index="{{ index }}"
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:elif="{{ 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>
<block wx:if="{{ item.rollNumber }}">
<text class="split">|</text>
<text class="cost">膜卷号{{item.rollNumber}}</text>
</block>
</view>
</view>
</view>
</view>
<view
class="btns {{ isFullSucreen?'isFullSucreen-btn':'' }}"
wx:if="{{ (detailInfo.constructionStatus == 0 && filter.btnPermissions(userPermissions, 'WANCHENGSHIGONG')) || (detailInfo.constructionStatus == 1 && detailInfo.approvalStatus == 0 && filter.btnPermissions(userPermissions, 'SHENHESHIGONGDAN')) }}"
>
<!-- 未施工 技师可操作 -->
<block wx:if="{{ detailInfo.constructionStatus == 0 && filter.btnPermissions(userPermissions, 'WANCHENGSHIGONG') }}">
<view class="tips_box" wx:if="{{ !hideOutTips && detailInfo.outboundStatus == 0 }}">
<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.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.png" />
</view>
<view class="btns-con">
<view class="confirm text-center" bindtap="submit">确认完成施工</view>
</view>
</block>
<!-- 已施工/未审核 区域运营/驻店销售可操作 -->
<block
wx:if="{{ detailInfo.constructionStatus == 1 && detailInfo.approvalStatus == 0 && filter.btnPermissions(userPermissions, 'SHENHESHIGONGDAN') }}"
>
<view class="btns-con">
<view class="confirm text-center" bindtap="checkOrder">审核施工单</view>
</view>
</block>
</view>
</view>
</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" userPermissions="{{userPermissions}}"></outbound-popup>
<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"
userPermissions="{{ userPermissions }}"
></outbound-popup>
<rework-popup
show="{{ reworkVisible }}"
title="返工确认"
detailInfo="{{ detailInfo }}"
bindcancel="handleReworkCancel"
bindconfirm="handleReworkConfirm"
></rework-popup>
></rework-popup>
\ No newline at end of file
tabWorkOrder/pages/staffDaily/staffDaily.wxml
View file @
da3dbf3
...
...
@@ -15,8 +15,9 @@
</view>
<view class="main {{ isFullSucreen?'isFullSucreen':'' }}">
<view class="mainheader">
<!-- catchtap="showStaffPicker" -->
<view class="title">日报切换</view>
<view class="navigation-title templateNameTitle"
bindtap="showStaffPicker"
>
<view class="navigation-title templateNameTitle">
<picker bindchange="handleTemplagePickerChange" value="{{ orderObj.templateType-1 }}" range-key="name" range="{{ pickerTemplateList }}" disabled="{{ filter.filterDisabled(role, weeklyList, orderObj.reportDate, isEditReport) || isHmStore}}">
<view class="picker">
<view class="text-hide templateName">{{pickerTemplateList[orderObj.templateType-1]['name']}}</view>
...
...
@@ -93,7 +94,7 @@
<block wx:if="{{ item.brandType == 0 }}">
<view class="mainheader">
<view class="title">问界</view>
<view class="navigation-title" wx:if="{{ orderObj.staffName && arr_index == 0 }}"
bind
tap="showStaffPicker">
<view class="navigation-title" wx:if="{{ orderObj.staffName && arr_index == 0 }}"
catch
tap="showStaffPicker">
<view class="navigation-title-text text-hide">{{orderObj.staffName}}</view>
<view class="arrow" wx:if="{{ role == 'super' }}">
<image src="/images/arrow_bottom.png" />
...
...
@@ -119,7 +120,7 @@
<block wx:if="{{ item.brandType == 1 }}">
<view class="mainheader">
<view class="title">鸿蒙</view>
<view class="navigation-title" wx:if="{{ orderObj.staffName && arr_index == 0 }}"
bind
tap="showStaffPicker">
<view class="navigation-title" wx:if="{{ orderObj.staffName && arr_index == 0 }}"
catch
tap="showStaffPicker">
<view class="navigation-title-text text-hide">{{orderObj.staffName}}</view>
<view class="arrow" wx:if="{{ role == 'super' }}">
<image src="/images/arrow_bottom.png" />
...
...
@@ -145,7 +146,7 @@
<block wx:if="{{ item.brandType == 2 }}">
<view class="mainheader">
<view class="title">{{ item.brandType == 1? '非问界': item.firstBrandName}}</view>
<view class="navigation-title" wx:if="{{ orderObj.staffName && arr_index == 0 }}"
bind
tap="showStaffPicker">
<view class="navigation-title" wx:if="{{ orderObj.staffName && arr_index == 0 }}"
catch
tap="showStaffPicker">
<view class="navigation-title-text text-hide">{{orderObj.staffName}}</view>
<view class="arrow" wx:if="{{ role == 'super' }}">
<image src="/images/arrow_bottom.png" />
...
...
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