feat: 工单的调整
This commit is contained in:
@@ -7,7 +7,11 @@
|
|||||||
<view class="order-title">
|
<view class="order-title">
|
||||||
{{ orderData.workOrderTypeName || orderData.commodityName }}
|
{{ orderData.workOrderTypeName || orderData.commodityName }}
|
||||||
</view>
|
</view>
|
||||||
<image class="arrow-icon" src="./images/arrow.png"></image>
|
<image
|
||||||
|
v-if="props.orderData.orderType !== undefined"
|
||||||
|
class="arrow-icon"
|
||||||
|
src="./images/arrow.png"
|
||||||
|
></image>
|
||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
v-if="orderData.status !== 'pending'"
|
v-if="orderData.status !== 'pending'"
|
||||||
@@ -107,6 +111,7 @@ const getStatusText = (status) => {
|
|||||||
|
|
||||||
// 处理卡片点击
|
// 处理卡片点击
|
||||||
const handleCardClick = () => {
|
const handleCardClick = () => {
|
||||||
|
if (props.orderData.orderType === undefined) return;
|
||||||
emit("click", props.orderData);
|
emit("click", props.orderData);
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user