浏览代码

提交修改文字提示

caojunjie 3 年之前
父节点
当前提交
ff44bc2a57
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/views/warehouseBusiness/warehouseCheck/index.vue

+ 3 - 3
src/views/warehouseBusiness/warehouseCheck/index.vue

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