|
@@ -195,7 +195,7 @@
|
|
|
|
|
|
<div class="page-footer">
|
|
|
<div class="footer">
|
|
|
- <el-button type="danger" @click="closeData">关闭订单</el-button>
|
|
|
+ <el-button v-if="isShowClose" type="danger" @click="closeData">关闭订单</el-button>
|
|
|
<el-button type="primary" @click="openDirectDialog">提前开票</el-button>
|
|
|
<el-button type="primary" @click="overData">直调完结</el-button>
|
|
|
<el-button type="primary" @click="openDeliverDialog" :disabled="detailData.directTransferStatus">直调发货</el-button>
|
|
@@ -420,6 +420,9 @@ export default {
|
|
|
isExamine() {
|
|
|
return this.detailData.examineStatus === 'OK' || this.detailData.examineStatus === 'FAIL'
|
|
|
},
|
|
|
+ isShowClose() {
|
|
|
+ return this.detailData.examineStatus === 'SAVE' || this.detailData.examineStatus === 'WAIT'
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
created() {
|