|
|
@@ -23,7 +23,8 @@
|
|
|
<confirmDate v-if="tool.checkAuth($route.name,'replyDate')" class="inline-16" :data="mainData" @onSuccess="queryMainData"></confirmDate>
|
|
|
<el-popover
|
|
|
placement="top"
|
|
|
- v-model="visible">
|
|
|
+ v-model="visible"
|
|
|
+ trigger="click">
|
|
|
<p class="mt-10 normal-title">选择评审类型</p>
|
|
|
<el-select class="mt-10" v-model="value" placeholder="请选择" size="mini">
|
|
|
<el-option
|
|
|
@@ -37,10 +38,10 @@
|
|
|
<el-button size="mini" type="text" @click="visible = false">取消</el-button>
|
|
|
<el-button type="primary" size="mini" @click="onSubmit('审核')">确定</el-button>
|
|
|
</div>
|
|
|
- <el-button class="inline-16" v-if="tool.checkAuth($route.name,'examine') && mainData.status === '提交' && mainData.status === '交期确认'" type="primary" size="mini" slot="reference">审 核</el-button>
|
|
|
+ <el-button class="inline-16" @click="visible=true" v-if="tool.checkAuth($route.name,'examine') && mainData.status === '提交'" type="primary" size="mini" slot="reference">审 核</el-button>
|
|
|
</el-popover>
|
|
|
<el-button v-if="tool.checkAuth($route.name,'examine') && mainData.status === '审核'" type="primary" size="mini" @click="onReturnCheck">反审核</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,'reback') && mainData.status === '提交'" type="primary" size="mini" @click="dialogVisible = true">退 回</el-button>
|
|
|
<el-button v-if="tool.checkAuth($route.name,'submit') && mainData.status === '新建'" type="primary" size="mini" @click="onSubmit('提交')">提 交</el-button>
|
|
|
<el-button v-if="tool.checkAuth($route.name,'close') && mainData.status === '审核'" type="primary" size="mini" @click="closeOrder">关 闭</el-button>
|
|
|
<el-button v-if="tool.checkAuth($route.name,'insert')" type="primary" size="mini" @click="onCopy">复 制</el-button>
|
|
|
@@ -360,7 +361,21 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
this.tool.showMessage(res,()=>{
|
|
|
- this.tool.showMessage(res)
|
|
|
+ /*this.tool.showMessage(res)*/
|
|
|
+ /* this.$store.dispatch('changeDetailDrawer',false)
|
|
|
+ this.$store.dispatch('changeDetailDrawer',true)
|
|
|
+ this.$router.push({path:'/orderdetail',query:{id:res.data.sa_orderid,rowindex:res.data.rowindex}})*/
|
|
|
+
|
|
|
+ this.$store.dispatch('changeDetailDrawer',false)
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.$router.replace({
|
|
|
+ path:'/orderdetail',
|
|
|
+ query:{
|
|
|
+ id:res.data.sa_orderid
|
|
|
+ }
|
|
|
+ })
|
|
|
+ this.$store.dispatch('changeDetailDrawer',true)
|
|
|
+ },500)
|
|
|
})
|
|
|
},
|
|
|
select (data) {
|