Browse Source

采购退货

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

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

@ -743,7 +743,9 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTableForm:false,
isTable:false,
hiddenInMain: true, hiddenInMain: true,
tableForm:{ tableForm:{
disabled:true disabled:true
@ -760,7 +762,9 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTableForm:false,
isTable:false,
hiddenInMain: true, hiddenInMain: true,
tableForm:{ tableForm:{
disabled:true 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: '替代批次', label: '替代批次',
field: 'altBatch', field: 'altBatch',
@ -880,6 +899,46 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
// disabled:false // 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: '库存余额', label: '库存余额',
field: 'inventoryBalance', field: 'inventoryBalance',
@ -922,21 +981,6 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
precision: 6 precision: 6
} }
}, },
{
label: '包装号',
field: 'packingNumber',
sort: 'custom',
table: {
width: 150
},
hiddenInMain: true,
isTable: false,
form: {
componentProps:{
disabled:true
}
}
},
{ {
label: '库存状态', label: '库存状态',
field: 'inventoryStatus', 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: '到库位代码', label: '到库位代码',
field: 'toLocationCode', field: 'toLocationCode',

Loading…
Cancel
Save