|
@@ -39,9 +39,10 @@
|
|
|
</div>
|
|
|
<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,'submit')" :disabled="mainData.status !== '新建'" type="primary" size="mini" @click="onSubmit('提交')">提 交</el-button>
|
|
|
+ <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,'submit')" :disabled="mainData.status !== '新建'" type="primary" size="mini" @click="onSubmit('提交')" :class="tool.checkAuth($route.name,'copy')?'inline-16':''">提 交</el-button>
|
|
|
+ <copyTo v-if="tool.checkAuth($route.name,'copy')" :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> -->
|
|
|
<!-- <el-button v-if="tool.checkAuth($route.name,'insert')" type="primary" size="mini" @click="onCopy">复 制</el-button> -->
|
|
|
</div>
|
|
@@ -80,6 +81,7 @@ import revenue from './tabs/revenueAndExp.vue'
|
|
|
import Edit from '../modules/edit'
|
|
|
import erpHistory from './tabs/erpHistory.vue'
|
|
|
import Check from '../modules/check'
|
|
|
+import copyTo from '@/template/copyTo/index'
|
|
|
|
|
|
export default {
|
|
|
name: "detail",
|
|
@@ -107,7 +109,8 @@ export default {
|
|
|
revenue,
|
|
|
Edit,
|
|
|
erpHistory,
|
|
|
- Check
|
|
|
+ Check,
|
|
|
+ copyTo
|
|
|
},
|
|
|
methods:{
|
|
|
async orderreviewtype () {
|
|
@@ -241,7 +244,7 @@ export default {
|
|
|
this.$message({
|
|
|
type: 'info',
|
|
|
message: '取消提交'
|
|
|
- });
|
|
|
+ });
|
|
|
});
|
|
|
},
|
|
|
// 反审核订单
|
|
@@ -264,7 +267,7 @@ export default {
|
|
|
this.$message({
|
|
|
type: 'info',
|
|
|
message: err
|
|
|
- });
|
|
|
+ });
|
|
|
});
|
|
|
},
|
|
|
async onRebanck () {
|
|
@@ -328,4 +331,4 @@ export default {
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
-</style>
|
|
|
+</style>
|