Browse Source

HL-5257:计划外入库,计划外出库,制品子件报废,报废出库,这四个功能增加撤销功能

hella_online_20240829
songguoqiang 3 months ago
parent
commit
c77f769090
  1. 53
      src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts
  2. 19
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/unplannedissueRecordMain.data.ts
  3. 20
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts
  4. 19
      src/views/wms/productionManage/productscrap/productscrapRecordMain/productscrapRecordMain.data.ts

53
src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts

@ -380,6 +380,25 @@ export const ScrapRecordMain = useCrudSchemas(
width: 150 width: 150
} }
}, },
{
label: '是否已撤销',
field: 'revokeFlag',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
table: {
width: 150
},
detail:{
// dictType:'primary',
// valueFilter:(value)=>{
// if(value=='TRUE'){
// return `是`
// }else{
// return '否'
// }
// }
}
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
@ -462,22 +481,6 @@ export const ScrapRecordMain = useCrudSchemas(
// width: 150 // width: 150
// }, // },
// }, // },
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: false,
isTable: true,
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',
@ -732,6 +735,24 @@ export const ScrapRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '是否已撤销',
field: 'revokeFlag',
sort: 'custom',
table: {
width: 150
},
detail:{
dictType:'primary',
valueFilter:(value)=>{
if(value=='TRUE'){
return ``
}else{
return '否'
}
}
}
},
{ {
label: '接口类型', label: '接口类型',
field: 'interfaceType', field: 'interfaceType',

19
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/unplannedissueRecordMain.data.ts

@ -382,6 +382,25 @@ export const UnplannedissueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTable: false, isTable: false,
}, },
{
label: '是否已撤销',
field: 'revokeFlag',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
table: {
width: 150
},
detail:{
// dictType:'primary',
// valueFilter:(value)=>{
// if(value=='TRUE'){
// return `是`
// }else{
// return '否'
// }
// }
}
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',

20
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts

@ -366,6 +366,25 @@ export const UnplannedreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
width: 150 width: 150
} }
}, },
{
label: '是否已撤销',
field: 'revokeFlag',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
table: {
width: 150
},
detail:{
// dictType:'primary',
// valueFilter:(value)=>{
// if(value=='TRUE'){
// return `是`
// }else{
// return '否'
// }
// }
}
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
@ -820,6 +839,7 @@ export const UnplannedreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]
width: 150 width: 150
}, },
}, },
// { // {
// label: '任务明细ID', // label: '任务明细ID',
// field: 'jobDetailId', // field: 'jobDetailId',

19
src/views/wms/productionManage/productscrap/productscrapRecordMain/productscrapRecordMain.data.ts

@ -279,6 +279,25 @@ export const ProductscrapRecordMain = useCrudSchemas(
}, },
isTable: false isTable: false
}, },
{
label: '是否已撤销',
field: 'revokeFlag',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
table: {
width: 150
},
detail:{
// dictType:'primary',
// valueFilter:(value)=>{
// if(value=='TRUE'){
// return `是`
// }else{
// return '否'
// }
// }
}
},
{ {
label: '创建者', label: '创建者',
field: 'creator', field: 'creator',

Loading…
Cancel
Save