调整订单列表,调整确认方案显示问题

This commit is contained in:
唐明明
2023-01-04 16:13:43 +08:00
parent 5dd934729e
commit 0755575f08
5 changed files with 60 additions and 20 deletions

View File

@@ -1,7 +1,10 @@
<template>
<view class="content">
<view class="scheme-item" v-for="(item, index) in list" :key="index">
<view class="no">{{item.order.order_no}}</view>
<view class="no">
<view class="no-text nowrap">{{item.order.order_no}}</view>
<text class="no-status nowrap">{{item.status.text}}</text>
</view>
<view class="scheme-content">
<view class="scheme-flex" @click="item.is_show_type = !item.is_show_type">
<label>业务类型</label>
@@ -18,14 +21,6 @@
<view class="item-flex-value">{{citem.price}}</view>
</view>
</view>
<view class="scheme-flex">
<label>应确认方案</label>
<view class="value nowrap">{{item.confirm.all}}</view>
</view>
<view class="scheme-flex">
<label>应确认方案</label>
<view class="value nowrap">{{item.confirm.confirm}}</view>
</view>
<view class="scheme-flex">
<label>当前方案</label>
<view class="value nowrap">{{item.institution.title}}<text class="tag">{{item.business_type.title}}</text></view>
@@ -41,7 +36,7 @@
<view class="user-name">{{item.order.manager.nickname}}</view>
</view>
<view class="btns">
<view class="btns-item" @click="$Router.push({name: 'ConfirmSchemeInfo', params: {schemeId: item.business_order_close_scheme_id}})">确认方案</view>
<view class="btns-item" v-if="item.status.value === 1" @click="$Router.push({name: 'ConfirmSchemeInfo', params: {schemeId: item.business_order_close_scheme_id}})">确认方案</view>
</view>
</view>
</view>
@@ -68,6 +63,7 @@
current : 1,
has_more: false,
}
this.$store.commit('setOrderId', this.$Route.query.orderId)
this.getList()
},
methods: {
@@ -129,6 +125,17 @@
line-height: 90rpx;
border-bottom: solid 1rpx #f6f6f6;
font-size: 30rpx;
display: flex;
justify-content: space-between;
.no-text{
width: calc(100% - 200rpx);
}
.no-status{
width: 200rpx;
text-align: right;
color: $main-color;
font-weight: bold;
}
}
.scheme-content{
padding: 20rpx 30rpx;