diff --git a/src/api/wms/supplierdeliverRecordMain/index.ts b/src/api/wms/supplierdeliverRecordMain/index.ts index 659794ff4..137a552ce 100644 --- a/src/api/wms/supplierdeliverRecordMain/index.ts +++ b/src/api/wms/supplierdeliverRecordMain/index.ts @@ -81,6 +81,11 @@ export const importTemplate = () => { return request.download({ url: '/wms/supplierdeliver-record-main/get-import-template' }) } +// 打印发货单前查询物料的状态,从而确定使用哪个积木模版 +export const getItemStatus = async (id) => { + return await request.post({ url: `/wms/supplierdeliver-record-main/getItemStatus?id=` + id }) +} + // 创建采购申请 export const createPurchasereceiptRequest = async (number:string) => { return await request.post({ url: `/wms/supplierdeliver-record-main/createPurchasereceiptRequest?number=`+number }) diff --git a/src/api/wms/supplierdeliverRequestMain/index.ts b/src/api/wms/supplierdeliverRequestMain/index.ts index f4d4a7b20..ed1515b29 100644 --- a/src/api/wms/supplierdeliverRequestMain/index.ts +++ b/src/api/wms/supplierdeliverRequestMain/index.ts @@ -126,6 +126,11 @@ export const deleteOldLabels = async (id) => { return await request.post({ url: `/wms/supplierdeliver-request-main/deleteOldLabels?id=` + id }) } +// 打印发货单前查询物料的状态,从而确定使用哪个积木模版 +export const getItemStatus = async (id) => { + return await request.post({ url: `/wms/supplierdeliver-request-main/getItemStatus?id=` + id }) +} + // 查看履历表 export const querySupplierResume = (asnNumber:string) => { return request.get({ url: `/wms/supplierdeliver-request-main/querySupplierResume?asnNumber=` + asnNumber }) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/index.vue index 1fc528a82..64c8ef6a9 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/index.vue @@ -1,23 +1,31 @@