liuchengxin
2022-01-08 cf1b5bf548b870efd0f1b4e3d5a8f88e79cfd9c9
src/views/basics/manufacturer/index.vue
@@ -114,6 +114,7 @@
            size="mini"
            type="text"
            icon="el-icon-delete"
            class="del-btn"
            @click="handleDelete(scope.row)"
            v-hasPermi="['oa:manufacturer:remove']"
          >删除</el-button>
@@ -130,7 +131,7 @@
    />
    <!-- 添加或修改厂商对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
    <el-dialog :title="title" :close-on-click-modal="false" :visible.sync="open" width="500px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="厂商名称" prop="name">
          <el-input v-model="form.name" placeholder="请输入厂商名称" />
@@ -321,7 +322,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删除厂商编号为"' + ids + '"的数据项?').then(() => {
      this.$modal.confirm('是否确认删除?').then(() => {
        this.loading = true;
        return delManufacturer(ids);
      }).then(() => {