ソースを参照

物资类型内容优化

wangyani 8 ヶ月 前
コミット
c478d2e483
1 ファイル変更4 行追加3 行削除
  1. 4 3
      src/views/mes/material/typeofmaterial/index.vue

+ 4 - 3
src/views/mes/material/typeofmaterial/index.vue

@@ -165,7 +165,7 @@
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
             v-hasPermi="['mes:mat:type:edit']"
-            >编辑
+            >修改
           </el-button>
           <el-button
             v-no-more-click
@@ -622,7 +622,7 @@ export default {
         this.timeValues.loanDuration = convertTime(response.data.loanDuration);
         this.timeValues.timeoutAlarm = convertTime(response.data.timeoutAlarm);
         this.open = true;
-        this.title = "编辑物资类型";
+        this.title = "修改物资类型";
       });
     },
     // 时间转换
@@ -687,11 +687,12 @@ export default {
       }
     },
     /** 删除按钮操作 */
+    // confirm('是否删除编码为"' + materialsTypeCodes + '"的数据项?')
     handleDelete(row) {
       const materialsTypeIds = row.materialsTypeId;
       const materialsTypeCodes = row.materialsTypeCode;
       this.$modal
-        .confirm('是否删除编码为"' + materialsTypeCodes + '"的数据项?')
+        .confirm("是否删除所选数据项?")
         .then(function () {
           return deleteMaterialsType(materialsTypeIds);
         })