Browse Source

提交

feature-1.0
LiLingxiao 4 years ago
parent
commit
0b9f8eae31
  1. 15
      pages/profit/profitInOrder.vue

15
pages/profit/profitInOrder.vue

@ -33,15 +33,15 @@
<view class="border"></view> <view class="border"></view>
<view class="box"> <view class="box">
<text class="title">确认类型:</text> <text class="title">确认类型:</text>
<text>{{ orderDetail.confirmType }}</text> <text>{{ setConfirmType(orderDetail.confirmType) }}</text>
</view> </view>
<view class="box"> <view class="box">
<text class="title">确认时间:</text> <text class="title">确认时间:</text>
<text>{{ orderDetail.confirmTime }}</text> <text>{{ orderDetail.confirmTime || "待确认"}}</text>
</view> </view>
<view class="box"> <view class="box">
<text class="title">确认状态:</text> <text class="title">确认状态:</text>
<text>{{ orderDetail.confirmStatus }}</text> <text>{{ orderDetail.confirmStatus == 0 ? "待确认" : "已确认" }}</text>
</view> </view>
<!-- <uni-title type="h1" title="结算单号" align="left" /> <!-- <uni-title type="h1" title="结算单号" align="left" />
@ -134,6 +134,15 @@ export default {
} }
}); });
}, },
setConfirmType(data) {
if (data == "0") {
return "系统自动";
} else if (data == "1") {
return "艺术家手动";
} else {
return "待确认";
}
},
}, },
}; };
</script> </script>

Loading…
Cancel
Save