Ben Lin
2024-06-30 943954bdcb3b672b89cfa097e53d2ac17a36a101
src/views/tigerprojects/mes/prod/biz_mes_wo/index.vue
@@ -4,13 +4,13 @@
 * @version: 
 * @Date: 2024-05-25 00:27:00
 * @LastEditors: Ben Lin
 * @LastEditTime: 2024-06-10 23:54:01
 * @LastEditTime: 2024-06-28 11:40:38
-->
<template>
  <div>
    <BasicTable @register="registerTable">
      <template #toolbar>
        <a-button color="primary" @click="addWo" preIcon="add_02|svg"> 新增 </a-button>
        <a-button type="primary" @click="addWo" preIcon="add_02|svg"> 新增 </a-button>
        <a-button ghost color="success" @click="ExcelToDb" preIcon="excel-import|svg">
          导入
        </a-button>
@@ -177,8 +177,8 @@
    edges: [],
  });
  const formSchema = ref([] as FormSchema[]);
  const woSchema = ref([] as FormSchema[]);
  const prodSchema = ref([] as FormSchema[]);
  const woSchema = ref<FormSchema[]>(getFormSchema('woinfo'));
  const prodSchema = ref<FormSchema[]>(getFormSchema('prodinfo'));
  const isCustEl = ref({
    forminfo: false,
    woinfo: false,
@@ -266,8 +266,6 @@
      },
      { name: 'rotinfo', slots: ['add'], preIcons: { add: 'search|svg' }, title: '工艺信息' },
    ];
    woSchema.value = getFormSchema('woinfo');
    prodSchema.value = getFormSchema('prodinfo');
    // rotSchema.value = getFormSchema('rotinfo');
    //工艺路线渲染图初始化
    if (lfInstance.value != null) {