|
|
@ -3,10 +3,7 @@ import { dateFormatter } from '@/utils/formatTime' |
|
|
|
import * as SupplierApi from '@/api/wms/supplier' |
|
|
|
import { Supplier } from '@/views/wms/basicDataManage/supplierManage/supplier/supplier.data' |
|
|
|
// 表单校验
|
|
|
|
export const SupplierCycleRules = reactive({ |
|
|
|
available: [required], |
|
|
|
departmentCode: [required], |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
export const SupplierCycle = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
{ |
|
|
@ -156,3 +153,8 @@ export const SupplierCycle = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
} |
|
|
|
} |
|
|
|
])) |
|
|
|
export const SupplierCycleRules = reactive({ |
|
|
|
supplierCode: [ |
|
|
|
{ required: true, message: '供应商代码不能为空', trigger: 'blur' }, |
|
|
|
], |
|
|
|
}) |