Commit b8edd403 by wusiyi

fix: 类型报错修复

parent be2d7210
...@@ -1611,7 +1611,6 @@ ...@@ -1611,7 +1611,6 @@
</span> </span>
</template> </template>
<template #operations> <template #operations>
<div <div
v-if="cardItem?.customizedQuantity" v-if="cardItem?.customizedQuantity"
class="customizedQuantity" class="customizedQuantity"
...@@ -1653,15 +1652,12 @@ ...@@ -1653,15 +1652,12 @@
/> />
</div> </div>
</div> </div>
<div <div v-if="cardItem.platform">
v-if="cardItem.platform" <img
:src="`/images/icon/${getPlatformImg(cardItem.platform)}`"
> style="height: 30px"
<img />
:src="`/images/icon/${getPlatformImg(cardItem.platform)}`" </div>
style="height: 30px"
/>
</div>
</div> </div>
</template> </template>
<template #info> <template #info>
...@@ -1775,7 +1771,6 @@ ...@@ -1775,7 +1771,6 @@
</span> </span>
</div> </div>
<!-- <div class="grid-item" title="订单号"> <!-- <div class="grid-item" title="订单号">
<span <span
class="grid-item-value" class="grid-item-value"
...@@ -1785,7 +1780,6 @@ ...@@ -1785,7 +1780,6 @@
</span> </span>
</div> --> </div> -->
<div <div
v-if="cardItem.batchArrangeNumber" v-if="cardItem.batchArrangeNumber"
class="grid-item" class="grid-item"
...@@ -4118,7 +4112,7 @@ const changeWaySubmit = async (title: string) => { ...@@ -4118,7 +4112,7 @@ const changeWaySubmit = async (title: string) => {
try { try {
const params = { const params = {
updateByIdParam: { updateByIdParam: {
id: currentItem.value?.id, id: currentItem.value?.id || '',
dataVersion: currentItem.value?.version as number, dataVersion: currentItem.value?.version as number,
}, },
logisticsTrialCalculation: { ...changeWayRow.value }, logisticsTrialCalculation: { ...changeWayRow.value },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment