增加指派订单展示

This commit is contained in:
TOP糯米 2023-03-30 16:54:56 +08:00
parent a0e78d2bd2
commit 963745ac42
2 changed files with 8 additions and 6 deletions

View File

@ -6,10 +6,12 @@ export default {
switch (listType) {
case "t1": return ["购买服务", "#3ABCF6"];
case "t2":
if (orderType == 2) {
return ["报价"];
}
if (orderType == 1) {
return ["一口价", "#3ABCF6"];
} else if (orderType == 2) {
return ["报价", "#8b9beb"];
}
return ["指派", "#f7a134"];
case "t3": return ["货运", "#628BE7"];
}
},
@ -62,7 +64,7 @@ export default {
content: item.desc,
createTime: item.time,
serviceTime: item.times,
orderType: item.types,
orderType: item.assign == 1 ? 3 : item.types,
state: item.status,
price: item.money,
});
@ -106,7 +108,7 @@ export default {
content: response.data.desc,
createTime: response.data.time,
serviceTime: response.data.times,
orderType: response.data.types,
orderType: response.data.assign == 1 ? 3 : response.data.types,
state: response.data.status,
price: response.data.money,
orderId: response.data.order,

View File

@ -39,7 +39,7 @@
<text class="datetime">
{{ order.serviceTime }}
</text>
<text class="iconfont icon-bianji"></text>
<!-- <text class="iconfont icon-bianji"></text> -->
</view>
</view>
<view class="demand-item">