|
@@ -266,20 +266,22 @@ export default defineComponent({
|
|
|
</div>
|
|
|
)}
|
|
|
</div>
|
|
|
- <ColSticky position="bottom" background="white">
|
|
|
- <div class={['btnGroup']} style={{ paddingTop: '12px' }}>
|
|
|
- <Button
|
|
|
- block
|
|
|
- round
|
|
|
- type="primary"
|
|
|
- onClick={() => {
|
|
|
- onConfirmReceipt(order.value)
|
|
|
- }}
|
|
|
- >
|
|
|
- 确认收货
|
|
|
- </Button>
|
|
|
- </div>
|
|
|
- </ColSticky>
|
|
|
+ {order.value.status === 2 && (
|
|
|
+ <ColSticky position="bottom" background="white">
|
|
|
+ <div class={['btnGroup']} style={{ paddingTop: '12px' }}>
|
|
|
+ <Button
|
|
|
+ block
|
|
|
+ round
|
|
|
+ type="primary"
|
|
|
+ onClick={() => {
|
|
|
+ onConfirmReceipt(order.value)
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 确认收货
|
|
|
+ </Button>
|
|
|
+ </div>
|
|
|
+ </ColSticky>
|
|
|
+ )}
|
|
|
</>
|
|
|
) : null}
|
|
|
</>
|