fuliqi
2024-11-01 4529cc97736ab92b30fb6351b37970bf53a22794
src/views/system/work-order/distribute/index.vue
@@ -104,6 +104,7 @@
        <el-table v-loading="loading" :data="workOrderList" @selection-change="handleSelectionChange">
          <el-table-column type="selection" width="55" align="center" />
          <el-table-column label="工单号" align="center" prop="workOrderNo"/>
          <el-table-column label="国标码" align="center" prop="serialNumber"/>
          <el-table-column label="故障点位" align="center" prop="source">
            <template slot-scope="scope">
              <el-popover
@@ -379,7 +380,7 @@
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.multipleSelection = selection.map(item => item.id)
      this.multipleSelection = selection.map(item => item.workOrderNo)
    },
    /** 新增按钮操作 */
    handleAdd() {
@@ -405,6 +406,7 @@
          } else {
            addWorkOrder(this.form).then(response => {
              this.$modal.msgSuccess("新增成功");
              this.pointList = [];
              this.open = false;
              this.page();
            });