|
@ -433,7 +433,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
searchField: 'packingNumber', |
|
|
searchField: 'packingNumber', |
|
|
searchTitle: '库存余额信息', |
|
|
searchTitle: '库存余额信息', |
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
searchPage: BalanceApi.getBalancePage |
|
|
searchPage: BalanceApi.getBalancePageSpare |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
@ -443,7 +443,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
searchField: 'packingNumber', |
|
|
searchField: 'packingNumber', |
|
|
searchTitle: '库存余额信息', |
|
|
searchTitle: '库存余额信息', |
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
searchPage: BalanceApi.getBalancePage |
|
|
searchPage: BalanceApi.getBalancePageSpare |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -512,25 +512,11 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '原因', |
|
|
label: '领用原因', |
|
|
field: 'reason', |
|
|
field: 'reason', |
|
|
dictType: DICT_TYPE.UNPLANNED_ISSUE_REASON, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
formatter: (_: Recordable, __: TableColumn, cellValue: number) => { |
|
|
|
|
|
return cellValue |
|
|
|
|
|
}, |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
filterable: true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'Select', |
|
|
|
|
|
filterable: true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '项目代码', |
|
|
label: '项目代码', |
|
@ -641,10 +627,6 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
|
|
|
|
|
//表单校验
|
|
|
//表单校验
|
|
|
export const UnplannedissueRequestDetailRules = reactive({ |
|
|
export const UnplannedissueRequestDetailRules = reactive({ |
|
|
packingNumber: [ |
|
|
|
|
|
{ required: true, message: '请选择包装号', trigger: 'change' }, |
|
|
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
|
|
], |
|
|
|
|
|
batch: [ |
|
|
batch: [ |
|
|
{ required: true, message: '请输入批次', trigger: 'blur' }, |
|
|
{ required: true, message: '请输入批次', trigger: 'blur' }, |
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|