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