Browse Source

plm BMM

master
ruanqi 1 year ago
parent
commit
ae804aeccf
  1. 8
      src/views/modules/tooling/searchToolApply.vue

8
src/views/modules/tooling/searchToolApply.vue

@ -57,10 +57,10 @@
fixed="right" fixed="right"
label="操作"> label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<a type="text" size="small" v-if="scope.row.status==='计划'" @click="comfirmApply(scope.row)">下达</a>
<a type="text" size="small" v-if="scope.row.status==='计划'" @click="editModalU(scope.row)">修改</a>
<a type="text" size="small" v-if="scope.row.status==='草稿'" @click="comfirmApply(scope.row)">下达</a>
<a type="text" size="small" v-if="scope.row.status==='草稿'" @click="editModalU(scope.row)">修改</a>
<a type="text" size="small" v-if="scope.row.status=='审批中'" @click="editModal(scope.row)">审批</a> <a type="text" size="small" v-if="scope.row.status=='审批中'" @click="editModal(scope.row)">审批</a>
<a type="text" size="small" v-if="scope.row.status==='计划'" @click="cancelApply(scope.row)">取消申请</a>
<a type="text" size="small" v-if="scope.row.status==='草稿'" @click="cancelApply(scope.row)">删除</a>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@ -1672,7 +1672,7 @@
}) })
}, },
cancelApply(row){ cancelApply(row){
this.$confirm(`确定取消这个申请`, '提示', {
this.$confirm(`确定删除这个申请`, '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'

Loading…
Cancel
Save