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

update:修改板改成版

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