Browse Source

发料申请、备料字段顺序调整

master
李胜楠 1 year ago
parent
commit
154e75464f
  1. 42
      src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts
  2. 6
      src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts

42
src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts

@ -34,6 +34,24 @@ const userDept = userStore.userSelfInfo.dept
* @returns {Array}
*/
export const IssueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '状态',
field: 'status',
dictType: DICT_TYPE.REQUEST_STATUS,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
form: {
value: '1',
componentProps: {
disabled: true
}
}
},
{
label: '车间代码',
field: 'workshopCode',
@ -240,24 +258,6 @@ export const IssueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '状态',
field: 'status',
dictType: DICT_TYPE.REQUEST_STATUS,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
form: {
value: '1',
componentProps: {
disabled: true
}
}
},
{
label: '最后更新时间',
field: 'updateTime',
@ -538,7 +538,8 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
isTableForm: false,
isForm: false
isForm: false,
isTable: false
},
{
label: '器具号',
@ -548,7 +549,8 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
isTableForm: false,
isForm: false
isForm: false,
isTable: false
},
{
label: '批次',

6
src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts

@ -688,7 +688,7 @@ export const PreparetoissueDetailRules = reactive({
itemCode: [
{ required: true, message: '请选择物品代码', trigger: 'change' }
],
workStation: [
{ required: true, message: '请选择工位', trigger: 'change' }
],
// workStation: [
// { required: true, message: '请选择工位', trigger: 'change' }
// ],
})
Loading…
Cancel
Save