Browse Source

修改

dev
wangxingyuan 5 months ago
parent
commit
6bcbae7c69
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/views/equipment/equipment.vue

+ 2
- 0
src/views/equipment/equipment.vue View File

@ -839,6 +839,7 @@ export default {
// //
handleEdit(id = null, type) { handleEdit(id = null, type) {
this.dialogForm = {}; this.dialogForm = {};
this.type = type;
if (type == 0) { if (type == 0) {
let eqpbookId = this.ids[0]; let eqpbookId = this.ids[0];
this.getEqpbookFn(eqpbookId); this.getEqpbookFn(eqpbookId);
@ -857,6 +858,7 @@ export default {
// //
onSubmit() { onSubmit() {
if (this.type == 0) { if (this.type == 0) {
console.log(type,1111111)
// //
eqpbook(this.dialogForm).then((res) => { eqpbook(this.dialogForm).then((res) => {
if (res.code == 200) { if (res.code == 200) {


Loading…
Cancel
Save