Commit 574904ef by qinjianhui

fix: 工厂订单拦截功能bug修改

parent 55956f72
...@@ -403,7 +403,13 @@ ...@@ -403,7 +403,13 @@
}} }}
</ElButton> </ElButton>
</span> </span>
<span v-if="status === 'PENDING_RECEIVE'" class="item"> <span
v-if="
status === 'PENDING_RECEIVE' ||
(status === 'SUSPEND' && suspendedSubTab !== 1)
"
class="item"
>
<ElButton type="danger" @click="handleCancelOrder">取消订单</ElButton> <ElButton type="danger" @click="handleCancelOrder">取消订单</ElButton>
</span> </span>
...@@ -596,12 +602,12 @@ ...@@ -596,12 +602,12 @@
>取消挂起</ElButton >取消挂起</ElButton
> >
</span> </span>
<span class="item"> <span v-if="suspendedSubTab === 1" class="item">
<ElButton type="success" @click="() => handleInterceptionSuccess()" <ElButton type="success" @click="() => handleInterceptionSuccess()"
>拦截成功</ElButton >拦截成功</ElButton
> >
</span> </span>
<span class="item"> <span v-if="suspendedSubTab === 1" class="item">
<ElButton type="danger" @click="() => handleInterceptionFail()" <ElButton type="danger" @click="() => handleInterceptionFail()"
>拦截失败</ElButton >拦截失败</ElButton
> >
......
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