|
@ -314,7 +314,8 @@ export const IssueRequestMain = useCrudSchemas( |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
component: 'Select' |
|
|
component: 'Select', |
|
|
|
|
|
value: '1' |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -905,7 +906,7 @@ export const IssueRequestDetail = useCrudSchemas( |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
isInpuFocusShow: true, |
|
|
isInpuFocusShow: true, |
|
|
searchListPlaceholder: '请选择包装规格', // 输入框占位文本
|
|
|
searchListPlaceholder: '请选择包装规格', // 输入框占位文本
|
|
|
searchField: 'itemCode', // 查询弹窗赋值字段
|
|
|
searchField: 'packUnit', // 查询弹窗赋值字段
|
|
|
searchTitle: '物料包装信息', // 查询弹窗标题
|
|
|
searchTitle: '物料包装信息', // 查询弹窗标题
|
|
|
searchAllSchemas: Itempackaging.allSchemas, // 查询弹窗所需类
|
|
|
searchAllSchemas: Itempackaging.allSchemas, // 查询弹窗所需类
|
|
|
searchPage: ItempackagingApi.getItempackagingPage, // 查询弹窗所需分页方法
|
|
|
searchPage: ItempackagingApi.getItempackagingPage, // 查询弹窗所需分页方法
|
|
@ -959,7 +960,6 @@ export const IssueRequestDetail = useCrudSchemas( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
hiddenInMain: true, |
|
|
|
|
|
tableForm: { |
|
|
tableForm: { |
|
|
disabled:true, |
|
|
disabled:true, |
|
|
type: 'InputNumber', |
|
|
type: 'InputNumber', |
|
@ -990,7 +990,7 @@ export const IssueRequestDetail = useCrudSchemas( |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
min: 0, |
|
|
min: 1, |
|
|
precision: 0 |
|
|
precision: 0 |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -1285,8 +1285,8 @@ export const IssueRequestDetailRules = reactive({ |
|
|
{ required: true, message: '请输入到库位代码', trigger: 'blur' } |
|
|
{ required: true, message: '请输入到库位代码', trigger: 'blur' } |
|
|
], |
|
|
], |
|
|
qty1: [ |
|
|
qty1: [ |
|
|
{ required: true, message: '请输入包装数量', trigger: 'blur' }, |
|
|
{ required: true, message: '请输入包装数量', trigger: 'change' }, |
|
|
{ min: true, message: '包装数量不能小于1', trigger: 'blur' } |
|
|
// { min: 0, message: '包装数量不能小于1', trigger: 'blur' }
|
|
|
], |
|
|
], |
|
|
qty: [ |
|
|
qty: [ |
|
|
{ required: true, message: '请输入数量', trigger: 'blur' } |
|
|
{ required: true, message: '请输入数量', trigger: 'blur' } |
|
@ -1297,4 +1297,7 @@ export const IssueRequestDetailRules = reactive({ |
|
|
remark: [ |
|
|
remark: [ |
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
], |
|
|
], |
|
|
|
|
|
packUnit: [ |
|
|
|
|
|
{ required: true, message: '请选择包装规格', trigger: 'change' } |
|
|
|
|
|
] |
|
|
}) |
|
|
}) |
|
|