Browse Source

采购退货

master_hella_20240701
zhaoxuebing 5 months ago
parent
commit
caf1e876bd
  1. 101
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts

101
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts

@ -744,6 +744,8 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: {
width: 150
},
isTableForm:false,
isTable:false,
hiddenInMain: true,
tableForm:{
disabled:true
@ -761,6 +763,8 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: {
width: 150
},
isTableForm:false,
isTable:false,
hiddenInMain: true,
tableForm:{
disabled:true
@ -771,7 +775,22 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
}
}
},
{
label: '批次',
field: 'batch',
sort: 'custom',
table: {
width: 150
},
tableForm:{
disabled:true
},
form: {
componentProps:{
disabled:true
}
}
},
{
label: '替代批次',
field: 'altBatch',
@ -880,6 +899,46 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
// disabled:false
// }
// },
{
label: '从库位代码',
field: 'fromLocationCode',
sort: 'custom',
table: {
width: 150
},
tableForm:{
// labelMessage: '信息提示说明!!!',
isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择从库位代码',
searchField: 'code',
searchTitle: '库位代码信息',
searchAllSchemas: Location.allSchemas,
searchPage: LocationApi.getLocationListByAreaAndBusinesstype,
searchCondition: [{
key: 'businessType',
value: 'PurchaseReturn',
message: '请填写业务类型',
isMainValue: false
}]
},
hiddenInMain: true,
isTable: false,
},
{
label: '包装号',
field: 'packingNumber',
sort: 'custom',
table: {
width: 150
},
hiddenInMain: true,
isTable: false,
form: {
componentProps:{
disabled:true
}
}
},
{
label: '库存余额',
field: 'inventoryBalance',
@ -922,21 +981,6 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
precision: 6
}
},
{
label: '包装号',
field: 'packingNumber',
sort: 'custom',
table: {
width: 150
},
hiddenInMain: true,
isTable: false,
form: {
componentProps:{
disabled:true
}
}
},
{
label: '库存状态',
field: 'inventoryStatus',
@ -960,31 +1004,6 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
}
}
},
{
label: '从库位代码',
field: 'fromLocationCode',
sort: 'custom',
table: {
width: 150
},
tableForm:{
// labelMessage: '信息提示说明!!!',
isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择从库位代码',
searchField: 'code',
searchTitle: '库位代码信息',
searchAllSchemas: Location.allSchemas,
searchPage: LocationApi.getLocationListByAreaAndBusinesstype,
searchCondition: [{
key: 'businessType',
value: 'PurchaseReturn',
message: '请填写业务类型',
isMainValue: false
}]
},
hiddenInMain: true,
isTable: false,
},
{
label: '到库位代码',
field: 'toLocationCode',

Loading…
Cancel
Save