Commit 4f88d73a authored by zhuangxinwei's avatar zhuangxinwei

bug 56386,56387

parent 11f2b222
...@@ -248,7 +248,12 @@ ...@@ -248,7 +248,12 @@
@select="handleSelectionMaterial" @select="handleSelectionMaterial"
> >
<el-table-column type="selection" width="50" :selectable="partNumSelected"/> <el-table-column type="selection" width="50" :selectable="partNumSelected"/>
<el-table-column type="index" label="序号" width="50" /> <el-table-column type="index" width="50">
<template slot="header">
<div>序号</div>
<div>No.</div>
</template>
</el-table-column>
<el-table-column align="center" prop="materCode" width="250" :show-overflow-tooltip="true"> <el-table-column align="center" prop="materCode" width="250" :show-overflow-tooltip="true">
<template slot="header"> <template slot="header">
<div>料号</div> <div>料号</div>
...@@ -320,7 +325,12 @@ ...@@ -320,7 +325,12 @@
@select="handleMater" @select="handleMater"
> >
<el-table-column v-if="materType === '2'" type="selection" width="50" :selectable="materSelected"/> <el-table-column v-if="materType === '2'" type="selection" width="50" :selectable="materSelected"/>
<el-table-column type="index" label="序号" width="50" /> <el-table-column type="index" width="50">
<template slot="header">
<div>序号</div>
<div>No.</div>
</template>
</el-table-column>
<el-table-column align="center" width="150px" prop="materCode" :show-overflow-tooltip="true"> <el-table-column align="center" width="150px" prop="materCode" :show-overflow-tooltip="true">
<template slot="header"> <template slot="header">
<div>料号</div> <div>料号</div>
...@@ -1014,7 +1024,7 @@ export default { ...@@ -1014,7 +1024,7 @@ export default {
// 删除物料 // 删除物料
handleDeleteMater(row) { handleDeleteMater(row) {
let list = [] let list = []
this.$confirm('确认删除该物料?', '提示', { this.$confirm('所选择数据被删除后不可再恢复,是否继续?', '提示', {
confirmButtonText: '确定 Confirm', confirmButtonText: '确定 Confirm',
cancelButtonText: '取消 Cancel', cancelButtonText: '取消 Cancel',
cancelButtonClass: 'btn-custom-cancel', cancelButtonClass: 'btn-custom-cancel',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment