Browse Source

修复代码提交

master
主管理员 1 month ago
parent
commit
d88e8f26c4
3 changed files with 17 additions and 8 deletions
  1. +7
    -5
      otherPages/orderTakingManage/detail/index.vue
  2. +8
    -2
      pages/orderTakingManage/components/list.vue
  3. +2
    -1
      pages/orderTakingManage/index.vue

+ 7
- 5
otherPages/orderTakingManage/detail/index.vue View File

@ -21,7 +21,8 @@
<view>
本单酬劳
<view class="vertically_center text1">
¥ {{ orderDetail.pet_payment_bcs[userInfo.userBcsRole - 1].paramValueNo * orderDetail.order?.h5OrderVO?.payAmount }}
¥ {{ orderDetail.order.orderGive}}
<!-- ¥ {{ orderDetail.pet_payment_bcs[userInfo.userBcsRole - 1].paramValueNo * orderDetail.order?.h5OrderVO?.payAmount }} -->
</view>
</view>
</view>
@ -103,7 +104,7 @@
合计
</view>
<view class="money_text">
¥&nbsp;{{ orderDetail.order?.payAmount }}
¥&nbsp;{{ orderDetail.order.price }}
</view>
</view>
</view>
@ -118,7 +119,7 @@
订单编号
</view>
<view>
{{ orderDetail.order.id }}
{{ orderDetail.order.orderSn }}
</view>
</view>
<view class="line1">
@ -138,7 +139,7 @@
支付时间
</view>
<view>
{{ orderDetail.order?.payTime }}
{{ orderDetail.order.payTime }}
</view>
</view>
</view>
@ -346,7 +347,8 @@
const getDetail = async () => {
let response = await getByOrderId({
id: orderId.value
id: orderId.value,
userId: userInfo.value.userId,
});
if (response.code == 200 && response.data) {
orderDetail.value = response.data;


+ 8
- 2
pages/orderTakingManage/components/list.vue View File

@ -25,7 +25,7 @@
</view> -->
<!-- <view style="margin: 18rpx 0">期望上门时间{{itemService.expectServiceTime}}</view> -->
<view class="" style="margin-top: 10rpx;">{{ pet.breed }}{{ pet.bodyType }} | {{ pet.productNameText.join(',') }}
<view class="" style="margin-top: 10rpx;">{{ pet.breed }}({{ pet.bodyType }}) | {{ pet.productNameText.join(',') }}
<!-- <text v-for="itemPet in item.h5OrderVO.orderItemList" :key="itemPet.id">
{{ itemPet.productName }}
@ -40,12 +40,18 @@
<view class="mb28 address" style="font-size: 26rpx;">{{ item.address }}</view>
<view class="mb28" style="padding-left: 20rpx;font-size: 26rpx;"
v-if="item.type == 0">订单为系统派发请确认订单信息后再抢单</view>
<view class="flex flex-between">
<view class="flex flex-between" v-if="current != 2">
<up-button @click="unableToAcceptOrder(item.id)" text="无法接单" shape="circle" plain
class="mr20"></up-button>
<up-button @click="toOrderDetail(item.id)" type="primary" text="查看详情后接单" shape="circle"
color="#FFAA48"></up-button>
</view>
<view class="flex flex-between" v-if="current == 2">
<!-- <up-button @click="unableToAcceptOrder(item.id)" text="无法接单" shape="circle" plain
class="mr20"></up-button> -->
<up-button @click="toOrderDetail(item.id)" type="primary" text="查看派单详情" shape="circle"
color="#FFAA48"></up-button>
</view>
</view>
</view>
</up-list-item>


+ 2
- 1
pages/orderTakingManage/index.vue View File

@ -75,7 +75,8 @@ import { getOrderServiceText, getProductNameText } from '@/utils/serviceTime.js'
const getOrderList = async () => {
let response = await orderList({
type: current.value,
userIdJson: userInfo.value.userId
userIdJson: userInfo.value.userId,
userId:userInfo.value.userId,
});
if (response.code == 200 && response.data) {
orderlist.value = response.data.rows;


Loading…
Cancel
Save