<template>
  <basic-container>
    <avue-crud
      :option="option"
      :table-loading="loading"
      :data="data"
      v-model="form"
      v-model:page="page"
      v-model:search="searchForm"
      ref="crud"
      @row-del="rowDel"
      @search-change="searchChange"
      @search-reset="searchReset"
      @selection-change="selectionChange"
      @current-change="currentChange"
      @size-change="sizeChange"
      @refresh-change="refreshChange"
      @on-load="onLoad"
      :row-class-name="rowCLassName"
    >
      <template #menu-left>
        <!-- <el-button type="primary"  @click="materialFormPrint">领料单打印</el-button>  -->
      </template>

      <template #menu-right="{ size }">
        <!-- 加工中  -->
        <el-button type="warning"  @click="filterFun('3')" plain
          >加工中</el-button
        >
        <!-- 检验中  -->
        <el-button type="danger"  @click="filterFun('4')" plain
          >检验中</el-button
        >
        <!-- 已下达 -->
        <el-button type="success"  @click="filterFun('2')" plain
          >已下达</el-button
        >
        <!-- 已完成 -->
        <el-button type="success"  plain @click="filterFun('15')"
          >已完成</el-button
        >
        <!-- 全部 -->
        <el-button type="primary"  @click="filterFun()" plain
          >全部</el-button
        >
      </template>
      <template #menu="scope">
        <!-- <el-button type="primary" link @click="memoDialogFun(scope.row)">关闭</el-button> -->
        <!-- <template v-if="scope.row.approvalStatus == 2"> -->
          <!-- <el-button type="primary" link @click="takeBack(scope.row)"
            >领料单打印</el-button
          > -->
          <el-button type="primary" link @click="changeFn(scope.row)">厂家更改</el-button>
        <!-- </template> -->

        <template
          v-if="scope.row.approvalStatus != 2 && scope.row.runStatus < 15"
        >
          <el-button type="text"  @click="takeBack(scope.row)">收回</el-button>
          <el-button type="text" v-if="scope.row.oemStatus == 1 "  @click="turnFacInner(scope.row)" >转厂内</el-button>
          <el-button type="text"  @click="inBatches(scope.row)" >分批</el-button>
        </template>
        <template
          v-if="scope.row.approvalStatus != 2 && scope.row.runStatus >= 15">
          <!-- <span style="color: red">订单{{ scope.row.runStatusTitle }}</span> -->
          <el-button type="text"  @click="qualityRecords(scope.row)">质量记录</el-button>
          <el-button type="text"  @click="certificate(scope.row)">合格证</el-button>
        </template>
      </template>
      <!-- <template #virtualMac="scope">
        <span>
          {{ scope.row.virtualMac ? "是" : "否" }}
        </span>
      </template>
      <template #virtualMac-form="{ type, disabled }">
        <el-checkbox v-model="form.virtualMac">虚拟设备</el-checkbox>
      </template>
      <template #virtualMac-label="{ type, disabled }">
        <span></span>
      </template> -->
      <!-- <template #name="{ row }">
        <i :class="row.source" style="margin-right: 5px" />
        <span>{{ row.name }}</span>
      </template>
      <template #source="{ row }">
        <div style="text-align: center">
          <i :class="row.source" />
        </div>
      </template> -->
    </avue-crud>
    <!-- 关闭 -->
    <memoDialog
      :memoDialogOpen="memoDialogOpen"
      v-if="memoDialogOpen"
      @memoDialogCancel="memoDialogCancel"
    >
    </memoDialog>
    <!-- 收回 -->
    <takeBack
      :wor-id="worId"
      :take-back-open="takeBackOpen"
      v-if="takeBackOpen"
      @cancel="cancel"
    ></takeBack>
    <!-- 转厂内 -->
    <turn-fac-inner
      :row-item="rowItem"
      :turn-fac-inner-open="turnFacInnerOpen"
      v-if="turnFacInnerOpen"
      @cancel="cancel"
    />
    <!-- 厂家更改 -->
    <manufacturerChange
      @cancel="cancel"
      :takeBackOpen="changeOpen"
      v-if="changeOpen"
      :wor-id="worId"
    ></manufacturerChange>
    <!-- 领料单打印 -->
    <materialPrint v-if="showPrint" :showPrint="showPrint" @cancel="cancel"></materialPrint>
    <!-- 分批处理 -->
    <batch-dialog v-if="showBatch" :showBatch="showBatch" :checkRow="checkRow" @cancel="cancel"></batch-dialog>
  </basic-container>
</template>
<script>
import {getList,oemBack,turnQuality,turnCertificate} from "@/api/outsourcingManagement/oemOrder"
import { mapGetters } from "vuex";
import memoDialog from "./memoDialog.vue";
import takeBack from "./takeBack.vue";
import turnFacInner from "./turnFacInner.vue";
import manufacturerChange from "./manufacturerChange.vue";
import materialPrint from "./materialPrint.vue"
import batchDialog from "./batchDialog.vue";
export default {
  components: {
    memoDialog,
    takeBack,
    turnFacInner,
    manufacturerChange,
    materialPrint,
    batchDialog
    // setCraftAbility
  },
  data() {
    return {
      showPrint:false,
      turnFacInnerOpen: false,
      rowItem: {},
      takeBackOpen: false,
      worId: "",
      showBatch:false,
      memoDialogOpen: false,
      parameter: {},
      ocId: "89889",
      setCraftAbilityOpen: false,
      showIp: false,
      ecId: "89889",
      bcId: "89889",
      searchForm:{},
      setCrewOpen: false,
      form: {},
      query: {},
      loading: true,
      query:{},
      selectionList: [],
      parentId: "",
      page: {
        pageSize: 10,
        currentPage: 1,
        total: 0,
      },
      option: {
        columnSort: true,
        tip: false,
        height: "auto",
        calcHeight: 32,
        simplePage: false,
        searchShow: true,
        searchMenuSpan: 6,
        dialogWidth: "60%",
        border: true,
        selection: false,
        index: true,
        menuWidth: 220,
        dialogClickModal: false,
        excelBtn: true,
        viewBtn: false,
        addBtn: false,
        delBtn: false,
        editBtn: false,
        editBtnText: "编辑",
        searchShowBtn: false,
        filterBtn: true,
        searchIndex: 3,
        searchIcon: true,
        searchLabelPosition: "left",
        searchLabelPosition: "left",
        searchGutter: 24,
        searchSpan: 6,
        menuAlign: "left",
        gridBtn: false,
        searchMenuPosition: "right",
        addBtnIcon: " ",
        viewBtnIcon: " ",
        delBtnIcon: " ",
        editBtnIcon: " ",
        align: "center",
        column: [
          {
            label: "计划单号",
            prop: "planNumber",
            // bind: "prWorkOrder.pjYieldOrder.poCode",
            search: false,
            sortable: true,
            overHidden: true,
            width: 170,
          },
          {
            label: "订单单号",
            prop: "woCode",
            sortable: true,
            search: true,
            overHidden: true,
            width: 190,
          },
          {
            label: "零件号",
            prop: "partCode",
            // bind: "prWorkOrder.pjYieldOrder.partCode",
            sortable: true,
            search: true,
            overHidden: true,
            hide: false,
            width: 170,
            searchLabelWidth: 60,
          },
          {
            label: "计划下达时间",
            prop: "planIssuanceTime",
            // bind: "prWorkOrder.pjYieldOrder.failureTime",
            sortable: true,
            search: true,
            overHidden: true,
            width: 170,
            searchLabelWidth: 100,
            type: "date",
            searchRange: true,
            format: "YYYY-MM-DD",
            valueFormat: "YYYY-MM-DD",
            startPlaceholder: "开始时间",
            endPlaceholder: "结束时间",
          },
          {
            label: "镀后入库时间",
            prop: "postPlatingStorageTime",
            // bind: "prWorkOrder.putStoreTime",
            sortable: true,
            search: true,
            overHidden: true,
            width: 150,
            searchLabelWidth: 110,
            type: "date",
            searchRange: true,
            format: "YYYY-MM-DD",
            valueFormat: "YYYY-MM-DD",
            startPlaceholder: "开始时间",
            endPlaceholder: "结束时间",
          },
          {
            label: "订单状态",
            prop: "orderStatus",
            // bind: 'prWorkOrder.runStatus',
            sortable: true,
            search: true,
            overHidden: true,
            width: 120,
            type: "select",
            multiple: true,
            searchOrder: 20,
            hide: true,
            searchValue: ['3', '2'],
            dicUrl:"/api/blade-system/dict/dictionary?code=order_run_status",
            props:{
              label:"dictValue",
              value:"dictKey"
            }
            // dicData: [
            //   {
            //     value: 2,
            //     label: "已下达",
            //   },
            //   {
            //     value: 3,
            //     label: "加工中",
            //   },
            //   {
            //     value: 4,
            //     label: "检验中",
            //   },
            //   {
            //     value: 13,
            //     label: "审理中",
            //   },
            //   {
            //     value: 14,
            //     label: "返工中",
            //   },
            //   {
            //     value: 15,
            //     label: "已完工",
            //   },
            //   {
            //     value: 21,
            //     label: "已作废",
            //   },
            // ],
          },
          {
            label: "外协状态",
            prop: "oemStatusList",
            type:"select",
            // bind: 'prWorkOrder.runStatus',
            sortable: true,
            hide: true,
            search: true,
            dicData:[
              {label:"待外协",value:'1'},
              {label:"外协中",value:'2'},
              {label:"已完成",value:'3'},
            ]
          },
          {
            label: "订单状态",
            prop: "runStatusName",
            // bind: 'prWorkOrder.runStatus',
            sortable: true,
            search: false,
            overHidden: true,
            width: 120,
            type: "select",
            // dicUrl:"/api/blade-system/dict/dictionary?code=order_run_status",
            // props:{
            //   label:"dictValue",
            //   value:"dictKey"
            // }
            // dicData: [
            //   {
            //     value: 2,
            //     label: "已下达",
            //   },
            //   {
            //     value: 3,
            //     label: "加工中",
            //   },
            //   {
            //     value: 4,
            //     label: "检验中",
            //   },
            //   {
            //     value: 13,
            //     label: "审理中",
            //   },
            //   {
            //     value: 14,
            //     label: "返工中",
            //   },
            //   {
            //     value: 15,
            //     label: "已完工",
            //   },
            //   {
            //     value: 21,
            //     label: "已作废",
            //   },
            // ],
          },
          {
            label:'外协状态',
            prop:"oemStatusTitle",
            search:false,
          },
          {
            label: "批次号",
            prop: "batchNo",
            // bind: "prWorkOrder.batchNo",
            sortable: true,
            search: true,
            overHidden: true,
            width: 120,
            searchLabelWidth: 60,
          },
          {
            label: "产品名称",
            prop: "partName",
            // bind: "prWorkOrder.pjYieldOrder.partName",
            sortable: true,
            search: true,
            overHidden: true,
            width: 120,
            headerAlign: "center",
            // align: "left",
          },
          {
            label: "流程卡号",
            prop: "cardNo",
            // bind: "prWorkOrder.cardNo",
            sortable: true,
            search: true,
            overHidden: true,
            width: 120,
          },
          {
            label: "MES流程卡号",
            prop: "mesCardNo",
            // bind: "prWorkOrder.mesCardNo",
            display: true,
            search: false,
            overHidden: true,
            width: 120,
          },
          {
            label: "镀种信息",
            prop: "plate",
            // bind: "prWorkOrder.pjYieldOrder.plate",
            sortable: true,
            search: true,
            overHidden: true,
            width: 120,
          },
          {
            label: "生产标识",
            prop: "productIdent",
            // bind: "prWorkOrder.pjYieldOrder.prodIdent",
            sortable: true,
            search: true,
            overHidden: true,
            width: 120,
          },
          {
            label: "优先级",
            prop: "priority",
            // bind: "prWorkOrder.priority",
            sortable: true,
            search: true,
            overHidden: true,
            width: 120,
            type: "select",
            headerAlign: "center",
            // align: "left",
            dicUrl:"/api/blade-system/dict/dictionary?code=orderPriority",
            props:{
              label:"dictValue",
              value:"dictKey"
            }
            // dicData: [
            //   {
            //     value: 1,
            //     label: "正常-白色",
            //   },
            //   {
            //     value: 2,
            //     label: "项目要求日期急件-橙色",
            //   },
            //   {
            //     value: 3,
            //     label: "合同急件-黄色",
            //   },
            //   {
            //     value: 4,
            //     label: "绩效零件-青色",
            //   },
            //   {
            //     value: 5,
            //     label: "调度标注急件-蓝色",
            //   },
            // ],
          },
          {
            label: "使用部门",
            prop: "deptName",
            // bind: "prWorkOrder.pjYieldOrder.useDept",
            sortable: true,
            search: true,
            overHidden: true,
            width: 120,
            headerAlign: "center",
            align: "left",
          },
          {
            label: "数量",
            prop: "makeQty",
            // bind: "prWorkOrder.makeQty",
            sortable: true,
            search: false,
            overHidden: true,
            width: 120,
          },
          {
            label: "面积(d㎡)",
            prop: "totalArea",
            // bind: "prWorkOrder.pjYieldOrder.poArea",
            sortable: true,
            search: false,
            overHidden: true,
            width: 120,
          },
          {
            label: "单批次面积",
            prop: "area",
            // bind: "prWorkOrder.batchArea",
            sortable: true,
            search: false,
            overHidden: true,
            width: 120,
          },
          {
            label: "需求交期",
            prop: "demandDate",
            // bind: "prWorkOrder.demandDate",
            sortable: true,
            search: true,
            type: "date",
            format: "YYYY-MM-DD",
            valueFormat: "YYYY-MM-DD",
            overHidden: true,
            width: 120,
            searchRange: true,
          },
          {
            label: "外协代码/简称",
            prop: "oemCode",
            // bind: "inCustomer.codeAndName",
            sortable: true,
            search: true,
            overHidden: true,
            width: 150,
            searchLabelWidth: 110,
          },
          {
            label: "计划员",
            prop: "planner",
            // bind: "prWorkOrder.pjYieldOrder.planUser",
            sortable: true,
            search: true,
            overHidden: true,
            width: 120,
          },
          {
            label: "调度员",
            prop: "dispatcher",
            // bind: "prWorkOrder.dispatcher.userName",
            sortable: true,
            search: true,
            overHidden: true,
            width: 120,
          },
          // {
          //     label: '备注',
          //     prop: 'memo',
          //     sortable: true,
          //     search: false,
          //     width: 120,
          // },
          {
            label: "已交件数量",
            prop: "submittedNum",
            // bind: 'prWorkOrder.inventoryQty',
            sortable: true,
            search: false,
            overHidden: true,
            width: 120,
          },
          {
            label: "未交件数量",
            prop: "unsubmittedNum",
            // bind: 'notInQty',
            sortable: true,
            search: false,
            overHidden: true,
            width: 120,
          },
          {
            label: "工艺路线",
            prop: "craftWay",
            sortable: true,
            search: false,
            overHidden: true,
            width: 120,
          },
        ],
      },
      data: [],
      changeOpen: false,
      checkRow:{},
    };
  },
  computed: {
    ...mapGetters(["userInfo", "permission"]),
    permissionList() {
      return {
        addBtn: this.validData(this.permission.menu_add, false),
        viewBtn: this.validData(this.permission.menu_view, false),
        delBtn: this.validData(this.permission.menu_delete, false),
        editBtn: this.validData(this.permission.menu_edit, false),
      };
    },
    ids() {
      let ids = [];
      this.selectionList.forEach((ele) => {
        ids.push(ele.id);
      });
      return ids.join(",");
    },
  },
  created(){
    this.searchForm.orderStatus = ['3','2']
    this.query = {
      ...this.searchForm,
      orderStatus:this.searchForm.orderStatus && this.searchForm.orderStatus.length != 0 && this.searchForm.orderStatus.join(",")
    };
  },
  methods: {
    // 厂家修改
    changeFn(row) {
      this.worId = row.woId
      this.changeOpen = true;
    },
    turnFacInner(row) {
      this.turnFacInnerOpen = true;
      this.rowItem = row;
    },
    takeBack(row) {
      this.takeBackOpen = true;
      this.worId = row.id;
    },
    memoDialogFun(woId, status) {
      this.closeObj = { woId, status };
      this.memoDialogOpen = true;
    },
    qualityRecords(row){
      turnQuality({key:row.deliverKey}).then(res =>{
        window.open(res.data.msg)
      })
    },
    certificate(row){
      turnCertificate({key:row.deliverKey}).then(res =>{
        window.open(res.data.msg)
      })
    },
    // 备注填写关闭
    memoDialogCancel(flag, memo) {
      this.memoDialogOpen = false;
      if (flag) {
        // this.updateStatus(this.closeObj.woId, this.closeObj.status, memo);
      }
    },
    rowCLassName({ row, rowIndex }) {
      if (row.priority === 2) {
        return "priority-2-row";
      } else if (row.priority === 3) {
        return "priority-3-row";
      } else if (row.priority === 4) {
        return "priority-4-row";
      } else if (row.priority === 5) {
        return "priority-5-row";
      }
    },
    filterFun(curStatus) {
      this.searchForm.orderStatus = curStatus ? [curStatus] : null;
      this.query.orderStatus = curStatus
      console.log('sear---------',this.searchForm)
      this.onLoad();
    },
    // 设置班组、工序、工艺能力
    setCraftAbility(ocId) {
      this.ocId = ocId;
      this.setCraftAbilityOpen = true;
    },
    changePWD(ecId) {
      this.ecId = ecId;
      this.showIp = true;
    },
    inBatches(row){
      this.checkRow  = row
      this.showBatch = true
    },
    cancel(isRefresh) {
      this.showPrint = false
      this.workRateOpen = false;
      this.isOpen = false;
      this.turnOemOpen = false;
      this.retGoodsOpen = false;
      this.turnFacInnerOpen = false;
      this.takeBackOpen = false;
      this.updateMakeQtyOpen = false;
      this.memoDialogOpen = false;
      this.changeOpen = false;
      this.showBatch = false
      if (isRefresh) {
        this.refresh();
      }
    },
    // 设置班组人员
    setCrew(bcId) {
      console.log(9999, bcId);
      this.bcId = bcId;
      this.setCrewOpen = true;
    },
    // 设置班组人员弹框关闭
    setCrewOpeSancel(isRefresh) {
      if (isRefresh) {
        this.$refs.myTable.load();
      }
      this.setCrewOpen = false;
    },
    initData() {
      // getMenuTree().then(res => {
      //     const column = this.findObject(this.option.column, 'parentId');
      //     column.dicData = res.data.data;
      // });
    },
    handleAdd(row) {
      this.parentId = row.id;
      const column = this.findObject(this.option.column, "parentId");
      column.value = row.id;
      column.addDisabled = true;
      this.$refs.crud.rowAdd();
    },
    // 保存
    rowSave(row, done, loading) {
      // add(row).then(
      //     res => {
      //         // 获取新增数据的相关字段
      //         const data = res.data.data;
      //         row.id = data.id;
      //         this.$message({
      //             type: 'success',
      //             message: '操作成功!',
      //         });
      //         // 数据回调进行刷新
      //         done(row);
      //     },
      //     error => {
      //         window.console.log(error);
      //         loading();
      //     }
      // );
    },
    // 修改
    rowUpdate(row, index, done, loading) {
      // update(row).then(
      //     () => {
      //         this.$message({
      //             type: 'success',
      //             message: '操作成功!',
      //         });
      //         // 数据回调进行刷新
      //         done(row);
      //     },
      //     error => {
      //         window.console.log(error);
      //         loading();
      //     }
      // );
    },
    rowDel(row, index, done) {
      this.$confirm("确定将选择数据删除?", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
      })
        .then(() => {
          // return remove(row.id);
        })
        .then(() => {
          this.$message({
            type: "success",
            message: "操作成功!",
          });
          // 数据回调进行刷新
          done(row);
        });
    },
    // 重置
    searchReset() {
      this.query = {};
      this.parentId = 0;
      this.searchForm = {
        orderStatus: ['3','2'],
      }
      this.onLoad(this.page);
    },
    // 搜索
    searchChange(params, done) {
      this.query = {
        ...params,
        orderStatus: params.orderStatus && params.orderStatus.length != 0 && params.orderStatus.join(","),
      };
      this.parentId = "";
      this.page.currentPage = 1;
      this.onLoad();
      done();
    },
    // 选中表格数据
    selectionChange(list) {
      this.selectionList = list;
    },
    //
    selectionClear() {
      this.selectionList = [];
      this.$refs.crud.toggleSelection();
    },
    // 打开弹框 前操作  打开表单前会执行beforeOpen方法
    beforeOpen(done, type) {
      if (["add", "edit"].includes(type)) {
        this.initData();
      }
      if (["edit", "view"].includes(type)) {
        // getMenu(this.form.id).then(res => {
        //     this.form = Object.assign(res.data.data, {
        //         hasChildren: this.form.hasChildren,
        //     });
        //     if (this.form.parentId === '0') {
        //         this.form.parentId = '';
        //     }
        // });
      }
      done();
    },
    materialFormPrint(){
      this.showPrint = true
    },
    // 关闭 弹框  关闭表单前会执行beforeClose方法，
    beforeClose(done) {
      this.parentId = "";
      const column = this.findObject(this.option.column, "parentId");
      column.value = "";
      column.addDisabled = false;
      done();
    },
    // 切换 页码
    currentChange(currentPage) {
      this.page.currentPage = currentPage;
    },
    // 切换页面 数量
    sizeChange(pageSize) {
      this.page.pageSize = pageSize;
    },

    refreshChange() {
      this.onLoad(this.page, this.query);
    },
    // 加载页面数据
    onLoad(page, params = {}) {
      this.loading = true;
      let searchParams = {
        ...this.query,
        planIssuanceTimeStart:this.query.planIssuanceTime && this.query.planIssuanceTime.length != 0 && this.query.planIssuanceTime[0],
        planIssuanceTimeEnd:this.query.planIssuanceTime && this.query.planIssuanceTime.length != 0 && this.query.planIssuanceTime[1],
        demandDateStart:this.query.demandDate && this.query.demandDate.length != 0 && this.query.demandDate[0],
        demandDateEnd:this.query.demandDate && this.query.demandDate.length != 0 && this.query.demandDate[1],
        postPlatingStorageTimeStart:this.query.postPlatingStorageTime && this.query.postPlatingStorageTime.length != 0 && this.query.postPlatingStorageTime[0],
        postPlatingStorageTimeEnd:this.query.postPlatingStorageTime && this.query.postPlatingStorageTime.length != 0 && this.query.postPlatingStorageTime[1],
      }
      const {planIssuanceTime,demandDate,postPlatingStorageTime,...searchData} = searchParams
      getList({
        current:this.page.currentPage,
        size:this.page.pageSize,
        ...searchData
      }).then(res =>{
        this.data = res.data.data.records
        this.page.total = res.data.data.total
        this.loading = false;
      })

      // getLazyList(this.parentId, Object.assign(params, this.query)).then(res => {
      // this.data = res.data.data;
      // this.data = [
      //   {
      //     right: "989789-iui",
      //     inventoryQty: 99,
      //     notInQty: 90,
      //     memo: "0909",
      //     approvalMan: {
      //       userId: 1,
      //       userName: "admin",
      //     },
      //     approvalMemo: "89889",
      //     approvalTime: "89889",
      //     collaborate: false,
      //     createMan: {
      //       userId: 1,
      //       userName: "admin",
      //     },
      //     createTime: "2023-07-19 16:58:00",
      //     deliverKey: "89889",
      //     inCustomer: {
      //       abbreviation: "L235",
      //       address: "aaa",
      //       codeAndName: "L235/L235",
      //       contactMan: "aaa",
      //       contactPhone: "aaa",
      //       craftAbility:
      //         "上挂（化学镍）、化学镀镍、下挂（化学镍）、涂色标、试键位、干喷砂、复合镍、DL零件包装、",
      //       curStatus: 0,
      //       curStatusText: "正常供货",
      //       email: "aaa",
      //       keyValue: 28,
      //       limitType: 0,
      //       ocCode: "L235",
      //       ocId: 28,
      //       ocName: "L235",
      //       oemPassword: "L235235",
      //       partCodeYesOrNo: false,
      //       qualification: 10,
      //       qualificationTitle: "89889",
      //       region: "河南省",
      //       updateTime: "2023-04-14 18:33:49",
      //     },
      //     inTeam: "89889",
      //     keyValue: 7791,
      //     memo: "分派默认(厂外)",
      //     outCustomer: "89889",
      //     outTeam: "89889",
      //     prWorkOrder: {
      //       approvalStatus: 2,
      //       batchArea: 67,
      //       batchNo: "191640",
      //       bsOemCustomer: "89889",
      //       ca: "E386-化学镀镍",
      //       cardNo: "202307191640",
      //       closeMan: "89889",
      //       closeTime: "89889",
      //       collaborate: false,
      //       collaborateText: "否",
      //       createTime: "2023-07-19 16:58:00",
      //       currentBsOemCustomer: "89889",
      //       currentMakeTeam: {
      //         bsClassesSet: "89889",
      //         bsWorkCenter: "89889",
      //         createMan: {
      //           userId: 1,
      //           userName: "admin",
      //         },
      //         createTime: "2023-02-06 13:12:05",
      //         dayPutDueTime: "00:00~13:30、13:45~19:30",
      //         deleted: false,
      //         dispatcher: {
      //           userId: 561,
      //           userName: "张欣",
      //         },
      //         exChangeTime: "89889",
      //         keyValue: 67,
      //         planner: {
      //           userId: 521,
      //           userName: "测试",
      //         },
      //         specDayPutDueTime: "89889",
      //         special: false,
      //         specialTitle: "否",
      //         teamLeader: {
      //           userId: 521,
      //           userName: "测试",
      //         },
      //         teamMember:
      //           "03679、12649、12646、09391、03764、03723、123456、0001、admin、hak、崔殿龙",
      //         tsCode: "007",
      //         tsId: 67,
      //         tsName: "化学镀镍二班",
      //         tsType: "89889",
      //         tsTypeTitle: "89889",
      //         updateTime: "2023-02-06 13:12:05",
      //       },
      //       demandDate: "2023-07-26",
      //       dispatcher: {
      //         userId: 449,
      //         userName: "08355",
      //       },
      //       frontProcedureSet: {
      //         assist: false,
      //         assistTitle: "否",
      //         createMan: {
      //           userId: 1,
      //           userName: "admin",
      //         },
      //         createTime: "2022-11-15 10:30:45",
      //         cycle: 0.0,
      //         cyropactorControl: true,
      //         deleted: false,
      //         eleRate: true,
      //         eleStream: true,
      //         keyValue: 7,
      //         mainProcess: true,
      //         mainProcessTitle: "是",
      //         niValue: true,
      //         phValue: true,
      //         ppsCode: "003",
      //         ppsId: 7,
      //         ppsName: "化学镀镍",
      //         special: false,
      //         specialTitle: "否",
      //         team: "89889",
      //         updateTime: "2022-11-15 10:30:45",
      //         vSpeed: true,
      //       },
      //       handoverTime: "89889",
      //       hrTypeBool: "89889",
      //       inventoryQty: 0.0,
      //       jcName: "89889",
      //       keyValue: 8639,
      //       lastInstoreTime: "89889",
      //       lossQty: 0,
      //       mainProcessingUnit: "化学镀镍一班郭家梁",
      //       makeQty: 6.0,
      //       makeTeam: {
      //         bsClassesSet: "89889",
      //         bsWorkCenter: {
      //           area: 13000.0,
      //           batchNo: "89889",
      //           bigBatch: false,
      //           bsJfCenter: {
      //             createMan: {
      //               userId: 1,
      //               userName: "admin",
      //             },
      //             createTime: "2024-12-09 00:00:00",
      //             deleted: false,
      //             jcCode: "RBZX",
      //             jcId: 1,
      //             jcName: "热表中心",
      //             keyValue: 1,
      //             updateTime: "2024-12-09 00:00:00",
      //           },
      //           checkout: false,
      //           craftAbility: "化学镀镍",
      //           createMan: {
      //             userId: 1,
      //             userName: "admin",
      //           },
      //           createTime: "2023-02-06 12:31:36",
      //           deleted: false,
      //           describe: "89889",
      //           endPoint: "89889",
      //           keyValue: 81,
      //           leaderUser: {
      //             userId: 541,
      //             userName: "崔殿龙",
      //           },
      //           limitType: 0,
      //           processes: "上挂、下挂、交检、化学镀镍、喷砂",
      //           quantity: "89889",
      //           roundCycle: "89889",
      //           saturation: 85.0,
      //           sign: "4",
      //           startPoint: "89889",
      //           team: "化学镀镍一班崔胜伟、化学镀镍一班郭家梁",
      //           updateTime: "2023-03-06 18:42:47",
      //           wcCode: "001",
      //           wcId: 81,
      //           wcName: "化学镀镍作业中心",
      //           whetherPlate: false,
      //         },
      //         createMan: {
      //           userId: 1,
      //           userName: "admin",
      //         },
      //         createTime: "2023-02-06 13:10:00",
      //         dayPutDueTime: "00:00~19:00",
      //         deleted: false,
      //         dispatcher: {
      //           userId: 541,
      //           userName: "崔殿龙",
      //         },
      //         exChangeTime: "89889",
      //         keyValue: 66,
      //         planner: {
      //           userId: 355,
      //           userName: "07188",
      //         },
      //         specDayPutDueTime: "89889",
      //         special: false,
      //         specialTitle: "否",
      //         teamLeader: {
      //           userId: 70,
      //           userName: "06623",
      //         },
      //         teamMember:
      //           "03781、03698、56498、12647、11231、10710、10731、06623、崔殿龙、admin、张欣",
      //         tsCode: "006",
      //         tsId: 66,
      //         tsName: "化学镀镍一班郭家梁",
      //         tsType: "89889",
      //         tsTypeTitle: "89889",
      //         updateTime: "2023-02-06 13:10:00",
      //       },
      //       makeUnit: "化学镀镍一班郭家梁",
      //       meetCycle: 0,
      //       memo: "89889",
      //       mesCardNo: "R2307190001",
      //       moCode: "89889",
      //       moLocal: "89889",
      //       nextBsOemCustomer: "89889",
      //       nextMakeTeam: {
      //         bsClassesSet: "89889",
      //         bsWorkCenter: {
      //           area: 13000.0,
      //           batchNo: "89889",
      //           bigBatch: false,
      //           bsJfCenter: {
      //             createMan: {
      //               userId: 1,
      //               userName: "admin",
      //             },
      //             createTime: "2024-12-09 00:00:00",
      //             deleted: false,
      //             jcCode: "RBZX",
      //             jcId: 1,
      //             jcName: "热表中心",
      //             keyValue: 1,
      //             updateTime: "2024-12-09 00:00:00",
      //           },
      //           checkout: false,
      //           craftAbility: "化学镀镍",
      //           createMan: {
      //             userId: 1,
      //             userName: "admin",
      //           },
      //           createTime: "2023-02-06 12:31:36",
      //           deleted: false,
      //           describe: "89889",
      //           endPoint: "89889",
      //           keyValue: 81,
      //           leaderUser: {
      //             userId: 541,
      //             userName: "崔殿龙",
      //           },
      //           limitType: 0,
      //           processes: "上挂、下挂、交检、化学镀镍、喷砂",
      //           quantity: "89889",
      //           roundCycle: "89889",
      //           saturation: 85.0,
      //           sign: "4",
      //           startPoint: "89889",
      //           team: "化学镀镍一班崔胜伟、化学镀镍一班郭家梁",
      //           updateTime: "2023-03-06 18:42:47",
      //           wcCode: "001",
      //           wcId: 81,
      //           wcName: "化学镀镍作业中心",
      //           whetherPlate: false,
      //         },
      //         createMan: {
      //           userId: 1,
      //           userName: "admin",
      //         },
      //         createTime: "2023-02-06 12:30:26",
      //         dayPutDueTime: "00:30~01:00",
      //         deleted: false,
      //         dispatcher: {
      //           userId: 355,
      //           userName: "07188",
      //         },
      //         exChangeTime: "89889",
      //         keyValue: 61,
      //         planner: {
      //           userId: 355,
      //           userName: "07188",
      //         },
      //         specDayPutDueTime: "89889",
      //         special: false,
      //         specialTitle: "否",
      //         teamLeader: {
      //           userId: 68,
      //           userName: "03772",
      //         },
      //         teamMember:
      //           "admin、10477、03772、03555、12645、10917、10711、03800、崔殿龙、张欣",
      //         tsCode: "001",
      //         tsId: 61,
      //         tsName: "化学镀镍一班崔胜伟",
      //         tsType: "89889",
      //         tsTypeTitle: "89889",
      //         updateTime: "2023-02-06 12:30:26",
      //       },
      //       nextOrders: "0020",
      //       nextProcedureSet: {
      //         assist: false,
      //         assistTitle: "否",
      //         createMan: {
      //           userId: 1,
      //           userName: "admin",
      //         },
      //         createTime: "2025-02-27 12:22:37",
      //         cycle: 0.0,
      //         cyropactorControl: false,
      //         deleted: false,
      //         eleRate: false,
      //         eleStream: false,
      //         keyValue: 12,
      //         mainProcess: true,
      //         mainProcessTitle: "是",
      //         niValue: false,
      //         phValue: false,
      //         ppsCode: "008",
      //         ppsId: 12,
      //         ppsName: "涂色标test",
      //         special: true,
      //         specialTitle: "是",
      //         team: "涂色标班组",
      //         updateTime: "2022-11-15 10:33:17",
      //         vSpeed: false,
      //       },
      //       notInQty: 6.0,
      //       nowWorkCenter: "89889",
      //       oem: false,
      //       oemOut: false,
      //       oemType: -1,
      //       oldRunStatus: "89889",
      //       orderMarkTitle: "外协中心",
      //       orderWoCode: "WO-20230719006-R001",
      //       orderWoCodeDeliverKey: "89889",
      //       orders: "0015",
      //       outTime: "89889",
      //       pgrId: "89889",
      //       pickingStatus: 1,
      //       pickingStatusTitle: "已领取",
      //       pjYieldOrder: {
      //         batchNo: "191640",
      //         bsProcedureQua: "89889",
      //         businessType: 2,
      //         businessTypeTitle: "外协中心",
      //         cardNo: "202307191640",
      //         craftId: 8145,
      //         curStatus: 0,
      //         curStatusTitle: "待接收",
      //         custodian: "89889",
      //         demandDate: "2023-07-26",
      //         dsCraft: "89889",
      //         dsPart: "89889",
      //         entrustDept: "热表分厂",
      //         failureMan: {
      //           userId: 1,
      //           userName: "admin",
      //         },
      //         failureMemo: "分派成功！",
      //         failureTime: "2023-07-19 16:58:00",
      //         fatherYoId: "89889",
      //         keyValue: 157495,
      //         manualIncrease: true,
      //         memo: "测试数据",
      //         newlevFlag: "89889",
      //         nextRoam: "89889",
      //         nextRoamName: "89889",
      //         partCode: "21E8-154-1514-E9",
      //         partName: "14-线夹",
      //         pdmUrl: "89889",
      //         planUser: "崔殿龙",
      //         plate: "XXXX",
      //         poArea: 0.0,
      //         poCode: "WO-20230719006",
      //         poMemo: "89889",
      //         poProdLine: "89889",
      //         poQty: 2.0,
      //         primaryCraft: "库1-2（机加）-4（表）-库2",
      //         priority: 1,
      //         prodIdent: "JII",
      //         produceBool: false,
      //         productType: "XXX",
      //         recseqno: "89889",
      //         releaseDate: "2023-07-19",
      //         reworkCode: "89889",
      //         reworkMemo: "89889",
      //         reworkNo: "89889",
      //         roamName: "89889",
      //         roamNo: "B5286956",
      //         siteWork: false,
      //         sjKitPreparation: "89889",
      //         sjMoldPreparation: "89889",
      //         syncTime: "2023-07-19 16:31:08",
      //         useDept: "3400",
      //         useDeptcode: "89889",
      //         yieldType: 1,
      //         yoCode: "WO-20230719006-R01",
      //         yoId: 157495,
      //       },
      //       planEndDate: "2023-07-27 16:58:00",
      //       planner: {
      //         userId: 449,
      //         userName: "08355",
      //       },
      //       plateGoodsCode: "89889",
      //       plateSingleQuota: 0.0,
      //       plateSingleQuotaTotal: 0.0,
      //       printCode: "89889",
      //       printFlag: false,
      //       printMan: "89889",
      //       printTime: "89889",
      //       priority: 1,
      //       priorityTitle: "正常",
      //       procedureSet: {
      //         assist: false,
      //         assistTitle: "否",
      //         createMan: {
      //           userId: 1,
      //           userName: "admin",
      //         },
      //         createTime: "2022-11-15 10:31:00",
      //         cycle: 0.0,
      //         cyropactorControl: false,
      //         deleted: false,
      //         eleRate: false,
      //         eleStream: false,
      //         keyValue: 8,
      //         mainProcess: true,
      //         mainProcessTitle: "是",
      //         niValue: false,
      //         phValue: false,
      //         ppsCode: "004",
      //         ppsId: 8,
      //         ppsName: "下挂",
      //         special: false,
      //         specialTitle: "否",
      //         team: "89889",
      //         updateTime: "2022-11-15 10:31:00",
      //         vSpeed: false,
      //       },
      //       processingUnit: "化学镀镍二班",
      //       producycle: 4,
      //       pushFlag: false,
      //       putStoreTime: "89889",
      //       qcReworkCode: "89889",
      //       quotaExceptional: false,
      //       reInStore: false,
      //       readStatus: "89889",
      //       readStatusTiTle: "未准备",
      //       recDept: "89889",
      //       receptionTime: "89889",
      //       reworkCode: "89889",
      //       reworkMemo: "89889",
      //       reworkNo: "89889",
      //       rsCode: "89889",
      //       runStatus: 3,
      //       runStatusTitle: "加工中",
      //       schedStatus: 0,
      //       scrapQty: 0.0,
      //       sendDownTime: "2023-07-19 16:58:00",
      //       smBatch: "是",
      //       subList: "89889",
      //       subRunStatus: "89889",
      //       testQty: 0,
      //       tools: "89889",
      //       totalArea: 0.0,
      //       woCode: "WO-20230719006-R001",
      //       woId: 8639,
      //       wpId: 57230,
      //       ybCode: "89889",
      //       ybLocal: "89889",
      //     },
      //     printFlag: false,
      //     printMan: "89889",
      //     runStatus: 7,
      //     runStatusTitle: "已下达",
      //     runType: 1,
      //     runTypeTitle: "转外协",
      //     systemData: true,
      //     woCode: "WO-20230719006-R001",
      //     worId: 7791,
      //   },
      //   {
      //     right: "989789-iui",
      //     inventoryQty: 89,
      //     notInQty: 90,
      //     memo: "0909",

      //     approvalMan: {
      //       userId: 541,
      //       userName: "崔殿龙",
      //     },
      //     approvalMemo: "89889",
      //     approvalTime: "89889",
      //     collaborate: false,
      //     createMan: {
      //       userId: 541,
      //       userName: "崔殿龙",
      //     },
      //     createTime: "2023-07-19 17:35:47",
      //     deliverKey: "89889",
      //     inCustomer: {
      //       abbreviation: "L235",
      //       address: "aaa",
      //       codeAndName: "L235/L235",
      //       contactMan: "aaa",
      //       contactPhone: "aaa",
      //       craftAbility:
      //         "上挂（化学镍）、化学镀镍、下挂（化学镍）、涂色标、试键位、干喷砂、复合镍、DL零件包装、",
      //       curStatus: 0,
      //       curStatusText: "正常供货",
      //       email: "aaa",
      //       keyValue: 28,
      //       limitType: 0,
      //       ocCode: "L235",
      //       ocId: 28,
      //       ocName: "L235",
      //       oemPassword: "L235235",
      //       partCodeYesOrNo: false,
      //       qualification: 10,
      //       qualificationTitle: "89889",
      //       region: "河南省",
      //       updateTime: "2023-04-14 18:33:49",
      //     },
      //     inTeam: "89889",
      //     keyValue: 7792,
      //     memo: "分派默认(厂外)",
      //     outCustomer: "89889",
      //     outTeam: "89889",
      //     prWorkOrder: {
      //       approvalStatus: 1,
      //       batchArea: 78,
      //       batchNo: "R202307191734",
      //       bsOemCustomer: {
      //         abbreviation: "L235",
      //         address: "aaa",
      //         codeAndName: "L235/L235",
      //         contactMan: "aaa",
      //         contactPhone: "aaa",
      //         craftAbility:
      //           "上挂（化学镍）、化学镀镍、下挂（化学镍）、涂色标、试键位、干喷砂、复合镍、DL零件包装、",
      //         curStatus: 0,
      //         curStatusText: "正常供货",
      //         email: "aaa",
      //         keyValue: 28,
      //         limitType: 0,
      //         ocCode: "L235",
      //         ocId: 28,
      //         ocName: "L235",
      //         oemPassword: "L235235",
      //         partCodeYesOrNo: false,
      //         qualification: 10,
      //         qualificationTitle: "89889",
      //         region: "河南省",
      //         updateTime: "2023-04-14 18:33:49",
      //       },
      //       ca: "E386-化学镀镍",
      //       cardNo: "202307191734-001",
      //       closeMan: "89889",
      //       closeTime: "89889",
      //       collaborate: false,
      //       collaborateText: "否",
      //       createTime: "2023-07-19 17:35:47",
      //       currentBsOemCustomer: {
      //         abbreviation: "L235",
      //         address: "aaa",
      //         codeAndName: "L235/L235",
      //         contactMan: "aaa",
      //         contactPhone: "aaa",
      //         craftAbility:
      //           "上挂（化学镍）、化学镀镍、下挂（化学镍）、涂色标、试键位、干喷砂、复合镍、DL零件包装、",
      //         curStatus: 0,
      //         curStatusText: "正常供货",
      //         email: "aaa",
      //         keyValue: 28,
      //         limitType: 0,
      //         ocCode: "L235",
      //         ocId: 28,
      //         ocName: "L235",
      //         oemPassword: "L235235",
      //         partCodeYesOrNo: false,
      //         qualification: 10,
      //         qualificationTitle: "89889",
      //         region: "河南省",
      //         updateTime: "2023-04-14 18:33:49",
      //       },
      //       currentMakeTeam: "89889",
      //       demandDate: "2023-07-26",
      //       dispatcher: {
      //         userId: 541,
      //         userName: "崔殿龙",
      //       },
      //       frontProcedureSet: "89889",
      //       handoverTime: "89889",
      //       hrTypeBool: "89889",
      //       inventoryQty: 0.0,
      //       jcName: "89889",
      //       keyValue: 8640,
      //       lastInstoreTime: "89889",
      //       lossQty: 0,
      //       mainProcessingUnit: "L235",
      //       makeQty: 10.0,
      //       makeTeam: "89889",
      //       makeUnit: "L235",
      //       meetCycle: 0,
      //       memo: "89889",
      //       mesCardNo: "R2307190002",
      //       moCode: "89889",
      //       moLocal: "89889",
      //       nextBsOemCustomer: {
      //         abbreviation: "L235",
      //         address: "aaa",
      //         codeAndName: "L235/L235",
      //         contactMan: "aaa",
      //         contactPhone: "aaa",
      //         craftAbility:
      //           "上挂（化学镍）、化学镀镍、下挂（化学镍）、涂色标、试键位、干喷砂、复合镍、DL零件包装、",
      //         curStatus: 0,
      //         curStatusText: "正常供货",
      //         email: "aaa",
      //         keyValue: 28,
      //         limitType: 0,
      //         ocCode: "L235",
      //         ocId: 28,
      //         ocName: "L235",
      //         oemPassword: "L235235",
      //         partCodeYesOrNo: false,
      //         qualification: 10,
      //         qualificationTitle: "89889",
      //         region: "河南省",
      //         updateTime: "2023-04-14 18:33:49",
      //       },
      //       nextMakeTeam: "89889",
      //       nextOrders: "0010",
      //       nextProcedureSet: {
      //         assist: false,
      //         assistTitle: "否",
      //         createMan: {
      //           userId: 1,
      //           userName: "admin",
      //         },
      //         createTime: "2022-11-15 10:30:45",
      //         cycle: 0.0,
      //         cyropactorControl: true,
      //         deleted: false,
      //         eleRate: true,
      //         eleStream: true,
      //         keyValue: 7,
      //         mainProcess: true,
      //         mainProcessTitle: "是",
      //         niValue: true,
      //         phValue: true,
      //         ppsCode: "003",
      //         ppsId: 7,
      //         ppsName: "化学镀镍",
      //         special: false,
      //         specialTitle: "否",
      //         team: "89889",
      //         updateTime: "2022-11-15 10:30:45",
      //         vSpeed: true,
      //       },
      //       notInQty: 10.0,
      //       nowWorkCenter: "89889",
      //       oem: true,
      //       oemOut: false,
      //       oemType: 1,
      //       oldRunStatus: "89889",
      //       orderMarkTitle: "外协中心",
      //       orderWoCode: "WO-20230719006-R002",
      //       orderWoCodeDeliverKey: "89889",
      //       orders: "0005",
      //       outTime: "89889",
      //       pgrId: "89889",
      //       pickingStatus: 0,
      //       pickingStatusTitle: "未领取",
      //       pjYieldOrder: {
      //         batchNo: "R202307191734",
      //         bsProcedureQua: "89889",
      //         businessType: 2,
      //         businessTypeTitle: "外协中心",
      //         cardNo: "202307191734-001",
      //         craftId: 8145,
      //         curStatus: 0,
      //         curStatusTitle: "待接收",
      //         custodian: "89889",
      //         demandDate: "2023-07-26",
      //         dsCraft: "89889",
      //         dsPart: "89889",
      //         entrustDept: "热表分厂",
      //         failureMan: {
      //           userId: 541,
      //           userName: "崔殿龙",
      //         },
      //         failureMemo: "分派成功！",
      //         failureTime: "2023-07-19 17:35:47",
      //         fatherYoId: "89889",
      //         keyValue: 157496,
      //         manualIncrease: true,
      //         memo: "测试数据",
      //         newlevFlag: "89889",
      //         nextRoam: "89889",
      //         nextRoamName: "89889",
      //         partCode: "21E8-154-1514-E9",
      //         partName: "14-线夹",
      //         pdmUrl: "89889",
      //         planUser: "崔殿龙",
      //         plate: "XXXX",
      //         poArea: 0.0,
      //         poCode: "WO-20230719006",
      //         poMemo: "89889",
      //         poProdLine: "89889",
      //         poQty: 10.0,
      //         primaryCraft: "库1-2（机加）-4（表）-库2",
      //         priority: 1,
      //         prodIdent: "JII",
      //         produceBool: false,
      //         productType: "XXX",
      //         recseqno: "89889",
      //         releaseDate: "2023-07-19",
      //         reworkCode: "89889",
      //         reworkMemo: "89889",
      //         reworkNo: "89889",
      //         roamName: "89889",
      //         roamNo: "B5286956",
      //         siteWork: false,
      //         sjKitPreparation: "89889",
      //         sjMoldPreparation: "89889",
      //         syncTime: "2023-07-19 17:35:06",
      //         useDept: "3400",
      //         useDeptcode: "89889",
      //         yieldType: 1,
      //         yoCode: "WO-20230719006-R02",
      //         yoId: 157496,
      //       },
      //       planEndDate: "2023-07-27 17:35:47",
      //       planner: {
      //         userId: 541,
      //         userName: "崔殿龙",
      //       },
      //       plateGoodsCode: "89889",
      //       plateSingleQuota: 0.0,
      //       plateSingleQuotaTotal: 0.0,
      //       printCode: "89889",
      //       printFlag: false,
      //       printMan: "89889",
      //       printTime: "89889",
      //       priority: 1,
      //       priorityTitle: "正常",
      //       procedureSet: {
      //         assist: false,
      //         assistTitle: "否",
      //         createMan: {
      //           userId: 1,
      //           userName: "admin",
      //         },
      //         createTime: "2022-11-15 10:30:29",
      //         cycle: 0.0,
      //         cyropactorControl: false,
      //         deleted: false,
      //         eleRate: true,
      //         eleStream: true,
      //         keyValue: 6,
      //         mainProcess: true,
      //         mainProcessTitle: "是",
      //         niValue: false,
      //         phValue: false,
      //         ppsCode: "002",
      //         ppsId: 6,
      //         ppsName: "上挂",
      //         special: false,
      //         specialTitle: "否",
      //         team: "89889",
      //         updateTime: "2022-11-15 10:30:29",
      //         vSpeed: false,
      //       },
      //       processingUnit: "L235",
      //       producycle: 6,
      //       pushFlag: false,
      //       putStoreTime: "89889",
      //       qcReworkCode: "89889",
      //       quotaExceptional: false,
      //       reInStore: false,
      //       readStatus: "89889",
      //       readStatusTiTle: "未准备",
      //       recDept: "89889",
      //       receptionTime: "89889",
      //       reworkCode: "89889",
      //       reworkMemo: "89889",
      //       reworkNo: "89889",
      //       rsCode: "89889",
      //       runStatus: 3,
      //       runStatusTitle: "加工中",
      //       schedStatus: 0,
      //       scrapQty: 0.0,
      //       sendDownTime: "2023-07-19 17:35:47",
      //       smBatch: "是",
      //       subList: "89889",
      //       subRunStatus: "89889",
      //       testQty: 0,
      //       tools: "89889",
      //       totalArea: 0.0,
      //       woCode: "WO-20230719006-R002",
      //       woId: 8640,
      //       wpId: 57233,
      //       ybCode: "89889",
      //       ybLocal: "89889",
      //     },
      //     printFlag: false,
      //     printMan: "89889",
      //     runStatus: 7,
      //     runStatusTitle: "已下达",
      //     runType: 1,
      //     runTypeTitle: "转外协",
      //     systemData: true,
      //     woCode: "WO-20230719006-R002",
      //     worId: 7792,
      //   },
      // ];
      // this.loading = false;
      // this.page.total = this.data.length;
      // this.selectionClear();
      // });
    },
  },
};
</script>
<style lang="scss"></style>
