|
|
@@ -12,15 +12,12 @@
|
|
|
<!-- actions -->
|
|
|
<template slot="action">
|
|
|
<template v-if="model.status == 0">
|
|
|
- <template v-if="model.contractType != 2">
|
|
|
+ <template v-if="model.workContractType != 1">
|
|
|
<a-button @click="handleOkOrder(model)" type="primary" v-has="'order:confirm'">确认订单</a-button>
|
|
|
<a-divider type="vertical" v-has="'order:close'"/>
|
|
|
</template>
|
|
|
<a-button @click="handleCloseOrder(model)" v-has="'order:close'">关闭订单</a-button>
|
|
|
</template>
|
|
|
- <template v-if="model.status == 2">
|
|
|
- <a-button @click="handleLimitOrder(model)" type="primary" v-has="'order:limit'">中止订单</a-button>
|
|
|
- </template>
|
|
|
</template>
|
|
|
<!-- 操作 -->
|
|
|
<a-card :bordered="false" :loading="loading" :tabList="tabList"
|