Browse Source

FWHL-237

hella_zhaoxuebing
赵雪冰 1 month ago
parent
commit
127b1df57d
  1. 14
      src/views/wms/issueManage/onlinesettlement/settlementConfiguration/settlementConfiguration.data.ts

14
src/views/wms/issueManage/onlinesettlement/settlementConfiguration/settlementConfiguration.data.ts

@ -9,7 +9,12 @@ import * as WarehouseApi from '@/api/wms/warehouse'
// 表单校验
export const SettlementConfigurationRules = reactive({
concurrencyStamp: [required],
supplierCode: [
{ required: true, message: '请选择供应商代码', trigger: 'blur' }
],
itemCode: [
{ required: true, message: '请选择物料代码', trigger: 'blur' }
],
})
export const SettlementConfiguration = useCrudSchemas(reactive<CrudSchema[]>([
@ -18,6 +23,7 @@ export const SettlementConfiguration = useCrudSchemas(reactive<CrudSchema[]>([
field: 'id',
sort: 'custom',
isForm: false,
isTable:false,
},
{
label: '供应商代码',
@ -116,13 +122,13 @@ export const SettlementConfiguration = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false,
},
{
label: '来源仓库',
label: '来源仓库代码',
field: 'fromWarehouseCode',
sort: 'custom',
isForm: false
},
{
label: '目标仓库',
label: '目标仓库代码',
field: 'toWarehouseCode',
sort: 'custom',
isForm: false
@ -220,5 +226,5 @@ export const SettlementConfigurationDetail = useCrudSchemas(reactive<CrudSchema[
export const SettlementConfigurationDetailRules = reactive({
fromWarehouseCode: [
{ required: true, message: '请选择来源仓库', trigger: 'change' }
],
]
})

Loading…
Cancel
Save