Commit 3726f435 authored by 张海景's avatar 张海景

update:修改板改成版

parent ce604af4
......@@ -229,7 +229,7 @@ export default {
showSearch: true,
// 总条数
total: 0,
// 刀模上下机记录表格数据
// 刀模上下机记录表格数据
recordList: [],
// 弹出层标题
title: "",
......@@ -275,7 +275,7 @@ export default {
handleInWareHouse(e) {
console.log(e, 'House')
},
/** 查询刀模上下机记录列表 */
/** 查询刀模上下机记录列表 */
getList() {
this.loading = true;
const params = Object.assign({}, this.queryParams)
......@@ -326,7 +326,7 @@ export default {
handleAdd() {
this.reset();
this.open = true;
this.title = "添加刀模上下机记录";
this.title = "添加刀模上下机记录";
},
/** 修改按钮操作 */
handleUpdate(row) {
......@@ -364,7 +364,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const toolMachinesRecordIds = row.toolMachinesRecordId || this.ids;
this.$modal.confirm('是否确认删除刀模上下机记录编号为"' + toolMachinesRecordIds + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除刀模上下机记录编号为"' + toolMachinesRecordIds + '"的数据项?').then(function() {
return delRecord(toolMachinesRecordIds);
}).then(() => {
this.getList();
......
......@@ -108,14 +108,14 @@
@pagination="getList"
/>
<!-- 添加或修改刀模上下机记录对话框 -->
<!-- 添加或修改刀模上下机记录对话框 -->
<!-- <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="刀模上下机主表ID" prop="toolMachinesId">
<el-input v-model="form.toolMachinesId" placeholder="请输入刀模上下机主表ID" />
<el-form-item label="刀模上下机主表ID" prop="toolMachinesId">
<el-input v-model="form.toolMachinesId" placeholder="请输入刀模上下机主表ID" />
</el-form-item>
<el-form-item label="刀模领用单附表id" prop="toolRequestUseItemId">
<el-input v-model="form.toolRequestUseItemId" placeholder="请输入刀模领用单附表id" />
<el-form-item label="刀模领用单附表id" prop="toolRequestUseItemId">
<el-input v-model="form.toolRequestUseItemId" placeholder="请输入刀模领用单附表id" />
</el-form-item>
<el-form-item label="上下机类型(1上机2下机)" prop="type">
<el-select v-model="form.type" placeholder="请选择上下机类型(1上机2下机)">
......@@ -166,7 +166,7 @@ export default {
showSearch: true,
// 总条数
total: 0,
// 刀模上下机记录表格数据
// 刀模上下机记录表格数据
recordList: [],
// 弹出层标题
title: "",
......@@ -234,7 +234,7 @@ export default {
handleAdd() {
this.reset();
this.open = true;
this.title = "添加刀模上下机记录";
this.title = "添加刀模上下机记录";
},
/** 修改按钮操作 */
handleUpdate(row) {
......@@ -243,7 +243,7 @@ export default {
getRecord(toolMachinesRecordId).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改刀模上下机记录";
this.title = "修改刀模上下机记录";
});
},
/** 提交按钮 */
......@@ -269,7 +269,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const toolMachinesRecordIds = row.toolMachinesRecordId || this.ids;
this.$modal.confirm('是否确认删除刀模上下机记录编号为"' + toolMachinesRecordIds + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除刀模上下机记录编号为"' + toolMachinesRecordIds + '"的数据项?').then(function() {
return delRecord(toolMachinesRecordIds);
}).then(() => {
this.getList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment