|
@@ -140,7 +140,7 @@
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
|
- @click="handleDelete(scope.row)"
|
|
|
+ @click="handleDelete(scope.row,scope.$index)"
|
|
|
>删除
|
|
|
</el-button>
|
|
|
</template>
|
|
@@ -808,9 +808,9 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
/** 删除按钮操作 */
|
|
|
- handleDelete(row) {
|
|
|
+ handleDelete(row,index) {
|
|
|
const fIds = row.fId || this.ids;
|
|
|
- this.$confirm('是否确认删除入出库状态编号为"' + fIds + '"的数据项?', "警告", {
|
|
|
+ this.$confirm('是否确认删除序号"' + Number(index+1) + '"的数据?', "警告", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|