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();