Browse Source

缺陷:HL-5787任务修改

hella_online_20240911
zhaoxuebing 3 months ago
parent
commit
9f3b15bab4
  1. 62
      src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts

62
src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts

@ -168,6 +168,9 @@ export const ScrapJobMain = useCrudSchemas(
table: { table: {
width: 150 width: 150
}, },
isTable:false,
isForm:false,
isTableForm:false,
}, },
{ {
label: '订单号', label: '订单号',
@ -176,6 +179,9 @@ export const ScrapJobMain = useCrudSchemas(
table: { table: {
width: 150 width: 150
}, },
isTable:false,
isForm:false,
isTableForm:false,
}, },
{ {
label: '出库原因', label: '出库原因',
@ -266,6 +272,9 @@ export const ScrapJobMain = useCrudSchemas(
table: { table: {
width: 180 width: 180
}, },
isTable:false,
isForm:false,
isTableForm:false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -282,6 +291,9 @@ export const ScrapJobMain = useCrudSchemas(
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 180
@ -301,7 +313,7 @@ export const ScrapJobMain = useCrudSchemas(
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
} },
}, },
{ {
label: '从库区代码范围', label: '从库区代码范围',
@ -309,7 +321,10 @@ export const ScrapJobMain = useCrudSchemas(
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
} },
isTable:false,
isForm:false,
isTableForm:false,
}, },
{ {
label: '从库区类型范围', label: '从库区类型范围',
@ -327,11 +342,13 @@ export const ScrapJobMain = useCrudSchemas(
field: 'toAreaTypes', field: 'toAreaTypes',
dictType: DICT_TYPE.AREA_TYPE, dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string', dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
} },
isTable:false,
isForm:false,
isTableForm:false,
}, },
// { // {
// label: '状态', // label: '状态',
@ -350,7 +367,10 @@ export const ScrapJobMain = useCrudSchemas(
}, },
form: { form: {
component: 'InputNumber' component: 'InputNumber'
} },
isTable:false,
isForm:false,
isTableForm:false,
}, },
{ {
label: '优先级增量', label: '优先级增量',
@ -361,7 +381,10 @@ export const ScrapJobMain = useCrudSchemas(
}, },
form: { form: {
component: 'InputNumber' component: 'InputNumber'
} },
isTable:false,
isForm:false,
isTableForm:false,
}, },
{ {
label: '业务类型', label: '业务类型',
@ -385,7 +408,10 @@ export const ScrapJobMain = useCrudSchemas(
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
} },
isTable:false,
isForm:false,
isTableForm:false,
}, },
{ {
label: '单据备注', label: '单据备注',
@ -885,25 +911,11 @@ export const ScrapJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '原因', label: '报废原因',
field: 'reason', field: 'reason',
dictType: DICT_TYPE.SCRAP_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: '货主代码',
@ -912,6 +924,9 @@ export const ScrapJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable:false,
isForm:false,
isTableForm:false,
}, },
// { // {
// label: '项目代码', // label: '项目代码',
@ -928,6 +943,9 @@ export const ScrapJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable:false,
isForm:false,
isTableForm:false,
}, },
{ {
label: '创建时间', label: '创建时间',

Loading…
Cancel
Save