From c95dda474781b2c1c27e84bcfcfca8a17aa724b6 Mon Sep 17 00:00:00 2001
From: "YEJIAXING-PC\\lenovo" <591141169@qq.com>
Date: Sat, 23 Nov 2024 11:04:28 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E5=8F=91=E8=B4=A7?=
=?UTF-8?q?=E5=8D=95=E6=A0=BC=E5=BC=8F=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../wms/supplierdeliverRecordMain/index.ts | 5 +
.../wms/supplierdeliverRequestMain/index.ts | 5 +
.../supplierdeliverRecordMain/index.vue | 235 +++++++++++-------
.../supplierdeliverRequestMain/index.vue | 13 +-
.../supplierdeliverRequestMain.data.ts | 2 +-
5 files changed, 165 insertions(+), 95 deletions(-)
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 @@
-
+
-
-
+
+
-
-
+
{{ row.number }}
-
-
+
+
@@ -53,35 +64,41 @@
-