Browse Source

供应商代码

master_hella_20240701
wangyufei 4 months ago
parent
commit
695427384b
  1. 10
      src/views/wms/basicDataManage/supplierManage/supplierCycle/supplierCycle.data.ts

10
src/views/wms/basicDataManage/supplierManage/supplierCycle/supplierCycle.data.ts

@ -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' },
],
})
Loading…
Cancel
Save