diff --git a/src/api/wms/purchasereceiptJobDetail/index.ts b/src/api/wms/purchasereceiptJobDetail/index.ts index 17ea24a60..6020d680f 100644 --- a/src/api/wms/purchasereceiptJobDetail/index.ts +++ b/src/api/wms/purchasereceiptJobDetail/index.ts @@ -72,4 +72,15 @@ export const exportPurchasereceiptJobDetail = async (params) => { // 下载用户导入模板 export const importTemplate = () => { return request.download({ url: '/wms/purchasereceipt-job-detail/get-import-template' }) +} + +// 查询采购收货任务子列表 +export const queryPurchaseceiptChildPackingNumber = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/purchasereceipt-job-detail/seniorPackingNumber', data }) + } else { + return await request.get({ url: `/wms/purchasereceipt-job-detail/pagePackingNumber`, params }) + } } \ No newline at end of file diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue index 75a3ebfc9..2154d60a3 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue @@ -62,12 +62,34 @@ :detailAllSchemasRules="PurchasereceiptJobDetailRules" :searchTableParams="searchTableParams" :apiPage="PurchasereceiptJobDetailApi.getPurchasereceiptJobDetailPage" + :buttondataTable="buttondataTable" + @tableFormButton="tableFormButton" /> + + + + + +