|
|
|
@ -839,6 +839,7 @@ export default { |
|
|
|
// 编辑弹框打开 |
|
|
|
handleEdit(id = null, type) { |
|
|
|
this.dialogForm = {}; |
|
|
|
this.type = type; |
|
|
|
if (type == 0) { |
|
|
|
let eqpbookId = this.ids[0]; |
|
|
|
this.getEqpbookFn(eqpbookId); |
|
|
|
@ -857,6 +858,7 @@ export default { |
|
|
|
// 保存 |
|
|
|
onSubmit() { |
|
|
|
if (this.type == 0) { |
|
|
|
console.log(type,1111111) |
|
|
|
// 新增 |
|
|
|
eqpbook(this.dialogForm).then((res) => { |
|
|
|
if (res.code == 200) { |
|
|
|
|