| | |
| | | * @version: |
| | | * @Date: 2024-06-19 20:34:27 |
| | | * @LastEditors: Ben Lin |
| | | * @LastEditTime: 2024-06-22 22:20:05 |
| | | * @LastEditTime: 2024-06-25 18:37:56 |
| | | */ |
| | | |
| | | import { ActionItem, BasicColumn } from '/@/components/Table'; |
| | |
| | | Name: 'ProdRouteBinding', |
| | | CODE: params['record'].ITEM_CODE, |
| | | Title: `产品[${params['record'].ITEM_CODE}]工艺绑定`, |
| | | colSlots: [], |
| | | crudColSlots: [], |
| | | colSlots: [], /* 表格内的查询表单字段的插槽列表,一般用于弹出选择框按钮 */ |
| | | crudColSlots: [], /* 增删改表单字段的插槽列表,一般用于弹出选择框按钮 */ |
| | | dense: true, |
| | | pageTitle: `产品工艺绑定`, |
| | | pageContent: `这里是管理产品的工艺绑定,一个产品可以绑定多个工艺路线`, |
| | |
| | | * @description: 获取新增按钮的行为 |
| | | * @return {*} |
| | | */ |
| | | CreateAction: () => { |
| | | CreateAction: (fnName: string) => { |
| | | return { |
| | | action: 'drawer', //drawer(打开左侧抽屉框) | go(跳转到新的页面) |
| | | }; |
| | |
| | | }, |
| | | ]; |
| | | }, |
| | | OthersValues: (val: string, id: string) => { |
| | | return { RSNG_CODE: val }; |
| | | }, |
| | | }; |
| | | |
| | | return [methods, ActionColumn]; |