|
@@ -40,7 +40,7 @@
|
|
|
<el-button class="inline-16" v-if="tool.checkAuth($route.name,'examine')" :disabled="mainData.status !== '提交' && mainData.status !== '交期确认'" type="primary" size="mini" slot="reference">审 核</el-button>
|
|
|
</el-popover> -->
|
|
|
<el-button v-if="tool.checkAuth($route.name,'examine')" :disabled="mainData.status !== '审核'" type="primary" size="mini" @click="onReturnCheck" >反审核</el-button>
|
|
|
- <el-button v-if="tool.checkAuth($route.name,'reback') && mainData.status == '提交'" type="primary" size="mini" @click="dialogVisible = true" >退 回</el-button>
|
|
|
+ <el-button v-if="tool.checkAuth($route.name,'reback') && (mainData.status == '提交' || mainData.status == '交期确认')" type="primary" size="mini" @click="dialogVisible = true" >退 回</el-button>
|
|
|
<el-button v-if="tool.checkAuth($route.name,'submit')" :disabled="mainData.status !== '新建'" type="primary" size="mini" @click="onSubmit('提交')" class="inline-16">提 交</el-button>
|
|
|
<copyTo :sa_orderid="mainData.sa_orderid" path="/toolBorrowingMagDetail" class="inline-16" style="margin-right: 0px!important;"></copyTo>
|
|
|
<!-- <el-button v-if="tool.checkAuth($route.name,'close')" :disabled="mainData.status !== '审核'" type="primary" size="mini" @click="closeOrder">关 闭</el-button> -->
|
|
@@ -113,11 +113,6 @@ export default {
|
|
|
copyTo
|
|
|
},
|
|
|
methods:{
|
|
|
- async orderreviewtype () {
|
|
|
- const res = await this.$store.dispatch('optiontypeselect','orderreviewtype')
|
|
|
- this.options = res.data
|
|
|
- this.value = res.data[0].value
|
|
|
- },
|
|
|
onEditSuccess(){
|
|
|
this.queryMainData()
|
|
|
this.queryTool()
|
|
@@ -134,7 +129,6 @@ export default {
|
|
|
})
|
|
|
this.mainData = res.data
|
|
|
this.changeDataStructure()
|
|
|
- this.orderreviewtype()
|
|
|
},
|
|
|
changeDataStructure() {
|
|
|
let that = this
|