Browse Source

缺陷:HL-5787任务修改

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

Loading…
Cancel
Save