Browse Source

采购收货申请列表添加数据来源

master_hella_20240701
songguoqiang 6 months ago
parent
commit
a1de17f4d8
  1. 2
      src/api/wms/location/index.ts
  2. 32
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts

2
src/api/wms/location/index.ts

@ -38,7 +38,7 @@ export const getLocationPageRepleinsh = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/location/senior', data })
return request.post({ url: '/wms/location/getForRepleinshSenior', data })
} else {
return await request.get({ url: `/wms/location/pageForRepleinsh`, params })
}

32
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts

@ -183,22 +183,22 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
width: 150
},
},
// {
// label: '数据来源',
// field: 'sourceType',
// dictType: DICT_TYPE.PURCHASERECEIPT_SOURCE_TYPE,
// sort: 'custom',
// table: {
// width: 150
// },
// form: {
// value: 'ASN_ExternalReceipt',
// componentProps: {
// disabled: true
// }
// },
// isSearch: false,
// },
{
label: '数据来源',
field: 'sourceType',
dictType: DICT_TYPE.PURCHASERECEIPT_SOURCE_TYPE,
sort: 'custom',
table: {
width: 150
},
form: {
value: 'ASN_ExternalReceipt',
componentProps: {
disabled: true
}
},
isSearch: false,
},
{
label: '从仓库代码',
field: 'fromWarehouseCode',

Loading…
Cancel
Save