123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806 |
- <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 => {
- if (res.data) {
- // 支付成功
- this.getPayList(() => {
- this.state = 2
- })
- } else {
- // 支付失败
- this.getPayList(() => {
- this.state = 4
- })
- }
- })
- .catch(res => {
- // 等待支付
- if (res.message === 'USERPAYING') {
- 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>
|