123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810 |
- <!-- 订单详情-->
- <template>
- <view class="content">
- <view class="fixed1"></view>
- <view class="fixed">
- <view class='title flex flex-center'>
- <image class="back" src="../../static/images/return.png" @click="back" mode="" style="width: 40rpx; height: 40rpx;"></image>
- <!-- <u-icon class="back" name="arrow-left" color="" size="20" ></u-icon> -->
- <view class="nav-title">订单</view>
- <image class="search" style='width:18px;height:18px;' src="../../static/images/kefu.png" @click="$helper.contactCustomerService()" mode=""></image>
- <!-- <u-icon class="search" name="server-fill" color="" size="28" @click="$helper.contactCustomerService"></u-icon> -->
- </view>
- </view>
- <view class="content1">
- <view class="item1">
- <view class="status">{{dataObj.orderStatus}}</view>
- </view>
- <!-- flex flex-space-between -->
- <view class="item2">
- <u-button class="btn" @click="lookContract" v-if="dataObj.driverContract=='1'">查看合同</u-button>
- <!-- <u-button class="btn" text="签订合同" @click="signContract" v-if="dataObj.cargoOwnerStatus=='未装车'&&dataObj.driverContract!='1'"></u-button> -->
- <u-button class="btn" text="终止" @click="stop" v-if="dataObj.orderStatus=='待货主确认'||dataObj.orderStatus=='未装车'"></u-button>
- <!-- <u-button class="btn" text="联系客服" @click="$helper.contactCustomerService()"></u-button> -->
- <u-button v-if="dataObj.orderStatus=='未装车'" class="btn" text="确认装车" @click="confirmLoading" ></u-button>
- <!-- <u-button class="btn" text="确认装车" @click="confirmLoading"></u-button> -->
- <u-button class="btn" text="修改装车信息" @click="confirmLoading" v-if="dataObj.orderStatus=='货主驳回装车信息'||dataObj.orderStatus=='平台驳回装车信息'"></u-button>
- <u-button class="btn" text="确认卸车" @click="confirmUnLoading" v-if="dataObj.orderStatus=='运输中'"></u-button>
- <u-button class="btn" text="确认运费" @click="checkfreight(1)" v-if="dataObj.orderStatus=='待确认运费'"></u-button>
- <u-button class="btn" text="驳回运费" @click="checkfreight(2)" v-if="dataObj.orderStatus=='待确认运费'"></u-button>
- <u-button class="btn" text="修改卸车信息" @click="confirmUnLoading" v-if="dataObj.orderStatus=='货主驳回卸车信息'||dataObj.orderStatus=='平台驳回卸车信息'"></u-button>
- <u-button class="btn" text="完结" @click="closed" v-if="dataObj.orderStatus=='结算中'"></u-button>
- </view>
- <view class="item3 flex flex-space-between align-center">
- <view @click.stop="cargoOwner(dataObj)" class="left flex align-center">
- <u--image :showLoading="true" :src="dataObj.cargoOwnerPortrait" width="44px" height="44px" @click="" shape='circle'>
- </u--image>
- <view class="name">{{dataObj.cargoOwner}}</view>
- <view class="flex align-center">
- <!-- <view class="number">4.98</view> -->
- <!-- <u-icon class="star" name="star-fill" color="#FEC823" size="20" @click="back"></u-icon> -->
- </view>
- </view>
- <view class="right flex s-row align-center phone">
- <view class="bgc">
- <image class="phone" style='width:24px;height:24px;' src="../../static/images/dianhua.png" @click="$helper.contactCustomerService(dataObj.cargoOwnerPhone)" mode=""></image>
- <!-- <u-icon class="phone" name="phone-fill" color="#F5BA3C" size="20" @click="$helper.contactCustomerService(dataObj.cargoOwnerPhone)"></u-icon> -->
- </view>
- <view class="hz-name">联系货主</view>
- </view>
- </view>
- <!-- <view class='row-between'>
- <view class="">货主</view>
- <view>张三</view>
- </view>
- <view class='row-between'>
- <view class="">货主单位</view>
- <view>黑龙江中天昊元贸易有限公司</view>
- </view>
- <view class='row-between'>
- <view class="">卸货地</view>
- <view>黑龙江省齐齐哈尔市梅里斯达斡尔族区杜尔门沁达斡尔乡53农场</view>
- </view>
- <view class='row-between'>
- <view class="">货名</view>
- <view>玉米</view>
- </view>
- <view class='row-between'>
- <view class="">距离</view>
- <view>约15公里</view>
- </view>
- <view class='row-between'>
- <view class="">货运费</view>
- <view>100元/吨</view>
- </view> -->
- </view>
- <view class="content2">
- <view class="flex flex-space-between border">
- <view class="flex s-row item1">
- <view class="fontsize-46 fontweight-500 text">{{dataObj.sendCity}}</view>
- <view class="fontsize-28 gray">发货地</view>
- </view>
- <image class="change-btn" src="@/static/images/common/jt.png" mode='widthFix'></image>
- <view class="flex s-row item2">
- <view class="fontsize-46 fontweight-500 text" @click="">{{dataObj.unloadCity}}</view>
- <view class="fontsize-28 gray text-align-right">卸货地</view>
- </view>
- </view>
- <view class="level2-title">基本信息</view>
- <view class='row-between'>
- <view class=" gray">订单编号</view>
- <view class="">{{dataObj.orderNo}}</view>
- </view>
- <!-- <view class='row-between'>
- <view class=" gray">货主</view>
- <view class="">{{dataObj.cargoOwner}}</view>
- </view> -->
- <view class='row-between'>
- <view class=" gray">货主单位</view>
- <view class="">{{dataObj.compName?dataObj.compName:'个人货主'}}</view>
- </view>
- <view class='row-between'>
- <view class=" gray">发货地</view>
- <view class=" place">{{dataObj.sendPrivate}}{{dataObj.sendCity}}{{dataObj.sendArea}}{{dataObj.sendDetailedAddress}}</view>
- </view>
- <view class='row-between'>
- <view class=" gray">卸货地</view>
- <view class=" place">{{dataObj.unloadPrivate}}{{dataObj.unloadCity}}{{dataObj.unloadArea}}{{dataObj.unloadDetailedAddress}}</view>
- </view>
- <view class='row-between'>
- <view class=" gray">货名</view>
- <view class="">{{dataObj.goodsName}}</view>
- </view>
- <view class='row-between'>
- <view class=" gray">距离</view>
- <view class="">约{{dataObj.distance}}公里</view>
- </view>
- <view v-if='dataObj.publishTaskInfo' class='row-between'>
- <view class=" gray">收货联系人</view>
- <view class="flex flex-center">{{dataObj.publishTaskInfo.sender?dataObj.publishTaskInfo.sender:''}}
- <image style='width:12px;height:12px;margin-left:5px;' v-if='dataObj.publishTaskInfo.senderPhone' class="phone" @click="$helper.contactCustomerService(dataObj.publishTaskInfo.senderPhone)" src="../../static/images/order/dianhua.png" mode=""></image>
- </view>
- </view>
- <view v-if='dataObj.publishTaskInfo' class='row-between'>
- <view class=" gray">发货联系人</view>
- <view class="flex flex-center">{{dataObj.publishTaskInfo.receiver?dataObj.publishTaskInfo.receiver:''}}
- <image style='width:12px;height:12px;margin-left:5px;' v-if='dataObj.publishTaskInfo.receiverPhone' class="phone" @click="$helper.contactCustomerService(dataObj.publishTaskInfo.receiverPhone)" src="../../static/images/order/dianhua.png" mode=""></image>
- </view>
- <!-- <view class='row-between'>
- <view class=" gray">运费</view>
- <view class="">{{dataObj.freight}}{{dataObj.illingMethod==0?'元/吨':'元/车'}}</view>
- </view> -->
- </view>
- <view class="content3" v-if='dataObj.orderStatus!="待货主确认"&&dataObj.orderStatus!="未装车"&&dataObj.orderStatus!="已终止"'>
- <view class="level2-title">承运信息</view>
- <view class='row-between'>
- <view class=" gray">合同编号</view>
- <view class="">{{carrierInfo.contractNo}}</view>
- </view>
- <view class='row-between'>
- <view class=" gray">车牌号</view>
- <view class="">{{carrierInfo.carNo}}</view>
- </view>
- <view class='row-between'>
- <view class=" gray">运费</view>
- <view class="">{{carrierInfo.estimatedFreight}}元</view>
- </view>
- <view v-if='dataObj.billingMethod==1' class='row-between'>
- <view class="gray">预付款(元)</view>
- {{dataObj.advanceCharge}}元
- </view>
- <view class='row-between'>
- <view class=" gray">装车时间</view>
- <view class="">{{carrierInfo.loadingDate}}</view>
- </view>
- <view class='row-between'>
- <view class=" gray">运输时长</view>
- <view class="">{{carrierInfo.transportationDuration }} 小时</view>
- </view>
- <view class='row-between'>
- <view class=" gray">装车照片</view>
- <view class="flex">
- <u--image @click='ylImg(zcPhoneList)' :showLoading="true" :src='item' width="40px" height="40px" v-for="(item,index) in zcPhoneList"></u--image>
- </view>
- </view>
- <view v-if='dataObj.orderStatus!="待货主确认"&&dataObj.orderStatus!="未装车"&&dataObj.orderStatus!="待货主确认装车"&&dataObj.orderStatus!="货主驳回装车信息"&&dataObj.orderStatus!="待平台确认装车"&&dataObj.orderStatus!="平台驳回装车信息"&&dataObj.orderStatus!="运输中"&&dataObj.orderStatus!="已终止"'>
- <view class='row-between'>
- <view class=" gray">合计应付运费</view>
- <view class="">{{carrierInfo.totalFreight}}元</view>
- </view>
- <view class='row-between'>
- <view class=" gray">卸车时间</view>
- <view class="">{{carrierInfo.loadingDate}}</view>
- </view>
- <view class='row-between'>
- <view class=" gray">卸车照片</view>
- <view class="flex">
- <u--image @click='ylImg(xcPhoneList)' :showLoading="true" :src='item' width="40px" height="40px" v-for="(item,index) in xcPhoneList"></u--image>
- </view>
- </view>
- <view class='row-between'>
- <view class=" gray">回单照片</view>
- <view class="flex">
- <u--image @click='ylImg(hdPhoneList)' :showLoading="true" :src='item' width="40px" height="40px" v-for="(item,index) in hdPhoneList"></u--image>
- </view>
- </view>
- </view>
-
- </view>
- <!-- v-if="status2 -->
- <!-- dataObj.orderStatus!="待货主确认"&&dataObj.orderStatus!="未装车"&&dataObj.orderStatus!="待货主确认装车"&&dataObj.orderStatus!="货主驳回装车信息"&&dataObj.orderStatus!="待平台确认装车"&&dataObj.orderStatus!="平台驳回装车信息"&&dataObj.orderStatus!="已终止" -->
- <view class="content4" v-if='status2'>
- <view class="level2-title">运费信息(单位:元)</view>
- <view class='row-between'>
- <view class=" gray">预付运费</view>
- <view class="">{{freightInfo.prepaidFreightDate?freightInfo.prepaidFreight:'未支付'}}</view>
- </view>
- <view class='flex flex-end'>
- <view class="">{{freightInfo.prepaidFreightDate}}</view>
- </view>
- <view class='row-between'>
- <view class=" gray">运费尾款</view>
- <view class="">{{freightInfo.freightBalance?freightInfo.freightBalance:'未支付'}}</view>
- </view>
- <view class='flex flex-end'>
- <view class="">{{freightInfo.freightBalanceDate}}</view>
- </view>
- <view class='row-between mx ' v-if="freightInfo.freightBalance">
- <!-- 明细:预付{{freightInfo.prepaidFreight}}元,服务费{{freightInfo.driverServiceCharge}}元,尾款{{freightInfo.freightBalance}}元,合计收款{{freightInfo.totalCollection}}元。 -->
- 明细:预付{{freightInfo.prepaidFreight}}元,尾款{{freightInfo.freightBalance}}元,合计收款{{freightInfo.totalCollection}}元。
- </view>
- </view>
- <u-modal :show="isShowAlert" :title="alertTitle" :content='alertContent' :confirmText='confirmText'
- :closeOnClickOverlay='true' :showCancelButton='showCancelButton' @confirm="$u.throttle(confirmClick(), 1000)" @close="cancelClick"
- @cancel="cancelClick" class="modal">
- <u-radio-group v-model="radiovalue1" placement="" v-if='isShowTerminationReason' class='row'>
- <u-radio :customStyle="{marginBottom: '8px'}" v-for="(item, index) in radiolist1" :key="index"
- :label="item.name" :name="item.name">
- </u-radio>
- </u-radio-group>
- <u--textarea class="row" v-model="value2" placeholder="终止原因描述" count maxlength='50'
- v-if='isShowTerminationReason'>
- </u--textarea>
- </u-modal>
- <u-popup :show="show" mode="bottom" @close="close" @open="open">
- <view class="u-popup-wrap">
- <view>
- <image style='width:12px;height:12px;' @click='closepopup' class='close' src="../../static/images/order/guanbi@3x.png" mode=""></image>
- <!-- <u-icon @click="closepopup" class='close' name="close" size="20"></u-icon> -->
- </view>
-
- <view style='fon-size:34rpx;margin-bottom:20px;text-align:center;font-weight: 600;'>确认终止订单</view>
- <view style="margin: 0 auto;">
- <u-radio-group iconPlacement="right" v-model="radiovalue1" placement="" v-if='isShowTerminationReason' >
- <u-radio :customStyle="{marginBottom: '8px'}" v-for="(item, index) in radiolist1" :key="index"
- :label="item.name" :name="item.name">
- </u-radio>
- </u-radio-group>
- </view>
- <view style='border-top:10px solid #F2F4F7;position:absolute;left:0;height:0;width:100%;'></view>
- <view style='padding:40rpx 0 30rpx;'>终止原因描述</view>
- <u--textarea class="row" v-model="value2" placeholder="终止原因描述" count maxlength='50'
- v-if='isShowTerminationReason'>
- </u--textarea>
- <view class='termination' :class="{'active':value2.length>0}" @click='$u.throttle(confirmClick, 1000)'>终止</view>
- </view>
-
- </u-popup>
- <u-modal :show="moneyShow" title="提示" :content='freightContent' showCancelButton @confirm="moneyClick" @close="moneyclose"
- @cancel="moneyclose"></u-modal>
- <u-toast ref="uToast"></u-toast>
- </view>
- </view>
- </template>
- <script>
- import uniPopup from '@/components/uni-popup/uni-popup.vue'
- export default {
- components:{
- uniPopup
- },
- data() {
- return {
- zcPhoneList:[],
- xcPhoneList:[],
- hdPhoneList:[],
- show:false,
- carrierInfo:{},
- freightInfo:{},
- cyinfoStatus: '未装车',
- isShowTerminationReason: false,
- dataObj:{},
- status1:false,
- status2:false,
- id: '',
- showCancelButton:true,
- value2: '',
- radiolist1: [{
- name: '已与货主协商',
- disabled: false
- },
- {
- name: '货主原因终止',
- disabled: false
- },
- {
- name: '司机个人原因终止',
- disabled: false
- }, {
- name: '其他',
- disabled: false
- }
- ],
- radiovalue1: '已与货主协商',
- confirmText: '终止',
- alertTitle: '确定终止订单?',
- alertContent: "",
- isShowAlert: false,
- moneyShow:false,
- freightContent:"",
- tips:""
- }
- },
- onLoad(options) {
- this.id = options.id
- },
- onShow() {
- this.getList()
- },
- methods: {
- open() {
- // console.log('open');
- },
- close() {
- this.show = false
- // console.log('close');
- },
- cargoOwner(_obj){
- // uni.$u.route('/pages/order/evaluateList');
- // console.log("查看---------------",_obj)
- uni.$u.route('/pages/order/cargoOwnerSee',_obj)
- },
- moneyclose(){
- this.moneyShow=false
- },
- moneyClick(){
- this.$request.baseRequest('post', '/orderInfo/api/confirmFreight', {
- id: this.dataObj.id,
- typeFlag:2,
- examineFlag:this.tips
- }).then(res => {
- if (res.code == 200) {
- this.$refs.uToast.show({
- type: 'success',
- message: this.tips == 1?"确认成功":"驳回成功",
- })
- this.moneyShow=false
- this.getList()
- }
- })
- },
- checkfreight(num){
- this.tips = num
- if(num == 1){
- this.freightContent = "合计应付运费 "+ this.dataObj.hyCarrierInfo.totalFreight + " 元,确认无误?"
- }else{
- this.freightContent = "确认驳回运费信息?"
- }
- this.moneyShow=true
- },
- ylImg(src) {
- uni.previewImage({
- urls: src,
- longPressActions: {
- itemList: ['发送给朋友', '保存图片', '收藏'],
- success: function(data) {
- console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
- },
- fail: function(err) {
- console.log(err.errMsg);
- }
- }
- });
- },
- closepopup(){
- this.show=false
- },
- lookContract(){
- uni.downloadFile({
- url: this.dataObj.driverContractUrl,
- success: function (res) {
- var filePath = res.tempFilePath;
- uni.openDocument({
- filePath: filePath,
- showMenu: true,
- success: function (res) {
- console.log('打开文档成功');
- }
- });
- }
- });
- // this.$request.baseRequest('get', '/orderInfo/setPdf', {
- // }).then(res => {
- // if (res.code == 200) {
- // this.contractSrc = res.data
- // uni.downloadFile({
- // url: res.data,
- // success: function (res) {
- // var filePath = res.tempFilePath;
- // uni.openDocument({
- // filePath: filePath,
- // showMenu: true,
- // success: function (res) {
- // console.log('打开文档成功');
- // }
- // });
- // }
- // });
- // // this.$refs.uToast.show({
- // // type: 'success',
- // // message: "提交成功",
- // // complete() {
- // // that.upCallback({
- // // size: 10,
- // // num: 1
- // // })
- // // }
- // // })
- // }
- // })
- // .catch(res => {
- // uni.$u.toast(res.message);
- // });
- },
- signContract() {
- // this.lookAlert = true
- uni.$u.route('/pages/order/signContract',{obj:encodeURIComponent(JSON.stringify(this.dataObj))}
- );
- },
- // 完结
- closed() {
- let item = this.dataDetails
- let that = this
- this.$request.baseRequest('post', '/orderInfo/api/editEnd', {
- id: item.id,
- }).then(res => {
- if (res.code == 200) {
- this.$refs.uToast.show({
- type: 'success',
- message: "提交成功",
- complete() {
- that.upCallback({
- size: 10,
- num: 1
- })
- }
- })
-
- }
- })
- .catch(res => {
- uni.$u.toast(res.message);
- });
- },
- confirmLoading() {
- var that = this
- this.$request.baseRequest('get', '/driverCarInfo/selectDriverCar', {
- commonId: uni.getStorageSync('userInfo').id,
- searchType:2
- }).then(res => {
- if (res.code == '200') {
- if(res.data&&res.data.length>0){
- uni.$u.route('/pages/order/confirmLoading', {
- obj: JSON.stringify({id:that.id,carrierId:that.dataObj.hyCarrierInfo.id}),
- });
- }else{
- that.alertTitle = '尚未完成车辆认证!'
- that.showCancelButton = false
- that.confirmText = '立即添加'
- that.isShowAlert = true
- }
- } else {
- uni.$u.toast(res.message);
- }
- })
- .catch(res => {
- uni.$u.toast(res.message);
- });
-
- // uni.$u.route('/pages/order/confirmLoading', {id:this.id});
- },
- confirmUnLoading() {
- let item = this.dataObj
- uni.$u.route('/pages/order/confirmUnloading', {obj:JSON.stringify(item)});
- },
- confirmClick() {
- if(this.alertTitle == '尚未完成车辆认证!'){
- uni.$u.route('/pages/mine/manageVehicles/index');
- }else{
- let that = this
- if (this.radiovalue1 == '其他' && !this.value2) {
- this.$refs.uToast.show({
- type: 'error',
- message: "请填写终止原因描述!",
- })
- return
- }
- let _terminationReason = ''
- if (this.radiovalue1 == '已与货主协商') {
- _terminationReason = 1
- } else if (this.radiovalue1 == '货主原因终止') {
- _terminationReason = 2
- } else if (this.radiovalue1 == '司机个人原因终止') {
- _terminationReason = 3
- } else if (this.radiovalue1 == '其他') {
- _terminationReason = 4
- }
- this.$request.baseRequest('post', '/orderInfo/api/end', {
- id: this.id,
- terminationReason: _terminationReason,
- terminationReasonDescription: this.value2,
- terminator:1
- }).then(res => {
- this.show=false
- this.radiovalue1 == '已与货主协商'
- this.value2=''
- this.isShowAlert = false
-
- // this.mescroll.resetUpScroll()
- this.$refs.uToast.show({
- type: 'success',
- message: "提交成功!",
- complete() {
- that.getList()
- }
- })
- })
- .catch(res => {
- uni.$u.toast(res.message);
- });
- }
- },
- cancelClick() {
- this.isShowAlert = false
- },
- stop() {
- let item = this.dataObj
- // 货主接单
- this.id = item.id
- if (item.orderStatusKey == 1) {
- this.isShowTerminationReason = false
- } else {
- this.isShowTerminationReason = true
- }
- if(item.orderStatus=='未装车'){
- this.show = true
- }else{
- this.isShowAlert=true
- }
- },
- toPhone(){
- uni.makePhoneCall({
- phoneNumber: this.dataObj.cargoOwnerPhone
- });
- },
- back() {
- uni.navigateBack()
- },
- getList(){
- this.$request.baseRequest('get', '/orderInfo/getOrderInfo', {
- id: this.id,
- }).then(res => {
- if(res.code==200){
- this.dataObj = res.data
- if(res.data.hyCarrierInfo){
- this.carrierInfo = res.data.hyCarrierInfo
- }
- this.freightInfo = res.data.freightInfo
- if(this.carrierInfo.loadingImg&&this.carrierInfo.loadingImg.length>0){
- this.zcPhoneList = this.carrierInfo.loadingImg.split(',')
- }
- if(this.carrierInfo.unloadingImg&&this.carrierInfo.unloadingImg.length>0){
- this.xcPhoneList = this.carrierInfo.unloadingImg.split(',')
- }
- if(this.carrierInfo.receiptImg&&this.carrierInfo.receiptImg.length>0){
- this.hdPhoneList = this.carrierInfo.receiptImg.split(',')
- }
- // if(res.data.orderStatus!="待货主确认"&&res.data.orderStatus!="未装车"&&res.data.orderStatus!="已终止"){
- // this.status1 = true
- // }
- // 运费信息
- if (res.data.cargoOwnerStatus != "待接单" && res.data.cargoOwnerStatus != "未装车" && res.data
- .cargoOwnerStatus != "待确认装车" && res.data.cargoOwnerStatus != "已驳回装车信息" && res.data
- .cargoOwnerStatus != "待平台确认装车" && res.data.cargoOwnerStatus != "平台驳回装车信息" && res.data.cargoOwnerStatus != "待结算" && res.data
- .cargoOwnerStatus != "已终止") {
- this.status2 = true
- }
- }
-
- })
- },
- goConfirmLoading(id) {
- uni.$u.route('/pages/order/confirmLoading', {
- obj: JSON.stringify({id:this.id}),
- });
- },
- }
- }
- </script>
- <style lang="scss">
- .content{
- min-height: 100vh;
- }
- .fixed,
- .fixed1 {
- background: white;
- position: fixed;
- top: var(--status-bar-height);
- z-index: 999;
- width: 100%;
- }
- .fixed {
- padding-bottom: 10rpx;
- .title {
- background: white;
- position: relative;
- font-size: 36rpx;
- color: rgba(0, 0, 0, 0.85);
- .search {
- position: absolute;
- right: 20rpx;
- }
- .back {
- position: absolute;
- left: 20rpx;
- width:18px;height:18px;
- }
- }
- }
- .fixed1 {
- top: 0;
- height: var(--status-bar-height);
- background: white;
- }
- .row-between{
- margin-bottom: 10rpx;
- }
- .content1 {
- background: white;
- margin: calc(var(--status-bar-height) + 80rpx) 20rpx 0 20rpx;
- border-radius: 20rpx;
- padding: 40rpx 0rpx 0 0;
- box-sizing: border-box;
- .status {
- display: flex;
- justify-content: center;
- margin-bottom: 40rpx;
- font-size: 36rpx;
- color: #333333;
- font-weight: 700;
- }
- .btn {
- width: 40%;
- margin-top: 20rpx;
- }
- .item2 {
- padding-bottom: 40rpx;
- }
- .item3 {
- padding: 20rpx;
- background: linear-gradient(180deg, #F7F7F9 0%, #FFFFFF 100%);
- border-radius: 0 0 20rpx 20rpx;
- .name {
- margin-left: 10rpx;
- margin-right: 20rpx;
- font-size: 32rpx;
- font-weight: 500;
- color: #333333;
- }
- .number {
- font-size: 26rpx;
- color: #878787;
- }
- .star {
- margin-left: 10rpx;
- }
- .phone {
- .bgc {
- background: #E5F0FE;
- width: 58rpx;
- height: 58rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 50%;
- }
- .hz-name {
- font-size: 26rpx;
- color: #F5BA3C;
- }
- }
- }
- }
- .level2-title {
- margin: 20rpx 0 20rpx 0;
- }
- .content2 {
- background: white;
- margin: 20rpx;
- border-radius: 20rpx;
- padding: 20rpx;
- .change-btn {
- width: 86rpx;
- height: 86rpx;
- position: relative;
- top: -20rpx;
- }
- .item1,
- .item2 {
- width: 40%;
- .text {
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- }
- .gray {
- text-align: center;
- }
- }
- .item1 .text {
- text-align: center;
- }
- .item2 .text {
- text-align: center;
- }
- .border {
- border-bottom: 1px solid #EEEEEE;
- padding-bottom: 33rpx;
- }
- .place {
- width: 80%;
- text-align: right;
- }
- }
- .content3,
- .content4 {
- background: white;
- margin: 20rpx 0;
- border-radius: 20rpx;
- padding: 20rpx 0;
- }
- .content3{
- padding: 20rpx 0;
- margin:20rpx 0;
- }
- .content4 {
- .time{
- text-align: right;
- }
- .mx {
-
- background: #F7F8FA;
- padding: 10rpx;
- margin: 10rpx 0;
- }
- }
- /deep/.u-modal__content {
- flex-direction: column;
- }
- /deep/.u-popup__content{
- border-radius: 10px;
- // padding:20px;
- }
- /deep/.u-radio{
- margin:40rpx 0;
- }
- .close{
- position:absolute;
- right:20px;
- top:26px;
- }
- .termination{
- background:#F1F3F6;
- color:#C5CAD4;
- padding:10px;
- border-radius:30px;
- text-align: center;
- margin-top:30rpx;
- }
- .termination.active{
- background: #F5BA3C;
- color: white;
- }
- .u-popup-wrap{
- padding:20px;
- }
- </style>
|