1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810 |
- <template>
- <view class="all-container">
- <view class="bg"></view>
- <zj-page-layout
- :isScroll="true"
- :hasFooter="true"
- :refresherTriggered="refresherTriggered"
- @refresherrefresh="refresherrefresh"
- >
- <!-- 状态 -->
- <view class="status-container">
- <view class="status" @tap="openFeedback"
- >{{ detail ? detail.orderStatusText : '' }}<text class="iconfont icon-jinru"></text
- ></view>
- <view class="time" v-if="detail && detail.appointmentTime"
- >已预约 {{ detail.appointmentTime.slice(0, 10) }}</view
- >
- </view>
- <!-- tab栏 -->
- <view class="tab-container">
- <u-tabs :scrollable="true" :list="tabList" :current="curTab - 1" @click="changeTab" itemStyle="height: 36px;">
- </u-tabs>
- </view>
- <view class="content-container" v-if="detail">
- <!-- 基本信息 -->
- <block v-if="~[1].indexOf(curTab)">
- <view class="user-container card">
- <view class="top">
- <view class="type">
- <view class="left">{{ detail.orderSmallTypeText ? detail.orderSmallTypeText.slice(0, 2) : '' }}</view>
- <view v-if="detail && orderStatus_v !== 'DQD'" class="right" @tap="copyData()">复制</view>
- </view>
- <view class="user">{{ detail.userName }} {{ detail.userMobile }}</view>
- <view class="address">
- <view class="text"
- >{{ detail.province }}{{ detail.city }}{{ detail.area }}{{ detail.street
- }}{{ detail.address || detail.gpsAddress }}
- </view>
- <view
- v-if="detail && orderStatus_v !== 'DQD'"
- class="ctrl"
- @tap.stop="
- $openLocation({
- lat: detail.lat,
- lng: detail.lng,
- address: detail.address || detail.gpsAddress
- })
- "
- ><text class="iconfont icon-daohang"></text>导航</view
- >
- </view>
- </view>
- <view class="bottom" v-if="detail && orderStatus_v !== 'DQD'">
- <view class="it" @tap="$callPhone(detail.userMobile)"
- ><text class="iconfont icon-call"></text>联系电话1</view
- >
- <view class="it" @tap="$callPhone(detail.userMobile2 || detail.userMobile)"
- ><text class="iconfont icon-call"></text>联系电话2</view
- >
- </view>
- </view>
- <!-- 商品信息 -->
- <view class="goods-container card mt30">
- <view class="common-title">商品信息</view>
- <view class="item" v-for="(item, index) in detail.pgOrderProducts" :key="index">
- <view class="main">
- <image :src="item.imgUrl ? item.imgUrl : require('@/static/images/logo.png')" mode="aspectFill"></image>
- <view class="info">
- <view class="name">
- <view class="left" v-if="detail.isZl">{{ item.mainName || '' }}</view>
- <view class="left" v-else>{{ item.smallName || '' }} {{ item.productName || '' }}</view>
- <view class="right">x{{ item.num }}</view>
- </view>
- <view class="tags" v-if="!detail.isZl">
- <view class="it">{{ item.brandName }}</view>
- <!-- <view class="it">家用空调</view> -->
- </view>
- </view>
- </view>
- <!-- <view class="images" v-if="isOpenGoods">
- <view class="it" v-if="item.insideImg">
- <image :src="imageUrl + item.insideImg" mode="aspectFill"
- @tap="prevImg(item.insideImg)"></image>
- <view class="text">内机</view>
- </view>
- <view class="it" v-if="item.outImg">
- <image :src="imageUrl + item.outImg" mode="aspectFill" @tap="prevImg(item.outImg)">
- </image>
- <view class="text">外机</view>
- </view>
- <block v-if="item.partImgs">
- <view class="it" v-for="(it, idx) in item.partImgs.split(',')" :key="idx">
- <image :src="imageUrl + it" mode="aspectFill" @tap="() => prevImg(it)"></image>
- <view class="text">配件</view>
- </view>
- </block>
- </view> -->
- </view>
- <!-- <view class="ctrl" @tap="isOpenGoods = !isOpenGoods">
- <text>{{ isOpenGoods ? '收起' : '查看更多' }}</text>
- <text class="iconfont icon-left" :class="isOpenGoods ? 'is' : ''"></text>
- </view> -->
- </view>
- <!-- 订单信息 -->
- <view class="info-container card mt30" v-if="detail.saleOrderId && !detail.pgIncreId">
- <view class="common-title">订单信息</view>
- <view>
- <view class="row">
- <view class="label">订单编号</view>
- <view class="value">{{ detail.saleOrderId }}</view>
- <view v-if="detail && orderStatus_v !== 'DQD'" class="ctrl" @tap="$copy(detail.saleOrderId)">复制</view>
- </view>
- <view class="row">
- <view class="label">下单时间</view>
- <view class="value">{{ detail.saleCreateTime || '' }}</view>
- </view>
- <view class="row">
- <view class="label">订单金额</view>
- <view class="value">¥{{ detail.saleTotalAmount | priceFilter }}</view>
- </view>
- <view class="row">
- <view class="label">订单备注</view>
- <view class="value">{{ detail.saleRemark || '' }}</view>
- </view>
- </view>
- </view>
- <view class="info-container card mt30" v-if="detail.pgIncreId && increDetail">
- <view class="common-title">产品信息</view>
- <view class="row">
- <view class="label">服务类型</view>
- <view class="value">延保</view>
- </view>
- <view class="row">
- <view class="label">产品品牌</view>
- <view class="value">{{ increDetail.brandName }}</view>
- </view>
- <view class="row">
- <view class="label">产品大类</view>
- <view class="value">{{ increDetail.mainName }}</view>
- </view>
- <view class="row">
- <view class="label">服务内容</view>
- <view class="value">{{ increDetail.increContent }}</view>
- </view>
- </view>
- <view class="info-container card mt30" v-if="detail.pgIncreId && increDetail">
- <view class="common-title">产品凭证</view>
- <view class="row">
- <view class="label">内机条码</view>
- <view class="value">{{ increDetail.insideCode }}</view>
- </view>
- <view class="imgs">
- <!-- 内机条码 -->
- <view class="it">
- <block>
- <image mode="aspectFill" :src="increDetail.insideCodeImg" @tap="prevImg(increDetail.insideCodeImg)">
- </image>
- </block>
- <view class="name">内机条码</view>
- </view>
- <!-- 机器铭牌 -->
- <view class="it">
- <block>
- <image mode="aspectFill" :src="increDetail.machineImg" @tap="prevImg(increDetail.machineImg)">
- </image>
- </block>
- <view class="name">机器铭牌<br />(含出厂日期)</view>
- </view>
- <!-- 购机凭证 -->
- <view class="it">
- <block>
- <image mode="aspectFill" :src="increDetail.buyCertImg" @tap="prevImg(increDetail.buyCertImg)">
- </image>
- </block>
- <view class="name">购机凭证</view>
- </view>
- </view>
- </view>
- <!-- 延保订单信息 -->
- <view class="info-container card mt30" v-if="detail.pgIncreId && increDetail">
- <view class="common-title">订单信息</view>
- <view>
- <view class="row">
- <view class="label">订单编号</view>
- <view class="value">{{ increDetail.id }}</view>
- <view v-if="detail && orderStatus_v !== 'DQD'" class="ctrl" @tap="$copy(increDetail.id)">复制</view>
- </view>
- <view class="row">
- <view class="label">下单时间</view>
- <view class="value">{{ increDetail.createTime || '' }}</view>
- </view>
- <view class="row">
- <view class="label">订单金额</view>
- <view class="value">¥{{ increDetail.amount }}</view>
- </view>
- <view class="row">
- <view class="label">订单备注</view>
- <view class="value">{{ detail.remark || '' }}</view>
- </view>
- </view>
- </view>
- <!-- 服务信息 -->
- <view class="info-container card mt30">
- <view class="common-title">服务信息</view>
- <view>
- <view class="row">
- <view class="label">工单编号</view>
- <view class="value">{{ detail.id }}</view>
- <view v-if="detail && orderStatus_v !== 'DQD'" class="ctrl" @tap="$copy(detail.id)">复制</view>
- </view>
- <view class="row">
- <view class="label">下单时间</view>
- <view class="value">{{ detail.createTime }}</view>
- </view>
- <view class="row">
- <view class="label">接单时间</view>
- <view class="value">{{ detail.workerReceTime || '' }}</view>
- </view>
- <view class="row">
- <view class="label">主工程师</view>
- <view class="value">{{ detail.workerName }} {{ detail.workerMobile }}</view>
- <view v-if="detail && orderStatus_v !== 'DQD'" class="ctrl" @tap="$callPhone(detail.workerMobile)"
- ><text class="iconfont icon-call"></text
- ></view>
- </view>
- <view class="row" v-for="(item, index) in detail.pgOrderWorkers.filter(o => !o.isMaster)" :key="index">
- <view class="label">辅工程师</view>
- <view class="value">{{ item.workerName }} {{ item.workerMobile }}</view>
- <view v-if="detail && orderStatus_v !== 'DQD'" class="ctrl" @tap="$callPhone(item.workerMobile)"
- ><text class="iconfont icon-call"></text
- ></view>
- </view>
- <view class="row">
- <view class="label">下单渠道</view>
- <view class="value">{{ detail.orderChannelText || '' }}</view>
- </view>
- <view class="row">
- <view class="label">订单备注</view>
- <view class="value">{{ detail.remark || '' }}</view>
- </view>
- </view>
- </view>
- <!-- 建单信息 -->
- <view class="info-container card mt30">
- <view class="common-title">建单信息</view>
- <view>
- <view class="row">
- <view class="label">建单人名</view>
- <view class="value">{{ detail.createBy || '' }}</view>
- </view>
- <view class="row">
- <view class="label">下单网点</view>
- <view class="value">{{ detail.websitName || '' }}</view>
- </view>
- </view>
- </view>
- </block>
- <!-- 服务信息 -->
- <block v-if="~[2].indexOf(curTab)">
- <!-- 过程反馈 -->
- <view class="feedback-container card">
- <view class="common-title2">
- <view class="title">过程反馈</view>
- <view v-if="detail && orderStatus_v !== 'DQD'" class="right" @tap="toFeedbackList"
- >查看全部<text class="iconfont icon-jinru"></text>
- </view>
- </view>
- <view class="list" v-if="detail.lastOperator">
- <view class="item">
- <u-avatar
- :text="detail.lastOperatorWebsit ? detail.lastOperatorWebsit.slice(0, 1) : 'A'"
- fontSize="18"
- randomBgColor
- ></u-avatar>
- <view class="main">
- <view class="name">{{ detail.lastOperatorWebsit || '' }}</view>
- <view class="time">{{ detail.lastOperatorTime || '' }}</view>
- <view class="content">{{ detail.lastOperator || '' }}</view>
- </view>
- </view>
- </view>
- <Loading :type="3" :loadStatus="2" :isLoadAnimation="false" v-else />
- </view>
- <!-- 预约信息 -->
- <view class="info-container card mt30" v-if="detail && detail.appointmentTime">
- <view class="common-title">预约信息</view>
- <view>
- <view class="row">
- <view class="label">预约时间</view>
- <view class="value">{{ detail.appointmentTime.slice(0, 10) }}</view>
- </view>
- <view class="row">
- <view class="label">预约备注</view>
- <view class="value">{{ detail.changeRemark || detail.appointmentRemark }}</view>
- </view>
- </view>
- </view>
- <!-- 完工信息 -->
- <view class="info-container card mt30" v-if="detail && (orderStatus_v == 'YWG' || orderStatus_v == 'YJS')">
- <view class="common-title2">
- <view class="title">完工信息</view>
- <view v-if="detail && orderStatus_v !== 'DQD'" class="right" @tap="toOverDetail"
- >查看更多<text class="iconfont icon-jinru"></text
- ></view>
- </view>
- <view>
- <view class="row">
- <view class="label">完工时间</view>
- <view class="value">{{ detail.overTime || detail.websitOverTime || '' }}</view>
- </view>
- <view class="row">
- <view class="label">完工地点</view>
- <view class="value"
- >{{ detail.province }}{{ detail.city }}{{ detail.area }}{{ detail.street }}{{ detail.address }}
- </view>
- </view>
- </view>
- </view>
- </block>
- <!-- 电子支付 -->
- <block v-if="~[3].indexOf(curTab)">
- <block v-if="detail.rpProjectRepairId">
- <view class="product-container card" v-for="(item, index) in payList" :key="index">
- <view class="row">
- <view class="label">支付单号</view>
- <view class="value">{{ item.orderId }}</view>
- </view>
- <view class="row">
- <view class="label">支付状态</view>
- <view class="value" style="color: red">{{ item.examineStatus | examineStatusFilter }}</view>
- </view>
- <view class="common-title mt30">产品信息</view>
- <view class="product">
- <view
- class="it"
- v-for="(it, idx) in item.rpMaterialOrderItems.filter(
- o => o.chargeType == 'ACC' || o.chargeType == 'MCC'
- )"
- :key="idx"
- >
- <view class="name"
- >{{ it.goodsName }}<text>×{{ it.num }}</text></view
- >
- <view class="price">¥{{ it.totalAmount.toFixed(2) }}</view>
- </view>
- <view class="total">
- <view class="text">合计:</view>
- <view class="price"
- >¥{{
- [
- 0,
- 0,
- 0,
- ...item.rpMaterialOrderItems
- .filter(o => o.chargeType == 'ACC' || o.chargeType == 'MCC')
- .map(val => val.totalAmount)
- ]
- .reduce((a, b) => (a * 100 + b * 100) / 100, 0)
- .toFixed(2)
- }}</view
- >
- </view>
- </view>
- <view class="common-title mt30">服务费用</view>
- <view class="product">
- <view
- class="it"
- v-for="(it, idx) in item.rpMaterialOrderItems.filter(o => o.chargeType == 'SERV')"
- :key="idx"
- >
- <view class="name">{{ it.goodsName }}</view>
- <view class="price">¥{{ it.totalAmount.toFixed(2) }}</view>
- </view>
- <view class="total">
- <view class="text">合计:</view>
- <view class="price"
- >¥{{
- [
- 0,
- 0,
- 0,
- ...item.rpMaterialOrderItems.filter(o => o.chargeType == 'SERV').map(val => val.totalAmount)
- ]
- .reduce((a, b) => (a * 100 + b * 100) / 100, 0)
- .toFixed(2)
- }}</view
- >
- </view>
- </view>
- <view class="bottom">
- <view class="left">订单总金额</view>
- <view class="right">
- <view class="text">合计:</view>
- <view class="price"
- >¥{{
- [
- 0,
- 0,
- 0,
- ...item.rpMaterialOrderItems.filter(o => o.chargeType == 'SERV').map(val => val.totalAmount),
- ...item.rpMaterialOrderItems
- .filter(o => o.chargeType == 'ACC' || o.chargeType == 'MCC')
- .map(val => val.totalAmount)
- ]
- .reduce((a, b) => (a * 100 + b * 100) / 100, 0)
- .toFixed(2)
- }}</view
- >
- </view>
- </view>
- <view class="row mt30">
- <view class="label">操作人员</view>
- <view class="value">{{ item.createBy }}</view>
- </view>
- <view class="row mt20">
- <view class="label">订单备注</view>
- <view class="value">{{ item.remark }}</view>
- </view>
- </view>
- </block>
- <block v-else>
- <view class="product-container card" v-for="(item, index) in payList" :key="index">
- <view class="common-title mt30">支付费用{{ index + 1 }}</view>
- <view class="row">
- <view class="label">支付单号</view>
- <view class="value">{{ item.orderId }}</view>
- </view>
- <view class="row">
- <view class="label">支付状态</view>
- <view
- class="value"
- :style="{ color: item.payStatus == 'WAIT' ? 'red' : item.payStatus == 'PAID' ? 'blue' : '' }"
- >{{ item.payStatus | payStatusFilter }}</view
- >
- </view>
- <view class="common-title mt30">产品信息</view>
- <view class="product">
- <view
- class="it"
- v-for="(it, idx) in item.workerOrderItems.filter(o => o.chargeType == 'ACC' || o.chargeType == 'MCC')"
- :key="idx"
- >
- <view class="name"
- >{{ it.goodsName }}<text>×{{ it.num }}</text></view
- >
- <view class="price">¥{{ it.totalAmount.toFixed(2) }}</view>
- </view>
- <view class="total">
- <view class="text">合计:</view>
- <view class="price"
- >¥{{
- [
- 0,
- 0,
- 0,
- ...item.workerOrderItems
- .filter(o => o.chargeType == 'ACC' || o.chargeType == 'MCC')
- .map(val => val.totalAmount)
- ]
- .reduce((a, b) => (a * 100 + b * 100) / 100, 0)
- .toFixed(2)
- }}</view
- >
- </view>
- </view>
- <view class="common-title mt30">服务费用</view>
- <view class="product">
- <view
- class="it"
- v-for="(it, idx) in item.workerOrderItems.filter(o => o.chargeType == 'SERV')"
- :key="idx"
- >
- <view class="name">{{ it.goodsName }}</view>
- <view class="price">¥{{ it.totalAmount.toFixed(2) }}</view>
- </view>
- <view class="total">
- <view class="text">合计:</view>
- <view class="price"
- >¥{{
- [
- 0,
- 0,
- 0,
- ...item.workerOrderItems.filter(o => o.chargeType == 'SERV').map(val => val.totalAmount)
- ]
- .reduce((a, b) => (a * 100 + b * 100) / 100, 0)
- .toFixed(2)
- }}</view
- >
- </view>
- </view>
- <view class="bottom">
- <view class="left">订单总金额</view>
- <view class="right">
- <view class="text">合计:</view>
- <view class="price"
- >¥{{
- [
- 0,
- 0,
- 0,
- ...item.workerOrderItems.filter(o => o.chargeType == 'SERV').map(val => val.totalAmount),
- ...item.workerOrderItems
- .filter(o => o.chargeType == 'ACC' || o.chargeType == 'MCC')
- .map(val => val.totalAmount)
- ]
- .reduce((a, b) => (a * 100 + b * 100) / 100, 0)
- .toFixed(2)
- }}</view
- >
- </view>
- </view>
- <view class="row mt30">
- <view class="label">操作人员</view>
- <view class="value">{{ item.createBy }}</view>
- </view>
- <view class="row mt20">
- <view class="label">订单备注</view>
- <view class="value">{{ item.remark }}</view>
- </view>
- <view style="height: 20rpx"></view>
- <view v-if="item.payStatus == 'WAIT'">
- <u-button type="success" text="扫码支付" @click="scanCode(item)">扫码支付</u-button>
- </view>
- </view>
- </block>
- <block v-if="payList.length < 1">
- <Loading :type="3" :loadStatus="2" showText="暂无电子支付信息" :isLoadAnimation="false" />
- </block>
- </block>
- <!-- 费用结算 -->
- <block v-if="~[4].indexOf(curTab)">
- <!-- 服务费用 -->
- <view class="info-container card mt30" v-for="(item, index) in settleList" :key="index">
- <block v-if="item.settleNormType !== 'OTHER'">
- <view class="common-title2">
- <view class="title">服务费用{{ index + 1 }}</view>
- <view class="right">{{ orderStatus_v == 'YJS' ? '已结算' : '结算中' }}</view>
- </view>
- <view>
- <view class="row">
- <view class="label">产品大类</view>
- <view class="value">{{ item.mainName || '' }}</view>
- </view>
- <view class="row">
- <view class="label">产品小类</view>
- <view class="value">{{ item.smallName || '' }}</view>
- </view>
- <view class="row">
- <view class="label">机型名称</view>
- <view class="value">{{ item.goodsName || '' }}</view>
- </view>
- <!-- <view class="row">
- <view class="label">收费标准</view>
- <view class="value">¥{{ item.normAmount | priceFilter }}</view>
- </view> -->
- <view class="row">
- <view class="label">数  量</view>
- <view class="value">{{ item.settleNum || '' }}</view>
- </view>
- <view class="row">
- <view class="label">结算金额</view>
- <view class="value" v-if="orderStatus_v == 'YJS'">¥{{ item.workerSettleAmount | priceFilter }}</view>
- <view class="value" v-else>-</view>
- </view>
- </view>
- </block>
- <block v-else>
- <view class="common-title2">
- <view class="title">其他费用</view>
- <view class="right">{{ orderStatus_v == 'YJS' ? '已结算' : '结算中' }}</view>
- </view>
- <view>
- <view class="row">
- <view class="label">类  型</view>
- <view class="value">{{ item.typeName || '' }}</view>
- </view>
- <view class="row">
- <view class="label">规  格</view>
- <view class="value">{{ item.label || '' }}</view>
- </view>
- <!-- <view class="row">
- <view class="label">单  价</view>
- <view class="value">¥{{ item.normAmount | priceFilter }}</view>
- </view> -->
- <view class="row">
- <view class="label">数  量</view>
- <view class="value">{{ item.settleNum || '' }}</view>
- </view>
- <view class="row">
- <view class="label">结算金额</view>
- <view class="value" v-if="orderStatus_v == 'YJS'">¥{{ item.workerSettleAmount | priceFilter }}</view>
- <view class="value" v-else>-</view>
- </view>
- </view>
- </block>
- </view>
- <block v-if="settleList.length < 1">
- <Loading :type="3" :loadStatus="2" showText="暂无员工结算信息" :isLoadAnimation="false" />
- </block>
- </block>
- </view>
- <Loading :type="3" :loadStatus="loadStatus" :isLoadAnimation="false" />
- <template slot="footer">
- <view class="bottom-container" v-if="detail">
- <!-- 接单 -->
- <u-button v-if="JIEDAN(detail, userInfo)" type="primary" text="接单" @tap="actionReceive()"></u-button>
- <!-- 待抢单 -->
- <u-button v-if="QIANGDAN(detail, userInfo)" type="primary" text="抢单" @tap="qdOrder(detail)"></u-button>
- <!-- 配件申请 -->
- <u-button
- v-if="PEIJIANSHENQING(detail, userInfo)"
- plain
- type="primary"
- text="配件申请"
- @tap="toPartsApply()"
- ></u-button>
- <!-- 变更小工 -->
- <u-button
- v-if="BIANGENGXIAOGONG(detail, userInfo)"
- plain
- type="primary"
- text="变更小工"
- @tap="biangengxiaogong()"
- ></u-button>
- <!-- 辅材收费 ok-->
- <u-button
- plain
- type="primary"
- text="辅材收费"
- @tap="toCharge('M')"
- v-if="FUCAISHOUFEI(detail, userInfo)"
- ></u-button>
- <!-- 配件收费 ok-->
- <u-button
- plain
- type="primary"
- text="配件收费"
- @tap="toCharge('P')"
- v-if="PEIJIANSHOUFEI(detail, userInfo)"
- ></u-button>
- <!-- 过程反馈 ok-->
- <u-button
- v-if="GUOCHENFANKUI(detail, userInfo)"
- type="primary"
- text="过程反馈"
- @tap="toFeedback()"
- ></u-button>
- <!-- <block v-if="orderStatus_v == 'DJD'">
- <u-button
- plain
- type="primary"
- text="取消加急"
- @tap="actionUrgent(false)"
- v-if="detail.pgOrderFlags && detail.pgOrderFlags.some(o => o.tag == 'JIA_JI')"
- ></u-button>
- <u-button plain type="primary" text="加急" @tap="actionUrgent(true)" v-else></u-button>
- </block> -->
- </view>
- </template>
- </zj-page-layout>
- <selectionWorkers
- v-if="item"
- :title="title"
- :detail="item"
- :type="selectionWorkersType"
- :callback="callback"
- @close="
- () => {
- item = null
- selectionWorkersType = null
- callback = null
- }
- "
- />
- <u-popup :show="isShowFeedback" @close="isShowFeedback = false" closeable round="10">
- <view class="feedback-dialog">
- <view class="title">服务路由</view>
- <view class="content">
- <logistics :logisticsData="feedbackList"></logistics>
- </view>
- </view>
- </u-popup>
- <zhifutanchuan
- v-if="state > 0"
- :detail="detail_zf"
- :orderId="orderId_zf"
- :state="state"
- @scan="scan"
- @back="back"
- @offTiming="offTiming"
- />
- </view>
- </template>
- <script>
- import zjDialogPicker from '@/components/zj-dialog/zj-dialog-picker.vue'
- import Logistics from '@/components/logistics2/common-logistics.vue'
- import selectionWorkers from '@/components/selectionWorkers.vue'
- import zhifutanchuan from '@/components/zhifutanchuan.vue'
- import { wxScanCode } from '@/common/utils/util.js'
- import { getStorage } from '@/common/utils/storage.js'
- import orderBtnsShow from './mixins/orderBtnsShow.js'
- import orderStatus_v from './mixins/orderStatus_fh.js'
- export default {
- mixins: [orderBtnsShow],
- components: {
- zjDialogPicker,
- Logistics,
- selectionWorkers,
- zhifutanchuan
- },
- filters: {
- payStatusFilter(val) {
- const MAP = {
- CANCEL: '已取消',
- WAIT: '待支付',
- PAID: '已支付'
- }
- return MAP[val]
- },
- examineStatusFilter(val) {
- const MAP = {
- WAIT: '待审批',
- OK: '审批通过',
- FAIL: '审批驳回',
- NO: '已取消',
- PAID: '已现场支付',
- NO_PAID: '未支付'
- }
- return MAP[val]
- }
- },
- data() {
- return {
- id: null,
- imageUrl: this.$imageUrl,
- detail: null,
- increDetail: null,
- loadStatus: 1,
- errorText: '',
- refresherTriggered: false,
- curTab: 1,
- tabList: [
- { name: '基本信息', value: 1 },
- { name: '服务信息', value: 2 },
- { name: '电子支付', value: 3 },
- { name: '员工结算', value: 4 }
- ],
- isOpenGoods: false,
- payList: [], // 支付信息列表
- settleList: [], // 结算列表
- isShowFeedback: false,
- feedbackList: [],
- behavior: '',
- selectionWorkersType: '',
- item: null,
- callback: null,
- title: '',
- state: 0,
- detail_zf: null,
- orderId_zf: null
- }
- },
- computed: {
- userInfo() {
- return getStorage('user')
- },
- orderStatus_v() {
- return orderStatus_v(this?.detail?.orderStatus, this?.detail)
- }
- },
- async onLoad({ id, behavior }) {
- this.id = id
- this.behavior = behavior
- await this.refreshData()
- this.crossPage.$on('refreshWorkorderDetail', async () => {
- await this.refreshData()
- })
- },
- onUnload() {
- this.crossPage.$off('refreshWorkorderDetail')
- },
- methods: {
- scan() {
- if (this.timeout) {
- clearTimeout(this.timeout)
- }
- this.scanCode()
- },
- back() {
- if (this.timeout) {
- clearTimeout(this.timeout)
- }
- this.$navToPage(
- {
- url: `/packageMaterial/pages/index?type=${this.detail_zf.goodsType}`
- },
- 'reLaunch'
- )
- },
- offTiming() {
- if (this.timeout) {
- clearTimeout(this.timeout)
- }
- },
- // 扫码
- async scanCode(item) {
- this.detail_zf = { ...item }
- this.orderId_zf = item.orderId
- var codeVal = await wxScanCode(['qrCode'])
- this.submitData(codeVal)
- },
- // 下单
- submitData(code) {
- this.$api
- .post('/pay/paid', {
- authCode: code,
- orderId: this.orderId_zf,
- payType: 'WECHAT'
- })
- .then(res => {
- this.detail_zf = res.data
- this.orderId_zf = res.data.orderId
- if (res.data.payStatus == 'PAID') {
- // 支付成功
- this.getPayList(() => {
- this.state = 2
- })
- } else {
- // 支付失败
- this.getPayList(() => {
- this.state = 4
- })
- }
- })
- .catch(res => {
- // 等待支付
- var [USERPAYING, orderId] = res.message.split('|')
- if (USERPAYING === 'USERPAYING' && !!orderId) {
- this.orderId_zf = orderId
- if (this.state == 0) {
- this.state = 1
- }
- this.getDetail__()
- } else {
- this.$tips(res.message)
- }
- })
- },
- getDetail__(cb) {
- this.$api
- .post('/pay/getOrder', {
- orderId: this.orderId_zf
- })
- .then(res => {
- this.detail_zf = res.data
- if (res.data.payStatus == 'PAID') {
- this.state = 2
- } else {
- this.timeout = setTimeout(() => {
- this.getDetail__(cb)
- }, 1000)
- }
- cb?.()
- })
- .catch(res => {})
- .finally(res => {})
- },
- // 触发下拉刷新
- async refresherrefresh(e) {
- this.refresherTriggered = true
- await this.refreshData()
- },
- async changeTab(e) {
- this.curTab = e.value
- this.loadStatus = 1
- await this.refreshData()
- },
- async refreshData() {
- try {
- await this.getDetail()
- await this.getSettleList()
- if (this.curTab === 1) {
- // await this.getDetail();
- } else if (this.curTab === 2) {
- } else if (this.curTab === 3) {
- await this.getPayList()
- } else if (this.curTab === 4) {
- await this.getSettleList()
- }
- this.refresherTriggered = false
- this.loadStatus = 0
- } catch (e) {
- this.loadStatus = 2
- }
- },
- // 获取详情
- getDetail() {
- return new Promise((resolve, reject) => {
- this.$api
- .post('/pg/order/base/detail', {
- orderBaseId: this.id
- })
- .then(res => {
- this.detail = res.data
- console.log(res.data)
- console.log(
- `
- 完工时间: ${res.data.overTime}
- 工程师编号号: ${this.userInfo.workerNumber}
- 网点属性(attr): ${res.data.attr}
- 工单类型(orderType): ${res.data.orderType}
- 是否4.0(isImportExcel): ${res.data.isImportExcel}
- 4.0是否已经接单(isMeet): ${res.data.isMeet}
- 原工单状态(orderStatus): ${res.data.orderStatus} ==> 复合状态对应:${(orderStatus => {
- if (res.data?.isImportExcel && res.data?.isMeet === false) {
- return 'DJD'
- }
- if (['DYY'].includes(orderStatus)) {
- // 待预约
- return 'DYY'
- } else if (['DQD'].includes(orderStatus)) {
- // 待抢单
- return 'DQD'
- } else if (
- [
- 'DSHPG',
- 'CJ',
- 'YPD',
- 'DXSPD',
- 'DZBPG',
- 'DWDSPGP',
- 'DXSSPGP',
- 'DTJXSSPGP',
- 'DZBSPGP',
- 'DFZXPD',
- 'DFZXSPGP',
- 'XSBH',
- 'TJXSBH',
- 'ZBBH',
- 'FZXBH',
- 'FL'
- ].includes(orderStatus)
- ) {
- // 待商户派工
- return 'DSHPG'
- } else if (['DWDPG', 'DWDPD', 'WDBH'].includes(orderStatus)) {
- // 待网点派工
- return 'DWDPG'
- } else if (['DJD'].includes(orderStatus)) {
- // 待接单
- return 'DJD'
- } else if (['FWZ', 'GCSZT', 'BFWG', 'DSM', 'YZP'].includes(orderStatus)) {
- // 服务中
- return 'FWZ'
- } else if (['YCD'].includes(orderStatus)) {
- // 异常单
- return 'YCD'
- } else if (['YWG', 'GCSZX', 'WDWG', 'YWGO'].includes(orderStatus)) {
- // 已完工待结算
- return 'YWG'
- } else if (['YJS', 'LRCD'].includes(orderStatus)) {
- // 已结算
- return 'YJS'
- } else if (['YQX', 'FWZT', 'YCGB', 'FWQX'].includes(orderStatus)) {
- // 已取消
- return 'YQX'
- }
- return ''
- })(res.data.orderStatus)}
- `
- )
- if (
- this.behavior === 'lqdd' &&
- !['DQD'].includes(res.data.orderStatus) &&
- res.data.workerId !== this.$store.state.user.userId
- ) {
- this.$modal({
- title: '提示',
- content: '来晚啦,工单已经被抢走了~',
- confirmText: '知道啦',
- showCancel: false
- })
- .then(() => {
- uni.switchTab({
- url: '/pages/index/index'
- })
- })
- .catch(() => {
- uni.switchTab({
- url: '/pages/index/index'
- })
- })
- }
- if (res.data.pgIncreOrderId) {
- this.getIncreDetail(res.data.pgIncreOrderId)
- }
- resolve(1)
- })
- .catch(res => {
- reject(0)
- })
- })
- },
- getIncreDetail(id) {
- this.$api
- .post('/increConfig/detailIncre', {
- id
- })
- .then(res => {
- this.increDetail = res.data
- })
- },
- copyData() {
- let name = this.detail.userName
- let phone = this.detail.userMobile
- let address = `${this.detail.gpsAddress ? this.detail.gpsAddress + this.detail.address : this.detail.address}`
- this.$copy(`${name},${phone},${address}`)
- },
- async openFeedback() {
- await this.getFeedbackList()
- this.isShowFeedback = true
- },
- getFeedbackList() {
- return new Promise((resolve, reject) => {
- this.$api
- .post('/pg/order/base/operator/list', {
- orderBaseId: this.id
- })
- .then(res => {
- let data = res.data.map(item => {
- return {
- title: item.type,
- time: item.createTime,
- content: item.content,
- imgSrc: item.imgSrc
- }
- })
- this.feedbackList = data
- })
- .finally(res => {
- resolve(1)
- })
- })
- },
- // 获取支付信息
- getPayList(cb) {
- return new Promise((resolve, reject) => {
- let url = ''
- if (this.detail.rpProjectRepairId) {
- url = '/engin/material/detailWorker'
- } else {
- url = '/changeOrder/getOrderList'
- }
- this.$api
- .post(url, {
- workerOrderId: this.id
- })
- .then(async res => {
- this.payList = res.data.map(item => {
- var gengduo = [
- {
- chargeType: 'SERV',
- goodsName: '服务费用',
- totalAmount: item.servicePrice || 0
- },
- {
- chargeType: 'SERV',
- goodsName: '其他费用',
- totalAmount: item.otherPrice || 0
- }
- ]
- if (this.detail.rpProjectRepairId) {
- if (!item.rpMaterialOrderItems) {
- item.rpMaterialOrderItems = []
- }
- item.rpMaterialOrderItems.push(...gengduo)
- } else {
- if (!item.workerOrderItems) {
- item.workerOrderItems = []
- }
- item.workerOrderItems.push(...gengduo)
- }
- return { ...item }
- })
- cb?.()
- resolve(1)
- })
- .catch(res => {
- cb?.()
- reject(0)
- })
- })
- },
- // 获取安装结算
- getSettleList() {
- return new Promise((resolve, reject) => {
- this.$api
- .post('/order/settle/norm/detail', {
- orderId: this.id
- })
- .then(res => {
- this.settleList = res.data
- if (this.settleList.length > 0 && this.orderStatus_v == 'YJS') {
- this.tabList[3].name = `员工结算(${this.settleList.reduce(
- (total, obj) => total + obj.workerSettleAmount,
- 0
- )})`
- } else {
- this.tabList[3].name = `员工结算`
- }
- resolve(1)
- })
- .catch(res => {
- reject(0)
- })
- })
- },
- // 预览图片
- prevImg(url) {
- uni.previewImage({
- current: this.imageUrl + url,
- urls: [this.imageUrl + url]
- })
- },
- // 加急
- actionUrgent(flag) {
- this.$modal({
- title: '加急操作',
- content: '加急操作,会消息通知所有订单相关人员,请谨慎操作。'
- })
- .then(() => {
- this.$api
- .post('/pg/order/base/flag', {
- orderBaseId: this.id,
- orderFlagEnum: 'JIA_JI',
- flag: flag
- })
- .then(res => {
- this.$successToast()
- this.getDetail()
- this.crossPage.$emit('refreshWorkorderList', '')
- })
- })
- .catch(() => {})
- },
- // 变更小工
- biangengxiaogong() {
- this.title = '更换小工'
- this.selectionWorkersType = 3
- this.item = { ...this.detail }
- this.callback = () => {
- this.$successToast()
- this.getDetail()
- this.crossPage.$emit('refreshWorkorderList', '')
- this.$nextTick(() => {
- this.item = null
- this.selectionWorkersType = null
- this.callback = null
- this.title = null
- })
- }
- },
- // 接单
- actionReceive() {
- this.title = '接收确认'
- this.selectionWorkersType = 1
- this.item = { ...this.detail }
- this.callback = () => {
- this.$successToast()
- this.getDetail()
- this.crossPage.$emit('refreshWorkorderList', '')
- this.$nextTick(() => {
- this.item = null
- this.selectionWorkersType = null
- this.callback = null
- this.title = null
- })
- }
- // this.$modal({
- // title: '接单确认',
- // content: '确认接单?'
- // })
- // .then(() => {
- // this.$api
- // .post('/pg/order/base/rece', {
- // orderBaseId: this.id
- // })
- // .then(res => {
- // this.$successToast()
- // this.getDetail()
- // this.crossPage.$emit('refreshWorkorderList', '')
- // })
- // })
- // .catch(() => {})
- },
- qdOrder(item) {
- // this.title = '接收确认'
- // this.selectionWorkersType = 2
- // this.item = { ...item }
- // this.callback = () => {
- // this.$successToast()
- // this.getDetail()
- // this.crossPage.$emit('refreshWorkorderList', '')
- // this.$nextTick(() => {
- // this.item = null
- // this.selectionWorkersType = null
- // this.callback = null
- // })
- // }
- this.$modal({
- title: '抢单确认',
- content: '确认抢单?'
- })
- .then(() => {
- this.$api
- .post('/pg/order/base/qd', {
- orderBaseId: item.id
- })
- .then(res => {
- this.$successToast()
- this.getDetail()
- this.crossPage.$emit('refreshWorkorderList', '')
- })
- })
- .catch(() => {})
- },
- // 去收费
- toCharge(type) {
- if (type == 'M') {
- this.$navToPage({
- url: `/packageMaterial/pages/sale/orderList?type=${type}&oid=${this.id}&tabCurrent=1`
- })
- } else if (type == 'P') {
- this.$navToPage({
- url: `/packageMaterial/pages/newSale/orderList?type=${type}&oid=${this.id}&tabCurrent=1`
- })
- }
- },
- // 去配件申请
- toPartsApply() {
- this.$navToPage({
- url: `/packageMaterial/pages/partsApply/form?id=${this.id}`
- })
- },
- // 去过程反馈
- toFeedback() {
- this.$navToPage({
- url: `/packageWorkorder/pages/processFeedback?id=${this.id}`
- })
- },
- // 去过程反馈列表
- toFeedbackList() {
- this.$navToPage({
- url: `/packageWorkorder/pages/feedbackList?id=${this.id}`
- })
- },
- // 去完工明细
- toOverDetail() {
- this.$navToPage({
- url: `/packageWorkorder/pages/overDetail?id=${this.id}`
- })
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .all-container {
- position: relative;
- }
- .bg {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 300rpx;
- background: linear-gradient(179.48deg, rgba(200, 224, 251, 1) 0.45%, rgba(247, 247, 247, 1) 98.96%);
- }
- .status-container {
- padding: 30rpx;
- .status {
- font-size: 36rpx;
- font-weight: 500;
- text {
- margin-left: 12rpx;
- }
- }
- .time {
- font-size: 24rpx;
- color: $sec-font;
- margin-top: 12rpx;
- }
- }
- .tab-container {
- margin-bottom: 30rpx;
- }
- .card {
- @include zj-card;
- }
- .common-title {
- font-size: 36rpx;
- font-weight: 600;
- padding-bottom: 20rpx;
- }
- .common-title2 {
- padding-bottom: 20rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .title {
- font-size: 36rpx;
- font-weight: 600;
- }
- .right {
- font-size: 28rpx;
- color: $theme-color;
- display: flex;
- align-items: center;
- flex-wrap: wrap;
- ::v-deep .u-button {
- width: 175rpx;
- margin: 0;
- margin-left: 10rpx;
- }
- text {
- font-size: 28rpx;
- opacity: 0.5;
- }
- }
- }
- .content-container {
- padding: 0 30rpx 30rpx;
- }
- .user-container {
- .top {
- padding: 30rpx;
- .type {
- display: flex;
- align-items: center;
- justify-content: space-between;
- .left {
- font-size: 36rpx;
- color: $theme-color;
- font-weight: 500;
- }
- .right {
- font-size: 28rpx;
- color: $theme-color;
- }
- }
- .user {
- font-weight: 500;
- margin-top: 20rpx;
- }
- .address {
- display: flex;
- justify-content: space-between;
- margin-top: 20rpx;
- .text {
- font-size: 28rpx;
- flex: 1;
- margin-right: 20rpx;
- }
- .ctrl {
- font-size: 28rpx;
- color: $theme-color;
- .iconfont {
- font-size: 28rpx;
- margin-right: 4rpx;
- }
- }
- }
- }
- .bottom {
- border-top: 1px solid #eaeaea;
- display: flex;
- height: 80rpx;
- .it {
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 28rpx;
- color: $theme-color;
- &:last-child {
- border-left: 1px solid #eaeaea;
- }
- .iconfont {
- font-size: 36rpx;
- margin-right: 8rpx;
- }
- }
- }
- }
- .goods-container {
- padding: 30rpx;
- .item {
- border-bottom: 1px solid #d6e0f2;
- padding: 20rpx 0;
- &:last-child {
- border: none;
- }
- .main {
- display: flex;
- image {
- width: 140rpx;
- height: 140rpx;
- flex-shrink: 0;
- }
- .info {
- flex: 1;
- margin-left: 20rpx;
- .name {
- display: flex;
- justify-content: space-between;
- .left {
- font-weight: 500;
- }
- .right {
- margin-left: 30rpx;
- color: $sec-font;
- }
- }
- .tags {
- display: flex;
- flex-wrap: wrap;
- .it {
- height: 42rpx;
- padding: 0 16rpx;
- background: #f4f5f9;
- border-radius: 8rpx;
- font-size: 24rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-top: 12rpx;
- margin-right: 8rpx;
- &:last-child {
- margin-right: 0;
- }
- }
- }
- }
- }
- .images {
- display: flex;
- flex-wrap: wrap;
- margin-top: 24rpx;
- .it {
- margin-right: 30rpx;
- image {
- width: 116rpx;
- height: 116rpx;
- }
- .text {
- text-align: center;
- color: $sec-font;
- margin-top: 8rpx;
- }
- }
- }
- }
- .ctrl {
- display: flex;
- align-items: center;
- justify-content: center;
- margin-top: 10rpx;
- text {
- color: $sec-font;
- }
- .iconfont {
- font-size: 24rpx;
- transform: rotate(-90deg);
- margin-left: 10rpx;
- &.is {
- transform: rotate(90deg);
- }
- }
- }
- }
- .info-container {
- padding: 30rpx;
- .row {
- display: flex;
- margin-top: 20rpx;
- &:first-child {
- margin-top: 0;
- }
- .label {
- font-size: 28rpx;
- color: $sec-font;
- margin-right: 20rpx;
- flex-shrink: 0;
- }
- .value {
- font-size: 28rpx;
- }
- .ctrl {
- font-size: 28rpx;
- color: $theme-color;
- margin-left: 20rpx;
- }
- }
- }
- .product-container {
- padding: 30rpx;
- margin-bottom: 30rpx;
- .row {
- display: flex;
- .label {
- font-size: 28rpx;
- color: $sec-font;
- margin-right: 20rpx;
- flex-shrink: 0;
- }
- .value {
- font-size: 28rpx;
- flex: 1;
- }
- }
- .product {
- background: #f5f5f5;
- border-radius: 12rpx;
- padding: 20rpx;
- .it {
- display: flex;
- align-items: flex-end;
- margin-bottom: 20rpx;
- .name {
- flex: 1;
- font-size: 28rpx;
- font-weight: 500;
- text {
- color: $sec-font;
- margin-left: 12rpx;
- font-weight: normal;
- }
- }
- .price {
- margin-left: 30rpx;
- font-size: 28rpx;
- font-weight: 500;
- }
- }
- .total {
- display: flex;
- align-items: center;
- justify-content: flex-end;
- margin-top: 30rpx;
- .text {
- font-size: 28rpx;
- color: $sec-font;
- }
- .price {
- font-size: 28rpx;
- color: $minor-color;
- font-weight: 500;
- }
- }
- }
- .bottom {
- margin-top: 20rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .left {
- font-size: 28rpx;
- font-weight: 500;
- }
- .right {
- display: flex;
- align-items: center;
- .text {
- font-size: 28rpx;
- color: $sec-font;
- }
- .price {
- font-size: 28rpx;
- color: $minor-color;
- font-weight: 500;
- }
- }
- }
- }
- .feedback-container {
- padding: 30rpx;
- .list {
- .item {
- display: flex;
- padding: 10rpx 0;
- .main {
- margin-left: 20rpx;
- .name {
- font-weight: 500;
- line-height: 32rpx;
- }
- .time {
- font-size: 28rpx;
- margin-top: 12rpx;
- color: $sec-font;
- line-height: 32rpx;
- }
- .content {
- font-size: 28rpx;
- margin-top: 12rpx;
- line-height: 32rpx;
- }
- }
- }
- }
- }
- .bottom-container {
- box-sizing: border-box;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- flex-wrap: wrap;
- padding: 20rpx 20rpx 20rpx 0;
- ::v-deep .u-button {
- width: 175rpx;
- box-sizing: border-box;
- padding: 10rpx;
- margin: 0;
- margin-left: 10rpx;
- margin-bottom: 10rpx;
- }
- }
- .feedback-dialog {
- padding: 30rpx 30rpx 0;
- .title {
- margin-bottom: 30rpx;
- text-align: center;
- font-weight: 600;
- font-size: 36rpx;
- }
- .content {
- padding-bottom: 30rpx;
- max-height: 800rpx;
- overflow-y: scroll;
- }
- }
- .imgs {
- display: flex;
- flex-wrap: wrap;
- .it {
- display: flex;
- flex-direction: column;
- align-items: center;
- position: relative;
- margin-top: 30rpx;
- margin-right: 30rpx;
- &:nth-child(3n) {
- margin-right: 0;
- }
- image {
- width: 190rpx;
- height: 190rpx;
- background: #f4f4f7;
- border-radius: 20rpx;
- overflow: hidden;
- }
- .name {
- margin-top: 24rpx;
- color: $sec-font;
- text {
- color: $minor-color;
- }
- }
- }
- }
- </style>
|