From baf8c459d7c617b584e70da028ebc11e28be44aa Mon Sep 17 00:00:00 2001 From: wanghao Date: Wed, 5 Nov 2025 09:04:28 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E5=85=A5=E5=BA=93=E5=AE=A1=E6=89=B9?= =?UTF-8?q?=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/inStockBill/inStockEdit.vue | 298 ++++++++++++++++++++++ src/views/wms/inStockBill/index.vue | 39 ++- 2 files changed, 327 insertions(+), 10 deletions(-) create mode 100644 src/views/wms/inStockBill/inStockEdit.vue diff --git a/src/views/wms/inStockBill/inStockEdit.vue b/src/views/wms/inStockBill/inStockEdit.vue new file mode 100644 index 0000000..b6cbd19 --- /dev/null +++ b/src/views/wms/inStockBill/inStockEdit.vue @@ -0,0 +1,298 @@ + + + diff --git a/src/views/wms/inStockBill/index.vue b/src/views/wms/inStockBill/index.vue index 7d21b45..0c80e44 100644 --- a/src/views/wms/inStockBill/index.vue +++ b/src/views/wms/inStockBill/index.vue @@ -110,7 +110,11 @@ - + + + - + @@ -303,7 +312,7 @@ const selectedMaterials = ref([]); const materialSelectRef = ref(); const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { wms_in_stock_type, wms_in_stock_bill_status } = toRefs(proxy?.useDict('wms_in_stock_type', 'wms_in_stock_bill_status')); - +const { wf_business_status } = toRefs(proxy?.useDict('wf_business_status')); const inStockBillList = ref([]); const buttonLoading = ref(false); const loading = ref(true); @@ -635,7 +644,17 @@ const handleExport = () => { `inStockBill_${new Date().getTime()}.xlsx` ); }; - +/** 查看按钮操作 */ +const handleView = (row?: InStockBillVO) => { + proxy.$tab.closePage(proxy.$route); + proxy.$router.push({ + path: '/wms/inStockEdit', + query: { + inStockBillId: row.inStockBillId, + type: 'approval' + } + }); +}; onMounted(() => { getList(); getWarehouseList();