| | |
| | | <!-- |
| | | * @Description: file content |
| | | * @Author: Ben Lin |
| | | * @version: |
| | | * @Date: 2024-06-18 15:09:48 |
| | | * @LastEditors: Ben Lin |
| | | * @LastEditTime: 2024-08-04 22:14:54 |
| | | --> |
| | | <!-- |
| | | * @Description: 右侧属性面板控件 表单属性面板 |
| | | --> |
| | | <template> |
| | |
| | | v-model:value="mesRoute.ROT_TYPE" |
| | | style="width: 120px" |
| | | :options="options2" |
| | | :readonly="true" |
| | | :disabled="true" |
| | | /> |
| | | </FormItem> |
| | | <FormItem label="工艺路线版本" name="工艺路线版本"> |
| | |
| | | v-model:value="mesRoute.IS_ACTIVE" |
| | | style="width: 120px" |
| | | :options="options1" |
| | | :readonly="true" |
| | | :disabled="true" |
| | | /> |
| | | </FormItem> |
| | | </Form> |
| | |
| | | import { ref } from 'vue'; |
| | | import { GetEnum } from '/@/api/tigerapi/system'; |
| | | |
| | | const { mesRoute } = useRouteDesignState(); |
| | | const { routeConfig, mesRoute } = useRouteDesignState(); |
| | | const options1 = ref<any>([ |
| | | { |
| | | value: 'Y', |
| | |
| | | import { DeleteWhere, getListByPage } from '/@/api/tigerapi/system'; |
| | | import { useRouteDesignState } from '../hooks/useRouteDesignState'; |
| | | import { SaveRouteNodePost, SaveWoRouteNodePost } from '/@/api/tigerapi/mes/router'; |
| | | import { WORD_BREAK } from 'html2canvas/dist/types/css/property-descriptors/word-break'; |
| | | |
| | | const { t } = useI18n(); |
| | | const { routeConfig, mesRoute } = useRouteDesignState(); |
| | |
| | | * @version: |
| | | * @Date: 2024-06-19 20:34:27 |
| | | * @LastEditors: Ben Lin |
| | | * @LastEditTime: 2024-08-04 15:42:50 |
| | | * @LastEditTime: 2024-08-05 00:43:22 |
| | | */ |
| | | |
| | | import { Ref, h, ref, render, unref } from 'vue'; |
| | |
| | | label: '模板编码', |
| | | component: 'Input', |
| | | show: true, |
| | | required: true, |
| | | // required: true, |
| | | colProps: { |
| | | span: 22, |
| | | }, |
| | |
| | | * @version: |
| | | * @Date: 2024-06-19 20:34:27 |
| | | * @LastEditors: Ben Lin |
| | | * @LastEditTime: 2024-08-04 16:44:05 |
| | | * @LastEditTime: 2024-08-05 00:43:08 |
| | | */ |
| | | |
| | | import { Ref, h, ref, render, unref } from 'vue'; |
| | |
| | | label: '模板编码', |
| | | component: 'Input', |
| | | show: true, |
| | | required: true, |
| | | // required: true, |
| | | colProps: { |
| | | span: 22, |
| | | }, |
| | |
| | | * @return {*} |
| | | */ |
| | | async function init(lf, rotId) { |
| | | initRoute(lf, rotId, routeData, currlf); |
| | | initRoute(lf, rotId, routeData, currlf, null); |
| | | } |
| | | |
| | | /** |
| | |
| | | currlf, |
| | | selectVals, |
| | | colSlots, |
| | | ifSave: true, |
| | | }; |
| | | |
| | | const actionItem = GenerateActionButton(params, buttons, openDrawer, reload); |