Browse Source

发料申请以及任务,去掉“使用在途库”

master_hella_20240701
yufei0306 9 months ago
parent
commit
9804e9b90e
  1. 38
      src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts
  2. 39
      src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts

38
src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts

@ -368,25 +368,25 @@ export const IssueJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTable: false, isTable: false,
}, },
{ // {
label: '使用在途库', // label: '使用在途库',
field: 'useOnTheWayLocation', // field: 'useOnTheWayLocation',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
isTable: false, // isTable: false,
form: { // form: {
component: 'Switch', // component: 'Switch',
value: 'TRUE', // value: 'TRUE',
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE' // activeValue: 'TRUE'
} // }
} // }
}, // },
{ {
label: '自动完成', label: '自动完成',
field: 'autoComplete', field: 'autoComplete',

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

@ -277,25 +277,26 @@ export const IssueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTable: false, isTable: false,
}, },
{ // {
label: '使用在途库', // label: '使用在途库',
field: 'useOnTheWayLocation', // field: 'useOnTheWayLocation',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
isTable:false, // isTable:false,
sort: 'custom', // isForm:false,
table: { // sort: 'custom',
width: 150 // table: {
}, // width: 150
form: { // },
component: 'Switch', // form: {
value: 'TRUE', // component: 'Switch',
componentProps: { // value: 'TRUE',
inactiveValue: 'FALSE', // componentProps: {
activeValue: 'TRUE' // inactiveValue: 'FALSE',
} // activeValue: 'TRUE'
} // }
}, // }
// },
{ {
label: '自动提交', label: '自动提交',
field: 'autoCommit', field: 'autoCommit',

Loading…
Cancel
Save