|
|
@ -2,7 +2,9 @@ import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|
|
|
import { dateFormatter } from '@/utils/formatTime' |
|
|
|
import { fa } from 'element-plus/es/locale' |
|
|
|
import * as PackageunitApi from '@/api/wms/packageunit' |
|
|
|
import { Select } from '@element-plus/icons-vue/dist/types' |
|
|
|
|
|
|
|
//新增时针对父包装代码copy出的实体
|
|
|
|
export const PackageunitCopy = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
{ |
|
|
|
label: '包装代码', |
|
|
@ -81,6 +83,12 @@ export const PackageunitCopy = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
label: '单位', |
|
|
|
field: 'unit', |
|
|
|
sort: 'custom', |
|
|
|
dictType: DICT_TYPE.PACK_UNIT, |
|
|
|
dictClass: 'string', |
|
|
|
isSearch: true, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '是否可用', |
|
|
@ -363,6 +371,12 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
label: '单位', |
|
|
|
field: 'unit', |
|
|
|
sort: 'custom', |
|
|
|
dictType: DICT_TYPE.PACK_UNIT, |
|
|
|
dictClass: 'string', |
|
|
|
isSearch: true, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '是否可用', |
|
|
|