Forráskód Böngészése

修改删除提示语

pm 8 hónapja
szülő
commit
80f349a4a6

+ 1 - 1
src/views/mes/dv/lotoStation/index.vue

@@ -478,7 +478,7 @@ export default {
       const repairIds = row.lotoId || this.ids;
       const repairCodes = row.lotoName || this.codes;
       this.$modal
-        .confirm('是否确认删除编码为"' + repairCodes + '"的数据项?')
+        .confirm('是否确认删除所选数据项?')
         .then(function () {
           return delLoto(repairIds);
         })

+ 2 - 2
src/views/mes/dv/technology/technologyDetail/CraftDetail.vue

@@ -612,10 +612,10 @@ export default {
         // 根据 openType 打开不同的弹窗
         if (openType === 'device') {
           this.open = true;
-          this.title = '添加设备';
+          this.title = '新增设备';
         } else if (openType === 'sop') {
           this.openSop = true;
-          this.titlesop = '添加SOP';
+          this.titlesop = '新增SOP';
         }
       });
     },

+ 3 - 3
src/views/mes/dv/technology/technologyDetail/DeviceDetail.vue

@@ -334,7 +334,7 @@ export default {
         this.form.parentId = 0;
       }
       this.open = true;
-      this.title = "添加部门";
+      this.title = "新增设备";
     },
     /** 修改按钮操作 */
     handleUpdate(row) {
@@ -342,7 +342,7 @@ export default {
       getTechnologyInfo(row.machineryId).then((response) => {
         this.form = response.data;
         this.open = true;
-        this.title = "修改部门";
+        this.title = "修改设备";
       });
     },
 
@@ -376,7 +376,7 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       this.$modal
-        .confirm('是否确认删除名称为"' + row.machineryName + '"的数据项?')
+        .confirm('是否确认删除所选数据项?')
         .then(function () {
           return delTechnology(row.machineryId);
         })

+ 1 - 1
src/views/mes/material/blacklist/index.vue

@@ -446,7 +446,7 @@ export default {
       const repairIds = row.recordId || this.ids
       const nickName = row.nickName ||this.codes
       this.$modal
-        .confirm('是否确认删除姓名为"' + nickName + '"的数据项?')
+        .confirm('是否确认删除所选数据项?')
         .then(function() {
           return delBlacklist(repairIds)
         })

+ 16 - 15
src/views/mes/material/inspectionplan/index.vue

@@ -135,7 +135,7 @@
       </el-table-column>
       <el-table-column label="计划名称" align="center" prop="planName">
       </el-table-column>
-      <el-table-column label="巡检物资柜" align="center" prop="cabinetName">
+      <el-table-column label="物资柜" align="center" prop="cabinetName">
         <template slot-scope="scope">
           <el-tooltip :content="scope.row.cabinetName" placement="top">
             <span style="color:#1890ff;cursor: pointer" @click="PlanDetail(scope.row)">{{ getDisplayText(scope.row.cabinetName) }}</span>
@@ -211,23 +211,12 @@
         <el-form-item label="计划名称" prop="planName">
           <el-input v-model="form.planName" placeholder="请输入计划名称"/>
         </el-form-item>
-        <el-form-item label="计划日期" prop="planDate">
-          <el-date-picker
-            style="width: 350px"
-            v-model="form.planDate"
-            placeholder="请选择日期"
-            :picker-options="FormpickerOptions"
-            align="right"
-          >
-          </el-date-picker>
-        </el-form-item>
         <el-form-item label="所属区域" prop="workstationId">
           <treeselect  style="width: 348px" v-model="form.workstationId" :options="workstationOption"
-                      :normalizer="normalizer" placeholder="选择所属区域"
+                       :normalizer="normalizer" placeholder="选择所属区域"
           />
         </el-form-item>
-        <el-form-item label="检查物资柜" prop="cabinetIds">
-
+        <el-form-item label="物资柜" prop="cabinetIds">
           <el-select
             :disabled="visibleSelect"
             style="width: 348px"
@@ -244,6 +233,18 @@
             />
           </el-select>
         </el-form-item>
+        <el-form-item label="计划日期" prop="planDate">
+          <el-date-picker
+            style="width: 350px"
+            v-model="form.planDate"
+            placeholder="请选择日期"
+            :picker-options="FormpickerOptions"
+            align="right"
+          >
+          </el-date-picker>
+        </el-form-item>
+
+
         <el-form-item label="检察员" prop="checkUserId">
           <el-select
             style="width: 348px"
@@ -820,7 +821,7 @@ export default {
     handleDelete(row) {
       const checkIds = row.planId || this.ids
       this.$modal
-        .confirm('是否确认删除编号为"' + checkIds + '"的数据项?')
+        .confirm('是否确认删除所选数据项?')
         .then(function() {
           return deletePlan(checkIds)
         })

+ 1 - 1
src/views/mes/material/instructions/index.vue

@@ -547,7 +547,7 @@ export default {
     handleDelete(row) {
       const instructionsId = row.instructionsId || this.ids;
       this.$modal
-        .confirm('是否确认删除编号为"' + instructionsId + '"的数据项?')
+        .confirm('是否确认删除所选数据项?')
         .then(function () {
           return delInstructions(instructionsId);
         })

+ 1 - 1
src/views/mes/material/lockers/index.vue

@@ -750,7 +750,7 @@ export default {
       const cabinetIds = row.cabinetId || this.ids;
       const cabinetCodes = row.cabinetCode || this.codes;
       this.$modal
-        .confirm('是否确认删除编号为"' + cabinetCodes + '"的数据项?')
+        .confirm('是否确认删除所选数据项?')
         .then(function () {
           return deleteMaterialsCabinet(cabinetIds);
         })