Browse Source

修改计划外入库

master_hella_20240701
zhaoxuebing 5 months ago
parent
commit
3dba364170
  1. 66
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/unplannedreceiptJobMain.data.ts
  2. 14
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts

66
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/unplannedreceiptJobMain.data.ts

@ -270,8 +270,8 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'fromAreaTypes', field: 'fromAreaTypes',
dictType: DICT_TYPE.AREA_TYPE, dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string', dictClass: 'string',
isSearch: true, isSearch: false,
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -310,6 +310,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '优先级', label: '优先级',
field: 'priority', field: 'priority',
sort: 'custom', sort: 'custom',
isTable:false,
isForm:false,
isTableForm:false,
table: { table: {
width: 150 width: 150
}, },
@ -321,6 +324,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '优先级增量', label: '优先级增量',
field: 'priorityIncrement', field: 'priorityIncrement',
sort: 'custom', sort: 'custom',
isTable:false,
isForm:false,
isTableForm:false,
table: { table: {
width: 150 width: 150
}, },
@ -357,7 +363,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'autoComplete', field: 'autoComplete',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -376,7 +384,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyLocation', field: 'allowModifyLocation',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -395,7 +405,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyQty', field: 'allowModifyQty',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -414,7 +426,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowBiggerQty', field: 'allowBiggerQty',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -433,7 +447,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowSmallerQty', field: 'allowSmallerQty',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -452,7 +468,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyInventoryStatus', field: 'allowModifyInventoryStatus',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -471,7 +489,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowContinuousScanning', field: 'allowContinuousScanning',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -490,7 +510,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowPartialComplete', field: 'allowPartialComplete',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -509,7 +531,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyBatch', field: 'allowModifyBatch',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -528,7 +552,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyPackingNumber', field: 'allowModifyPackingNumber',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -630,6 +656,7 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '最后更新时间', label: '最后更新时间',
field: 'updateTime', field: 'updateTime',
formatter: dateFormatter, formatter: dateFormatter,
isTable:false,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
@ -650,6 +677,7 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '最后更新者', label: '最后更新者',
field: 'updater', field: 'updater',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -726,6 +754,7 @@ export const UnplannedreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '单据号', label: '单据号',
field: 'number', field: 'number',
sort: 'custom', sort: 'custom',
hiddenInMain:true,
table: { table: {
width: 180 width: 180
}, },
@ -782,6 +811,7 @@ export const UnplannedreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '器具号', label: '器具号',
field: 'containerNumber', field: 'containerNumber',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -861,6 +891,9 @@ export const UnplannedreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '成本中心代码', label: '成本中心代码',
field: 'costcentreCode', field: 'costcentreCode',
sort: 'custom', sort: 'custom',
isTable:false,
isTableForm:false,
isForm:false,
table: { table: {
width: 150 width: 150
}, },
@ -869,6 +902,9 @@ export const UnplannedreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '科目代码', label: '科目代码',
field: 'qadProjectCode', field: 'qadProjectCode',
sort: 'custom', sort: 'custom',
isTable:false,
isTableForm:false,
isForm:false,
table: { table: {
width: 150 width: 150
}, },
@ -898,6 +934,9 @@ export const UnplannedreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '货主代码', label: '货主代码',
field: 'ownerCode', field: 'ownerCode',
sort: 'custom', sort: 'custom',
isTable:false,
isTableForm:false,
isForm:false,
table: { table: {
width: 150 width: 150
}, },
@ -906,6 +945,9 @@ export const UnplannedreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '项目代码', label: '项目代码',
field: 'projectCode', field: 'projectCode',
sort: 'custom', sort: 'custom',
isTable:false,
isTableForm:false,
isForm:false,
table: { table: {
width: 150 width: 150
}, },

14
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts

@ -387,7 +387,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
field: 'autoCommit', field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
isForm: false, isForm: false,
sort: 'custom', sort: 'custom',
table: { table: {
@ -408,7 +408,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
field: 'autoAgree', field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
isForm: false, isForm: false,
sort: 'custom', sort: 'custom',
table: { table: {
@ -429,7 +429,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
field: 'autoExecute', field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
isForm: false, isForm: false,
sort: 'custom', sort: 'custom',
table: { table: {
@ -481,6 +481,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
isTable:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 180
@ -500,6 +501,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
label: '创建者', label: '创建者',
field: 'creator', field: 'creator',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -512,6 +514,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
isTable:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 180
@ -530,6 +533,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
label: '最后更新者', label: '最后更新者',
field: 'updater', field: 'updater',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -596,6 +600,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
width: 180 width: 180
}, },
isTableForm: false, isTableForm: false,
hiddenInMain:true,
form: { form: {
componentProps: { componentProps: {
disabled: true disabled: true
@ -972,6 +977,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
label: '到货主代码', label: '到货主代码',
field: 'toOwnerCode', field: 'toOwnerCode',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -1143,6 +1149,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
isTable:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 180
@ -1162,6 +1169,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
label: '最后更新者', label: '最后更新者',
field: 'updater', field: 'updater',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },

Loading…
Cancel
Save