Ben Lin
2024-10-16 1b419ccf217dbcace15987f1c0fe26b9e15d1d4b
src/views/tigerprojects/system/lowcode/entityts/BIZ_MES_WO.ts
@@ -4,7 +4,7 @@
 * @version:
 * @Date: 2024-06-19 20:34:27
 * @LastEditors: Ben Lin
 * @LastEditTime: 2024-09-11 22:41:44
 * @LastEditTime: 2024-10-13 23:21:24
 */
import { Ref, h, ref, render, unref } from 'vue';
@@ -66,6 +66,10 @@
          x.onClick = handleRelease.bind(null, args, params);
          x.tooltip = '下发';
        }
        // if (x.name == 'handleTemplate') {
        //   x.onClick = handleTemplate.bind(null, args, params);
        //   x.tooltip = '模板维护';
        // }
      });
      return data;
    },
@@ -88,6 +92,14 @@
          showActionButtonGroup: false,
        }),
        prodinfo: useForm({
          labelWidth: 120,
          schemas: prodCfgformSchema,
          actionColOptions: {
            span: 24,
          },
          showActionButtonGroup: false,
        }),
        tmpinfo: useForm({
          labelWidth: 120,
          schemas: prodCfgformSchema,
          actionColOptions: {
@@ -336,6 +348,7 @@
              ACT_END_TIME: wo.ACT_END_TIME,
              BATCH_NO: '',
            },
            IfToCust: form.IfToCust
          };
          SaveMesBatchWo(input).then((action) => {
            resolve(action);
@@ -426,7 +439,6 @@
    });
  }
  /* 下发界面中的表单列表 */
  const woformSchema: FormSchema[] = [
    {
      field: 'PLAN_QTY',
@@ -465,6 +477,16 @@
        valueField: 'LINE_CODE',
      },
    },
    {
      field: 'IfToCust',
      component: 'Switch',
      label: '是否保存工艺路线到客户',
      defaultValue: true,
      colProps: {
        span: 8,
      },
      labelWidth: 200,
    },
    // {
    //   label: '工艺路线',
    //   field: 'ROUTE_CODE',