修改删除提示
This commit is contained in:
parent
a76eb58c8a
commit
f50862ea54
@ -305,10 +305,10 @@ function submitForm() {
|
||||
|
||||
// 删除按钮操作
|
||||
function handleDelete(row) {
|
||||
console.log(row);
|
||||
const Ids = row.siteId || ids.value
|
||||
|
||||
proxy
|
||||
.$confirm('是否确认删除参数编号为"' + Ids + '"的数据项?')
|
||||
.$confirm('是否确认删除参数编号为"' + row.siteName + '"的数据项?')
|
||||
.then(function () {
|
||||
return delPlantFactorySite(Ids)
|
||||
})
|
||||
|
||||
@ -392,7 +392,7 @@ function handleDelete(row) {
|
||||
const Ids = row.lineId || ids.value
|
||||
|
||||
proxy
|
||||
.$confirm('是否确认删除参数编号为"' + Ids + '"的数据项?')
|
||||
.$confirm('是否确认删除产线名称为"' + row.lineName + '"的数据项?')
|
||||
.then(function () {
|
||||
return delPlantProductlinebody(Ids)
|
||||
})
|
||||
|
||||
@ -313,9 +313,8 @@ function submitForm() {
|
||||
// 删除按钮操作
|
||||
function handleDelete(row) {
|
||||
const Ids = row.workshopId || ids.value
|
||||
|
||||
proxy
|
||||
.$confirm('是否确认删除参数编号为"' + Ids + '"的数据项?')
|
||||
.$confirm('是否确认删除车间名称为"' + row.workshopName + '"的数据项?')
|
||||
.then(function () {
|
||||
return delPlantWorkshop(Ids)
|
||||
})
|
||||
|
||||
@ -409,9 +409,9 @@ function submitForm() {
|
||||
// 删除按钮操作
|
||||
function handleDelete(row) {
|
||||
const Ids = row.workstationId || ids.value
|
||||
|
||||
console.log(row);
|
||||
proxy
|
||||
.$confirm('是否确认删除参数编号为"' + Ids + '"的数据项?')
|
||||
.$confirm('是否确认删除工站名称为"' + row.workstationName + '"的数据项?')
|
||||
.then(function () {
|
||||
return delPlantWorkstation(Ids)
|
||||
})
|
||||
|
||||
@ -68,7 +68,7 @@
|
||||
<el-tag v-if="scope.row.status == 0" type="info">停用</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="160">
|
||||
<el-table-column label="操作" width="160" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button type="primary" size="small" icon="view" title="查看" @click="handleView(scope.row)"></el-button>
|
||||
<el-button type="success" size="small" icon="edit" title="编辑" v-hasPermi="['business:processoperation:edit']"
|
||||
@ -1066,9 +1066,10 @@ function submitForm() {
|
||||
}
|
||||
// 删除按钮操作
|
||||
function handleDelete(row) {
|
||||
console.log(row);
|
||||
const Ids = row.operationId || ids.value
|
||||
proxy
|
||||
.$confirm('是否确认删除参数编号为"' + Ids + '"的数据项?')
|
||||
.$confirm('是否确认删除工序名称为"' + row.operationName + '"的数据项?')
|
||||
.then(function () {
|
||||
return delProcessOperation(Ids)
|
||||
})
|
||||
|
||||
@ -983,9 +983,9 @@ function submitForm() {
|
||||
// 删除按钮操作
|
||||
function handleDelete(row) {
|
||||
const Ids = row.id || ids.value
|
||||
|
||||
console.log(row);
|
||||
proxy
|
||||
.$confirm('是否确认删除参数编号为"' + Ids + '"的数据项?')
|
||||
.$confirm('是否确认删除工序编码为"' + row.fkRoutingCode + '"的数据项?')
|
||||
.then(function () {
|
||||
return delProcessOperationWorkstationMapping(Ids)
|
||||
})
|
||||
|
||||
@ -413,8 +413,9 @@ function submitForm() {
|
||||
}
|
||||
|
||||
function handleDelete(row) {
|
||||
console.log(row);
|
||||
const Ids = row.routingId || ids.value
|
||||
proxy.$confirm('是否确认删除参数编号为"' + Ids + '"的数据项?')
|
||||
proxy.$confirm('是否确认删除工艺路线名称为"' + row.routingName + '"的数据项?')
|
||||
.then(function () {
|
||||
return delProcessRouting(Ids)
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user